Open eeeezypeezy-ls opened 3 months ago
Can you share hardware details and the distribution you're using? What's the version of cosmic-comp?
system76 thelio-r1 AMD Ryzen 5 5600X NVIDIA GeForce RTX 2060 SUPER
Running the pop OS 24.04 alpha released today, cosmic-comp 0.1--1723052979--24.04--5537fa4
Same thing happening with games over here on a fresh PopOS alpha install using the Nvidia iso. RTX 4070 Ti with single monitor (3440x1440).
Not seeing any issues with video playback using mpv when toggling to fullscreen, e.g. this works as expected:
$ mpv --hwdec=nvdec Downloads/Big_Buck_Bunny_1080_10s_30MB.mp4
However, any (Proton) game I try launching via Steam results in a frozen black screen that I can't switch out of with the workspace hotkeys. Killing the game process is not enough to recover, but switching to tty and back afterwards does.
Games tested:
Edit: cosmic-comp/noble,now 0.1\~1723052979\~24.04~5537fa4
When trying to figure out that version I accidentally started cosmic-comp and this looks like it might be relevant?
2024-08-08T20:15:05.331533Z WARN smithay::backend::x11: Failed to init X11 surface via egl, falling back to dri3: None of the following EGL extensions is supported by the underlying EGL implementation, at least one is required: ["EGL_EXT_device_drm"]
Try installing the latest cosmic-comp update from this morning.
The last cosmic-comp
update I can see is from two days ago, and per my comment in https://github.com/pop-os/cosmic-comp/issues/702#issuecomment-2282310157 it's still an issue with that build
The last
cosmic-comp
update I can see is from two days ago, and per my comment in pop-os/cosmic-comp#702 (comment) it's still an issue with that build
I am not denying this still being an issue, but there isn't a lot I can do until we got some new logs.
I am not denying this still being an issue, but there isn't a lot I can do until we got some new logs.
So far I haven't been able to get any logs to provide. Can you tell me how I can do that? journalctl
isn't showing me anything from cosmic-comp
.
This does appear to be fixed for me. Tested it with a few games, some of them I know are running on xwayland via proton, and with some fullscreen videos in browser and in VLC, and they were all fine.
Progress has definitely been made, since it's now possible to start games in both borderless fullscreen and exclusive fullscreen. I might be seeing the same weirdness as drakon64 though. For example, if I start up Baldur's Gate 3 and switch from borderless to fullscreen the screen stops updating in a similar manner to before, but now all it takes is to alt-tab out of the game which makes the screen start updating and then going back to the game. Once set to exclusive fullscreen I'm able to switch to a lower resolution without triggering the issue, but switching to a higher resolution does and requires alt-tab out and in again to recover. There are no logs from cosmic-comp nor the kernel when this happens.
Edit: Here's a quick video demonstration, had to upload to YouTube since apparently you can't attach .mkv. https://www.youtube.com/watch?v=Aplgn0C5hHw
While recording I noticed another oddity, it's only possible to alt-tab out of the game when set to fullscreen. When set to borderless and trying it the game audio just stops playing briefly (as if the window lost focus) and then keeps going.
Edit 2: Let me also cover the other games I mentioned.
Hey,
As of e3dd8940f2ec8563a66f248f6acc99992d851256, the recent changes in the master
branch have caused me to have this issue worse than before.
If I try to go full-screen in any application, most notability in Firefox, the whole compositor locks up?
Double-clicking a video in VLC to make it fullscreen, or launching a fullscreen game from steam, causes the whole desktop to lock up. Doesn't seem responsive to typical keyboard inputs to kill frozen windows/bring a background window to the foreground, although background audio continues to play. Have to power cycle the computer to get back to a usable desktop.