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
Weird window Shadow on Wayland #419
Comments
I can reproduce this, but only with AMD GPUs, so this is probably a bug in AMD's driver. |
MPV by itself is not showing it (Read about people claiming it was due to OpenGL accelerated windows). Some bug on GTK maybe? |
That's also possible. In any case, it's not a bug in celluloid/gnome-mpv since we don't have any control over the shadow. |
I've been seeing this for a long time on any OpenGL + GTK windows indeed. Your report here actually pushed me to investigate :) Mesa >=18.0 supports 10-bit color buffer formats, and they have 2-bit alpha. (R10G10B10A2) Obviously you can't have much smoothness if transparency is encoded with two bits, that's just 4 levels of transparency. Sooo they decided to return these formats first, presumably to troll everyone who just naively picks the first compatible format, expecting R8G8B8A8. (Which is good! Don't expect that!) And GTK was one of those naive toolkits. Just sent a pull request to GTK: https://gitlab.gnome.org/GNOME/gtk/merge_requests/941 |
No longer reproducible as of GTK 3.24.10. |
Overview Description: On Wayland Session, when the window has the focus, it draws a weird shadow.
Steps to Reproduce:
Actual Results:
Expected Results:
A more subtle shadow I guess like this?
Version: 0.16
Additional Information: Arch installation, AMD GPU on Wayland
The text was updated successfully, but these errors were encountered: