Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

support for nvidia rtx2060



Folks,

I have a machine with a nvidia rtx2060 in it that I would love to have X working on.

To this end, I updated my machine to -current as of a couple of days ago, when I reboot with the new kernel,
things do look promising, the display get switched to be mirrored across both connected monitors and I can see
the following in the dmesg:


[     1.006410] nouveau0 at pci1 dev 0 function 0: NVIDIA GeForce RTX 2060 Rev. A (rev. 0xa1)
[    11.124666] nouveau0: NVIDIA TU106 (166000a1)
[    11.194665] nouveau0: bios: version 90.06.30.00.aa
[    11.294664] nouveau0: interrupting at msi8 vec 0 (nouveau0)
[    11.294664] nouveau0: fb: 6144 MiB GDDR6
[    11.304664] nouveau0: DRM: VRAM: 6144 MiB
[    11.304664] nouveau0: DRM: GART: 536870912 MiB
[    11.304664] nouveau0: DRM: BIT table 'A' not found
[    11.304664] nouveau0: DRM: BIT table 'L' not found
[    11.304664] nouveau0: DRM: TMDS table version 2.0
[    11.304664] nouveau0: DRM: DCB version 4.1
[    11.304664] nouveau0: DRM: DCB outp 00: 02800f66 04600020
[    11.304664] nouveau0: DRM: DCB outp 01: 02000f62 04620020
[    11.304664] nouveau0: DRM: DCB outp 03: 02011f52 00020010
[    11.304664] nouveau0: DRM: DCB outp 04: 01822f46 04600020
[    11.304664] nouveau0: DRM: DCB outp 05: 01022f42 00020020
[    11.304664] nouveau0: DRM: DCB outp 06: 01833f36 04600010
[    11.304664] nouveau0: DRM: DCB outp 07: 01033f32 00020010
[    11.304664] nouveau0: DRM: DCB conn 00: 00020046
[    11.304664] nouveau0: DRM: DCB conn 01: 00010161
[    11.304664] nouveau0: DRM: DCB conn 02: 00002246
[    11.314738] nouveau0: DRM: DCB conn 03: 00001346
[    11.314738] nouveau0: DRM: MM: using COPY for buffer copies
[    11.314738] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 0111900f
[    11.314738] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.314738] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.324664] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.324664] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.324664] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.334664] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.334664] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.334664] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.344665] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.344665] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.344665] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.354665] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.354665] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.354665] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.354665] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.364664] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.364664] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.364664] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.374665] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.374665] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.374665] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.384664] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.384664] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.384664] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.394664] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.394664] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.394664] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.394664] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.404664] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.404664] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.404664] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.414664] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119000
[    11.444664] nouveau0: autoconfiguration error: error: i2c: aux 0006: timeout 01119007
[    11.554665] nouveaufb0 at nouveau0
[    11.554665] [drm] Initialized nouveau 1.3.1 20120801 for nouveau0 on minor 1
[    11.554665] nouveaufb0: framebuffer at 0xe0400000, size 1920x1080, depth 32, stride 7680
[    11.634665] wsdisplay0 at nouveaufb0 kbdmux 1: console (default, vt100 emulation), using wskbd0

But, unfortunately, when I try to run X it dies with a segmentation fault.  Looking at the Xorg.log I can see
that nouveau is complaining that the NV166 card is not supported and not configuring the card.  Doing a bit of a
trawl for clues I found that there was an updated firmware that is supposed to make nouveau work with the turing
cards (mine is a tu106 so this is applicable) so I went looking in the driver code but I cannot see any hint
that NetBSD supports loading firmware for the rtx cards.  Is this correct?  Any clues on how I can fix this?

 * Xorg.log is attached.

-- 
Brett Lymn
--
Sent from my NetBSD device.

