[Bug 1970495] Re: Window manager freezes when plugging in USB-C dock with external monitor ([drm] *ERROR* mstb 00000000f21f0a30 port 1: DPCD read on addr 0x4b0 for 1 bytes NAKed)

2022-05-30 Thread AceLan Kao
I can reproduce this issue, too. When plug in the dock(with HDMI 4k monitor), the screen freeze and keyboard/touchpad won't work, but I still can ssh into the machine. Un-plug the dock, everything works again. BTW, I found gnome-shell runs in 100% while the issue happened, and un- plug the dock t

[Bug 1970495] Re: Window manager freezes when plugging in USB-C dock with external monitor.

2022-05-04 Thread Daniel van Vugt
> The only thing that worked was switching the monitors from DisplayPort to HDMI on the dock. That's consistent with the kernel error in comment #20 and consistent with comment #12, since MST is a DisplayPort feature. ** Summary changed: - Window manager freezes when plugging in USB-C dock with

[Bug 1970495] Re: Window manager freezes when plugging in USB-C dock with external monitor.

2022-05-04 Thread Brian Rossa
I *did* see those messages when I was initially debugging the problem. This is from dmesg in one of the logs I made: ``` [ 20.525519] amdgpu :07:00.0: [drm] *ERROR* mstb f21f0a30 port 1: DPCD read on addr 0x4b0 for 1 bytes NAKed [ 20.570355] amdgpu :07:00.0: [drm] *ERROR* mstb

[Bug 1970495] Re: Window manager freezes when plugging in USB-C dock with external monitor.

2022-05-04 Thread Daniel van Vugt
Does the situation improve if you add this to /etc/environment?; MUTTER_DEBUG_ENABLE_ATOMIC_KMS=0 Does it at least replace the freeze with just one black screen? ** Changed in: gnome-shell (Ubuntu) Status: Incomplete => Confirmed ** Changed in: mutter (Ubuntu) Status: Incomplete

[Bug 1970495] Re: Window manager freezes when plugging in USB-C dock with external monitor.

2022-05-04 Thread Daniel van Vugt
Is anyone else seeing kernel messages like this (from bug 1971536)? kernel: i915 :00:02.0: [drm] *ERROR* mstb caa481c4 port 1: DPCD read on addr 0x4b0 for 1 bytes NAKed ** Tags added: dock i915 -- You received this bug notification because you are a member of Ubuntu Bugs, which is s

[Bug 1970495] Re: Window manager freezes when plugging in USB-C dock with external monitor.

2022-05-03 Thread Daniel van Vugt
Hmm, maybe we still need to treat those errors as a separate bug. If you look at a full system log like in comment #14 then you see the errors occurring many times. But presumably the "freeze" here does not occur many times. So they may not be the cause of the freeze. -- You received this bug not

[Bug 1970495] Re: Window manager freezes when plugging in USB-C dock with external monitor.

2022-05-03 Thread Brian Rossa
Same errors in my syslog. See full text of https://bugs.launchpad.net/ubuntu/+source/gnome- shell/+bug/1970495/comments/2 Relevant snippet: ``` Apr 26 18:57:17 dathon gnome-shell[1649]: meta_monitor_manager_get_logical_monitor_from_number: assertion '(unsigned int) number < g_list_length (manage

[Bug 1970495] Re: Window manager freezes when plugging in USB-C dock with external monitor.

2022-05-02 Thread Daniel van Vugt
^^^ Surprising, that was declared fixed some time ago in bug 1722811 and bug 1717170. If the same errors don't appear in Brian's logs (still waiting for them) then please open a new bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu

[Bug 1970495] Re: Window manager freezes when plugging in USB-C dock with external monitor.

2022-05-02 Thread pureblood
I believe I have the same issue. Dell XPS 13 9360 laptop connected to a Dell U3011 monitor using a CableMatters USB-C to Displayport adapter. When I plug my laptop the GNOME shell is almost completely unresponsive. I can use the active window but I cannot switch windows. The only reproducible way I

[Bug 1970495] Re: Window manager freezes when plugging in USB-C dock with external monitor.

2022-04-27 Thread Daniel van Vugt
Yes a hard power-off is fine so long as you've waited 10 seconds first per comment #4. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1970495 Title: Window manager freezes when plugging in USB-C dock

[Bug 1970495] Re: Window manager freezes when plugging in USB-C dock with external monitor.

2022-04-27 Thread Brian Rossa
This is a DisplayPort-related issue. At the office, I was able able to try out an HDMI-only dock. The problem did NOT occur, and everything worked perfectly. Back at home, I switched my personal dock from DisplayPort to HDMI by changing out the cables and, thus, using the dock's HDMI ports instead

[Bug 1970495] Re: Window manager freezes when plugging in USB-C dock with external monitor.

2022-04-27 Thread Brian Rossa
@Daniel (1) It's not possible to do a soft reboot under the error mode because the displays are frozen. Will a hard power-off get the job done? (2) Using "Ubuntu on Xorg" changed the symptoms somewhat, but the outcome is still the same: the secondary monitor never cycles up -- it stays black. The

[Bug 1970495] Re: Window manager freezes when plugging in USB-C dock with external monitor.

2022-04-27 Thread Pradeep Bhat
I will go ahead and do so though I do want to mention I had no issues when using the live installer with hdmi and was able to use it perfectly -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1970495 Tit

[Bug 1970495] Re: Window manager freezes when plugging in USB-C dock with external monitor.

2022-04-26 Thread Daniel van Vugt
Pradeep, if you are experiencing a similar bug with a different root cause then commenting here may cause confusion. It's probably better if you open a new bug of your own by running: ubuntu-bug gnome-shell so that we can see the unique circumstances of your machine. -- You received this bug

[Bug 1970495] Re: Window manager freezes when plugging in USB-C dock with external monitor.

2022-04-26 Thread Pradeep Bhat
I would like to mention same issue here either with c-dock or direct HDMI plugin. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1970495 Title: Window manager freezes when plugging in USB-C dock with

[Bug 1970495] Re: Window manager freezes when plugging in USB-C dock with external monitor.

2022-04-26 Thread Daniel van Vugt
What is the model of the USB-C dock? Many/most of them use DisplayLink technology and so require that special kernel driver be installed first: https://www.synaptics.com/products/displaylink-graphics/downloads/ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs,