Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cosmic UI "freezes", requires restarting cosmic-panel to remediate #281

Open
PeterGrace opened this issue Oct 28, 2024 · 10 comments
Open

Cosmic UI "freezes", requires restarting cosmic-panel to remediate #281

PeterGrace opened this issue Oct 28, 2024 · 10 comments

Comments

@PeterGrace
Copy link

Description

When using the cosmic desktop in a normal fashion, the UI elements will occasionally stop responding to all input events. Icons that are normally clickable cannot be clicked, and ui elements that update (e.g., the system time) freeze at the moment of the issue. killing cosmic-panel seems to remediate the issue.

Environment

I'm not sure what's relevant so just tossing a bunch of data here for reference

  • Pop!_OS 24.04 LTS COSMIC Epoch 2 (NVidia edition)
  • Two NVidia GPUs (3080Ti and 1030)
  • Six displays
  • 128gb of ram
  • multiple mounted btrfs filesystems in lvm on SSDs

cosmic versions:

$   dpkg --list | grep cosmic
ii  cosmic-app-library                             0.1.0~1729804328~24.04~3dd148d                                  amd64        Cosmic App Library
ii  cosmic-applets                                 0.1.0~1729524303~24.04~11faa56                                  amd64        Cosmic Applets
ii  cosmic-bg                                      0.1.0~1728506845~24.04~fd44edf                                  amd64        Cosmic Background
ii  cosmic-comp                                    0.1~1729848475~24.04~eb64fda                                    amd64        Wayland compositor of pop-os cosmic shell
ii  cosmic-edit                                    0.1.0~1729619758~24.04~5b0d05d                                  amd64        Cosmic Text Editor
ii  cosmic-files                                   0.1.0~1729645842~24.04~576b9ef                                  amd64        Cosmic File Manager
ii  cosmic-greeter                                 0.1.0~1728920785~24.04~7366808                                  amd64        Cosmic Greeter
ii  cosmic-greeter-daemon                          0.1.0~1728920785~24.04~7366808                                  amd64        Cosmic Greeter daemon
ii  cosmic-icons                                   0.1.0~1727905915~24.04~3fdc217                                  amd64        Cosmic Icons
ii  cosmic-launcher                                0.1.0~1729697418~24.04~27ab200                                  amd64        Cosmic Launcher
ii  cosmic-notifications                           0.1.0~1729806675~24.04~980b962                                  amd64        Cosmic Notifications
ii  cosmic-osd                                     0.1.0~1728459896~24.04~c6fda40                                  amd64        Cosmic OSD
ii  cosmic-panel                                   0.1.0~1729613151~24.04~041a44e                                  amd64        XDG Shell Wrapper Panel for COSMIC
ii  cosmic-randr                                   0.1.0~1729735743~24.04~8d09380                                  amd64        Display and configure wayland display outputs
ii  cosmic-screenshot                              0.1.0~1721939965~24.04~031eb66                                  amd64        Cosmic Screenshot Utility
ii  cosmic-session                                 0.1.0~1729125190~24.04~c3a35f3                                  amd64        The session for the COSMIC desktop
ii  cosmic-settings                                0.1.0~1729783460~24.04~3d01bda                                  amd64        Settings application for the COSMIC desktop environment
ii  cosmic-settings-daemon                         0.1.0~1727366100~24.04~2f17f33                                  amd64        Cosmic settings daemon
ii  cosmic-store                                   0.1.0~1729525737~24.04~570596f                                  amd64        COSMIC Store
ii  cosmic-term                                    0.1.0~1729621862~24.04~8d4bfb9                                  amd64        COSMIC Terminal
ii  cosmic-wallpapers                              1.0.0~1727440723~24.04~8d1d23a                                  all          COSMIC Wallpapers
ii  cosmic-workspaces                              0.1.0~1723068086~24.04~70d6c41                                  amd64        Cosmic workspaces
ii  pop-de-cosmic                                  3.0.0~1729868970~24.04~ea03053                                  amd64        Pop!_OS metapackage for COSMIC-related dependencies.
ii  xdg-desktop-portal-cosmic                      0.1.0pop1~1728590099~24.04~7c83138                              amd64        Cosmic backend for xdg-desktop-portal
@PeterGrace
Copy link
Author

It appears that this issue could be related to the interplay of cosmic-notifications with cosmic-panel -- if I kill cosmic-notifications while cosmic-panel is otherwise working, it reproduces this behavior.

@PeterGrace
Copy link
Author

PeterGrace commented Oct 29, 2024

Here's journald logs from a fresh login where the problem occurred moments after starting Alacritty.

Oct 29 15:05:04 pop-os cosmic-panel[196339]: Exited with error code 0
Oct 29 15:05:04 pop-os cosmic-panel[196339]: Exited with error code 0
Oct 29 15:05:04 pop-os cosmic-panel[196339]: Exited with error code 0
Oct 29 15:05:04 pop-os cosmic-panel[196339]: Exited with error code 0
Oct 29 15:05:04 pop-os cosmic-panel[196339]: Exited with error code 0
Oct 29 15:05:04 pop-os cosmic-panel[196339]: Exited with error code 0
Oct 29 15:05:04 pop-os cosmic-panel[196339]: com.system76.CosmicAppletInputSources: wl_display@1: error 1: invalid arguments for [email protected]_pool
Oct 29 15:05:04 pop-os cosmic-panel[196339]: com.system76.CosmicAppletInputSources: Io error: Invalid argument (os error 22)
Oct 29 15:05:04 pop-os cosmic-panel[196339]: com.system76.CosmicAppletInputSources: Io error: Invalid argument (os error 22)
Oct 29 15:05:04 pop-os cosmic-panel[196339]: com.system76.CosmicAppletInputSources: Error trying to flush the wayland display: Invalid argument (os error 22)
Oct 29 15:05:04 pop-os cosmic-panel[196339]: com.system76.CosmicAppletInputSources: thread 'main' panicked at /build/cosmic-applets-89loiw/cosmic-applets-0.1.0~1729524303~24.04~11faa56/vendor/iced_sctk/src/application.rs:1498:17:
Oct 29 15:05:04 pop-os cosmic-panel[196339]: com.system76.CosmicAppletInputSources: Loop destroyed
Oct 29 15:05:04 pop-os cosmic-panel[196339]: com.system76.CosmicAppletInputSources: stack backtrace:
Oct 29 15:05:04 pop-os cosmic-panel[196339]: com.system76.CosmicAppletTiling: Io error: Broken pipe (os error 32)
Oct 29 15:05:04 pop-os cosmic-panel[196339]: com.system76.CosmicAppletTiling: Io error: thread 'mainBroken pipe' panicked at  (os error 32/build/cosmic-applets-89loiw/cosmic-applets-0.1.0~1729524303~24.04~11faa56/vendor/iced_sctk/src/application.rs):
Oct 29 15:05:04 pop-os cosmic-panel[196339]: com.system76.CosmicAppletTiling: 1498:17:
Oct 29 15:05:04 pop-os cosmic-panel[196339]: com.system76.CosmicAppletTiling: Loop destroyed
Oct 29 15:05:04 pop-os cosmic-panel[196339]: com.system76.CosmicAppletTiling: stack backtrace:
Oct 29 15:05:04 pop-os cosmic-panel[196339]: com.system76.CosmicPanelLauncherButton: wl_display@1: error 1: invalid arguments for [email protected]_pool
Oct 29 15:05:04 pop-os cosmic-panel[196339]: com.system76.CosmicPanelLauncherButton: Io error: Invalid argument (os error 22)
Oct 29 15:05:04 pop-os cosmic-panel[196339]: com.system76.CosmicPanelLauncherButton: Io error: thread 'main' panicked at Invalid argument/build/cosmic-applets-89loiw/cosmic-applets-0.1.0~1729524303~24.04~11faa56/vendor/iced_sctk/src/application.rs (os error :149822:)17
Oct 29 15:05:04 pop-os cosmic-panel[196339]: com.system76.CosmicPanelLauncherButton: :
Oct 29 15:05:04 pop-os cosmic-panel[196339]: com.system76.CosmicPanelLauncherButton: Loop destroyed
Oct 29 15:05:04 pop-os cosmic-panel[196339]: com.system76.CosmicPanelLauncherButton: stack backtrace:
Oct 29 15:05:05 pop-os cosmic-panel[196339]: com.system76.CosmicAppletTiling: note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Oct 29 15:05:05 pop-os cosmic-panel[196339]: process ' X_MINIMIZE_APPLET=false X_PRIVILEGED_WAYLAND_SOCKET=390 COSMIC_PANEL_NAME=Panel COSMIC_PANEL_SIZE=XS COSMIC_PANEL_OUTPUT=DP-5 COSMIC_PANEL_ANCHOR=Top COSMIC_PANEL_BACKGROUND=ThemeDefault RUST_BACKTRACE=1 WAYLAND_SOCKET=365 cosmic-applet-tiling ' failed with code 101
Oct 29 15:05:05 pop-os cosmic-panel[196339]: Exited with error code 101
Oct 29 15:05:05 pop-os cosmic-panel[196339]: com.system76.CosmicAppletInputSources: note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Oct 29 15:05:05 pop-os cosmic-panel[196339]: com.system76.CosmicPanelLauncherButton: note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Oct 29 15:05:05 pop-os cosmic-panel[196339]: process ' X_MINIMIZE_APPLET=false COSMIC_PANEL_NAME=Dock COSMIC_PANEL_SIZE=L COSMIC_PANEL_OUTPUT=DP-5 COSMIC_PANEL_ANCHOR=Bottom COSMIC_PANEL_BACKGROUND=ThemeDefault RUST_BACKTRACE=1 WAYLAND_SOCKET=386 cosmic-panel-button  com.system76.CosmicLauncher' failed with code 101
Oct 29 15:05:05 pop-os cosmic-panel[196339]: Exited with error code 101
Oct 29 15:05:05 pop-os cosmic-panel[196339]: process ' X_MINIMIZE_APPLET=false COSMIC_PANEL_NAME=Panel COSMIC_PANEL_SIZE=XS COSMIC_PANEL_OUTPUT=DP-5 COSMIC_PANEL_ANCHOR=Top COSMIC_PANEL_BACKGROUND=ThemeDefault RUST_BACKTRACE=1 WAYLAND_SOCKET=359 cosmic-applet-input-sources ' failed with code 101
Oct 29 15:05:05 pop-os cosmic-panel[196339]: Exited with error code 101
Oct 29 15:05:05 pop-os cosmic-panel[196339]: com.system76.CosmicAppletStatusArea: Status notifier error: incorrect type
Oct 29 15:05:05 pop-os cosmic-panel[196339]: com.system76.CosmicAppletStatusArea: Status notifier error: incorrect type
Oct 29 15:05:05 pop-os cosmic-panel[196339]: com.system76.CosmicAppletStatusArea: Status notifier error: incorrect type
Oct 29 15:05:05 pop-os cosmic-panel[196339]: com.system76.CosmicAppletStatusArea: Status notifier error: incorrect type
Oct 29 15:05:05 pop-os cosmic-panel[196339]: com.system76.CosmicAppletStatusArea: Status notifier error: incorrect type
Oct 29 15:05:05 pop-os cosmic-panel[196339]: com.system76.CosmicAppletStatusArea: Status notifier error: incorrect type

@PeterGrace
Copy link
Author

Here is a full log of killing and restarting cosmic-panel wherein the restarted panel immediately began showing the same behavior:

Oct 29 15:08:44 pop-os cosmic-session[195738]: process ' DISPLAY=:1 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland PANEL_NOTIFICATIONS_FD=20 WAYLAND_SOCKET=24 cosmic-panel ' terminated with signal 15
Oct 29 15:08:44 pop-os cosmic-session[195738]: sleeping for 5ms before restarting process cosmic-panel (restart 0)
Oct 29 15:08:44 pop-os cosmic-session[195738]: restarted process ' DISPLAY=:1 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland PANEL_NOTIFICATIONS_FD=24 WAYLAND_SOCKET=24 WAYLAND_SOCKET=56 cosmic-panel ', now at 1 restarts
Oct 29 15:08:44 pop-os cosmic-panel[200341]: [EGL] 0x3004 (BAD_ATTRIBUTE) eglCreateSyncKHR: EGL_BAD_ATTRIBUTE error: In eglCreateSyncKHR: EGL_SYNC_NATIVE_FENCE_FD_ANDROID specified valid fd butEGL_SYNC_STATUS is also being set
Oct 29 15:08:44 pop-os cosmic-panel[200341]: com.system76.CosmicAppletStatusArea: Acquired bus name: org.kde.StatusNotifierWatcher
Oct 29 15:08:44 pop-os cosmic-panel[200341]: com.system76.CosmicAppletStatusArea: Bus name 'org.kde.StatusNotifierWatcher' already owned
Oct 29 15:08:44 pop-os cosmic-panel[200341]: com.system76.CosmicAppletStatusArea: Bus name 'org.kde.StatusNotifierWatcher' already owned
Oct 29 15:08:45 pop-os cosmic-panel[200341]: com.system76.CosmicAppletStatusArea: Bus name 'org.kde.StatusNotifierWatcher' already owned
Oct 29 15:08:45 pop-os cosmic-panel[200341]: com.system76.CosmicAppletStatusArea: Bus name 'org.kde.StatusNotifierWatcher' already owned
Oct 29 15:08:45 pop-os cosmic-panel[200341]: Exited with error code 0
Oct 29 15:08:45 pop-os cosmic-panel[200341]: com.system76.CosmicAppletStatusArea: Bus name 'org.kde.StatusNotifierWatcher' already owned
Oct 29 15:08:45 pop-os cosmic-panel[200341]: Exited with error code 0
Oct 29 15:08:45 pop-os cosmic-panel[200341]: Exited with error code 0
Oct 29 15:08:45 pop-os cosmic-panel[200341]: Exited with error code 0
Oct 29 15:08:45 pop-os cosmic-panel[200341]: Exited with error code 0
Oct 29 15:08:45 pop-os cosmic-panel[200341]: Exited with error code 0
Oct 29 15:08:45 pop-os cosmic-panel[200341]: com.system76.CosmicAppletStatusArea: Io error: Broken pipe (os error 32)
Oct 29 15:08:45 pop-os cosmic-panel[200341]: com.system76.CosmicAppletStatusArea: Io error: Broken pipe (os error 32)
Oct 29 15:08:45 pop-os cosmic-panel[200341]: com.system76.CosmicAppletStatusArea: thread 'main' panicked at /build/cosmic-applets-89loiw/cosmic-applets-0.1.0~1729524303~24.04~11faa56/vendor/iced_sctk/src/application.rs:1498:17:
Oct 29 15:08:45 pop-os cosmic-panel[200341]: com.system76.CosmicAppletStatusArea: Loop destroyed
Oct 29 15:08:45 pop-os cosmic-panel[200341]: com.system76.CosmicAppletStatusArea: stack backtrace:
Oct 29 15:08:45 pop-os cosmic-panel[200341]: com.system76.CosmicAppletInputSources: wl_display@1: error 1: invalid arguments for [email protected]_pool
Oct 29 15:08:45 pop-os cosmic-panel[200341]: com.system76.CosmicAppletInputSources: Io error: Invalid argument (os error 22)
Oct 29 15:08:45 pop-os cosmic-panel[200341]: com.system76.CosmicAppletInputSources: thread 'main' panicked at /build/cosmic-applets-89loiw/cosmic-applets-0.1.0~1729524303~24.04~11faa56/vendor/iced_sctk/src/application.rs:1498:17:
Oct 29 15:08:45 pop-os cosmic-panel[200341]: com.system76.CosmicAppletInputSources: Loop destroyed
Oct 29 15:08:45 pop-os cosmic-panel[200341]: com.system76.CosmicAppletInputSources: stack backtrace:
Oct 29 15:08:45 pop-os cosmic-panel[200341]: com.system76.CosmicAppletInputSources: Io error: Invalid argument (os error 22)
Oct 29 15:08:45 pop-os cosmic-panel[200341]: com.system76.CosmicPanelAppButton: Io error: Broken pipe (os error 32)
Oct 29 15:08:45 pop-os cosmic-panel[200341]: com.system76.CosmicPanelAppButton: Io error: Broken pipe (os error 32)
Oct 29 15:08:45 pop-os cosmic-panel[200341]: com.system76.CosmicPanelAppButton: thread 'main' panicked at /build/cosmic-applets-89loiw/cosmic-applets-0.1.0~1729524303~24.04~11faa56/vendor/iced_sctk/src/application.rs:1498:17:
Oct 29 15:08:45 pop-os cosmic-panel[200341]: com.system76.CosmicPanelAppButton: Loop destroyed
Oct 29 15:08:45 pop-os cosmic-panel[200341]: com.system76.CosmicPanelAppButton: stack backtrace:
Oct 29 15:08:45 pop-os cosmic-panel[200341]: com.system76.CosmicAppletStatusArea: Acquired bus name: org.kde.StatusNotifierWatcher
Oct 29 15:08:45 pop-os cosmic-session[195738]: process ' DISPLAY=:1 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland PANEL_NOTIFICATIONS_FD=24 WAYLAND_SOCKET=24 WAYLAND_SOCKET=56 cosmic-panel ' failed with code 1
Oct 29 15:08:45 pop-os cosmic-session[195738]: sleeping for 0ms before restarting process cosmic-panel (restart 1)
Oct 29 15:08:45 pop-os cosmic-session[195738]: restarted process ' DISPLAY=:1 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland PANEL_NOTIFICATIONS_FD=24 WAYLAND_SOCKET=24 WAYLAND_SOCKET=33 cosmic-panel ', now at 2 restarts
Oct 29 15:08:45 pop-os cosmic-panel[201707]: [EGL] 0x3004 (BAD_ATTRIBUTE) eglCreateSyncKHR: EGL_BAD_ATTRIBUTE error: In eglCreateSyncKHR: EGL_SYNC_NATIVE_FENCE_FD_ANDROID specified valid fd butEGL_SYNC_STATUS is also being set
Oct 29 15:08:45 pop-os cosmic-panel[201707]: com.system76.CosmicAppletStatusArea: Acquired bus name: org.kde.StatusNotifierWatcher
Oct 29 15:08:45 pop-os cosmic-panel[201707]: com.system76.CosmicAppletStatusArea: Bus name 'org.kde.StatusNotifierWatcher' already owned
Oct 29 15:08:45 pop-os cosmic-panel[201707]: com.system76.CosmicAppletStatusArea: Bus name 'org.kde.StatusNotifierWatcher' already owned
Oct 29 15:08:45 pop-os cosmic-panel[201707]: com.system76.CosmicAppletStatusArea: Bus name 'org.kde.StatusNotifierWatcher' already owned
Oct 29 15:08:46 pop-os cosmic-panel[201707]: com.system76.CosmicAppletStatusArea: Bus name 'org.kde.StatusNotifierWatcher' already owned
Oct 29 15:08:46 pop-os cosmic-panel[201707]: Exited with error code 0
Oct 29 15:08:46 pop-os cosmic-panel[201707]: Exited with error code 0
Oct 29 15:08:46 pop-os cosmic-panel[201707]: com.system76.CosmicAppletStatusArea: Bus name 'org.kde.StatusNotifierWatcher' already owned
Oct 29 15:08:46 pop-os cosmic-panel[201707]: Exited with error code 0
Oct 29 15:08:46 pop-os cosmic-panel[201707]: Exited with error code 0
Oct 29 15:08:46 pop-os cosmic-panel[201707]: Exited with error code 0
Oct 29 15:08:46 pop-os cosmic-panel[201707]: Exited with error code 0
Oct 29 15:08:46 pop-os cosmic-panel[201707]: com.system76.CosmicAppletNetwork: Io error: Connection reset by peer (os error 104)
Oct 29 15:08:46 pop-os cosmic-panel[201707]: com.system76.CosmicAppletNetwork: Io error: Connection reset by peer (os error 104)
Oct 29 15:08:46 pop-os cosmic-panel[201707]: com.system76.CosmicAppletNetwork: Io error: Connection reset by peer (os error 104)
Oct 29 15:08:46 pop-os cosmic-panel[201707]: com.system76.CosmicAppletNetwork: thread 'main' panicked at /build/cosmic-applets-89loiw/cosmic-applets-0.1.0~1729524303~24.04~11faa56/vendor/iced_sctk/src/application.rs:1498:17:
Oct 29 15:08:46 pop-os cosmic-panel[201707]: com.system76.CosmicAppletNetwork: Loop destroyed
Oct 29 15:08:46 pop-os cosmic-panel[201707]: com.system76.CosmicAppletNetwork: stack backtrace:
Oct 29 15:08:46 pop-os cosmic-panel[201707]: com.system76.CosmicPanelAppButton: Io error: Broken pipe (os error 32)
Oct 29 15:08:46 pop-os cosmic-panel[201707]: com.system76.CosmicPanelAppButton: Io error: Broken pipethread ' (os error main32' panicked at )/build/cosmic-applets-89loiw/cosmic-applets-0.1.0~1729524303~24.04~11faa56/vendor/iced_sctk/src/application.rs
Oct 29 15:08:46 pop-os cosmic-panel[201707]: com.system76.CosmicPanelAppButton: :1498:17:
Oct 29 15:08:46 pop-os cosmic-panel[201707]: com.system76.CosmicPanelAppButton: Loop destroyed
Oct 29 15:08:46 pop-os cosmic-panel[201707]: com.system76.CosmicPanelAppButton: stack backtrace:
Oct 29 15:08:46 pop-os cosmic-panel[201707]: com.system76.CosmicPanelAppButton: note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Oct 29 15:08:46 pop-os cosmic-panel[201707]: com.system76.CosmicAppletNetwork: note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Oct 29 15:08:46 pop-os cosmic-panel[201707]: process ' X_MINIMIZE_APPLET=false COSMIC_PANEL_NAME=Panel COSMIC_PANEL_SIZE=XS COSMIC_PANEL_OUTPUT=DP-7 COSMIC_PANEL_ANCHOR=Top COSMIC_PANEL_BACKGROUND=ThemeDefault RUST_BACKTRACE=1 WAYLAND_SOCKET=176 cosmic-panel-button  com.system76.CosmicAppLibrary' failed with code 101
Oct 29 15:08:46 pop-os cosmic-panel[201707]: Exited with error code 101
Oct 29 15:08:46 pop-os cosmic-panel[201707]: process ' X_MINIMIZE_APPLET=false COSMIC_PANEL_NAME=Panel COSMIC_PANEL_SIZE=XS COSMIC_PANEL_OUTPUT=DP-7 COSMIC_PANEL_ANCHOR=Top COSMIC_PANEL_BACKGROUND=ThemeDefault RUST_BACKTRACE=1 WAYLAND_SOCKET=314 cosmic-applet-network ' failed with code 101
Oct 29 15:08:46 pop-os cosmic-panel[201707]: Exited with error code 101

