You are not logged in.

#1 2023-10-09 11:00:09

MeanTeacher
Member
Registered: 2023-09-24
Posts: 13

How to adjust backlight with nvidia and wayland

Hello,I am using nvidia GPU with Hyprland. I am searching for a way to adjust the brightness of my monitor.However my monitor don't support adjusting brightness directly. Thus,I saw "backlight" page in the archlinux wiki and I want to try it.However when I run

ls /sys/class/backlight/

the output is blank.

Because I am using nvidia GPU,I take look at the "Nvidia" page in archlinux wiki.It tells me to install "nvidia-bl-dkms" and I have installed it and nothing changed.
My GPU is RTX3060ti and my mother board is ASUS PRIME B550-PLUS and I am using hyprland with nvidia-dkms driver.Thanks for your help!

Offline

#2 2023-10-10 07:20:30

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,237

Re: How to adjust backlight with nvidia and wayland

You'll need to check whether your monitor supports the ddc protocol and use: https://aur.archlinux.org/packages/ddccontrol -- your nvidia gpu should generally be irrelevant here. The nvidia page's suggestions are primarily for notebooks where the card is directly responsible for brightness, which it isn't in a dedicated monitor/dedicated card scenario.

If it doesn't have it's own facilities for doing that I doubt that however. Which monitor is this exactly?

Offline

#3 2023-10-10 07:52:39

MeanTeacher
Member
Registered: 2023-09-24
Posts: 13

Re: How to adjust backlight with nvidia and wayland

V1del wrote:

You'll need to check whether your monitor supports the ddc protocol and use: https://aur.archlinux.org/packages/ddccontrol -- your nvidia gpu should generally be irrelevant here. The nvidia page's suggestions are primarily for notebooks where the card is directly responsible for brightness, which it isn't in a dedicated monitor/dedicated card scenario.

If it doesn't have it's own facilities for doing that I doubt that however. Which monitor is this exactly?

My monitor is MSI Optix G241

chj@archlinux ~ [1]> ddccontrol dev
ddccontrol version 0.6.0
Copyright 2004-2005 Oleg I. Vdovikin (oleg@cs.msu.su)
Copyright 2004-2006 Nicolas Boichat (nicolas@boichat.ch)
This program comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of this program under the terms of the GNU General Public License.

Reading EDID and initializing DDC/CI at bus dev...
Open monitor failed: GDBus.Error:ddccontrol.DDCControl.Error.InvalidDevice: only detected devices are allowed
.
DDC/CI at dev is unusable (-1).
If your graphics card need it, please check all the required kernel modules are loaded (i2c-dev, and your framebuffer driver).

Does this mean that my monitor doesn't support it? If it doesn't,the only way for me to be able to change brightness is buy a new monitor?

Last edited by MeanTeacher (2023-10-10 07:59:18)

Offline

Board footer

Powered by FluxBB