Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]xbacklight runs, but has no effect
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
reikdas
Apprentice
Apprentice


Joined: 27 Nov 2018
Posts: 238

PostPosted: Sun Dec 30, 2018 7:35 am    Post subject: [Solved]xbacklight runs, but has no effect Reply with quote

[Moderator edit: Changed title to try to attract relevant answers. Original title was simply xbacklight. -Hu]

xbacklight does not work.
DE - i3

It is installed correctly.
Code:
reik@reik-msi ~ $ emerge --search xbacklight
 
[ Results for search key : xbacklight ]
Searching...

*  x11-apps/xbacklight
      Latest version available: 1.2.2
      Latest version installed: 1.2.2
      Size of files: 122 KiB
      Homepage:      https://www.x.org/wiki/ https://cgit.freedesktop.org/
      Description:   Sets backlight level using the RandR 1.2 BACKLIGHT output property
      License:       MIT

[ Applications found : 1 ]



The commands are executed properly
Code:
reik@reik-msi ~ $ xbacklight -dec 50
reik@reik-msi ~ $


But the brightness does not increase or decrease.
_________________
[19:18] <@NeddySeagoon> Gentoo has an installer. Just like other distros. Go to the bathroom, look in the mirror. You will see the Gentoo installer :)


Last edited by reikdas on Fri Jan 04, 2019 2:57 pm; edited 2 times in total
Back to top
View user's profile Send private message
Maitreya
Guru
Guru


Joined: 11 Jan 2006
Posts: 407

PostPosted: Sun Dec 30, 2018 9:23 am    Post subject: Reply with quote

Which video card?
What is in " /sys/class/backlight"?
OR what does "find /sys/ -type f -iname '*brightness*'" return?
Do shortcut keys for brightness work?
Back to top
View user's profile Send private message
reikdas
Apprentice
Apprentice


Joined: 27 Nov 2018
Posts: 238

PostPosted: Sun Dec 30, 2018 11:02 am    Post subject: Reply with quote

Maitreya wrote:
Which video card?

Nvidia GeForce GTX 1070 Max Q (VIDEO_CARDS="intel i965 nvidia")
Maitreya wrote:
What is in " /sys/class/backlight"?

Code:
reik-msi /sys/class/backlight # pwd
/sys/class/backlight
reik-msi /sys/class/backlight # tree
.
├── acpi_video0 -> ../../devices/pci0000:00/0000:00:02.0/backlight/acpi_video0
└── intel_backlight -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

2 directories, 0 files


Maitreya wrote:
OR what does "find /sys/ -type f -iname '*brightness*'" return?

Code:
reik-msi ~ # find /sys/ -type f -iname '*brightness*'
/sys/devices/platform/i8042/serio0/input/input6/input6::numlock/brightness
/sys/devices/platform/i8042/serio0/input/input6/input6::numlock/max_brightness
/sys/devices/platform/i8042/serio0/input/input6/input6::scrolllock/brightness
/sys/devices/platform/i8042/serio0/input/input6/input6::scrolllock/max_brightness
/sys/devices/platform/i8042/serio0/input/input6/input6::capslock/brightness
/sys/devices/platform/i8042/serio0/input/input6/input6::capslock/max_brightness
/sys/devices/pci0000:00/0000:00:14.3/leds/phy0-led/brightness
/sys/devices/pci0000:00/0000:00:14.3/leds/phy0-led/max_brightness
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/actual_brightness
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/brightness
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/max_brightness
/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight/actual_brightness
/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight/brightness
/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight/max_brightness
/sys/module/video/parameters/brightness_switch_enabled
/sys/module/i915/parameters/invert_brightness

Maitreya wrote:
Do shortcut keys for brightness work?

No.
_________________
[19:18] <@NeddySeagoon> Gentoo has an installer. Just like other distros. Go to the bathroom, look in the mirror. You will see the Gentoo installer :)
Back to top
View user's profile Send private message
reikdas
Apprentice
Apprentice


Joined: 27 Nov 2018
Posts: 238

PostPosted: Fri Jan 04, 2019 2:57 pm    Post subject: Reply with quote

My Nvidia backlight kernel module was not enabled.
_________________
[19:18] <@NeddySeagoon> Gentoo has an installer. Just like other distros. Go to the bathroom, look in the mirror. You will see the Gentoo installer :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum