> Hi folks, > > I have a 43" Samsung Smart TV that I am using as a monitor with a ThinkPad P51, > running Fedora 35 Workstation Edition. This laptop has a "NVIDIA Corporation GM206GLM > [Quadro M2200 Mobile] / Mesa Intel® HD Graphics 630 (KBL GT2)" graphics subsystem. As > far as I can make out, I am using the latest NVidia driver (495.46). > > What is unfortunately happening, is that if my laptop goes to sleep, the TV sees that the > source disappears, and "tries to look for the laptop", repeatedly. This ends up > waking up the laptop (sometimes), until the TV eventually gives up and turns itself off. > The problem is then that the laptop no longer detects that the TV is connected to the HDMI > port, and I have to reboot to allow the laptop to detect the screen again. Xrandr does not > detect the display if run manually, and the Settings app Displays page also doesn't > show the TV. Just to be absolutely clear, it doesn't seem to be a requirement that the TV eventually gives up and turns itself off before the behaviour manifests on my laptop. I have caught it "searching" for a signal (although not cycling between inputs), but I was too late to save my laptop from going into this state where it no longer detects the external display. Also, I can unplug and replug the HDMI cable, and the TV detects that there is a connection (display changes from "No signal" to a blue background, but eventually goes back to "No signal"), but the laptop does not detect the external display. Also, if I use a USB-C to HDMI adapter, it does detect the display being connected while in this state, but this is not a great solution because the laptop does not appear to like the USB-C to HDMI adapter being disconnected. This is what I get: [377553.263099] usb 3-1: USB disconnect, device number 2 [377553.363447] xhci_hcd 0000:3d:00.0: xHCI host controller not responding, assume dead [377553.363451] xhci_hcd 0000:3d:00.0: HC died; cleaning up [377553.380937] xhci_hcd 0000:3d:00.0: remove, state 4 [377553.380940] usb usb4: USB disconnect, device number 1 [377553.381199] xhci_hcd 0000:3d:00.0: USB bus 4 deregistered [377553.381346] xhci_hcd 0000:3d:00.0: remove, state 1 [377553.381349] usb usb3: USB disconnect, device number 1 [377553.381725] xhci_hcd 0000:3d:00.0: Host halt failed, -19 [377553.381729] xhci_hcd 0000:3d:00.0: Host not accessible, reset failed. [377553.381846] xhci_hcd 0000:3d:00.0: USB bus 3 deregistered [377553.394128] pci_bus 0000:06: Allocating resources [377553.394140] pcieport 0000:06:01.0: bridge window [io 0x1000-0x0fff] to [bus 08-3c] add_size 1000 [377553.394143] pcieport 0000:06:02.0: bridge window [io 0x1000-0x0fff] to [bus 3d] add_size 1000 [377553.394144] pcieport 0000:06:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 3d] add_size 200000 add_align 100000 [377553.394146] pcieport 0000:05:00.0: bridge window [io 0x1000-0x0fff] to [bus 06-3d] add_size 3000 [377553.394149] pcieport 0000:05:00.0: BAR 13: no space for [io size 0x3000] [377553.394150] pcieport 0000:05:00.0: BAR 13: failed to assign [io size 0x3000] [377553.394151] pcieport 0000:05:00.0: BAR 13: no space for [io size 0x3000] [377553.394152] pcieport 0000:05:00.0: BAR 13: failed to assign [io size 0x3000] [377553.394156] pcieport 0000:06:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref] [377553.394157] pcieport 0000:06:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref] [377553.394158] pcieport 0000:06:01.0: BAR 13: no space for [io size 0x1000] [377553.394158] pcieport 0000:06:01.0: BAR 13: failed to assign [io size 0x1000] [377553.394159] pcieport 0000:06:02.0: BAR 13: no space for [io size 0x1000] [377553.394160] pcieport 0000:06:02.0: BAR 13: failed to assign [io size 0x1000] [377553.394162] pcieport 0000:06:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref] [377553.394163] pcieport 0000:06:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref] [377553.394164] pcieport 0000:06:02.0: BAR 13: no space for [io size 0x1000] [377553.394164] pcieport 0000:06:02.0: BAR 13: failed to assign [io size 0x1000] [377553.394165] pcieport 0000:06:01.0: BAR 13: no space for [io size 0x1000] [377553.394166] pcieport 0000:06:01.0: BAR 13: failed to assign [io size 0x1000] [377558.553883] pcieport 0000:06:00.0: can't change power state from D3cold to D0 (config space inaccessible) [377558.554278] pci_bus 0000:07: busn_res: [bus 07] is released [377558.554418] pci_bus 0000:08: busn_res: [bus 08-3c] is released [377558.554530] pci_bus 0000:3d: busn_res: [bus 3d] is released [377558.554725] pci_bus 0000:06: busn_res: [bus 06-3d] is released And reconnecting it does nothing immediately, but about two to three minutes later, the USB-C adapter is recognised again: [377710.601196] pci 0000:05:00.0: [8086:15da] type 01 class 0x060400 [377710.601265] pci 0000:05:00.0: enabling Extended Tags [377710.601403] pci 0000:05:00.0: supports D1 D2 [377710.601404] pci 0000:05:00.0: PME# supported from D0 D1 D2 D3hot D3cold [377710.601672] pcieport 0000:00:1c.4: ASPM: current common clock configuration is inconsistent, reconfiguring [377710.605116] pci 0000:06:00.0: [8086:15da] type 01 class 0x060400 [377710.605185] pci 0000:06:00.0: enabling Extended Tags [377710.605322] pci 0000:06:00.0: supports D1 D2 [377710.605323] pci 0000:06:00.0: PME# supported from D0 D1 D2 D3hot D3cold [377710.605576] pci 0000:06:01.0: [8086:15da] type 01 class 0x060400 [377710.605644] pci 0000:06:01.0: enabling Extended Tags [377710.605776] pci 0000:06:01.0: supports D1 D2 [377710.605778] pci 0000:06:01.0: PME# supported from D0 D1 D2 D3hot D3cold [377710.606003] pci 0000:06:02.0: [8086:15da] type 01 class 0x060400 [377710.606073] pci 0000:06:02.0: enabling Extended Tags [377710.606203] pci 0000:06:02.0: supports D1 D2 [377710.606205] pci 0000:06:02.0: PME# supported from D0 D1 D2 D3hot D3cold [377710.606444] pci 0000:05:00.0: PCI bridge to [bus 06-3d] [377710.606457] pci 0000:05:00.0: bridge window [mem 0xd4000000-0xea0fffff] [377710.606465] pci 0000:05:00.0: bridge window [mem 0x2fc0000000-0x2fe1ffffff 64bit pref] [377710.606523] pci 0000:06:00.0: PCI bridge to [bus 07] [377710.606535] pci 0000:06:00.0: bridge window [mem 0xea000000-0xea0fffff] [377710.606612] pci 0000:06:01.0: PCI bridge to [bus 08-3c] [377710.606625] pci 0000:06:01.0: bridge window [mem 0xd4000000-0xe9efffff] [377710.606633] pci 0000:06:01.0: bridge window [mem 0x2fc0000000-0x2fe1ffffff 64bit pref] [377710.606735] pci 0000:3d:00.0: [8086:15db] type 00 class 0x0c0330 [377710.606763] pci 0000:3d:00.0: reg 0x10: [mem 0xe9f00000-0xe9f0ffff] [377710.606838] pci 0000:3d:00.0: enabling Extended Tags [377710.606978] pci 0000:3d:00.0: supports D1 D2 [377710.606980] pci 0000:3d:00.0: PME# supported from D0 D1 D2 D3hot D3cold [377710.607090] pci 0000:3d:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:06:02.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link) [377710.607317] pci 0000:06:02.0: PCI bridge to [bus 3d] [377710.607330] pci 0000:06:02.0: bridge window [mem 0xe9f00000-0xe9ffffff] [377710.607368] pci_bus 0000:06: Allocating resources [377710.607386] pci 0000:06:01.0: bridge window [io 0x1000-0x0fff] to [bus 08-3c] add_size 1000 [377710.607389] pci 0000:06:02.0: bridge window [io 0x1000-0x0fff] to [bus 3d] add_size 1000 [377710.607392] pci 0000:06:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 3d] add_size 200000 add_align 100000 [377710.607395] pci 0000:05:00.0: bridge window [io 0x1000-0x0fff] to [bus 06-3d] add_size 3000 [377710.607399] pci 0000:05:00.0: BAR 13: no space for [io size 0x3000] [377710.607401] pci 0000:05:00.0: BAR 13: failed to assign [io size 0x3000] [377710.607403] pci 0000:05:00.0: BAR 13: no space for [io size 0x3000] [377710.607405] pci 0000:05:00.0: BAR 13: failed to assign [io size 0x3000] [377710.607410] pci 0000:06:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref] [377710.607411] pci 0000:06:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref] [377710.607413] pci 0000:06:01.0: BAR 13: no space for [io size 0x1000] [377710.607415] pci 0000:06:01.0: BAR 13: failed to assign [io size 0x1000] [377710.607416] pci 0000:06:02.0: BAR 13: no space for [io size 0x1000] [377710.607418] pci 0000:06:02.0: BAR 13: failed to assign [io size 0x1000] [377710.607421] pci 0000:06:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref] [377710.607423] pci 0000:06:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref] [377710.607425] pci 0000:06:02.0: BAR 13: no space for [io size 0x1000] [377710.607426] pci 0000:06:02.0: BAR 13: failed to assign [io size 0x1000] [377710.607428] pci 0000:06:01.0: BAR 13: no space for [io size 0x1000] [377710.607430] pci 0000:06:01.0: BAR 13: failed to assign [io size 0x1000] [377710.607432] pci 0000:06:00.0: PCI bridge to [bus 07] [377710.607438] pci 0000:06:00.0: bridge window [mem 0xea000000-0xea0fffff] [377710.607449] pci 0000:06:01.0: PCI bridge to [bus 08-3c] [377710.607455] pci 0000:06:01.0: bridge window [mem 0xd4000000-0xe9efffff] [377710.607459] pci 0000:06:01.0: bridge window [mem 0x2fc0000000-0x2fe1ffffff 64bit pref] [377710.607468] pci 0000:06:02.0: PCI bridge to [bus 3d] [377710.607474] pci 0000:06:02.0: bridge window [mem 0xe9f00000-0xe9ffffff] [377710.607489] pci 0000:05:00.0: PCI bridge to [bus 06-3d] [377710.607495] pci 0000:05:00.0: bridge window [mem 0xd4000000-0xea0fffff] [377710.607502] pci 0000:05:00.0: bridge window [mem 0x2fc0000000-0x2fe1ffffff 64bit pref] [377710.609138] xhci_hcd 0000:3d:00.0: xHCI Host Controller [377710.609281] xhci_hcd 0000:3d:00.0: new USB bus registered, assigned bus number 3 [377710.610442] xhci_hcd 0000:3d:00.0: hcc params 0x200077c1 hci version 0x110 quirks 0x0000000200009810 [377710.610740] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15 [377710.610743] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [377710.610744] usb usb3: Product: xHCI Host Controller [377710.610746] usb usb3: Manufacturer: Linux 5.15.14-200.fc35.x86_64 xhci-hcd [377710.610747] usb usb3: SerialNumber: 0000:3d:00.0 [377710.610910] hub 3-0:1.0: USB hub found [377710.610932] hub 3-0:1.0: 2 ports detected [377710.611391] xhci_hcd 0000:3d:00.0: xHCI Host Controller [377710.611489] xhci_hcd 0000:3d:00.0: new USB bus registered, assigned bus number 4 [377710.611494] xhci_hcd 0000:3d:00.0: Host supports USB 3.1 Enhanced SuperSpeed [377710.611551] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15 [377710.611554] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [377710.611555] usb usb4: Product: xHCI Host Controller [377710.611557] usb usb4: Manufacturer: Linux 5.15.14-200.fc35.x86_64 xhci-hcd [377710.611558] usb usb4: SerialNumber: 0000:3d:00.0 [377710.611887] hub 4-0:1.0: USB hub found [377710.611904] hub 4-0:1.0: 2 ports detected [377711.244021] usb 3-1: new full-speed USB device number 2 using xhci_hcd [377711.370890] usb 3-1: not running at top speed; connect to a high speed hub [377711.375024] usb 3-1: New USB device found, idVendor=9636, idProduct=9300, bcdDevice= 2.01 [377711.375032] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [377711.375036] usb 3-1: Product: USB C Video Adaptor [377711.375039] usb 3-1: Manufacturer: WinUSB [377711.375041] usb 3-1: SerialNumber: 000000000001 and the display is recognised, and I am back in business. So perhaps this would be a reasonable workaround, but I'd really like to get to the bottom of the original problem. > Can anyone give me pointers on how I can start debugging this? I am fairly technical, so > can certainly follow instructions. I'm guessing I need to enable verbose logging for > the driver so it can report when new displays are connected or disconnected, as well as > any actions around those events? Or perhaps there is a better mailing list (graphics driver focused) that I should be sending these reports to? Thanks Rogan P.S. Any idea why I can only see these messages on the HyperKitty list interface, rather than getting them in my email? _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure