Bug 2231369

Summary: Display connected via Alt-DP is losing irregulary its content for a second and comes back again
Product: [Fedora] Fedora Reporter: GroovieMan <christian.groove>
Component: mutterAssignee: Florian Müllner <fmuellner>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: fmuellner, gnome-sig, jadahl, otaylor, philip.wyett, walters
Target Milestone: ---Keywords: Desktop
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-12 10:17:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description GroovieMan 2023-08-11 12:18:50 UTC
I am running a notebook (AMD-Ryzen9 with a nvidia-accelerator). The Alt-DP is driven by the nvidia hardware and it uses an USB3.2 port. This configuration is commonly uses for AMD notebook. I am running a Gnome-Desktop on Wayland.

From time to time, the attached display is getting dark for less than a second and comes back again.

Journal gives no mutter oder nvidia related error messages, but i get this weired output:

Aug 11 14:01:37 foreman gnome-shell[6127]: #5   557cf848fd68 i   resource:///org/gnome/shell/ui/layout.js:366 (b4b963cc6f0 @ 22)
Aug 11 14:01:37 foreman gnome-shell[6127]: #6   557cf848fcd8 i   resource:///org/gnome/shell/ui/overview.js:642 (1cf1f9982830 @ 175)
Aug 11 14:01:37 foreman gnome-shell[6127]: #7   557cf848fc58 i   resource:///org/gnome/shell/ui/overview.js:625 (1cf1f99827e0 @ 12)
Aug 11 14:01:37 foreman gnome-shell[6127]: #8   557cf848fbd8 i   resource:///org/gnome/shell/ui/overviewControls.js:771 (1cf1f9985c40 @ 55)
Aug 11 14:01:37 foreman gnome-shell[6127]: #9   7ffd017d55b0 b   resource:///org/gnome/shell/ui/environment.js:151 (b4b9637c4c0 @ 39)
Aug 11 14:01:37 foreman gnome-shell[6127]: #10   7ffd017d5670 b   resource:///org/gnome/shell/ui/environment.js:317 (b4b9637c9c0 @ 14)
Aug 11 14:01:37 foreman gnome-shell[6127]: == Stack trace for context 0x557cf0c9f130 ==
Aug 11 14:01:37 foreman gnome-shell[6127]: #0   7ffd017ce5b0 b   resource:///org/gnome/shell/ui/workspacesView.js:692 (790ad827060 @ 591)
Aug 11 14:01:37 foreman gnome-shell[6127]: #1   557cf848ffa0 i   resource:///org/gnome/shell/ui/workspace.js:854 (1cf1f99bb5b0 @ 369)
Aug 11 14:01:37 foreman gnome-shell[6127]: #2   557cf848ff18 i   resource:///org/gnome/shell/ui/workspace.js:805 (1cf1f99bb510 @ 17)
Aug 11 14:01:37 foreman gnome-shell[6127]: #3   557cf848fe80 i   resource:///org/gnome/shell/ui/workspacesView.js:1007 (790ad827a10 @ 124)
Aug 11 14:01:37 foreman gnome-shell[6127]: #4   557cf848fdf0 i   resource:///org/gnome/shell/ui/overviewControls.js:720 (1cf1f9985a10 @ 50)
Aug 11 14:01:37 foreman gnome-shell[6127]: #5   557cf848fd68 i   resource:///org/gnome/shell/ui/layout.js:366 (b4b963cc6f0 @ 22)
Aug 11 14:01:37 foreman gnome-shell[6127]: #6   557cf848fcd8 i   resource:///org/gnome/shell/ui/overview.js:642 (1cf1f9982830 @ 175)
Aug 11 14:01:37 foreman gnome-shell[6127]: Object .Gjs_ui_workspaceThumbnail_ThumbnailsBox (0x557cf8473220), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Aug 11 14:01:37 foreman gnome-shell[6127]: #7   557cf848fc58 i   resource:///org/gnome/shell/ui/overview.js:625 (1cf1f99827e0 @ 12)
Aug 11 14:01:37 foreman gnome-shell[6127]: #8   557cf848fbd8 i   resource:///org/gnome/shell/ui/overviewControls.js:771 (1cf1f9985c40 @ 55)
Aug 11 14:01:37 foreman gnome-shell[6127]: #9   7ffd017d55b0 b   resource:///org/gnome/shell/ui/environment.js:151 (b4b9637c4c0 @ 39)
Aug 11 14:01:37 foreman gnome-shell[6127]: #10   7ffd017d5670 b   resource:///org/gnome/shell/ui/environment.js:317 (b4b9637c9c0 @ 14)
Aug 11 14:01:37 foreman gnome-shell[6127]: Object .Gjs_ui_workspaceThumbnail_ThumbnailsBox (0x557cf8473220), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Aug 11 14:01:37 foreman gnome-shell[6127]: Spurious clutter_actor_allocate called for actor 0x557cf8473220/<unnamed>[<Gjs_ui_workspaceThumbnail_ThumbnailsBox>:0x557cf8473220] which isn't a descendent of the stage!
Aug 11 14:01:37 foreman gnome-shell[6127]: JS ERROR: TypeError: workspace is undefined
                                           _getSpacing@resource:///org/gnome/shell/ui/workspacesView.js:212:13
                                           vfunc_allocate@resource:///org/gnome/shell/ui/workspacesView.js:338:18
                                           vfunc_allocate@resource:///org/gnome/shell/ui/workspacesView.js:711:30
                                           removeWindow@resource:///org/gnome/shell/ui/workspace.js:854:29
                                           addWindow/<.destroyId<@resource:///org/gnome/shell/ui/workspace.js:805:22
                                           vfunc_hide@resource:///org/gnome/shell/ui/workspacesView.js:1007:38
                                           vfunc_unmap@resource:///org/gnome/shell/ui/overviewControls.js:720:38
                                           hideOverview@resource:///org/gnome/shell/ui/layout.js:366:28
                                           _hideDone@resource:///org/gnome/shell/ui/overview.js:642:32
                                           _animateNotVisible/<@resource:///org/gnome/shell/ui/overview.js:625:55
                                           onStopped@resource:///org/gnome/shell/ui/overviewControls.js:771:21
                                           _makeEaseCallback/<@resource:///org/gnome/shell/ui/environment.js:151:22
                                           _easeActorProperty/<@resource:///org/gnome/shell/ui/environment.js:317:60
