micheleg / dash-to-dock

A dock for the Gnome Shell. This extension moves the dash out of the overview transforming it in a dock for an easier launching of applications and a faster switching between windows and desktops.
https://micheleg.github.io/dash-to-dock/
GNU General Public License v2.0
3.89k stars 461 forks source link

Black screen when showing applications on dual monitor #1383

Open GKraats opened 3 years ago

GKraats commented 3 years ago

I use version 69 with dock-fixed. I am running Debian bullseye with wayland: Linux debian 5.10.0-2-686-pae #1 SMP Debian 5.10.9-1 (2021-01-20) i686 GNU/Linux. Problem occurs probably after installing libmutter-7-0:i386 3.38.3-1 some days ago.

Black screen appears if "Show Applications" is clicked the second time to show the applications.

journalctl /usr/bin/gnome-shell -f shows: Feb 01 20:21:48 debian gnome-shell[9913]: Couldn't find child [0x29c2a30 Gjs_ui_windowPreview_WindowPreview ("gert@debian: ~")] in window slots Feb 01 20:21:48 debian gnome-shell[9913]: value "nan" of type 'gfloat' is invalid or out of range for property 'x' of type 'gfloat' Feb 01 20:21:48 debian gnome-shell[9913]: value "nan" of type 'gfloat' is invalid or out of range for property 'y' of type 'gfloat' Feb 01 20:21:48 debian gnome-shell[9913]: value "-inf" of type 'gfloat' is invalid or out of range for property 'width' of type 'gfloat' Feb 01 20:21:48 debian gnome-shell[9913]: value "-inf" of type 'gfloat' is invalid or out of range for property 'height' of type 'gfloat' Feb 01 20:21:55 debian gnome-shell[9913]: Couldn't find child [0x29c2a30 Gjs_ui_windowPreview_WindowPreview:first-child last-child ("gert@debian: ~")] in window slots Feb 01 20:22:36 debian gnome-shell[9913]: Couldn't find child [0x1079818 Gjs_ui_windowPreview_WindowPreview ("gert@debian: ~")] in window slots Feb 01 20:22:36 debian gnome-shell[9913]: intel_do_flush_locked failed: Invalid argument

At one monitor there is no crash, but errors are shown by journalctl: Feb 01 20:12:54 debian gnome-shell[8749]: Couldn't find child [0x2ad9508 Gjs_ui_windowPreview_WindowPreview ("gert@debian: ~")] in window slots Feb 01 20:12:54 debian gnome-shell[8749]: value "nan" of type 'gfloat' is invalid or out of range for property 'x' of type 'gfloat' Feb 01 20:12:54 debian gnome-shell[8749]: value "nan" of type 'gfloat' is invalid or out of range for property 'y' of type 'gfloat' Feb 01 20:12:54 debian gnome-shell[8749]: value "-inf" of type 'gfloat' is invalid or out of range for property 'width' of type 'gfloat' Feb 01 20:12:54 debian gnome-shell[8749]: value "-inf" of type 'gfloat' is invalid or out of range for property 'height' of type 'gfloat' Feb 01 20:12:58 debian gnome-shell[8749]: Couldn't find child [0x2ad9508 Gjs_ui_windowPreview_WindowPreview:first-child last-child ("gert@debian: ~")] in window slots Feb 01 20:13:39 debian gnome-shell[8749]: Couldn't find child [0x2278a70 Gjs_ui_windowPreview_WindowPreview ("gert@debian: ~")] in window slots Feb 01 20:13:42 debian gnome-shell[8749]: Couldn't find child [0x2278a70 Gjs_ui_windowPreview_WindowPreview:first-child last-child ("gert@debian: ~")] in window slots Feb 01 20:14:06 debian gnome-shell[8749]: Couldn't find child [0x2ad9508 Gjs_ui_windowPreview_WindowPreview ("gert@debian: ~")] in window slots Feb 01 20:14:08 debian gnome-shell[8749]: Couldn't find child [0x2ad9508 Gjs_ui_windowPreview_WindowPreview:first-child last-child ("gert@debian: ~")] in window slots Feb 01 20:16:17 debian gnome-shell[8749]: Couldn't find child [0x2278a70 Gjs_ui_windowPreview_WindowPreview ("gert@debian: ~")] in window slots Feb 01 20:16:20 debian gnome-shell[8749]: Couldn't find child [0x2278a70 Gjs_ui_windowPreview_WindowPreview:first-child last-child ("gert@debian: ~")] in window slots Feb 01 20:16:29 debian gnome-shell[8749]: Couldn't find child [0x2ad9508 Gjs_ui_windowPreview_WindowPreview ("gert@debian: ~")] in window slots Feb 01 20:16:31 debian gnome-shell[8749]: Couldn't find child [0x2ad9508 Gjs_ui_windowPreview_WindowPreview:first-child last-child ("gert@debian: ~")] in window slots

These errors are not shown at journalctl, if dash-to-dock is removed.

Despite this error I still am very glad with dash-to-dock. Should be standard at Debian.

GKraats commented 3 years ago

Further investigation shows the black screen is not caused by malfunctioning of dash-to dock. Black screen is caused by a mesa-bug on old intel Graphics. See bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983466. Problem only occurs at wayland with dual monitor. When "showing applications" a "intelClearWithBlit" might be done at all application-buttons at the dock which fails if more than 14 are defined.

The error "Couldn't find" is a new error message from workspace.js at gnome-shell-js/ui. Error message is caused by conditionally not filling window_slots, just before the error message is generated. So this is also not caused by dash-to-dock.