You are not logged in.

#1 2017-02-15 14:23:15

Naddan
Member
From: UK
Registered: 2015-11-17
Posts: 39

[SOLVED]Unable to adjust screen brightness

Hi everyone,

The screen of my laptop is too bright and I have not been able to change it. I had tried Fn+F2 or Fn+F3 or any other combination but nothing is working. I install xbacklight and when run:

# xbacklight -set 50

It returns with:

No outputs have backlight property

Also the directory /sys/class/backlight/ is empty. Here is the content of /sys/class directory:

# ls /sys/class/
ata_device  block	 dma	   graphics	input  memstick_host  phy	    scsi_device   spi_master  video4linux
ata_link    bluetooth	 dmi	   hidraw	iommu  misc	      powercap	    scsi_disk	  thermal     vtconsole
ata_port    bsg		 drm	   hwmon	leds   mmc_host       power_supply  scsi_generic  tpm	      watchdog
backlight   devcoredump  firmware  i2c-adapter	mei    net	      rfkill	    scsi_host	  tty	      wmi
bdi	    devfreq	 gpio	   ieee80211	mem    pci_bus	      rtc	    sound	  vc

xfce-power-manager does not have the option for change the brightness of the screen...

Here some command outputs

# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Device 191b (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 139b (rev a2)
# glxinfo | egrep "OpenGL vendor|OpenGL renderer"
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.5, 256 bits)
lshw -c video
  *-display UNCLAIMED     
       description: VGA compatible controller
       product: NVIDIA Corporation
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a2
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list
       configuration: latency=0
       resources: memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:df000000-df07ffff
  *-display UNCLAIMED
       description: VGA compatible controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 06
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list
       configuration: latency=0
       resources: memory:dd000000-ddffffff memory:a0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff
# lspci -vnn | grep VGA -A 12
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:191b] (rev 06) (prog-if 00 [VGA controller])
	Subsystem: CLEVO/KAPOK Computer Device [1558:0152]
	Flags: bus master, fast devsel, latency 0, IRQ 11
	Memory at dd000000 (64-bit, non-prefetchable) [size=16M]
	Memory at a0000000 (64-bit, prefetchable) [size=512M]
	I/O ports at f000 [size=64]
	[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: [40] Vendor Specific Information: Len=0c <?>
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [ac] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [100] #1b
	Capabilities: [200] Address Translation Service (ATS)
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:139b] (rev a2) (prog-if 00 [VGA controller])
	Subsystem: CLEVO/KAPOK Computer Device [1558:0152]
	Flags: bus master, fast devsel, latency 0, IRQ 11
	Memory at de000000 (32-bit, non-prefetchable) [size=16M]
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Memory at d0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at e000 [disabled] [size=128]
	Expansion ROM at df000000 [disabled] [size=512K]
	Capabilities: [60] Power Management version 3
	Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [78] Express Endpoint, MSI 00
	Capabilities: [100] Virtual Channel
	Capabilities: [250] Latency Tolerance Reporting
# modinfo -F filename `lshw -c video | awk '/configuration: driver/{print $2}' | cut -d= -f2`
modinfo: ERROR: missing module or filename.
# lspci -nnk | grep -i vga -A3 | grep 'in use'
(no output)
# xrandr --listproviders
Providers: number : 0

I do appreciate any suggestion.

Kind regards

Naddan

Offline

#2 2017-02-15 18:07:12

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED]Unable to adjust screen brightness

Can you use xrandr directly? ( 'man xrandr' ref. --brightness)

man xrandr wrote:

--brightness brightness
              Multiply  the  gamma  values  on the crtc currently attached to the output to specified floating value.
              Useful for overly bright or overly dim outputs.  However, this is a software only modification, if your
              hardware has support to actually change the brightness, you will probably prefer to use xbacklight.

For example (use the connected display name for your system)

xrandr --output eDP-1-1 --brightness 1.1

I use this script bound to keybinds...

#!/bin/bash
##

BRIGHTNESS="$HOME/.config/mon-brightness.rc"

if [[ -f $BRIGHTNESS ]];then
	VAL=$(<$BRIGHTNESS)
