[Bug 289647] graphics/drm-61-kmod: X11 with nvidia-drm-61-kmod fails to start after commit ac934345a14f

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 16 Sep 2025 21:46:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289647

--- Comment #8 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
(In reply to Bjoern A. Zeeb from comment #7)
Compared relevant parts of good and NG Xorg.0.log.
In good case, PCI:*(1@0:0:0), while NG case PCI: (1@0:0:0). [No "*" in NG case]
Not sure why (not installed), in good case, nv driver is matched, while NG case
it's not.

Does the below help?

Currently running Xorg.0.log is:

[   224.164] (II) xfree86: Adding drm device (/dev/dri/card0)
[   224.164] (II) Platform probe for /dev/dri/card0
[   225.296] (**) OutputClass "nvidia" ModulePath extended to
"/usr/local/lib/nvidia/xorg,/usr/local/lib/xorg/modules,/usr/local/lib/xorg/modules"
[   225.296] (**) OutputClass "nvidia" ModulePath extended to
"/usr/local/lib/nvidia/xorg,/usr/local/lib/xorg/modules,/usr/local/lib/nvidia/xorg,/usr/local/lib/xorg/modules,/usr/local/lib/xorg/modules"
[   225.296] (**) OutputClass "nvidia" setting /dev/dri/card0 as PrimaryGPU
[   225.296] (--) PCI:*(1@0:0:0) 10de:1cbb:17aa:2262 rev 161, Mem @
0xa3000000/16777216, 0x60000000/268435456, 0x70000000/33554432, I/O @
0x00002000/128, BIOS @ 0x????????/65536
[   225.296] (II) LoadModule: "glx"
[   225.297] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[   225.303] (II) Module glx: vendor="X.Org Foundation"
[   225.303]    compiled for 1.21.1.18, module version = 1.0.0
[   225.303]    ABI class: X.Org Server Extension, version 10.0
[   225.304] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[   225.304]    loading driver: nvidia
[   225.304] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[   225.304]    loading driver: nvidia
[   225.304] (==) Matched nvidia as autoconfigured driver 0
[   225.304] (==) Matched nv as autoconfigured driver 1
[   225.304] (==) Matched modesetting as autoconfigured driver 2
[   225.304] (==) Matched scfb as autoconfigured driver 3
[   225.304] (==) Matched vesa as autoconfigured driver 4
[   225.304] (==) Assigned the driver to the xf86ConfigLayout


Hesitated to start Xorg.0.log is:

[   136.679] (II) Platform probe for /dev/dri/card0
[   137.816] (**) OutputClass "nvidia" ModulePath extended to
"/usr/local/lib/nvidia/xorg,/usr/local/lib/xorg/modules,/usr/local/lib/xorg/modules"
[   137.817] (**) OutputClass "nvidia" ModulePath extended to
"/usr/local/lib/nvidia/xorg,/usr/local/lib/xorg/modules,/usr/local/lib/nvidia/xorg,/usr/local/lib/xorg/modules,/usr/local/lib/xorg/modules"
[   137.817] (**) OutputClass "nvidia" setting /dev/dri/card0 as PrimaryGPU
[   137.817] (--) PCI: (1@0:0:0) 10de:1cbb:17aa:2262 rev 161, Mem @
0xa3000000/16777216, 0x60000000/268435456, 0x70000000/33554432, I/O @
0x00002000/128, BIOS @ 0x????????/65536[   137.817] (II) LoadModule: "glx"
[   137.818] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[   137.824] (II) Module glx: vendor="X.Org Foundation"
[   137.824]    compiled for 1.21.1.18, module version = 1.0.0
[   137.824]    ABI class: X.Org Server Extension, version 10.0
[   137.824] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[   137.824]    loading driver: nvidia
[   137.824] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[   137.824]    loading driver: nvidia
[   137.824] (==) Matched nvidia as autoconfigured driver 0
[   137.824] (==) Matched modesetting as autoconfigured driver 1
[   137.824] (==) Matched scfb as autoconfigured driver 2
[   137.824] (==) Matched vesa as autoconfigured driver 3
[   137.824] (==) Assigned the driver to the xf86ConfigLayout

-- 
You are receiving this mail because:
You are the assignee for the bug.