-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Causes amdgpu crash #7
Comments
Could you test this branch https://github.com/cosmic-utils/cosmic-ext-applet-external-monitor-brightness/tree/fix-freeze @hojjatabdollahi ? |
Thank you. It works now. But still it freezes when I add it to the panel, until it finishes trying 5 times. I'm guessing it's trying to read from my laptop display which doesn't support ddc/ci.
And this message is logged everytime I open the pop up:
|
Can you re test the same branch please ? I added a commit to filter display that do not have this capabilities |
The builtin display still freezes for 10 seconds when I add the applet to the panel and these show up in the logs:
But the other error that used to be printed every time that I opened the pop up is gone. |
Could you re test with The display should only freeze when opening the pop up this time. I wonder if there was a freeze with the previous version ? |
I don't have access to my external monitors over the weekend. But I ran the new changes using
|
I have been digging deeper into this. I figured out that the I'm still looking deeper to figure out where exactly do we send the i2c messages to the wrong device, and why ddcutil doesn't cause the same issue, even though it can quickly detect my builtin display and mark it as invalid because it's a laptop display. For what it's worth, I don't see the amdgpu crash in the logs anymore. From the logs that I've seen it looks like cosmic-comp thinks the drm device is paused. Switching to tty3 and back resets cosmic comp and everything works afterward.
|
Can you confirm you had the same freeze with the initial code ? |
As soon as I add the applet to the panel I get these in the log:
My laptop display freezes, but the external monitors still work, but very laggy, until I remove the applet from the panel.
I remember testing your "async" pr in the original repo and it was causing the same problem.
Right now I use this to set my brightness and it works, so I don't think the problem is ddcutil:
The text was updated successfully, but these errors were encountered: