The officially official Devuan Forum!

You are not logged in.

#1 2019-02-17 20:46:45

CTAKAH
Member
Registered: 2019-01-29
Posts: 12  

xfce power manager brightness change hotkeys

Hello mates,

can't get this work, video card is nvidia with proprietary drivers installed.
Running xfce4-power-manager with --debug gives

TRACE[xfpm-button.c:118] xfpm_button_filter_x_events(): Key press: ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_UP)
TRACE[xfpm-manager.c:281] xfpm_manager_button_pressed_cb(): Received button press event: ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_UP)

but nothing happens.

Changing brightness via nvidia control panel works as well as decreasing brightness after inactivity period set in power manager options.

Regards,
Alexander

Last edited by CTAKAH (2019-02-17 20:47:10)

Offline

#2 2019-02-17 21:12:28

CTAKAH
Member
Registered: 2019-01-29
Posts: 12  

Re: xfce power manager brightness change hotkeys

tried to boot with acpi_osi=linux and acpi_backlight=vendor,
things changed, hotkeys perform some reaction, notification windows appears but right after pressing brightness up, progressbar within the notification windows jumps back to the previous (lower) position, so brightness does not change. Looks like some other daemon resets it to it's default parameters when detecting changes in current configuration.
What else changed - overall brightness range (both lower and upper borders) became darker then while booting without additional acpi variables, however nvidia control sets brightness fine.
Tried several tools like xbacklight but with no success.

Last edited by CTAKAH (2019-02-17 21:14:43)

Offline

#3 2019-02-17 21:47:48

CTAKAH
Member
Registered: 2019-01-29
Posts: 12  

Re: xfce power manager brightness change hotkeys

and one more thing found - when changing color settings through nvidia control app, sometimes it says that color setting have been modified outside nvidia app, color slider setting may be incorrect, who else is there? )

Offline

#4 2019-02-21 00:38:32

CTAKAH
Member
Registered: 2019-01-29
Posts: 12  

Re: xfce power manager brightness change hotkeys

found a partly solution, as nvidia drivers are quite old(390.87) in ascii repos, default brightness control in them is using ACPI video.ko module, instead of /sys/class/backlight/.
Adding

nvidia.NVreg_EnableBacklightHandler=1

to grub fixes brighness hotkeys, they work fine now, and brightness change notifications appeared as well.
However some strange interaction between nvidia-setting app and xfce brightness control still happens: changing brightness on a color correction tab of nvidia-settings does not affect xfce panel power-manager plugin and vice verca. But maybe they just change different properties, i'm not sure here.

Offline

Board footer