[Desktop-packages] [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)

2023-07-16 Thread Valentijn Sessink
Might be a Wayland bug after all: jul 17 06:49:40 X1-carbon gnome-shell[3140]: XWAYLAND: mode -1x-1 is not available ... is the recurring error message (between lots of "thunderbird[3569]: Couldn't map window 0x7f4cbe67ab20 as subsurface because its parent is not mapped." and other processes

[Desktop-packages] [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)

2023-05-18 Thread Valentijn Sessink
This is a successful docking attempt. I rebooted my laptop with the dock attached. At about 06:30:30, I decide to remove the dock, in order to try to replicate the behaviour. At 06:30:37 I'm plugging it in again. I have not redacted these logs, no obfuscation etc, so yeah, you can see all the

[Desktop-packages] [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)

2023-05-18 Thread Valentijn Sessink
Here are two full logs. One where things go wrong. I'm walking upstairs at 06:15 and at 06:16:17, the first logs indicate that the dock is connected ("usb 1-4: new high-speed USB device number 53 using xhci_hcd"), the "Cypress Semiconductor؀ USB Billboard" shows up 0.7 seconds later. Please note

[Desktop-packages] [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)

2023-03-02 Thread Daniel van Vugt
Given the Bug Description says the problem doesn't occur in the live installer session, that suggests this is Wayland specific or even specific to atomic KMS. So please try the workaround from comment #19. -- You received this bug notification because you are a member of Desktop Packages, which

[Desktop-packages] [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)

2023-02-14 Thread Daniel van Vugt
Sounds like the kernel error message is harmless: https://lists.freedesktop.org/archives/dri-devel/2022-February/342776.html So just correlated with other USB-C dock issues, not the cause of them. -- You received this bug notification because you are a member of Desktop Packages, which is

[Desktop-packages] [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)

2023-01-04 Thread Daniel van Vugt
See also bug 2000173 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to mutter in Ubuntu. https://bugs.launchpad.net/bugs/1970495 Title: Window manager freezes when plugging in USB-C dock with external monitor ([drm] *ERROR* mstb

[Desktop-packages] [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-12-22 Thread Jarkko Hyöty
Experiencing similar issue frequently with Thinkpad T490 using Ubuntu 20.04 and Thinkpad TB3 dock with two external displays connected via DisplayPort. Occasionally have seen "UBSAN: shift-out-of-bounds" and "UBSAN: invalid-load" errors in addition to "DPDC read NAKed" when connecting the dock,

[Desktop-packages] [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-12-07 Thread Valentijn Sessink
My Thinkpad X1 gen 6 with Ubuntu 22.04, Lenovo 40AJ dock with 4K LG monitor with DP cable, will sometimes just show 2 or 4 lines with "DPCD read on addr 0x4b0 for 1 bytes NAKed", after which the system will just continue to work. But sometimes the "1 bytes NAKed" messages just keep running - which

[Desktop-packages] [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-08-02 Thread Tony762
Hi, same error occur to me. Dell XPS 17 9710. Ubuntu 22.04, Wayland. ``` [387809.776955] i915 :00:02.0: [drm] *ERROR* mstb 586103bb port 3: DPCD read on addr 0x4b0 for 1 bytes NAKed [387809.782229] i915 :00:02.0: [drm] *ERROR* mstb 586103bb port 1: DPCD read on addr

[Desktop-packages] [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

[Desktop-packages] [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

[Desktop-packages] [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*

[Desktop-packages] [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:

[Desktop-packages] [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 Desktop Packages,

[Desktop-packages] [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

[Desktop-packages] [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

[Desktop-packages] [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 Desktop Packages, which is subscribed to

[Desktop-packages] [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

[Desktop-packages] [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 Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/1970495 Title: Window manager freezes when

[Desktop-packages] [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

[Desktop-packages] [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.

[Desktop-packages] [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 Desktop Packages, which is subscribed to gnome-shell in Ubuntu.

[Desktop-packages] [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

[Desktop-packages] [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 Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/1970495 Title: Window manager freezes when

[Desktop-packages] [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 Desktop