-
Notifications
You must be signed in to change notification settings - Fork 343
Rendering goes bonkers with headless and wdisplays #2164
Comments
Another issue with headless outputs: image capture is messed up (images contain two copies of the headless output): https://l.sr.ht/04m1.jpg |
The following patch fixes the flickering on the main output when
There still remains an issue that |
Hmm, weird, we're supposed to already reset the FB here: https://github.com/swaywm/wlroots/blob/master/backend/headless/output.c#L133 |
Ah, maybe swap the |
Doesn't do anything. :) |
Maybe the problem is that rendering to different outputs can happen concurrently? If I do this:
and then run sway, I get some instances of
|
Can you add a log in Rendering can't happen concurrently, that would be a Sway bug. |
Yes, indeed rollback is called before attach. |
Running |
Running with
The virtual output is 1080p, so that second It is perhaps a point of interest that |
Ahh, I figured it out: https://github.com/swaywm/wlroots/blob/master/types/wlr_output.c#L451 |
…_format attach_render was called without un-setting the current rendering context afterwards. Closes: swaywm#2164
…_format attach_render was called without un-setting the current rendering context afterwards. Closes: #2164
Steps to reproduce:
swaymsg create_output
wdisplays
The text was updated successfully, but these errors were encountered: