You are not logged in.

#1 2024-02-05 22:28:13

scarypezsanta
Member
Registered: 2009-06-04
Posts: 25

[SOLVED] Upgrade to kernel and nvidia breaks USB-C HDMI display

Dell XPS 17 laptop. Dual external monitors over usb-c hdmi adapters has been working for a long time. After update I noticed two issues:

1. arandr and xrandr don't list the usb-c hdmi outputs at all so I can't use them
2. the laptop screen works but is called "None" in arandr instead of "eDP-1" like I am used to.

I checked the pacman log:

[2024-02-03T17:23:01-0600] [ALPM] upgraded linux (6.6.7.arch1-1 -> 6.7.3.arch1-1)
[2024-02-03T17:23:01-0600] [ALPM] upgraded linux-firmware-whence (20231211.f2e52a1c-1 -> 20240115.9b6d0b08-2)
[2024-02-03T17:23:02-0600] [ALPM] upgraded linux-firmware (20231211.f2e52a1c-1 -> 20240115.9b6d0b08-2)
[2024-02-03T17:23:03-0600] [ALPM] upgraded linux-headers (6.6.7.arch1-1 -> 6.7.3.arch1-1)

and reverted the kernel, firmware and headers to what they had been before the upgrade. Booting with the 6.6.7 kernel I found that arandr now called the laptop screen "eDP-1" (resolving issue 2) but I still couldn't see the usb-c hdmi outputs.

so again checked the pacman log:

[2024-02-03T17:23:03-0600] [ALPM] upgraded nvidia (545.29.06-6 -> 545.29.06-16)
[2024-02-03T17:22:50-0600] [ALPM] upgraded nvidia-utils (545.29.06-1 -> 545.29.06-3)

and reverted the update to nvidia and nvidia-utils as well. Upon rebooting I found the usb-c outputs showed in xrandr and arandr and were usable again.

So its working for now,  but I am unsure what the right next step is.  I would like to keep up to date on the kernel and nvidia. Is there something I need to reconfigure to get the new versions working or is this a bug I should report somewhere?

Here is my dmesg output from before I downgraded the kernel and nvidia in case there is a clue there that I missed:

https://pastebin.pl/view/c2372ea5

I noticed this message in it:

[   42.709675] usb 1-2: device descriptor read/64, error -71

which led me to this post:

https://forums.unraid.net/topic/97474-u … -solution/

I tried setting:

/sys/module/usbcore/parameters/old_scheme_first

from N to Y and unplugging and replugging the device but it didn't help.

Last edited by scarypezsanta (2024-02-06 15:38:24)

Offline

#2 2024-02-05 22:44:14

seth
Member
Registered: 2012-09-03
Posts: 59,718

Re: [SOLVED] Upgrade to kernel and nvidia breaks USB-C HDMI display

[    1.609818] usb 1-2: new full-speed USB device number 2 using xhci_hcd
[    1.755225] usb 1-2: New USB device found, idVendor=04e6, idProduct=581d, bcdDevice= 2.02
[    1.755230] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[    1.755231] usb 1-2: Product: SCR3500 C Contact Reader
[    1.755232] usb 1-2: Manufacturer: Identiv
[    1.755233] usb 1-2: SerialNumber: 55592302605187
[   38.495023] usb 1-2: USB disconnect, device number 2
[   41.766594] usb 1-2: new full-speed USB device number 17 using xhci_hcd
[   41.890041] usb 1-2: device descriptor read/64, error -71
[   42.119635] usb 1-2: device descriptor read/64, error -71
[   42.349619] usb 1-2: new full-speed USB device number 18 using xhci_hcd
[   42.479577] usb 1-2: device descriptor read/64, error -71
[   42.709675] usb 1-2: device descriptor read/64, error -71
[   43.219937] usb 1-2: new full-speed USB device number 19 using xhci_hcd
[   43.242641] usb 1-2: New USB device found, idVendor=04e6, idProduct=581d, bcdDevice= 2.02
[   43.242675] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[   43.242689] usb 1-2: Product: SCR3500 C Contact Reader
[   43.242699] usb 1-2: Manufacturer: Identiv
[   43.242707] usb 1-2: SerialNumber: 55592302605187

2. the laptop screen works but is called "None" in arandr instead of "eDP-1" like I am used to.

That's the SIMPLYDUMB device, enable https://wiki.archlinux.org/title/NVIDIA … de_setting - use the "nvidia_drm.modeset=1" kernel parameter (modprobe.conf won't do!), stay away from fbdev=1 until nvidia has fixed that.

Offline

#3 2024-02-05 23:30:28

scarypezsanta
Member
Registered: 2009-06-04
Posts: 25

