[opensuse] Nvidia Backlight Control - Can't find anything at software.opensuse.org?
All, Installed leap 42.2 with the nvidia drivers. Upon install of the drivers, I lost backlight control (which was by manually updating the nouveau provided /sys/class/backlight/nv_backlight/brightness interface). With the nvidia driver installed, /sys/class/backlight/acpi_video0 remains, but doesn't provide backlight control (I don't expect it to). With the same setup on arch, we generally use either the nvidia_bl or nvidiabl 3rd party packages[1] to provide a /sys/class/backlight/nvidia_backlight interface that then works as the nouveau provided interface (nv_backlight) did. The only difference I'm seeing with opensuse, is the values in acpi_video0/brightness no longer change when using my laptop hotkeys, ctrl+F9 (lower) and crtl+F10(raise). (on arch, I simply used inotifywait to watch for changes on acpi_video0/brightness and then scaled the values and updated nvidia_backlight/brightness to provide backlight control via the hotkeys) Does anyone know of a buildservice package to control the backlight on laptops with the nvidia driver installed? Anybody have another way of getting backlight control? (this laptop is blinding without brightness set to 50%) Footnote [1]: 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/ -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/23/2016 10:47 AM, David C. Rankin wrote:
All,
Installed leap 42.2 with the nvidia drivers. Upon install of the drivers, I lost backlight control (which was by manually updating the nouveau provided /sys/class/backlight/nv_backlight/brightness interface).
With the nvidia driver installed, /sys/class/backlight/acpi_video0 remains, but doesn't provide backlight control (I don't expect it to).
With the same setup on arch, we generally use either the nvidia_bl or nvidiabl 3rd party packages[1] to provide a /sys/class/backlight/nvidia_backlight interface that then works as the nouveau provided interface (nv_backlight) did.
The only difference I'm seeing with opensuse, is the values in acpi_video0/brightness no longer change when using my laptop hotkeys, ctrl+F9 (lower) and crtl+F10(raise). (on arch, I simply used inotifywait to watch for changes on acpi_video0/brightness and then scaled the values and updated nvidia_backlight/brightness to provide backlight control via the hotkeys)
Does anyone know of a buildservice package to control the backlight on laptops with the nvidia driver installed? Anybody have another way of getting backlight control? (this laptop is blinding without brightness set to 50%)
Footnote [1]:
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/
-- David C. Rankin, J.D.,P.E.
Just a followup on the laptop/nvidia_backlight issue. For reasons unexplained, installation of the nvidia drivers removed all backlight control from /sys/class/backlight. Pressing the brightness up/down keys has no effect on acpi_video0, and with the proprietary drivers installed, the only interface via /sys/class/backlight/nv_backlight provided by nouveau is gone. So I removed the proprietary drivers and went back to nouveau to regain the nv_backlight interface. (which left a few new kernel module messages on boot) At least with nouveau nv_backlight I can write values to the interface for control -- even though there is no interface associated with the laptop keys to watch with inotifywait. The brightness control is made persistent across boots by writing the current value to temp file so it is available to restore on reboot with a call to the setting script in .bashrc. I'll let you know if I find a solution to restore acpi_video0 tracking to the HP function keys. I don't know what is missing in Leap -- that interface works fine on arch. There is some bit of hardware config somewhere, I'll have more time to look at it this weekend. If anybody has any ideas, I would appreciate any suggestions. (normally the acpi_video0 interface provides a 0-20 scale, nvidia_backlight provides a scale of 0-127, and nv_backlight scales 0-100 -- go figure...) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (1)
-
David C. Rankin