You are not logged in.

#1 2016-01-19 05:27:34

Binary0010
Member
Registered: 2015-06-16
Posts: 5

Backlight does not work nvidia

New installation.

/sys/class/backlight/acpi_video0 exists but changing the entry in brightness does not change the brightness.

/usr/lib/gnome-settings-daemon/gsd-backlight-helper is also not working. The applet slider moves but the brightness does not change.

I get the following output:

Jan 18 23:21:54 Dionysus root[5723]: ACPI group/action undefined: video/brightnessdown / BRTDN
Jan 18 23:21:54 Dionysus pkexec[5725]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
Jan 18 23:21:54 Dionysus pkexec[5725]: will: Executing command [USER=root] [TTY=unknown] [CWD=/home/will] [COMMAND=/usr/lib/gnome-settings-daemon/gsd-backlight-helper --set-brightness 95]
Jan 18 23:21:55 Dionysus root[5731]: ACPI group/action undefined: video/brightnessup / BRTUP
Jan 18 23:21:55 Dionysus pkexec[5734]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
Jan 18 23:21:55 Dionysus pkexec[5734]: will: Executing command [USER=root] [TTY=unknown] [CWD=/home/will] [COMMAND=/usr/lib/gnome-settings-daemon/gsd-backlight-helper --set-brightness 100]

However, xbacklight set, dec, inc work as expected. I would like to be able to change the brightness using the fn F8/F9 keys. Is there anyone that can help with this?

Offline

#2 2016-01-19 11:44:55

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: Backlight does not work nvidia

What happen when you use xbacklight ?
For gnome I don't know, but some way you might associate a hotkey to them, like I done in KDE.

Last edited by TheSaint (2016-01-19 17:11:36)


do it good first, it will be faster than do it twice the saint wink

Offline

#3 2016-01-19 12:30:21

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,679
Website

Re: Backlight does not work nvidia

Binary0010 wrote:

/sys/class/backlight/acpi_video0 exists

Are there any other directories under /sys/class/backlight?

Have you tried any of the kernel parameters suggested by the ArchWiki?
https://wiki.archlinux.org/index.php/Ba … ne_options

Offline

#4 2016-01-19 17:14:36

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: Backlight does not work nvidia

Same as mine. Keyboard backlight is fine with its keys, but screen backlight works only by xbacklight. Also xev doesn't report any event by the original keys.


do it good first, it will be faster than do it twice the saint wink

Offline

#5 2016-01-19 19:37:52

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,679
Website

Re: Backlight does not work nvidia

TheSaint wrote:

xev doesn't report any event by the original keys.

Check your firmware (BIOS) settings for anything to do with the function keys, perhaps they have been disabled from there.

Offline

#6 2016-01-19 23:19:18

Binary0010
Member
Registered: 2015-06-16
Posts: 5

Re: Backlight does not work nvidia

Head_on_a_Stick wrote:

Are there any other directories under /sys/class/backlight?

No /sys/class/backlight only consists of one directory acpi_video0

Head_on_a_Stick wrote:

Have you tried any of the kernel parameters suggested by the ArchWiki?

I tried adding the following to kernel parameters within grub.cfg:

acpi_backlight=video (also tried with acpi_osi=Linux):

Jan 19 15:52:27 Dionysus pkexec[2065]: will: Executing command [USER=root] [TTY=unknown] [CWD=/home/will] [COMMAND=/usr/lib/gnome-settings-daemon/gsd-backlight-helper --set-brightness 0]
Jan 19 15:52:28 Dionysus root[2071]: ACPI group/action undefined: video/brightnessup / BRTUP
Jan 19 15:52:28 Dionysus pkexec[2074]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
Jan 19 15:52:28 Dionysus pkexec[2074]: will: Executing command [USER=root] [TTY=unknown] [CWD=/home/will] [COMMAND=/usr/lib/gnome-settings-daemon/gsd-backlight-helper --set-brightness 5]

xbacklight still works but nothing changes if I edit /sys/class/backlight/acpi_video0/brightness

acpi_backlight={vendor,native,none} (also tried each with acpi_osi=Linux) all resulted in similar results:

No entry in /sys/class/backlight

Jan 19 16:00:06 Dionysus root[1245]: ACPI group/action undefined: video/brightnessdown / BRTDN
Jan 19 16:00:06 Dionysus gnome-session[811]: (gnome-settings-daemon:844): media-keys-plugin-WARNING **: Failed to set new screen percentage: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._gsd_5fpower_5fmanager_5ferror.Code0: Screen backlight not available
Jan 19 16:00:06 Dionysus gnome-session[811]: (gnome-settings-daemon:844): media-keys-plugin-WARNING **: Failed to set new screen percentage: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._gsd_5fpower_5fmanager_5ferror.Code0: Screen backlight not available
Jan 19 16:00:06 Dionysus root[1247]: ACPI group/action undefined: video/brightnessup / BRTUP

xbacklight still works
gnome doesn't display applet

Offline

#7 2016-01-20 08:53:46

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: Backlight does not work nvidia

The thing I can see is this

[Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored

For three years now I coldn't find a solution. I suppose that xbacklight works around the colors of the video card to dim the brightness. BWT nvidia.
Also setting the option in xorg.conf don't help so much.


do it good first, it will be faster than do it twice the saint wink

Offline

#8 2016-01-20 16:23:48

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Backlight does not work nvidia

I am not able to do it right now, but you might read the code for xbacklight to divine its secrets.
You might try using strace on xbacklight and see what it accesses.  I am not sure what will happen, YMMV.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#9 2016-01-20 17:59:57

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: Backlight does not work nvidia

I can't imagine what it does, but I sent the strace here


do it good first, it will be faster than do it twice the saint wink

Offline

#10 2018-05-06 21:26:16

maliszewski
Member
Registered: 2018-05-06
Posts: 1

Re: Backlight does not work nvidia

Hi everyone,

I'm sorry to up the post but today i have the same problem :
I just installed the OS : 4.16.6-1-ARCH and I'm unser the Gnome DE.

So, i have an Asus Laptop ROG FX502VD with GTX 1060 6G.
I installed the nvidia package because i had some errors when resuming after hibernate with the nouveau driver

Today my Hotkeys for the keyboard work like a charm.
But, i can't set the backlight with FN+F5,F6 ( /usr/lib/gsd-backlight-helper ).
With xbacklight it work.

I tried with : acpi_backlight=vendort, video, native, none and with acpi_osi= , !Windows 2012, Linux

When i change /sys/class/backlight/acpi_video0/brightness it doesn't have effect.

in my journalctl -xe command i have this line when i change from hotkeys :

mai 06 23:19:38 dorian-archlinux-portable pkexec[20131]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
mai 06 23:19:38 dorian-archlinux-portable pkexec[20131]: dorian: Executing command [ USER=root ] [TTY=unknown] [CWD=/home/dorian] [COMMAND=/usr/lib/gsd-backlight-helper --set-brightness 35]

---
xbacklight -set 30 : it works !
---

/usr/lib/gsd-backlight-helper --get-brightness
35%                                                   

---

Someone find a solution for that problem ?

Last edited by maliszewski (2018-05-06 21:26:52)

Offline

#11 2018-05-07 00:30:32

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,410

Re: Backlight does not work nvidia

Please open up a new thread for your own problem, a lot has changed in 2 years.

Try loading the nvidia module with

NVreg_EnableBacklightHandler

it might already suffice. If it doesn't make your own thread

Don't necrobump

Closing.

Last edited by V1del (2018-05-07 00:33:26)

Offline

Board footer

Powered by FluxBB