Re: [SOLVED] Upgrade to kernel and nvidia breaks USB-C HDMI display

Unfortunately, that seems to make things worse. I reapplied the updates, added that kernel param to my refind config and rebooted. When I run startx I see:

Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices.

and xorg does not start.

A quick google search found lots of suggestions to upgrade to a newer kernel to resolve that error but I already updated to the newest.

Offline

#4 2024-02-05 23:43:06

seth
Member
Registered: 2012-09-03
Posts: 59,718

Re: [SOLVED] Upgrade to kernel and nvidia breaks USB-C HDMI display

Please post your Xorg log for the failed startx, https://wiki.archlinux.org/title/Xorg#General
You do not want to run anything on the simpledrm device, you'll have to sort this out w/ the device blocked.

Offline

#5 2024-02-06 00:09:33

scarypezsanta
Member
Registered: 2009-06-04
Posts: 25

Re: [SOLVED] Upgrade to kernel and nvidia breaks USB-C HDMI display

Xorg log for failed startx:

[    29.612] 
X.Org X Server 1.21.1.11
X Protocol Version 11, Revision 0
[    29.612] Current Operating System: Linux es-xps 6.7.3-arch1-2 #1 SMP PREEMPT_DYNAMIC Fri, 02 Feb 2024 17:03:55 +0000 x86_64
[    29.612] Kernel command line: root=/dev/crypt_vol_group/root cryptdevice=UUID=26754482-b45f-4b56-a46c-9420071fdb5a:crypt_root ibt=off nvidia_drm.modeset=1 initrd=\initramfs-linux.img
[    29.612]  
[    29.612] Current version of pixman: 0.43.2
[    29.612] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    29.612] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    29.612] (==) Log file: "/home/esandberg/.local/share/xorg/Xorg.0.log", Time: Mon Feb  5 17:18:55 2024
[    29.613] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    29.614] (==) No Layout section.  Using the first Screen section.
[    29.614] (==) No screen section available. Using defaults.
[    29.614] (**) |-->Screen "Default Screen Section" (0)
[    29.614] (**) |   |-->Monitor "<default monitor>"
[    29.614] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    29.614] (==) Automatically adding devices
[    29.614] (==) Automatically enabling devices
[    29.614] (==) Automatically adding GPU devices
[    29.614] (==) Automatically binding GPU devices
[    29.614] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    29.614] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    29.614] 	Entry deleted from font path.
[    29.615] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    29.615] 	Entry deleted from font path.
[    29.615] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    29.615] 	Entry deleted from font path.
[    29.615] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    29.615] 	Entry deleted from font path.
[    29.615] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    29.615] 	Entry deleted from font path.
[    29.615] (==) FontPath set to:
	/usr/share/fonts/TTF
[    29.615] (==) ModulePath set to "/usr/lib/xorg/modules"
[    29.615] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    29.615] (II) Module ABI versions:
[    29.615] 	X.Org ANSI C Emulation: 0.4
[    29.615] 	X.Org Video Driver: 25.2
[    29.615] 	X.Org XInput driver : 24.4
[    29.615] 	X.Org Server Extension : 10.0
[    29.615] (++) using VT number 1