@PeterGrace
Copy link
Author

And for funsies, here's logs for an instantiation where the lockup has yet to occur (hopefully you can filter between noise and signal having two traces)

XDG_SESSION_TYPE=wayland PANEL_NOTIFICATIONS_FD=24 WAYLAND_SOCKET=24 WAYLAND_SOCKET=33 cosmic-panel ' terminated with signal 15
Oct 29 15:16:07 pop-os cosmic-session[195738]: sleeping for 40ms before restarting process cosmic-panel (restart 3)
Oct 29 15:16:07 pop-os cosmic-session[195738]: restarted process ' DISPLAY=:1 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland PANEL_NOTIFICATIONS_FD=24 WAYLAND_SOCKET=24 WAYLAND_SOCKET=80 cosmic-panel ', now at 4 restarts
Oct 29 15:16:07 pop-os cosmic-panel[208922]: [EGL] 0x3004 (BAD_ATTRIBUTE) eglCreateSyncKHR: EGL_BAD_ATTRIBUTE error: In eglCreateSyncKHR: EGL_SYNC_NATIVE_FENCE_FD_ANDROID specified valid fd butEGL_SYNC_STATUS is also being set
Oct 29 15:16:07 pop-os cosmic-panel[208922]: com.system76.CosmicAppletStatusArea: Acquired bus name: org.kde.StatusNotifierWatcher
Oct 29 15:16:07 pop-os cosmic-panel[208922]: com.system76.CosmicAppletStatusArea: Bus name 'org.kde.StatusNotifierWatcher' already owned
Oct 29 15:16:07 pop-os cosmic-panel[208922]: com.system76.CosmicAppletStatusArea: Bus name 'org.kde.StatusNotifierWatcher' already owned
Oct 29 15:16:07 pop-os cosmic-panel[208922]: com.system76.CosmicAppletStatusArea: Bus name 'org.kde.StatusNotifierWatcher' already owned
Oct 29 15:16:07 pop-os cosmic-panel[208922]: com.system76.CosmicAppletStatusArea: Bus name 'org.kde.StatusNotifierWatcher' already owned
Oct 29 15:16:08 pop-os cosmic-panel[208922]: com.system76.CosmicAppletStatusArea: Bus name 'org.kde.StatusNotifierWatcher' already owned
Oct 29 15:16:08 pop-os cosmic-panel[208922]: Exited with error code 0
Oct 29 15:16:08 pop-os cosmic-panel[208922]: Exited with error code 0
Oct 29 15:16:08 pop-os cosmic-panel[208922]: Exited with error code 0
Oct 29 15:16:08 pop-os cosmic-panel[208922]: Exited with error code 0
Oct 29 15:16:08 pop-os cosmic-panel[208922]: Exited with error code 0
Oct 29 15:16:08 pop-os cosmic-panel[208922]: Exited with error code 0
Oct 29 15:16:08 pop-os cosmic-panel[208922]: com.system76.CosmicPanelAppButton: Io error: Broken pipe (os error 32)
Oct 29 15:16:08 pop-os cosmic-panel[208922]: com.system76.CosmicPanelAppButton: Io error: Broken pipe (os error 32)
Oct 29 15:16:08 pop-os cosmic-panel[208922]: com.system76.CosmicPanelAppButton: thread 'main' panicked at /build/cosmic-applets-89loiw/cosmic-applets-0.1.0~1729524303~24.04~11faa56/vendor/iced_sctk/src/application.rs:1498:17:
Oct 29 15:16:08 pop-os cosmic-panel[208922]: com.system76.CosmicPanelAppButton: Loop destroyed
Oct 29 15:16:08 pop-os cosmic-panel[208922]: com.system76.CosmicPanelAppButton: stack backtrace:
Oct 29 15:16:08 pop-os cosmic-panel[208922]: com.system76.CosmicAppletInputSources: Io error: Broken pipe (os error 32)
Oct 29 15:16:08 pop-os cosmic-panel[208922]: com.system76.CosmicAppletInputSources: Io error: Broken pipe (os error 32)
Oct 29 15:16:08 pop-os cosmic-panel[208922]: com.system76.CosmicAppletInputSources: thread 'main' panicked at /build/cosmic-applets-89loiw/cosmic-applets-0.1.0~1729524303~24.04~11faa56/vendor/iced_sctk/src/application.rs:1498:17:
Oct 29 15:16:08 pop-os cosmic-panel[208922]: com.system76.CosmicAppletInputSources: Loop destroyed
Oct 29 15:16:08 pop-os cosmic-panel[208922]: com.system76.CosmicAppletInputSources: stack backtrace:
Oct 29 15:16:08 pop-os cosmic-panel[208922]: com.system76.CosmicPanelAppButton: note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Oct 29 15:16:08 pop-os cosmic-panel[208922]: com.system76.CosmicAppletInputSources: note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Oct 29 15:16:08 pop-os cosmic-panel[208922]: process ' X_MINIMIZE_APPLET=false COSMIC_PANEL_NAME=Panel COSMIC_PANEL_SIZE=XS COSMIC_PANEL_OUTPUT=HDMI-A-2 COSMIC_PANEL_ANCHOR=Top COSMIC_PANEL_BACKGROUND=ThemeDefault RUST_BACKTRACE=1 WAYLAND_SOCKET=120 cosmic-panel-button  com.system76.CosmicAppLibrary' failed with code 101
Oct 29 15:16:08 pop-os cosmic-panel[208922]: Exited with error code 101
Oct 29 15:16:08 pop-os cosmic-panel[208922]: process ' X_MINIMIZE_APPLET=false COSMIC_PANEL_NAME=Panel COSMIC_PANEL_SIZE=XS COSMIC_PANEL_OUTPUT=DP-7 COSMIC_PANEL_ANCHOR=Top COSMIC_PANEL_BACKGROUND=ThemeDefault RUST_BACKTRACE=1 WAYLAND_SOCKET=181 cosmic-applet-input-sources ' failed with code 101
Oct 29 15:16:08 pop-os cosmic-panel[208922]: Exited with error code 101

