ValveSoftware / gamescope

SteamOS session compositing window manager
Other
3.12k stars 211 forks source link

Image corruption when using nested mode #385

Open Raupinger opened 2 years ago

Raupinger commented 2 years ago

this might be related to #356 and #240. im also using an intel gpu. when I launch gamescope from a tty everything woks fine. launching from sway however results in this. screenshots taken through steam are not affected. 2022-01-29T05:07:23,806212305+01:00

mburakov commented 2 years ago

I also have this issue. The setup is pretty much the same - Intel GPU and Sway. It seems to be unrelated to the actual application. I see the same noise pattern with Vulkan, OpenGL and even with plain FLTK app. This is also unrelated to Steam, I start all the applications from the commandline, i.e.: gamescope -- vncviewer.

artifacts

I have a strong suspicion that this is related to synchronization missing somewhere. I already saw similar noise patterns in an unrelated project where rendering was done to a GBM buffer, which afterwards was 1) encoded into a video stream using Intel MSDK, and 2) was presented on the screen in a Weston compositor. The picture presented on the screen was correct, but the encoded video stream contained the same visual artifacts. This was resolved by adding an EGL fence sync right before the video encoding.

akvadrako commented 2 years ago

I see the same thing using Intel(R) UHD Graphics 620 (WHL GT2), GNOME, Wayland, Ubuntu 22.04.

akvadrako commented 2 years ago

Is this a dupe of #356?

Samsagax commented 2 years ago

Is this a dupe of #356?

Yes.

hholst80 commented 1 week ago

I see basically the same artifacts. I have River window manager (wlroots based) and an

00:02.0 VGA compatible controller: Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620] (rev 02)