LordAmit / Brightness

Using Brightness Controller, you can control brightness of both primary and external displays in Linux. Check it out!
Other
1.05k stars 84 forks source link

Not working after upgrading Ubuntu to Ubuntu Studio #255

Closed jeejeestudio closed 2 months ago

jeejeestudio commented 2 months ago

Describe the bug It worked perfect under Ubuntu 22.04, but I installed Ubuntu Studio via the Installer. After reboot Brightness controller does not see my screen and hence I cannot control it. Uninstall and reinstall and reboot did not help.

version I think the latest, the about screen became white after I clicked on the github link

To Reproduce Install Ubuntu Studio over Ubuntu 22.04 via the Installer

Expected behavior Working as usual

Screenshots In this case that would not help.

Desktop (please complete the following information): Ubuntu 22.04

Additional context It's an ASUS TUF AMD with AMD and NVIDA RTX 3050. The Nvidia seems to control the brighness.

xrandr -q

Screen 0: minimum 16 x 16, current 1920 x 1080, maximum 32767 x 32767 XWAYLAND0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 340mm x 190mm 1920x1080 143.88*+ 1440x1080 143.80
1400x1050 143.89
1280x1024 143.79
1280x960 143.86
1152x864 143.92
1024x768 143.87
800x600 143.83
640x480 143.85
320x240 142.05
1680x1050 143.88
1440x900 143.86
1280x800 143.84
720x480 143.85
640x400 143.37
320x200 141.40
1600x900 143.93
1368x768 143.77
1280x720 143.85
1024x576 143.91
864x486 143.63
720x400 143.88
640x350 143.57

jeejeestudio commented 2 months ago

Solved it by this, found on nvidia website forum and did the job:

sudo prime-select nvidia

grep nvidia /etc/modprobe.d/ /lib/modprobe.d/

to find a file containing

blacklist nvidia

and remove it, then run

sudo update-initramfs -u

and reboot