pop-os / cosmic-comp

Compositor for the COSMIC desktop environment
GNU General Public License v3.0
481 stars 87 forks source link

External monitor sometimes freezes. #867

Open nevdelap opened 1 month ago

nevdelap commented 1 month ago

It has happened maybe half a dozen times. Previously I logged out and in again. This time I found a possible workaround.

I have a laptop with an external monitor. It is the external monitor that has frozen, though the large external monitor is also where I am doing things 99% of the time so it might not be specific to the external monitor.

This time it happened when I clicked a folder on the Chrome bookmarks bar. You can see here the menu is just starting to fade in before it froze. (I'm in Chrome and Alacritty 99% of the time too.)

image

While that monitor is frozen the other monitor is not, and the mouse moves between them, as if the mouse is still moving in the coordinate space of the large monitor.

Previously I logged out and logged back in, but this time I turned off the large monitor and turned it back on again. The laptop monitor then froze for maybe 10 seconds while the external monitor was black, then both came back to life.

This is Manjaro with the cosmic from the AUR...

cosmic-applets-git 1.0.0.alpha.1.r34.gfe598a7
cosmic-applibrary-git 1.0.0.alpha.1.r8.gdb4a96e
cosmic-bg-git 1.0.0.alpha.1.r21.g584f6b3
cosmic-comp-git 1.0.0.alpha.1.r59.g4d21575
cosmic-greeter-git 1.0.0.alpha.1.r29.g55c02cd
cosmic-icons-git 1.0.0.alpha.1.r11.g341c844
cosmic-launcher-git 1.0.0.alpha.1.r3.g9269534
cosmic-notifications-git 1.0.0.alpha.1.r0.ge9abef5
cosmic-osd-git 1.0.0.alpha.1.r0.g27fc5e5
cosmic-panel-git 1.0.0.alpha.1.r4.ge184d10
cosmic-randr-git 1.0.0.alpha.1.r0.g71fabbb
cosmic-screenshot-git 1.0.0.alpha.1.r0.g031eb66
cosmic-session-git 1.0.0.alpha.1.r5.g39c7f93
cosmic-settings-daemon-git 1.0.0.alpha.1.r6.ga41d199
cosmic-settings-git 1.0.0.alpha.1.r60.gdf43c94
cosmic-workspaces-git 1.0.0.alpha.1.r1.g70d6c41
xdg-desktop-portal-cosmic-git 1.0.0.alpha.1.r16.g9bf51d3
nevdelap commented 1 week ago

Maybe the same thing, maybe not, but a bit more dramatic.

I had a freeze in Chrome as it was drawing the right click menu, then it went wild flashing different random blocks of memory or something...

image

Then I turned the right hand screen off and on, the left hand screen froze. I turned the right had screen on and off a few times, and it looked to be back to life, but it responded to keyboard shortcuts - like I could open a new terminal, but none of the applications responded to keyboard input in the application. So for example I couldn't do anthing in the terminal I'd just opened.

To get back to working I switched to a virtual terminal and killed "cosmic-workspaces", switched back to the GUI, and it sprang back to life with everything intact.