Bugzilla – Bug 1214848
Thunderbolt 3 dock with nvidia laptop causes freeze, forcing to shutdown
Last modified: 2023-09-07 19:16:24 UTC
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0 Build Identifier: When I connect a USB-C/Thunderbolt 3 dock (currently using an Asus SimPro Dock 2), if it has external monitors connected to it and if I'm using Nvidia GPU (it's an Optimus laptop), the laptop freezes and only recovers after being "hardware-ly" shutdown. Reproducible: Always Steps to Reproduce: 1.Connect external monitors to USB-C/Thunderbolt 3 dock 2.Turn on laptop 3.Connect dock to laptop Actual Results: Laptop freezes
Have you installted proprietary driver or are you still using OpenSource "nouveau" driver?
(In reply to Stefan Dirsch from comment #1) > Have you installted proprietary driver or are you still using OpenSource > "nouveau" driver? I'm using the proprietary drivers (gl-G06) with "nouveau" blacklisted. I was able to reproduce and capture the stacktrace of the issue: https://paste.opensuse.org/pastes/689af8e2da7f Sometimes, the computer also freezes while loading tumbleweed, which might be related with the same issue: https://paste.opensuse.org/pastes/41d99ec080b5
This looks like KDE desktop running on X. Please add output of 'inxi -aG' and Xorg Logfile. Not sure where to find this though when using sddm. :-(
Probably it's in /var/log/Xorg.0.log or ~/.local/share/xorg/Xorg.0.log
Possibly I need the .old variant of the logfile after reboot.
(In reply to Stefan Dirsch from comment #3) > This looks like KDE desktop running on X. Please add output of 'inxi -aG' > and Xorg Logfile. Not sure where to find this though when using sddm. :-( Yes, you are right - I'm running KDE on X. I can also provide some more information, that I gathered in the mean time: - The issue can be replicated using a live image of Pop!_OS, so, it might be more general than openSUSE Tumbleweed; - If I switch from the NVIDIA card to the intel one, the issue doesn't happen (but I need the NVIDIA card to have 60 FPS on both monitors). This is the output of 'inxi -aG': https://paste.opensuse.org/pastes/924e20527178
(In reply to Stefan Dirsch from comment #5) > Possibly I need the .old variant of the logfile after reboot. I'm still a bit unfamiliar with several things about Linux. To do what you ask, is still any way to retrieve that information, or you want me to create a new freeze/crash? (I'm avoiding it, as I don't know what's happening on hardware level) If it's still possible, here are my Xorg logs, but they might not include the freeze (I really don't know): - Xorg.0.log: https://paste.opensuse.org/pastes/9981fe65d96d - Xorg.0.log.old: https://paste.opensuse.org/pastes/fde395cd3349 If you need me to replicate the issue again and send you something, please let me know. Thanks for trying to help! :)
(In reply to Joao Carvalho from comment #6) > (In reply to Stefan Dirsch from comment #3) > > This looks like KDE desktop running on X. Please add output of 'inxi -aG' > > and Xorg Logfile. Not sure where to find this though when using sddm. :-( > > Yes, you are right - I'm running KDE on X. I can also provide some more > information, that I gathered in the mean time: > - The issue can be replicated using a live image of Pop!_OS, so, it might be > more general than openSUSE Tumbleweed; > - If I switch from the NVIDIA card to the intel one, the issue doesn't > happen (but I need the NVIDIA card to have 60 FPS on both monitors). > > > This is the output of 'inxi -aG': > https://paste.opensuse.org/pastes/924e20527178 Graphics: Device-1: Intel Raptor Lake-P [Iris Xe Graphics] vendor: Micro-Star MSI driver: i915 v: kernel arch: Gen-13 process: Intel 7 (10nm) built: 2022+ ports: active: eDP-1 empty: DP-1,DP-2 bus-ID: 0000:00:02.0 chip-ID: 8086:a7a0 class-ID: 0300 Device-2: NVIDIA AD107M [GeForce RTX 4050 Max-Q / Mobile] vendor: Micro-Star MSI driver: nvidia v: 535.86.05 alternate: nouveau,nvidia_drm non-free: 530.xx+ status: current (as of 2023-05) arch: Lovelace code: AD1xx process: TSMC n4 (5nm) built: 2022-23+ ports: active: none off: DP-4,DP-5 empty: DP-3,HDMI-A-1,eDP-2 bus-ID: 0000:01:00.0 chip-ID: 10de:28a1 class-ID: 0300 Device-3: Bison HD Camera driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-4:2 chip-ID: 5986:116f class-ID: fe01 serial: 0001 Device-4: Logitech C922 Pro Stream Webcam driver: snd-usb-audio,uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-8.3.1.4:12 chip-ID: 046d:085c class-ID: 0102 serial: E6D27CDF Display: server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.2 compositor: kwin_x11 driver: X: loaded: modesetting,nvidia alternate: intel dri: iris gpu: i915,nvidia,nvidia-nvswitch tty: 171x93 Monitor-1: DP-4 model: BenQ EL2870U serial: BBM05147SL0 built: 2021 res: 3840x2160 dpi: 157 gamma: 1.2 size: 621x341mm (24.45x13.43") diag: 708mm (27.9") ratio: 16:9 modes: max: 3840x2160 min: 640x480 Monitor-2: DP-5 model: BenQ EL2870U serial: E5L03955SL0 built: 2020 res: 3840x2160 dpi: 157 gamma: 1.2 size: 621x341mm (24.45x13.43") diag: 708mm (27.9") ratio: 16:9 modes: max: 3840x2160 min: 640x480 Monitor-3: eDP-1 model: AU Optronics 0x0fa7 built: 2022 res: 2560x1600 dpi: 216 gamma: 1.2 size: 301x188mm (11.85x7.4") diag: 355mm (14") ratio: 16:10 modes: 2560x1600 API: OpenGL Message: GL data unavailable in console for root.
Created attachment 869219 [details] Xorg.0.log
Created attachment 869220 [details] Xorg.0.log.old
Indeed the logs don't include the freeze. You would need to reproduce it, then reboot and then please *attach* [1] your Xorg.0.log.old file. This would be the log, where I can see the crash then. In the kernel logs I see, that the freeze happens in nvidia_modeset driver. You're using the latest driver we provide. 535.104.05 is in preparation though. I'm assuming you have suse-prime package installed and are using it, i.e. you ran prime-select nvidia to enable 3D-accelerated rendering. Is this correct? [1] Bugzilla interface provides the possibility to attach files, please don't use past.opensuse.org for Bugzilla tickets. It makes things for us much more complicated.
(In reply to Stefan Dirsch from comment #11) > Indeed the logs don't include the freeze. You would need to reproduce it, > then reboot and then please *attach* [1] your Xorg.0.log.old file. This > would be the log, where I can see the crash then. > > In the kernel logs I see, that the freeze happens in nvidia_modeset driver. > You're using the latest driver we provide. 535.104.05 is in preparation > though. > > > I'm assuming you have suse-prime package installed and are using it, i.e. > you ran > > prime-select nvidia > > to enable 3D-accelerated rendering. Is this correct? > > [1] Bugzilla interface provides the possibility to attach files, please don't > use past.opensuse.org for Bugzilla tickets. It makes things for us much more > complicated. Sorry for the late reply. I had been trying to debug this situation ever since I reported it, to no success (up until today). I wasn't too familiar with some of the stuff you had mentioned, so I did have to read quite a bit under the openSUSE documentation. I now can say with almost certainty that the issue was the NVIDIA driver version. Yesterday I updated the gl-G06, since it received an update from the NVIDIA driver, and the issue is magically gone! Thanks for the help! I think it's safe to close this bug, as it wasn't openSUSE related.
Ok. Thanks for the feedback. Good to see it's fixed now with the latest driver.