Nouveau not initializing correctly with stock kernel of NetBSD 10.0.0
Connor McLaughlan <[email protected]> Sat, 10 Aug 2024 17:00:11 +0200
| Newsgroups | gmane.os.netbsd.ports.x86-64 |
|---|---|
| Message-ID | <CABo1Du4LJt7F0vfJPobpUSAjfwu7Mo9hCz4QPZ6i9OiiCGqrnQ@mail.gmail.com> |
Hello All, i am trying to get a framebuffer and possibly accelerated x11 on an amd64 box using nouveau. The GPUs i tried are an old PCIe 8400GS and a GTS250. So far i had no success with a fresh install of NetBSD 10.0.0 and the stock kernel, the monitor output freezes after this line, and never comes back to life - i also cannot switch to other consoles or bring up x11: [ 1.000000] NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024 [ 1.000000] [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC ... [ 4.351708] kern.module.path=/stand/amd64/10.0/modules [ 4.351708] nouveau0: NVIDIA G92 (092a80a2) [ 4.481827] nouveau0: bios: version 62.92.9a.00.00 [ 4.501837] nouveau0: interrupting at msi1 vec 0 (nouveau0) [ 4.501837] nouveau0: fb: 1024 MiB GDDR3 [ 4.577621] Zone kernel: Available graphics memory: 9007199254225440 KiB [ 4.577621] nouveau0: DRM: VRAM: 1024 MiB [ 4.577621] nouveau0: DRM: GART: 1048576 MiB [ 4.581910] nouveau0: DRM: TMDS table version 2.0 [ 4.581910] nouveau0: DRM: DCB version 4.0 [ 4.581910] nouveau0: DRM: DCB outp 00: 04011310 00000028 [ 4.581910] nouveau0: DRM: DCB outp 01: 02000300 00020028 [ 4.581910] nouveau0: DRM: DCB outp 02: 01000302 00020030 [ 4.581910] nouveau0: DRM: DCB outp 03: 02022322 00020010 [ 4.581910] nouveau0: DRM: DCB conn 00: 00001030 [ 4.581910] nouveau0: DRM: DCB conn 01: 00000100 [ 4.581910] nouveau0: DRM: DCB conn 02: 00002261 [ 4.581910] nouveau0: DRM: MM: using CRYPT for buffer copies [ 4.581910] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 4.581910] [drm] Driver supports precise vblank timestamp query. [ 4.621920] nouveaufb0 at nouveau0 [ 4.621920] [drm] Initialized nouveau 1.3.1 20120801 for nouveau0 on minor 0 However the system comes up and i can ssh into it. So dmesg gives the following additional info after the output freeze above - including a few timeouts: [ 4.621920] [drm] Initialized nouveau 1.3.1 20120801 for nouveau0 on minor 0 [ 4.621920] nouveaufb0: framebuffer at 0xc0006000, size 1920x1200, depth 32, stride 7680 [ 6.623293] nouveau0: autoconfiguration error: error: DRM: core notifier timeout [ 8.624667] nouveau0: autoconfiguration error: error: DRM: base-0: timeout [ 8.654687] wsdisplay0 at nouveaufb0 kbdmux 1: console (default, vt100 emulation), using wskbd0 [ 8.654687] wsmux1: connecting to wsdisplay0 [ 8.654687] wskbd1: connecting to wsdisplay0 [ 45.850161] wsdisplay0: screen 1 added (default, vt100 emulation) [ 45.850161] wsdisplay0: screen 2 added (default, vt100 emulation) [ 45.850161] wsdisplay0: screen 3 added (default, vt100 emulation) [ 45.850161] wsdisplay0: screen 4 added (default, vt100 emulation) My only succesfull option to get a working console output and to start up x11 was to build a kernel without nouveau and only the generic framebuffer. Of course then i don't have accelerated opengl in x11. Can someone help or give some insights on what can i do to bring up nouveau successfully? Best regards, Connor