else
	VAL=1.0
	echo $VAL > $BRIGHTNESS
fi

if [[ $1 = plus ]];then
	VAL=$(awk -v "VAL=$VAL" 'BEGIN { print VAL + 0.1 }')
elif [[ $1 = minus ]];then
	VAL=$(awk -v "VAL=$VAL" 'BEGIN { print VAL - 0.1 }')
else
	notify-send -t 3000 "Use 'brightness plus/minus'"
	exit 1
fi

echo $VAL > $BRIGHTNESS

XCMND="xrandr --output eDP-1-1 --brightness"

##pgrep -x redshift && pkill redshift

$XCMND $VAL

"$HOME/.config/mon-brightness.rc" is used by my redshift script, and just contains the value "0.8"

Last edited by damo (2017-02-15 18:32:34)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2017-02-15 19:53:14

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED]Unable to adjust screen brightness

Naddan wrote:
# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Device 191b (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 139b (rev a2)

Is this an Optimus machine?

Have you tried disabling the NVIDIA card from your frimware ("BIOS") options?

That Intel card seems to be a Broadwell (drivers introduced for kernel 3.19) and I presume that the NVIDIA is similarly new, support will be poor in a stock BL system.

You can try to upgrade the drivers:

https://forums.bunsenlabs.org/viewtopic.php?id=3125

Offline

#4 2017-02-15 20:07:37

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED]Unable to adjust screen brightness

I have similar issues with my hardware, and even with Mint I couldn't get the backlight keys working, which is why I have scripted it to use xrandr.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#5 2017-02-16 00:06:09

stevep
MX Linux Developer
Registered: 2016-08-08
Posts: 381

Re: [SOLVED]Unable to adjust screen brightness

The Google is telling me that could be a Skylake system, but the same advice applies.  My Skylake 520 laptop had no brightness control, audio, touchpad, wifi, etc., with the stock Jessie kernel, but everything is working hunky-dory with the backported kernel, drivers, and firmware. You should get a better idea of your hardware if you update your PCI ID database with

su -c 'update-pciids'

If you are running 64-bit, and want to get 32-bit Steam or Wine Windows programs working with Optimus-Bumblebee switching, you have to also install the :i386 versions of the Nvidia and Mesa packages that you have also have amd64 versions installed.

Offline

#6 2017-02-16 15:04:18

Naddan
Member
From: UK
Registered: 2015-11-17
Posts: 39

Re: [SOLVED]Unable to adjust screen brightness

Thanks everyone for your reply.

To Damo: I can not use xrandr

xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
   1920x1080      0.00*

To stevep:

Ran the command but reboot and nothing has changed.

To Head_on_a_stick:

It is not an Optimus machine. I can not disable the nvidia card in the BIOS but the default kernel boot options are set to:

nomodeset i915.modeset=0 nouveau.modeset=0

also I had tried the boot option:

acpi_backlight=vendor

and nothing. I will upgrade the drives and report soon.

Many thanks.

Offline

#7 2017-02-16 15:22:05

Naddan
Member
From: UK
Registered: 2015-11-17
Posts: 39

Re: [SOLVED]Unable to adjust screen brightness

Update drivers according to https://forums.bunsenlabs.org/viewtopic.php?id=1185

# cat /var/log/Xorg.0.log | grep "intel"[     6.989] (==) Matched intel as autoconfigured driver 0
[     6.989] (II) LoadModule: "intel"
[     6.990] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[     6.997] (II) Module intel: vendor="X.Org Foundation"
[     7.003] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
[     7.003] (II) intel: Driver for Intel(R) HD Graphics
[     7.003] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[     7.003] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics

But

xrandr 
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
   1920x1080      0.00*

Offline

#8 2017-02-16 20:08:11

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED]Unable to adjust screen brightness

Looks like you have a kernel module for the Intel card, can we confirm the status:

lspci -knn | grep -iA2 vga

Have you tried acpi_backlight=video or acpi_backlight=native?

If they don't work, please post the output of:

find /sys/class/backlight

Offline

#9 2017-02-16 23:03:41

stevep
MX Linux Developer
Registered: 2016-08-08
Posts: 381

