Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Extreme backlight leak when using AMDGPU
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
arnav7633
n00b
n00b


Joined: 04 Jan 2022
Posts: 15

PostPosted: Sat Jan 08, 2022 3:48 pm    Post subject: Extreme backlight leak when using AMDGPU Reply with quote

Hey all! Whenever i try to use amdgpu irrespecitve if its a distribution kernel or a custom built one extreme amounts of backlight leak and my display managers like ssdm even fail to start the problem disappears if using the default radeon driver
http://dpaste.com/AX446B7UB <<< Journal
http://dpaste.com/7APHZNQNC <<<dmesg

Here is what my display looks like
https://ibb.co/VJpTGPf
If you see closely you can see i got into tty
Back to top
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2203

PostPosted: Sun Jan 09, 2022 12:01 pm    Post subject: Reply with quote

There's a bug in very recent kernels where the amdgpu driver tries to use a 16 bit brightness in a field defined only for 8 bits - or something like that. IIUC it's fixed in a later version of the kernel. That said, the symptoms for me were just very bright text, not a white screen, so this might not be the same issue.

For me, the cure is to use a lower value, such as 128, into the appropriate /sys control - the example below is for my setup, the <amdgpu> bit is board-dependent. Your system might have a /proc control for brightness, depending on kernel configuration.
Code:
echo 128 > /sys/class/backlight/<amdgpu_b10>/brightness

_________________
Greybeard
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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