@PeterGrace
Copy link
Author

Oh, one other interesting detail: My last logline was at 15:16:20 but the time froze at 15:19:34 in this latest run. Maybe this issue doesn't even show up in the logs?

@PeterGrace
Copy link
Author

One more set of logs, this time I didn't filter by cosmic-panel -- maybe these dbus-broker messages have something to do with it as well? In this case killing cosmic-panel has not brought up the panel at all, but, the screen is still resized assuming items would be there (see pic)
screenshot-2024-10-29-21-26-52

ct 29 17:24:15 pop-os cosmic-session[195738]: process ' DISPLAY=:1 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland PANEL_NOTIFICATIONS_FD=24 WAYLAND_SOCKET=24 WAYLAND_SOCKET=76 cosmic-pan>
Oct 29 17:24:15 pop-os cosmic-session[195738]: process 'ProcessKey(17v1)' cancelled
Oct 29 17:24:15 pop-os cosmic-session[195738]: starting process ' DISPLAY=:1 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland DAEMON_NOTIFICATIONS_FD=25 WAYLAND_SOCKET=62 cosmic-notificatio>
Oct 29 17:24:15 pop-os cosmic-session[195738]: draining stdin receiver before restarting process
Oct 29 17:24:15 pop-os cosmic-session[195738]: sleeping for 64ms before restarting process cosmic-panel (restart 5)
Oct 29 17:24:15 pop-os cosmic-session[195738]: sending 1 fds
Oct 29 17:24:15 pop-os cosmic-session[195738]: sending 1 fds
Oct 29 17:24:15 pop-os cosmic-session[195738]: restarted process ' DISPLAY=:1 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland PANEL_NOTIFICATIONS_FD=24 WAYLAND_SOCKET=24 WAYLAND_SOCKET=76 >
Oct 29 17:24:16 pop-os cosmic-panel[246401]: [EGL] 0x3004 (BAD_ATTRIBUTE) eglCreateSyncKHR: EGL_BAD_ATTRIBUTE error: In eglCreateSyncKHR: EGL_SYNC_NATIVE_FENCE_FD_ANDROID specified valid fd b>
Oct 29 17:24:16 pop-os cosmic-comp[196259]: [GL] GL_INVALID_OPERATION error generated. <image> and <target> are incompatible
Oct 29 17:24:16 pop-os cosmic-comp[196259]: [GL] GL_INVALID_OPERATION error generated. EGLImage not supported
Oct 29 17:24:16 pop-os cosmic-panel[246401]: com.system76.CosmicAppletStatusArea: Acquired bus name: org.kde.StatusNotifierWatcher
Oct 29 17:24:16 pop-os dbus-broker[1356]: A security policy denied :1.1568 to send method call /org/freedesktop/NetworkManager/Settings:org.freedesktop.NetworkManager.Settings.LoadConnections>
Oct 29 17:24:16 pop-os dbus-broker[1356]: A security policy denied :1.1574 to send method call /org/freedesktop/NetworkManager/Settings:org.freedesktop.NetworkManager.Settings.LoadConnections>
Oct 29 17:24:16 pop-os cosmic-panel[246401]: com.system76.CosmicAppletStatusArea: Bus name 'org.kde.StatusNotifierWatcher' already owned
Oct 29 17:24:16 pop-os cosmic-panel[246401]: com.system76.CosmicAppletStatusArea: Bus name 'org.kde.StatusNotifierWatcher' already owned
Oct 29 17:24:16 pop-os cosmic-panel[246401]: com.system76.CosmicAppletStatusArea: Bus name 'org.kde.StatusNotifierWatcher' already owned
Oct 29 17:24:16 pop-os dbus-broker[1356]: A security policy denied :1.1582 to send method call /org/freedesktop/NetworkManager/Settings:org.freedesktop.NetworkManager.Settings.LoadConnections>
Oct 29 17:24:16 pop-os dbus-broker[1356]: A security policy denied :1.1587 to send method call /org/freedesktop/NetworkManager/Settings:org.freedesktop.NetworkManager.Settings.LoadConnections>
Oct 29 17:24:16 pop-os cosmic-comp[196259]: [GL] GL_INVALID_OPERATION error generated. <image> and <target> are incompatible
Oct 29 17:24:16 pop-os cosmic-comp[196259]: [GL] GL_INVALID_OPERATION error generated. EGLImage not supported
Oct 29 17:24:16 pop-os dbus-broker[1356]: A security policy denied :1.1593 to send method call /org/freedesktop/NetworkManager/Settings:org.freedesktop.NetworkManager.Settings.LoadConnections>
Oct 29 17:24:16 pop-os systemd[1]: Starting systemd-timedated.service - Time & Date Service...
Oct 29 17:24:16 pop-os dbus-broker[1356]: A security policy denied :1.1606 to send method call /org/freedesktop/NetworkManager/Settings:org.freedesktop.NetworkManager.Settings.LoadConnections>
Oct 29 17:24:16 pop-os cosmic-panel[246401]: com.system76.CosmicAppletStatusArea: Bus name 'org.kde.StatusNotifierWatcher' already owned
Oct 29 17:24:16 pop-os cosmic-panel[246401]: Exited with error code 0
Oct 29 17:24:16 pop-os systemd[1]: Started systemd-timedated.service - Time & Date Service.
Oct 29 17:24:16 pop-os cosmic-panel[246401]: com.system76.CosmicAppletStatusArea: Bus name 'org.kde.StatusNotifierWatcher' already owned
Oct 29 17:24:16 pop-os cosmic-panel[246401]: Exited with error code 0
Oct 29 17:24:16 pop-os cosmic-panel[246401]: Exited with error code 0
Oct 29 17:24:16 pop-os cosmic-panel[246401]: Exited with error code 0
Oct 29 17:24:16 pop-os cosmic-panel[246401]: Exited with error code 0
Oct 29 17:24:16 pop-os cosmic-panel[246401]: Exited with error code 0
Oct 29 17:24:22 pop-os geoclue[4880]: Failed to query location: Query location SOUP error: Not Found