Re: [SOLVED]Unable to adjust screen brightness

It was my impression that a laptop with both integrated Intel and discrete Nvidia GPUs is the very definition of an Optimus machine.  Modern Optimus systems don't have an option to disable the Nvidia card in the BIOS or UEFI settings. Chances are that you'll have to use the proprietary Nvidia driver, possibly the one in jessie-backports, to get the Bumblebee GPU switching framework working.

Google says you need the backports Nvidia driver, as you have a GTX960M.

If you install inxi, what does

inxi -G

report for your current graphics?

Offline

#10 2017-02-17 06:16:17

imp2021
Member
Registered: 2015-10-02
Posts: 31

Re: [SOLVED]Unable to adjust screen brightness

I run an Optimus system, I dont have this issue. (wich actually doesnt mean much)
However, on another distro I had to install xfce4-power-manager.
(Check if you have it, or reinstall it.)

and yes,

xbacklight -set 50

doesnt need xfce4-power-manager to work.

Last edited by imp2021 (2017-02-17 06:18:05)

Offline

#11 2017-02-17 11:29:06

Naddan
Member
From: UK
Registered: 2015-11-17
Posts: 39

Re: [SOLVED]Unable to adjust screen brightness

Hi,

To imp2021: I tried it and however xfce4-power-manager does not display the backlight option at all.


To stevep: To be honest, I do not know if the definition of an Optimus system is having double graphic card (nvidia and intel), but what I know (now, after checking nvidia website) is that, you are right, GTX960M supports Optimus technology. Now, please correct me if I am wrong, since my installation of BunsenLabs boot options are set to 

nomodeset i915.modeset=0 nouveau.modeset=0

it is not loading any driver for the use of the nvidia card, therefore nvida card is not in use at all, correct?

Google says you need the backports Nvidia driver, as you have a GTX960M.

At the moment I do not want to mess trying to enable the nvidia card because last time I did, it was a completed mess, so I had to rollback to intel.

Here is the output of inxi -G

# inxi -G
Graphics:  Card-1: Intel HD Graphics 530
           Card-2: NVIDIA GM107M [GeForce GTX 960M]
           Display Server: X.org 1.16.4 drivers: fbdev,vesa,intel tty size: 137x39 Advanced Data: N/A for root

To Head_on_a_Stick: output

# lspci -knn | grep -iA2 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:191b] (rev 06)
	Subsystem: CLEVO/KAPOK Computer Device [1558:0152]
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31)
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM107M [GeForce GTX 960M] [10de:139b] (rev a2)
	Subsystem: CLEVO/KAPOK Computer Device [1558:0152]
03:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)

The directory

/sys/class/backlight

does exist but it is empty

# ls -l /sys/class/backlight
total 0

Have you tried acpi_backlight=video or acpi_backlight=native?

Yes, I tried: acpi_backlight=video, acpi_backlight=vendor, acpi_backlight=native and acpi_backlight=none
and xrandr gives the same output in every case

# xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
   1920x1080      0.00* 

and in every case the directory /sys/class/backlight is empty

Thanks

Offline

#12 2017-02-17 18:41:19

stevep
MX Linux Developer
Registered: 2016-08-08
Posts: 381

Re: [SOLVED]Unable to adjust screen brightness

OK, but can you run the inxi commands as a regular user instead with sudo or as root?umbl

With an hybrid laptop like yours, the Intel GPU is going to handle all the graphics chores that the system can see regardless if Bumblebee switching is there or not--when you do set up switching with Bumblebee, that just means that the discrete GPU will do the 3D rendering when requested and hand it to the Intel device to present to the system. That means the user doesn't set up any special xorg.conf files for Nvidia, or maybe even none at all, since an Intel GPU usually doesn't need one.  But first thing is to make sure that the Intel GPU is working correctly, then Bumblebee can be installed.

Offline

#13 2017-02-18 10:26:23

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED]Unable to adjust screen brightness

Naddan wrote:

xfce4-power-manager does not display the backlight option at all.

If you are using the backported version of xfce4-power-manager then right-clicking on the battery icon should show a backlight slider.

since my installation of BunsenLabs boot options are set to 

nomodeset i915.modeset=0 nouveau.modeset=0

it is not loading any driver for the use of the nvidia card, therefore nvida card is not in use at all, correct?

Those options disable kernel mode setting for *both* of your cards but still allow userspace control.

Have you tried booting without those options?

# lspci -knn | grep -iA2 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:191b] (rev 06)
	Subsystem: CLEVO/KAPOK Computer Device [1558:0152]
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31)
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM107M [GeForce GTX 960M] [10de:139b] (rev a2)
	Subsystem: CLEVO/KAPOK Computer Device [1558:0152]
03:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)

Hmmm, still no drivers loaded hmm

Can we confirm the packages please:

apt-cache policy linux-image-amd64 xserver-xorg-video-intel libegl1-mesa libgl1-mesa-glx libgl1-mesa-dri

Also, I'm not sure if this is an Optimus device because both cards are described as "VGA" outputs — a discrete GPU card should be listed as a "3D" output, I think.

Perhaps PRIME is the methodology that is needed here:

https://wiki.archlinux.org/index.php/PRIME

Unfortunately, I know absolutely nothing about this.

Offline

#14 2017-02-20 15:41:19

Naddan
Member
From: UK
Registered: 2015-11-17
Posts: 39

Re: [SOLVED]Unable to adjust screen brightness

nomodeset i915.modeset=0 nouveau.modeset=0

I tried without the last 2 options and nothing changes, removing all the 3 options the systen just hang.

Output for

# apt-cache policy linux-image-amd64 xserver-xorg-video-intel libegl1-mesa libgl1-mesa-glx libgl1-mesa-dri
linux-image-amd64:
  Installed: 4.9+78~bpo8+1
  Candidate: 4.9+78~bpo8+1
  Version table:
 *** 4.9+78~bpo8+1 0
        100 http://httpredir.debian.org/debian/ jessie-backports/main amd64 Packages
        100 /var/lib/dpkg/status
     3.16+63 0
        500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
xserver-xorg-video-intel:
  Installed: 2:2.99.917+git20161206-1~bpo8+1
  Candidate: 2:2.99.917+git20161206-1~bpo8+1
  Version table:
 *** 2:2.99.917+git20161206-1~bpo8+1 0
        100 http://httpredir.debian.org/debian/ jessie-backports/main amd64 Packages
        100 /var/lib/dpkg/status
     2:2.21.15-2+b2 0
        500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
libegl1-mesa:
  Installed: 13.0.4-1~bpo8+1
  Candidate: 13.0.4-1~bpo8+1
  Version table:
 *** 13.0.4-1~bpo8+1 0
        100 http://httpredir.debian.org/debian/ jessie-backports/main amd64 Packages
        100 /var/lib/dpkg/status
     10.3.2-1+deb8u1 0
        500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
libgl1-mesa-glx:
  Installed: 13.0.4-1~bpo8+1
  Candidate: 13.0.4-1~bpo8+1
  Version table:
 *** 13.0.4-1~bpo8+1 0
        100 http://httpredir.debian.org/debian/ jessie-backports/main amd64 Packages
        100 /var/lib/dpkg/status
     10.3.2-1+deb8u1 0
        500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
libgl1-mesa-dri:
  Installed: 13.0.4-1~bpo8+1
  Candidate: 13.0.4-1~bpo8+1
  Version table:
 *** 13.0.4-1~bpo8+1 0
        100 http://httpredir.debian.org/debian/ jessie-backports/main amd64 Packages
        100 /var/lib/dpkg/status
     10.3.2-1+deb8u1 0
        500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages

I tried to follow https://wiki.archlinux.org/index.php/PRIME but I did not go too far because:

# glxinfo | grep "OpenGL renderer"
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.8, 256 bits)

which apparently should be Intel by default, but it isn't.

Offline

#15 2017-02-20 21:31:29

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED]Unable to adjust screen brightness

Well, I have absolutely no idea why those drivers aren't loading for you.

Everything seems to be set up and you have all the packages.

Are there are any blacklists for the Intel drivers?

grep -R blacklist /etc/modprobe.d
cat /proc/cmdline

We could also try stevep's suggestion:

stevep wrote:

