[opensuse-factory] Backlight Control Lost with Install of NVidia Driver on 42.2, fix for 42.3?
All, This is a problem that has plagued my HP8760w laptop (with NVidia Quadro 3000M) since installing Leap 42.2. When using the Nouveau driver, backlight control is provided via: /sys/class/backlight/acpi_video0 (the standard interface), and /sys/class/backlight/nv_backlight Within each of the backlight control directories, you have various parameters that allow you to obtain the maximum brightness value (max_brightness) to allow proper scaling of change requests and the (brightness) control interface allowing you to set the display brightness with values (0 - max_brightness). The problem is that most display interfaces (including laptop control keys) change the values within the acpi_video0 interface (0-20 scale), so for nouveau you end up having to set an inotiifywait watch on acpi_video0 and then update nv_backlight (0-100 scale) with changes. This works fine for nouveau. However, when the NVidia drivers are installed, the nv_backlight interface is removed from the system leaving only acpi_video0. acpi_video0 has no interface to display brightness itself. With Arch running on the same box, there is a kernel module (actually a couple of packages for it in AUR -- equivalent to buildservice/home packages) that provides the nvidia_backlight interface where backlight can be controlled in the same manner as with the nouveau interface. E.g. https://wiki.archlinux.org/index.php/NVIDIA/Tips_and_tricks#Enabling_brightn... https://aur.archlinux.org/packages/nvidia-bl/ https://aur.archlinux.org/packages/nvidiabl/ It is critical that there be some manner of backlight control provided when using the NVidia driver. While FW5/Gnome may provide hooks, for every other desktop the display brightness is stuck on HIGH with no way to turn it down or control the 'power' for the display backlight. xrandr does not adjust the display backlight. It adjusts the color brightness, which while it may have the same visible effect may have negative effects on battery life and component wear compared to proper backlight adjustment. Is there any way to address this for upcoming Leap 42.3? Can openSuSE provide a kernel module interface for backlight control with NVidia similar to what is done by the Arch AUR packages? (they continue to work with Linux 4.10, so there should be kernel compatibility without much, if any, patching required) This would take care a of heck of an annoyance for laptop users with NVidia hardware. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 24/05/17 12:47 PM, David C. Rankin wrote:
All,
This is a problem that has plagued my HP8760w laptop (with NVidia Quadro 3000M) since installing Leap 42.2. When using the Nouveau driver, backlight control is provided via:
/sys/class/backlight/acpi_video0 (the standard interface), and
/sys/class/backlight/nv_backlight
Within each of the backlight control directories, you have various parameters that allow you to obtain the maximum brightness value (max_brightness) to allow proper scaling of change requests and the (brightness) control interface allowing you to set the display brightness with values (0 - max_brightness).
The problem is that most display interfaces (including laptop control keys) change the values within the acpi_video0 interface (0-20 scale), so for nouveau you end up having to set an inotiifywait watch on acpi_video0 and then update nv_backlight (0-100 scale) with changes.
This works fine for nouveau. However, when the NVidia drivers are installed, the nv_backlight interface is removed from the system leaving only acpi_video0. acpi_video0 has no interface to display brightness itself.
With Arch running on the same box, there is a kernel module (actually a couple of packages for it in AUR -- equivalent to buildservice/home packages) that provides the nvidia_backlight interface where backlight can be controlled in the same manner as with the nouveau interface. E.g.
https://wiki.archlinux.org/index.php/NVIDIA/Tips_and_tricks#Enabling_brightn...
https://aur.archlinux.org/packages/nvidia-bl/ https://aur.archlinux.org/packages/nvidiabl/
It is critical that there be some manner of backlight control provided when using the NVidia driver. While FW5/Gnome may provide hooks, for every other desktop the display brightness is stuck on HIGH with no way to turn it down or control the 'power' for the display backlight. xrandr does not adjust the display backlight. It adjusts the color brightness, which while it may have the same visible effect may have negative effects on battery life and component wear compared to proper backlight adjustment.
Is there any way to address this for upcoming Leap 42.3? Can openSuSE provide a kernel module interface for backlight control with NVidia similar to what is done by the Arch AUR packages? (they continue to work with Linux 4.10, so there should be kernel compatibility without much, if any, patching required)
This would take care a of heck of an annoyance for laptop users with NVidia hardware.
The device table needs to be updated to cover newer cards in newer laptops. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/24/2017 02:32 PM, Roman Bysh wrote:
The device table needs to be updated to cover newer cards in newer laptops.
OK, but I don't understand. This is an OLD laptop. The Quadro 3000M came out in February 2011. Is that still considered a "newer" laptop/card? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 24/05/17 05:22 PM, David C. Rankin wrote:
On 05/24/2017 02:32 PM, Roman Bysh wrote:
The device table needs to be updated to cover newer cards in newer laptops.
OK, but I don't understand. This is an OLD laptop. The Quadro 3000M came out in February 2011. Is that still considered a "newer" laptop/card?
I consider that as recent card. I would make a bug report so that your card is supported. Did it work in openSUSE 13.2? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/24/2017 04:43 PM, Roman Bysh wrote:
On 24/05/17 05:22 PM, David C. Rankin wrote:
On 05/24/2017 02:32 PM, Roman Bysh wrote:
The device table needs to be updated to cover newer cards in newer laptops.
OK, but I don't understand. This is an OLD laptop. The Quadro 3000M came out in February 2011. Is that still considered a "newer" laptop/card?
I consider that as recent card. I would make a bug report so that your card is supported. Did it work in openSUSE 13.2?
I don't know if it worked with 13.2 (I doubt it), I got this laptop after Leap 42.2 was out. ($399 refurb, preloaded with Win10, heck of a buy...) Where does the bug go? Just a normal opensuse bug report? I'm happy to file it there if that is the right place, or do I need to file it opendesktop.org? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 24/05/17 07:42 PM, David C. Rankin wrote:
On 05/24/2017 04:43 PM, Roman Bysh wrote:
On 24/05/17 05:22 PM, David C. Rankin wrote:
On 05/24/2017 02:32 PM, Roman Bysh wrote:
The device table needs to be updated to cover newer cards in newer laptops.
OK, but I don't understand. This is an OLD laptop. The Quadro 3000M came out in February 2011. Is that still considered a "newer" laptop/card?
I consider that as recent card. I would make a bug report so that your card is supported. Did it work in openSUSE 13.2?
I don't know if it worked with 13.2 (I doubt it), I got this laptop after Leap 42.2 was out. ($399 refurb, preloaded with Win10, heck of a buy...)
Where does the bug go? Just a normal opensuse bug report? I'm happy to file it there if that is the right place, or do I need to file it opendesktop.org?
I believe it's the kernel. They'll probably provide additional information for you. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 24/05/17 07:42 PM, David C. Rankin wrote:
On 05/24/2017 04:43 PM, Roman Bysh wrote:
On 24/05/17 05:22 PM, David C. Rankin wrote:
On 05/24/2017 02:32 PM, Roman Bysh wrote:
The device table needs to be updated to cover newer cards in newer laptops.
OK, but I don't understand. This is an OLD laptop. The Quadro 3000M came out in February 2011. Is that still considered a "newer" laptop/card?
I consider that as recent card. I would make a bug report so that your card is supported. Did it work in openSUSE 13.2?
I don't know if it worked with 13.2 (I doubt it), I got this laptop after Leap 42.2 was out. ($399 refurb, preloaded with Win10, heck of a buy...)
Where does the bug go? Just a normal opensuse bug report? I'm happy to file it there if that is the right place, or do I need to file it opendesktop.org?
Which HP is it? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 24/05/17 07:47 PM, Roman Bysh wrote:
On 24/05/17 07:42 PM, David C. Rankin wrote:
On 05/24/2017 04:43 PM, Roman Bysh wrote:
On 24/05/17 05:22 PM, David C. Rankin wrote:
On 05/24/2017 02:32 PM, Roman Bysh wrote:
The device table needs to be updated to cover newer cards in newer laptops.
OK, but I don't understand. This is an OLD laptop. The Quadro 3000M came out in February 2011. Is that still considered a "newer" laptop/card?
I consider that as recent card. I would make a bug report so that your card is supported. Did it work in openSUSE 13.2?
I don't know if it worked with 13.2 (I doubt it), I got this laptop after Leap 42.2 was out. ($399 refurb, preloaded with Win10, heck of a buy...)
Where does the bug go? Just a normal opensuse bug report? I'm happy to file it there if that is the right place, or do I need to file it opendesktop.org?
Which HP is it?
Try it with openSUSE first and ask them about opendesktop.org -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/24/2017 06:50 PM, Roman Bysh wrote:
Which HP is it?
This is the HP-8760w Elitebook Pro, Intel i7-2620M CPU @ 2.70GHz NVIDIA GF104GLM [Quadro 3000M]
Try it with openSUSE first and ask them about opendesktop.org
OK, Thanks! -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/24/2017 07:49 PM, David C. Rankin wrote:
On 05/24/2017 06:50 PM, Roman Bysh wrote:
Which HP is it?
This is the HP-8760w Elitebook Pro, Intel i7-2620M CPU @ 2.70GHz NVIDIA GF104GLM [Quadro 3000M]
Try it with openSUSE first and ask them about opendesktop.org
OK, Thanks!
Filed: Backlight Control Lost with Install of NVidia Driver on 42.2, fix for 42.3? https://bugzilla.opensuse.org/show_bug.cgi?id=1040718 -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 24/05/17 05:22 PM, David C. Rankin wrote:
On 05/24/2017 02:32 PM, Roman Bysh wrote:
The device table needs to be updated to cover newer cards in newer laptops.
OK, but I don't understand. This is an OLD laptop. The Quadro 3000M came out in February 2011. Is that still considered a "newer" laptop/card?
David, For your HP laptop add |GRUB_CMDLINE_LINUX="acpi_backlight=vendor acpi_osi=''" to /etc/default/grub and install xbacklight to control your backlight. Run grub2-mkconfig -o/boot/grub2/grub.cfg and reboot your laptop. Use your shortcut keys to assign brightness: || Brightness Down = xbacklight -10|| Brightness Up = xbacklight +10||| -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
David C. Rankin
-
Roman Bysh