@wash2
Copy link
Collaborator

wash2 commented Oct 30, 2024

It might be worth testing with #282 and pop-os/cosmic-applets#696 which both will be merged soon and contain a lot of changes. I'm not sure of the cause of your issue, but it may just be fixed by the update

@PeterGrace
Copy link
Author

PeterGrace commented Oct 30, 2024

It might be worth testing with #282 and pop-os/cosmic-applets#696 which both will be merged soon and contain a lot of changes. I'm not sure of the cause of your issue, but it may just be fixed by the update

@ashley I am running the binaries from those PRs now.

With this version, cosmic-panel would not stop restarting, I saw in the error logs it was 'too many open files.' Pop-OS installed with a soft limit of 1024 and I can't seem to figure out where the heck to set it (I changed it in systemd and reloaded, reexeced, rebooted, but no matter what cosmic-greeter/session seems to have 1024 soft file limit at start)

I'm working around this with a shell command that uses prlimit to change the number of open files to a larger value which permits cosmic-panel to restart and, so far, is not exhibiting my original issue.
ps ax |grep cosmic-session|grep -v grep|awk '{print $1}' |sudo xargs -i@ prlimit -p @ -n=65536:524288

EDIT: I had originally posted that the panel was not working and the systray was broken. This is my fault -- I must have neglected to copy cosmic-applets properly into /usr/bin after compiling. I rechecked md5sums and saw they were wrong.

Now that I've copied the right cosmic-applets in, I can report that my issue appears to be resolved EXCEPT that the number of open files issue is preventing it from starting. I have to jump into a terminal and reset the number of open files for cosmic-session so it can then spawn cosmic-panels with a bigger number of files limit.

@wash2
Copy link
Collaborator

wash2 commented Oct 30, 2024

Oh, also -- left click works but right click doesn't? I vaguely remember right clicking on the panel or notification bar would bring up a context menu but those versions from the two PRs don't seem to render a right-click-context menu.

It brings up popups for apps in the app tray.

@PeterGrace
Copy link
Author

It brings up popups for apps in the app tray.

I just edited my above comment about the app tray misbehavior -- it was my fault! But I'm still plagued by that number of open files issue, which I'm concerned might hit other people on the distro -- this is a new install as of a week ago of Pop OS epoch 2 iso.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants