Open CheerfulPianissimo opened 5 months ago
CC: @Decodetalkers
For me it's flickering, Compositor is river and it's running on an AMD Radeon iGPU.
I cannot find out what's wrong, I do not know much about Cairo...so I need help
Can we get some WAYLAND_DEBUG=1 logs?
Sway 1.9, GLES2 renderer, things seem to be working just fine on my intel card. Awaiting further logs/steps to reproduce.
Here's some logs logs.txt
Can no longer replicate this. Seems like something in the recent commits solved this?
Can no longer replicate this. Seems like something in the recent commits solved this?
it sometimes happens. when I have a second screen it maybe will flash I do not know what is wrong
Alright, it seems to be back or maybe it never left in the first place.
Looking at the flamegraph and playing around a bit it seems that the problem lies in cairo::paint and cairo::fill being very slow for some reason. I commented out the text rendering and changed the paint command to a fill of a smaller area and the situation is a bit improved. There's some artifacting but none of the flicker. It's still doesn't feel smooth though.
The part I'm confused by is the reason for the flickering in the first place: it happens whenever fill or paint takes too long but shouldn't the double buffering via surface.commit prevent incomplete frames from being rendered?
Here's a recording. Compositor is sway and it's running on an AMD radeon iGPU.
waysip_bug.webm