"We are were wolves",
"You mean werewolves?",
"No we were wolves, now we are something else entirely",
"Oh"
[    32.397] 
X.Org X Server 1.21.1.14
X Protocol Version 11, Revision 0
[    32.397] Current Operating System: NetBSD siren 10.99.12 NetBSD 10.99.12 (SIREN) #0: Fri Nov 29 10:29:42 ACDT 2024  toor@siren:/usr/src/sys/arch/amd64/compile/SIREN amd64
[    32.397]  
[    32.398] Current version of pixman: 0.38.4
[    32.398] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    32.398] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    32.398] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Dec  1 06:51:57 2024
[    32.399] (II) Loader magic: 0x116d780
[    32.399] (II) Module ABI versions:
[    32.399] 	X.Org ANSI C Emulation: 0.4
[    32.399] 	X.Org Video Driver: 25.2
[    32.399] 	X.Org XInput driver : 24.4
[    32.399] 	X.Org Server Extension : 10.0
[    32.403] (--) PCI: (0@0:2:0) 8086:0412:1043:8534 rev 6, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
[    32.403] (--) PCI:*(1@1:0:0) 10de:1f08:1462:3755 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[    32.404] (==) Using default built-in configuration (48 lines)
[    32.404] (==) --- Start of built-in configuration ---
[    32.404] 	Section "Device"
[    32.404] 		Identifier	"Builtin Default nouveau Device 0"
[    32.404] 		Driver	"nouveau"
[    32.404] 	EndSection
[    32.404] 	Section "Screen"
[    32.404] 		Identifier	"Builtin Default nouveau Screen 0"
[    32.404] 		Device	"Builtin Default nouveau Device 0"
[    32.404] 	EndSection
[    32.404] 	Section "Device"
[    32.404] 		Identifier	"Builtin Default nv Device 0"
[    32.404] 		Driver	"nv"
[    32.404] 	EndSection
[    32.404] 	Section "Screen"
[    32.404] 		Identifier	"Builtin Default nv Screen 0"
[    32.404] 		Device	"Builtin Default nv Device 0"
[    32.404] 	EndSection
[    32.404] 	Section "Device"
[    32.404] 		Identifier	"Builtin Default modesetting Device 0"
[    32.404] 		Driver	"modesetting"
[    32.404] 	EndSection
[    32.404] 	Section "Screen"
[    32.404] 		Identifier	"Builtin Default modesetting Screen 0"
[    32.404] 		Device	"Builtin Default modesetting Device 0"
[    32.404] 	EndSection
[    32.404] 	Section "Device"
[    32.404] 		Identifier	"Builtin Default vesa Device 0"
[    32.404] 		Driver	"vesa"
[    32.404] 	EndSection
[    32.404] 	Section "Screen"
[    32.404] 		Identifier	"Builtin Default vesa Screen 0"
[    32.404] 		Device	"Builtin Default vesa Device 0"
[    32.404] 	EndSection
[    32.404] 	Section "Device"
[    32.404] 		Identifier	"Builtin Default wsfb Device 0"
[    32.404] 		Driver	"wsfb"
[    32.404] 	EndSection
[    32.404] 	Section "Screen"
[    32.404] 		Identifier	"Builtin Default wsfb Screen 0"
[    32.404] 		Device	"Builtin Default wsfb Device 0"
[    32.404] 	EndSection
[    32.404] 	Section "ServerLayout"
[    32.404] 		Identifier	"Builtin Default Layout"
[    32.404] 		Screen	"Builtin Default nouveau Screen 0"
[    32.404] 		Screen	"Builtin Default nv Screen 0"
[    32.404] 		Screen	"Builtin Default modesetting Screen 0"
[    32.404] 		Screen	"Builtin Default vesa Screen 0"
[    32.404] 		Screen	"Builtin Default wsfb Screen 0"
[    32.404] 	EndSection
[    32.404] (==) --- End of built-in configuration ---
[    32.404] (==) ServerLayout "Builtin Default Layout"
[    32.404] (**) |-->Screen "Builtin Default nouveau Screen 0" (0)
[    32.404] (**) |   |-->Monitor "<default monitor>"
[    32.405] (**) |   |-->Device "Builtin Default nouveau Device 0"
[    32.405] (==) No monitor specified for screen "Builtin Default nouveau Screen 0".
	Using a default monitor configuration.