[    29.615] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    29.616] (II) xfree86: Adding drm device (/dev/dri/card0)
[    29.616] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[    29.616] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 13 paused 0
[    29.617] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[    29.617] (--) PCI:*(0@0:2:0) 8086:46a6:1028:0aff rev 12, Mem @ 0x6290000000/16777216, 0x4000000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[    29.617] (--) PCI: (1@0:0:0) 10de:2520:1028:0aff rev 161, Mem @ 0xac000000/16777216, 0x6000000000/8589934592, 0x6200000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
[    29.617] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    29.617] (II) LoadModule: "glx"
[    29.618] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    29.621] (II) Module glx: vendor="X.Org Foundation"
[    29.621] 	compiled for 1.21.1.11, module version = 1.0.0
[    29.621] 	ABI class: X.Org Server Extension, version 10.0
[    29.621] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[    29.621] 	loading driver: nvidia
[    29.621] (==) Matched nvidia as autoconfigured driver 0
[    29.621] (==) Matched nouveau as autoconfigured driver 1
[    29.621] (==) Matched nv as autoconfigured driver 2
[    29.621] (==) Matched intel as autoconfigured driver 3
[    29.621] (==) Matched modesetting as autoconfigured driver 4
[    29.621] (==) Matched fbdev as autoconfigured driver 5
[    29.621] (==) Matched vesa as autoconfigured driver 6
[    29.621] (==) Assigned the driver to the xf86ConfigLayout
[    29.621] (II) LoadModule: "nvidia"
[    29.621] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    29.623] (II) Module nvidia: vendor="NVIDIA Corporation"
[    29.623] 	compiled for 1.6.99.901, module version = 1.0.0
[    29.623] 	Module class: X.Org Video Driver
[    29.623] (II) LoadModule: "nouveau"
[    29.623] (WW) Warning, couldn't open module nouveau
[    29.623] (EE) Failed to load module "nouveau" (module does not exist, 0)
[    29.623] (II) LoadModule: "nv"
[    29.623] (WW) Warning, couldn't open module nv
[    29.623] (EE) Failed to load module "nv" (module does not exist, 0)
[    29.623] (II) LoadModule: "intel"
[    29.623] (WW) Warning, couldn't open module intel
[    29.623] (EE) Failed to load module "intel" (module does not exist, 0)
[    29.623] (II) LoadModule: "modesetting"
[    29.623] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    29.625] (II) Module modesetting: vendor="X.Org Foundation"
[    29.625] 	compiled for 1.21.1.11, module version = 1.21.1
[    29.625] 	Module class: X.Org Video Driver
[    29.625] 	ABI class: X.Org Video Driver, version 25.2
[    29.625] (II) LoadModule: "fbdev"
[    29.625] (WW) Warning, couldn't open module fbdev
[    29.625] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    29.625] (II) LoadModule: "vesa"
[    29.625] (WW) Warning, couldn't open module vesa
[    29.625] (EE) Failed to load module "vesa" (module does not exist, 0)
[    29.625] (II) NVIDIA dlloader X Driver  545.29.06  Thu Nov 16 01:52:34 UTC 2023
[    29.625] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    29.625] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    29.625] (WW) Falling back to old probe method for modesetting
[    29.625] (II) modeset(1): using default device
[    29.625] (II) systemd-logind: releasing fd for 226:0
[    30.017] (II) Loading sub module "fb"
[    30.017] (II) LoadModule: "fb"
[    30.017] (II) Module "fb" already built-in
[    30.017] (II) Loading sub module "wfb"
[    30.017] (II) LoadModule: "wfb"
[    30.017] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    30.018] (II) Module wfb: vendor="X.Org Foundation"
[    30.018] 	compiled for 1.21.1.11, module version = 1.0.0
[    30.018] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    30.020] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    30.020] (EE) Screen 0 deleted because of no matching config section.
[    30.020] (II) UnloadModule: "modesetting"
[    30.020] (EE) 
Fatal server error:
[    30.020] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
[    30.020] (EE) 
[    30.020] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    30.020] (EE) Please also check the log file at "/home/esandberg/.local/share/xorg/Xorg.0.log" for additional information.
[    30.020] (EE) 
[    30.022] (EE) Server terminated with error (1). Closing log file.

Offline

#6 2024-02-06 09:56:18

seth
Member
Registered: 2012-09-03
Posts: 59,718

Re: [SOLVED] Upgrade to kernel and nvidia breaks USB-C HDMI display

[    30.020] (EE) Screen 0 deleted because of no matching config section.
[    30.020] (II) UnloadModule: "modesetting"
[    30.020] (EE) 
Fatal server error:
[    30.020] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices

It's a hybrid system and tries to run on the intel card but that's somehow not available?

ls -R /{etc,usr/share}/X11/xorg.conf*

And try to add /etc/X11/xorg.conf.d/20-igpu.conf

Section "Device"
	Identifier "Intel"
	Driver "modesetting"
	BusID "PCI:0:2:0"
EndSection

If this doesn't work, please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Fyi, "ibt=off" is no longer necessary, nvidia fixed that.

Offline

#7 2024-02-06 15:37:30

scarypezsanta
Member
Registered: 2009-06-04
Posts: 25

Re: [SOLVED] Upgrade to kernel and nvidia breaks USB-C HDMI display

Thanks so much for your help!

I recall now that I was getting odd pauses about a year ago where fluxbox would freeze for a second or two. At the time I saw messages like this:

Jul 14 15:25:10 laptop kernel: i915 0000:00:02.0: [drm] GPU HANG: ecode 12:1:84dffffb, in Main Thread [11143]

in dmesg.

You mentioning that it couldn't find the intel card made me remember having blacklisted the i915 module to resolve that problem.

I have:

* re-applied the updates
* added nvidia_drm.modeset=1
* removed ibt=off
* removed the i915 module blacklist

I am now able to use my usb-c hdmi adapters again. Hopefully I won't see a recurrence of the GPU hangs.

Last edited by scarypezsanta (2024-02-06 16:12:58)

Offline

Board footer

Powered by FluxBB