Aug 11 14:04:11 foreman gnome-shell[6127]: Window manager warning: Invalid WM_TRANSIENT_FOR window 0x200001c specified for 0x2000296.
Aug 11 14:06:55 foreman cupsd[1732]: REQUEST localhost - - "POST / HTTP/1.1" 200 186 Renew-Subscription successful-ok
Aug 11 14:09:12 foreman audit: BPF prog-id=130 op=LOAD
Aug 11 14:09:12 foreman audit: BPF prog-id=131 op=LOAD
Aug 11 14:09:12 foreman audit: BPF prog-id=132 op=LOAD
Aug 11 14:09:12 foreman systemd[1]: Starting systemd-hostnamed.service - Hostname Service...
Aug 11 14:09:12 foreman systemd[1]: Started systemd-hostnamed.service - Hostname Service.
Aug 11 14:09:12 foreman audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 11 14:09:42 foreman systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Aug 11 14:09:42 foreman audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 11 14:09:42 foreman audit: BPF prog-id=132 op=UNLOAD
Aug 11 14:09:42 foreman audit: BPF prog-id=131 op=UNLOAD
Aug 11 14:09:42 foreman audit: BPF prog-id=130 op=UNLOAD


Reproducible: Always

Steps to Reproduce:
1.run your Alt-DP connected display
2.wait 
3.
Actual Results:  
pretty irregular behaviour, i changed the refresh rate and other param, no idea what is going wrong.

Expected Results:  
a stable view of an attached Screen

Comment 1 GroovieMan 2023-08-12 10:17:02 UTC
Ok, this is not a problem of mutter, wayladn oder nvidia. The exceptionstack indicates a problem with a component, that is written in JavaScript!
So i disabled all Gnome-Extensions and solved the problem!