[    32.405] (**) |-->Screen "Builtin Default nv Screen 0" (1)
[    32.405] (**) |   |-->Monitor "<default monitor>"
[    32.405] (**) |   |-->Device "Builtin Default nv Device 0"
[    32.405] (==) No monitor specified for screen "Builtin Default nv Screen 0".
	Using a default monitor configuration.
[    32.405] (**) |-->Screen "Builtin Default modesetting Screen 0" (2)
[    32.405] (**) |   |-->Monitor "<default monitor>"
[    32.405] (**) |   |-->Device "Builtin Default modesetting Device 0"
[    32.405] (==) No monitor specified for screen "Builtin Default modesetting Screen 0".
	Using a default monitor configuration.
[    32.405] (**) |-->Screen "Builtin Default vesa Screen 0" (3)
[    32.405] (**) |   |-->Monitor "<default monitor>"
[    32.405] (**) |   |-->Device "Builtin Default vesa Device 0"
[    32.405] (==) No monitor specified for screen "Builtin Default vesa Screen 0".
	Using a default monitor configuration.
[    32.405] (**) |-->Screen "Builtin Default wsfb Screen 0" (4)
[    32.405] (**) |   |-->Monitor "<default monitor>"
[    32.405] (**) |   |-->Device "Builtin Default wsfb Device 0"
[    32.405] (==) No monitor specified for screen "Builtin Default wsfb Screen 0".
	Using a default monitor configuration.
[    32.405] (**) Allowing byte-swapped clients
[    32.405] (==) Automatically adding devices
[    32.405] (==) Automatically enabling devices
[    32.405] (==) Not automatically adding GPU devices
[    32.405] (==) Automatically binding GPU devices
[    32.406] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    32.409] (WW) The directory "/usr/pkg/share/fonts/X11/misc/" does not exist.
[    32.409] 	Entry deleted from font path.
[    32.409] (WW) The directory "/usr/pkg/share/fonts/X11/Type1/" does not exist.
[    32.409] 	Entry deleted from font path.
[    32.409] (WW) The directory "/usr/pkg/share/fonts/X11/75dpi/" does not exist.
[    32.409] 	Entry deleted from font path.
[    32.409] (WW) The directory "/usr/pkg/share/fonts/X11/100dpi/" does not exist.
[    32.409] 	Entry deleted from font path.
[    32.409] (==) FontPath set to:
	/usr/X11R7/lib/X11/fonts/misc/,
	/usr/X11R7/lib/X11/fonts/TTF/,
	/usr/X11R7/lib/X11/fonts/Type1/,
	/usr/X11R7/lib/X11/fonts/75dpi/,
	/usr/X11R7/lib/X11/fonts/100dpi/,
	/usr/pkg/share/fonts/X11/TTF/
[    32.409] (==) ModulePath set to "/usr/X11R7/lib/modules"
[    32.409] (II) The server relies on wscons to provide the list of input devices.
	If no devices become available, reconfigure wscons or disable AutoAddDevices.
[    32.409] (II) LoadModule: "glx"
[    32.411] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
[    32.412] (II) Module glx: vendor="X.Org Foundation"
[    32.412] 	compiled for 1.21.1.14, module version = 1.0.0
[    32.412] 	ABI class: X.Org Server Extension, version 10.0
[    32.412] (II) LoadModule: "nouveau"
[    32.413] (II) Loading /usr/X11R7/lib/modules/drivers/nouveau_drv.so
[    32.415] (II) Module nouveau: vendor="X.Org Foundation"
[    32.415] 	compiled for 1.21.1.14, module version = 1.0.17
[    32.415] 	Module class: X.Org Video Driver
[    32.415] 	ABI class: X.Org Video Driver, version 25.2
[    32.415] (II) LoadModule: "nv"
[    32.415] (II) Loading /usr/X11R7/lib/modules/drivers/nv_drv.so
[    32.454] (II) Module nv: vendor="X.Org Foundation"
[    32.454] 	compiled for 1.21.1.14, module version = 2.1.23
[    32.454] 	Module class: X.Org Video Driver
[    32.454] 	ABI class: X.Org Video Driver, version 25.2
[    32.454] (II) LoadModule: "modesetting"
[    32.454] (II) Loading /usr/X11R7/lib/modules/drivers/modesetting_drv.so
[    32.455] (II) Module modesetting: vendor="X.Org Foundation"
[    32.455] 	compiled for 1.21.1.14, module version = 1.21.1
[    32.455] 	Module class: X.Org Video Driver
[    32.455] 	ABI class: X.Org Video Driver, version 25.2
[    32.455] (II) LoadModule: "vesa"
[    32.455] (II) Loading /usr/X11R7/lib/modules/drivers/vesa_drv.so
[    32.455] (II) Module vesa: vendor="X.Org Foundation"
[    32.455] 	compiled for 1.21.1.14, module version = 2.6.0
[    32.455] 	Module class: X.Org Video Driver
[    32.455] 	ABI class: X.Org Video Driver, version 25.2
[    32.455] (II) LoadModule: "wsfb"
[    32.456] (II) Loading /usr/X11R7/lib/modules/drivers/wsfb_drv.so
[    32.456] (II) Module wsfb: vendor="X.Org Foundation"
[    32.456] 	compiled for 1.21.1.14, module version = 0.4.0
[    32.456] 	ABI class: X.Org Video Driver, version 25.2
[    32.456] (II) NOUVEAU driver 
[    32.456] (II) NOUVEAU driver for NVIDIA chipset families :
[    32.456] 	RIVA TNT            (NV04)
[    32.456] 	RIVA TNT2           (NV05)
[    32.456] 	GeForce 256         (NV10)
[    32.456] 	GeForce 2           (NV11, NV15)
[    32.456] 	GeForce 4MX         (NV17, NV18)
[    32.456] 	GeForce 3           (NV20)
[    32.456] 	GeForce 4Ti         (NV25, NV28)
[    32.456] 	GeForce FX          (NV3x)
[    32.456] 	GeForce 6           (NV4x)
[    32.456] 	GeForce 7           (G7x)
[    32.456] 	GeForce 8           (G8x)
[    32.456] 	GeForce 9           (G9x)
[    32.457] 	GeForce GTX 2xx/3xx (GT2xx)
[    32.457] 	GeForce GTX 4xx/5xx (GFxxx)
[    32.457] 	GeForce GTX 6xx/7xx (GKxxx)
[    32.457] 	GeForce GTX 9xx     (GMxxx)
[    32.457] 	GeForce GTX 10xx    (GPxxx)
[    32.457] (II) NOUVEAU driver 
[    32.457] (II) NOUVEAU driver for NVIDIA chipset families :
[    32.457] 	RIVA TNT            (NV04)
[    32.457] 	RIVA TNT2           (NV05)
[    32.457] 	GeForce 256         (NV10)
[    32.457] 	GeForce 2           (NV11, NV15)
[    32.457] 	GeForce 4MX         (NV17, NV18)
[    32.457] 	GeForce 3           (NV20)
[    32.457] 	GeForce 4Ti         (NV25, NV28)
[    32.457] 	GeForce FX          (NV3x)
[    32.457] 	GeForce 6           (NV4x)
[    32.457] 	GeForce 7           (G7x)
[    32.457] 	GeForce 8           (G8x)
[    32.457] 	GeForce 9           (G9x)
[    32.457] 	GeForce GTX 2xx/3xx (GT2xx)
[    32.457] 	GeForce GTX 4xx/5xx (GFxxx)
[    32.457] 	GeForce GTX 6xx/7xx (GKxxx)
[    32.457] 	GeForce GTX 9xx     (GMxxx)
[    32.457] 	GeForce GTX 10xx    (GPxxx)
[    32.457] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    32.457] (II) VESA: driver for VESA chipsets: vesa
[    32.457] (II) wsfb: driver for wsdisplay framebuffer: wsfb
[    32.457] (--) Using wscons driver on /dev/ttyE4 in pcvt compatibility mode (version 3.32)
[    32.457] (--) using VT number 5
[    32.468] (II) [drm] nouveau interface version: 1.3.1
[    32.468] (EE) Unknown chipset: NV166
[    32.468] (II) [drm] nouveau interface version: 1.3.1
[    32.468] (EE) Unknown chipset: NV166
[    32.468] (WW) Falling back to old probe method for modesetting
[    32.468] (II) modeset(1): using default device
[    32.468] vesa: Ignoring device with a bound kernel driver
[    32.468] (WW) Falling back to old probe method for wsfb
[    32.468] (II) wsfb(3): using default device
[    32.468] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    32.468] (EE) Screen 0 deleted because of no matching config section.
[    32.468] (II) UnloadModule: "modesetting"
[    32.468] (EE) Screen 1 deleted because of no matching config section.
[    32.468] (II) UnloadModule: "vesa"
[    32.468] (II) modeset(0): Creating default Display subsection in Screen section
	"Builtin Default modesetting Screen 0" for depth/fbbpp 24/32
[    32.468] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    32.468] (==) modeset(0): RGB weight 888
[    32.468] (==) modeset(0): Default visual is TrueColor
[    32.468] (II) Loading sub module "glamoregl"
[    32.468] (II) LoadModule: "glamoregl"
[    32.469] (II) Loading /usr/X11R7/lib/modules/libglamoregl.so
[    32.471] (II) Module glamoregl: vendor="X.Org Foundation"
[    32.471] 	compiled for 1.21.1.14, module version = 1.0.1
[    32.471] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    32.505] (EE) modeset(0): eglInitialize() failed
[    32.506] (II) modeset(0): glamor initialization failed
[    32.506] (II) modeset(0): ShadowFB: preferred YES, enabled YES
[    32.506] (II) modeset(0): Double-buffered shadow updates: off
[    32.506] (EE) 
[    32.506] (EE) Backtrace:
[    32.509] (EE) 0: /usr/X11R7/bin/X (xorg_backtrace+0x44) [0x10b870f]
[    32.509] (EE) 1: /usr/X11R7/bin/X (os_move_fd+0x62) [0x10b4488]
[    32.509] (EE) 2: /usr/lib/libc.so.12 (__sigtramp_siginfo_2+0x0) [0x77a0c8dc8ca0]
[    32.509] (EE) 3: /usr/X11R7/lib/modules/drivers/nouveau_drv.so (NVEntPriv+0x18) [0x77a0c7d8846a]
[    32.509] (EE) 4: /usr/X11R7/lib/modules/drivers/nouveau_drv.so (drmmode_pre_init+0x21) [0x77a0c7d867f3]
[    32.509] (EE) 5: /usr/X11R7/lib/modules/drivers/modesetting_drv.so (ms_ent_priv+0xaab) [0x77a0c7d445f2]
[    32.509] (EE) 6: /usr/X11R7/bin/X (InitOutput+0x934) [0xfc8afc]
[    32.509] (EE) 7: /usr/X11R7/bin/X (dix_main+0x178) [0xf5c0d8]
[    32.509] (EE) 
[    32.510] (EE) Segmentation fault at address 0x0
[    32.510] (EE) 
Fatal server error:
[    32.510] (EE) Caught signal 11 (Segmentation fault). Server aborting
[    32.510] (EE) 
[    32.510] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    32.510] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    32.510] (EE) 
[    32.513] (EE) Server terminated with error (1). Closing log file.


Home | Main Index | Thread Index | Old Index