Google says you need the backports Nvidia driver, as you have a GTX960M.

https://wiki.debian.org/NvidiaGraphicsD … ckports.29

Offline

#16 2017-02-21 15:07:37

Naddan
Member
From: UK
Registered: 2015-11-17
Posts: 39

Re: [SOLVED]Unable to adjust screen brightness

Hi,

I followed stevep's suggestion and installed the backports Nvidia driver https://wiki.debian.org/NvidiaGraphicsD … ckports.29 [Version 367.44 (via jessie-backports)] and then I installed bumblebee and primus following https://wiki.debian.org/Bumblebee/ManualInstall I did

# apt-get install bumblebee primus

(no backports)
checking the service I get this

# service bumblebeed status
● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/lib/systemd/system/bumblebeed.service; enabled)
   Active: active (running) since Tue 2017-02-21 14:45:38 GMT; 37s ago
 Main PID: 4759 (bumblebeed)
   CGroup: /system.slice/bumblebeed.service
           └─4759 /usr/sbin/bumblebeed

Feb 21 14:45:38 host systemd[1]: Started Bumblebee C Daemon.
Feb 21 14:45:38 host bumblebeed[4759]: [  209.118845] [INFO]/usr/sbin/bumblebeed 3.2.1 started
Feb 21 14:45:38 host bumblebeed[4759]: rmmod: ERROR: Module nvidia is in use by: nvidia_modeset
Feb 21 14:45:41 host bumblebeed[4759]: [  212.128843] [ERROR]Unloading nvidia driver timed out.

Now removing bumblebee and primus and install them using the backports

apt-get install -t jessie-backports bumblebee primus

and the service status is

# service bumblebeed status
● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/lib/systemd/system/bumblebeed.service; enabled)
   Active: active (running) since Tue 2017-02-21 13:49:05 GMT; 21s ago
 Main PID: 5026 (bumblebeed)
   CGroup: /system.slice/bumblebeed.service
           └─5026 /usr/sbin/bumblebeed

Feb 21 13:49:05 host systemd[1]: Started Bumblebee C Daemon.
Feb 21 13:49:05  bumblebeed[5026]: [  995.351578] [INFO]/usr/sbin/bumblebeed 3.2.1 started

but rebooting the system, it just hangs at boot time. So I removed bumblebee backported version. I can report that now I can adjust the backlight of the screen.
Here some command outputs

cat /var/log/Xorg.0.log | grep "nvidia"
[     5.378] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[     5.378] 	loading driver: nvidia
[     5.378] (==) Matched nvidia as autoconfigured driver 1
[     5.382] (II) LoadModule: "nvidia"
[     5.383] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[     5.390] (II) Module nvidia: vendor="NVIDIA Corporation"
# glxinfo | grep OpenGL
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual or fbconfig
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
# xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 350mm x 190mm
   1920x1080     60.02*+  59.93  
   1680x1050     59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1600x900      60.00  
   1280x1024     60.02  
   1440x900      59.89  
   1280x960      60.00  
   1368x768      60.00  
   1360x768      59.80    59.96  
   1152x864      60.00  
   1280x720      60.00  
   1024x768      60.00  
   1024x576      60.00  
   960x540       60.00  
   800x600       60.32    56.25  
   864x486       60.00  
   640x480       59.94  
   720x405       60.00  
   640x360       60.00  
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
# xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x48 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 5 associated providers: 0 name:Intel

Blacklist

