Tyrrrz / LightBulb

Reduces eye strain by adjusting screen gamma based on the current time
MIT License
2.28k stars 141 forks source link

Screen glitching on AMD Radeon #252

Open Paulporcupine opened 1 year ago

Paulporcupine commented 1 year ago

Version

2.4.5

Details

Screen randomly glitching mainly green and black Usually more apparent when a big change happens / new app open or close example https://cdn.discordapp.com/attachments/335127475589742593/1087223219494342736/PXL_20230320_035413333.TS2.mp4 Amd 6650 xt Ryzen 7 5700x Latest Drivers

Steps to reproduce

Have lightbulb open

Tyrrrz commented 1 year ago

That's a very weird behavior. How is your monitor connected to the GPU?

Paulporcupine commented 1 year ago

happens on both monitors 1 is connected by hdmi and the other by display port

Potatocrip commented 1 year ago

Can confirm, I've been having the same issue as well. One monitor connected via HDMI and the other by displayport directly to my video card. The easiest way to reproduce this, from what I've seen, is by having two separate apps on either monitor with at least one of them utilizing the GPU to a decent extent. Then, use Alt+Tab to switch between those two apps. The artifacting will usually occur on the app that utilizes the GPU the most, if not (occasionally) both apps. This artifacting only occurs when Lightbulb is running.

AMD Radeon RX 6600 XT Adrenalin Version 23.5.2 (5/23/2023)

pbaykalov commented 1 year ago

I recently learned that AMD has obscure colour management built into Radeon drivers. I can't be sure but it could be an issue.

https://pcmonitors.info/articles/taming-the-wide-gamut-using-srgb-emulation/

Rockin132 commented 1 year ago

I recently learned that AMD has obscure colour management built into Radeon drivers. I can't be sure but it could be an issue.

pcmonitors.info/articles/taming-the-wide-gamut-using-srgb-emulation

Thank you, this has been driving me crazy for so many months, I've been trying literally everything I can think of to figure out the cause.

Tyrrrz commented 3 months ago

Were you able to resolve the issue somehow?

Rockin132 commented 3 months ago

Were you able to resolve the issue somehow?

I was not sadly, ended up uninstalling Lightbulb as I presumed it wouldn't be able to be fixed or even investigated until you were in a better safety situation and I realised a niche software glitch was small shakes in the face of that and put it to one side :)

Tyrrrz commented 3 months ago

Yeah, unfortunately hardware/driver-specific issues are difficult to investigate.

pbaykalov commented 3 months ago

I might say that I had problems with RX6950XT until I disabled the said colour management. If there is any other software which manipulates VCGT it will cause flickering too. For example, there's DisplayCal profile loader which uses it too. Windows display calibration also seemingly uses it but I did not investigate that.