pop-os / cosmic-panel

WIP
GNU General Public License v3.0
113 stars 26 forks source link

Panel and dock disappear after wake from sleep mode or KVM switch. Attempted recovery crashes system. #287

Open zsilet opened 1 week ago

zsilet commented 1 week ago

Issue: 1) Upon a KVM switch or wake from sleep mode, my cosmic panel and dock disappear. Happens more than 50% of the time. 2) The secondary (external/hdmi) monitor is always first to lose the dock/panel. The laptop display wil lose the dock/panel after I attempt to click on them a few times. 3) I have had the entire desktop lock up after #2 above as well. 4) This issue started happening about 2 weeks ago (seen via KVM switch) The issue has become far more prevalent with the introduction of automatic sleep mode under power settings. (See latest sw versions in attached sys_info_sw file)

Hardware setup (see attached sys_info_hw for processor/gpu etc details):

Initially I was rebooting my system to fix the issue, but per suggestions on the pop!_OS Mattermost chat, I attempted a 'live' restart of cosmic-panel, by: a) killal cosmic-panel, followed by b) cosmic-session to restart it Unfortunately, issuing killall cosmic-panel is causing my entire desktop to immediately freeze (this is reproducible), including mouse and keyboard inputs. This forces me to have to reboot anyways.

Note that issuing killall cosmic-panel, while everything is running fine, automatically/properly restarts the panel and dock.

sys_info_hw_2024-Nov- 5-1350.txt sys_info_sw_2024-Nov- 5-1350.txt

zsilet commented 5 days ago

The following messages are logged in the journal when I attempt to kill cosmic-panel (and the computer locks up) (followed by my power button press that seems to successfully shut the system down:

1630228 Nov 08 11:45:45 pop-os sudo[77233]: pam_unix(sudo:session): session opened for user root(uid=0) by cosmicboy(uid=1000) 1630229 Nov 08 11:45:46 pop-os sudo[77233]: pam_unix(sudo:session): session closed for user root 1630230 Nov 08 11:47:03 pop-os cosmic-comp[2627]: [GL] GL_INVALID_VALUE in glTexSubImage2D(xoffset 0 + width 24 > 10) 1630231 Nov 08 11:47:04 pop-os cosmic-comp[2627]: [GL] GL_INVALID_VALUE in glTexSubImage2D(xoffset 0 + width 24 > 10) 1630232 Nov 08 11:47:17 pop-os geoclue[2962]: Failed to query location: Query location SOUP error: Not Found 1630233 Nov 08 11:47:19 pop-os geoclue[2962]: Failed to query location: Query location SOUP error: Not Found 1630234 Nov 08 11:47:53 pop-os cosmic-comp[2627]: [GL] GL_INVALID_VALUE in glTexSubImage2D(xoffset 0 + width 24 > 10) 1630235 Nov 08 11:48:08 pop-os cosmic-session[2586]: process ' DISPLAY=:1 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland PANEL_NOTIFICATIONS_FD=20 WAYLAND_SOCKET=24 cosmic-panel ' terminated with signal 15 1630236 Nov 08 11:48:08 pop-os cosmic-session[2586]: process 'ProcessKey(3v1)' cancelled 1630237 Nov 08 11:48:08 pop-os cosmic-session[2586]: starting process ' DISPLAY=:1 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland DAEMON_NOTIFICATIONS_FD=51 WAYLAND_SOCKET=60 cosmic-notifications ' 1630238 Nov 08 11:48:08 pop-os cosmic-session[2586]: draining stdin receiver before restarting process 1630239 Nov 08 11:48:08 pop-os cosmic-session[2586]: sleeping for 1ms before restarting process cosmic-panel (restart 0) 1630240 Nov 08 11:48:08 pop-os cosmic-session[2586]: sending 1 fds 1630241 Nov 08 11:48:08 pop-os cosmic-session[2586]: sending 1 fds 1630242 Nov 08 11:48:08 pop-os cosmic-session[2586]: restarted process ' DISPLAY=:1 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland PANEL_NOTIFICATIONS_FD=28 WAYLAND_SOCKET=24 WAYLAND_SOCKET=77 cosmic-panel ', now at 1 r 1630242 estarts 1630243 Nov 08 11:48:09 pop-os cosmic-panel[77362]: Failed to connect to the notifications daemon Err(Elapsed(())) 1630244 Nov 08 11:51:44 pop-os wpa_supplicant[891]: wlo1: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-62 noise=9999 txrate=292500 1630245 Nov 08 11:51:53 pop-os wpa_supplicant[891]: wlo1: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-61 noise=9999 txrate=292500 1630246 Nov 08 11:51:56 pop-os geoclue[2962]: Failed to query location: Query location SOUP error: Not Found 1630247 Nov 08 11:52:29 pop-os geoclue[2962]: Failed to query location: Query location SOUP error: Not Found 1630248 Nov 08 11:53:34 pop-os geoclue[2962]: Failed to query location: Query location SOUP error: Not Found 1630249 Nov 08 11:54:09 pop-os systemd-logind[877]: Power key pressed short. 1630250 Nov 08 11:54:09 pop-os systemd-logind[877]: Powering off... 1630251 Nov 08 11:54:09 pop-os systemd-logind[877]: System is powering down.

gasquid commented 2 days ago

I'm encountering this as well. The panel disappears after waking my computer up (usually works fine several times but then the same or next day, disappears after a wake up). Killing cosmic-panel when this happens freezes the desktop.

zsilet commented 2 days ago

Exactly, I cannot put my finger on exactly what makes it happen/not happen. I cannot make it happen easily by manually putting the machine to sleep, but almost every morning when I wake my machine, my panel/dock is gone. I've been updating religiously in the hopes that it goes away, but it definitely feels like breakage as of around 3 weeks ago.

J4ckWh0 commented 2 days ago

I'm unsure if it's related but I can consistently make the panel crash/exit by loading up another Cosmic App like Cosmic Store for example and then use windows+right mouse click to quickly change the size of the Cosmic App. When doing this the panel will crash out and disappear.

I can bring it back by going into terminal and restarting cosmic-panel.

zsilet commented 3 hours ago

As of about 2 days ago, I am seeing the panel/dock crash during "normal" use. I have not tied it to any specific action I am taking. Attempting to restart it from the terminal via cosmic-panel is not working for me. The panel/dock (attempt to) come up for a few seconds, then crash/disappear again.

Attaching journal logs from the last time this happened (see around timestamp 11:26) log.txt