grep -R blacklist /etc/modprobe.d
/etc/modprobe.d/amd64-microcode-blacklist.conf:blacklist microcode
/etc/modprobe.d/fbdev-blacklist.conf:# This file blacklists most old-style PCI framebuffer drivers.
/etc/modprobe.d/fbdev-blacklist.conf:blacklist arkfb
/etc/modprobe.d/fbdev-blacklist.conf:blacklist aty128fb
/etc/modprobe.d/fbdev-blacklist.conf:blacklist atyfb
/etc/modprobe.d/fbdev-blacklist.conf:blacklist radeonfb
/etc/modprobe.d/fbdev-blacklist.conf:blacklist cirrusfb
/etc/modprobe.d/fbdev-blacklist.conf:blacklist cyber2000fb
/etc/modprobe.d/fbdev-blacklist.conf:blacklist kyrofb
/etc/modprobe.d/fbdev-blacklist.conf:blacklist matroxfb_base
/etc/modprobe.d/fbdev-blacklist.conf:blacklist mb862xxfb
/etc/modprobe.d/fbdev-blacklist.conf:blacklist neofb
/etc/modprobe.d/fbdev-blacklist.conf:blacklist pm2fb
/etc/modprobe.d/fbdev-blacklist.conf:blacklist pm3fb
/etc/modprobe.d/fbdev-blacklist.conf:blacklist s3fb
/etc/modprobe.d/fbdev-blacklist.conf:blacklist savagefb
/etc/modprobe.d/fbdev-blacklist.conf:blacklist sisfb
/etc/modprobe.d/fbdev-blacklist.conf:blacklist tdfxfb
/etc/modprobe.d/fbdev-blacklist.conf:blacklist tridentfb
/etc/modprobe.d/fbdev-blacklist.conf:blacklist vt8623fb
/etc/modprobe.d/bumblebee.conf:blacklist nouveau
/etc/modprobe.d/bumblebee.conf:blacklist nvidia
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-current
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-current-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-304
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-304-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-304
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-310
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-310-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-310
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-313
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-313-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-313
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-319
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-319-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-319
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-325
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-325-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-325
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-331
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-331-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-331
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-334
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-334-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-334
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-337
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-337-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-337
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-340
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-340-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-340
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-343
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-343-updates
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-experimental-343
/etc/modprobe.d/nvidia-blacklists-nouveau.conf:blacklist nouveau
/etc/modprobe.d/blacklist.conf:blacklist btusb
/etc/modprobe.d/intel-microcode-blacklist.conf:blacklist microcode
cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.9.0-0.bpo.1-amd64 root=UUID=5bf1544c-71db-42f7-99f7-84e0b1d00faa ro quiet

Offline

#17 2017-02-22 07:19:28

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED]Unable to adjust screen brightness

Naddan wrote:

but rebooting the system, it just hangs at boot time.

Did you try re-adding the modeset parameters to the bootloader configuration?

What you describe as "hanging" may just be the screen blanking — disabling kernel mode setting is the usual fix for this.

So I removed bumblebee backported version. I can report that now I can adjust the backlight of the screen.

So is this problem now [SOLVED]?

Offline

#18 2017-02-23 13:10:38

Naddan
Member
From: UK
Registered: 2015-11-17
Posts: 39

Re: [SOLVED]Unable to adjust screen brightness

So is this problem now [SOLVED]?

Yes, able to adjust backlight now.

I ended removing nvidia driver and bumblebee and set boot options to nouveau.modeset=0 and backlight is working and graphics are render via Intel GPU rather than via CPU. (I updated intel drivers according to https://forums.bunsenlabs.org/viewtopic.php?id=1185)

xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x48 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 5 associated providers: 0 name:Intel
# glxinfo | grep "OpenGL renderer"
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2) 
# glxinfo  | grep rendering
direct rendering: Yes

However I start to notice some weird behavior: if I tried to delete some characters if this very line, as the cursor moves backward, it prints itself behind or just back or the whole line gets mess up but after switching to a different window and going back to it everything is alright or even if I tried to take a screenshot image get back to normal. Maybe it has to do with frame per seconds that the intel card can deliver (?)

#glxgears -info

reports 60FPS that is absolutely rubbish in comparison with the 3000FPS deliver when the CPU does the render.

Offline

#19 2017-02-23 13:34:58

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED]Unable to adjust screen brightness

Naddan wrote:

So is this problem now [SOLVED]?

Yes, able to adjust backlight now.
....

For future reference you can edit the title of your first post to add [SOLVED] wink


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#20 2017-02-23 14:02:21

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,158
Website

Re: [SOLVED]Unable to adjust screen brightness

^^ Please open a new issue about frame rate if you'd like (we're trying, mostly, to keep threads on one topic to make searching for an issue easier). Thanks!


I don't care what you do at home. Would you care to explain?

Offline

Board footer

Powered by FluxBB