-
Notifications
You must be signed in to change notification settings - Fork 100
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
Horizontal glitches while scrolling on AMD Radeaon Graphics #3527
Comments
Thanks for the report. I've seen something similar on Miriway with an AMD GPU and DisplayLink outputs. (Not with just the AMD output though.) As this is unlikely to be Frame code, and more likely to be Mir's gbm platform (or the drivers) I'm transferring to Mir |
@mHahnle could you please try on another compositor? E.g. just run
FWIW this won't affect snaps, those use a version of https://mir-server.io/docs/the-graphics-core22-snap-interface. |
Based on my experience (with #3528) I suspect this is Mir specific, but would be good to confirm |
I installed Is that what you meant? Result: no glitches |
No, just no Mir/Frame in the picture at all. Just run |
This doesn't give me any visual output. The terminal just shows: "Setting up watches. Watches established." |
Are you able to run GNOME as a Wayland server? |
That's the output of
|
I mean that "Setting up watches. Watches established." indicates waiting for a Wayland compositor. If you start GNOME in Wayland mode, then you should be able to run |
That's why I posted the inxi output. Is it correct? It says X.org as the server, but the composer seems to be gnome? And using this setup, the |
GNOME can work both on X and Wayland, you need to choose the right session when logging in. WPE is only set up to work on Wayland. |
Yes, I have the login options "Ubuntu" (I guess thats Wayland) and "Ubuntu on Xorg" (I guess thats X). The shown inxi output is from the "Ubuntu" option. The watches messages occure on both. |
Out of curiosity, if you set the env variable |
IT WORKS!!! Thank you! Should I close the issue, or is it something that should be integrated by default? |
No, the issue remains and this is only a workaround for the underlying problem. But it does provide a clue to help diagnose the underlying problem |
Is the underlying problem the fact that this is fixed in mesa in 24.04? Or is the underlying problem in Mir? |
If there's a fix in more recent Mesa, then I assume switching to the 24/stable of Frame and/or wpe-webkit-mir-kiosk would also work? I think we could close the issue if that were confirmed |
I did a short test it with Ubuntu Server 24.04 and the 24 channel of Ubuntu Frame and the problem seems gone. (Ubuntu 24 isn't an option for me because of incompatibilities with some used dependecies. But I can live with the workaround, or does disabeling the gltthread has any disadvantages?) |
If the relevant Mesa change is in the userspace drivers (which seems likely), then there should be no need for Ubuntu Server 24.04. So you could switch Frame to 24. In theory disabling glthread will have some impact on latency, whether that matters for you in practice we can't advise. |
Setup:
Ubuntu Server 22.04.04 + Ubuntu Frame + Wpe Webkit Mir Kiosk
Symptoms:
When scrolling, horizontal glitches with random vertical positions flicker on the screen
Tested Hardware:
Tested Software/OS:
Result:
No problems at all on both Intel platforms and with the VM. Allways glitches on the Ryzen 5 (different CPUs and two differens mainboard manufacturers tested)
Tried solutions:
The text was updated successfully, but these errors were encountered: