tech-x11 archive

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

Re: 10.0_RC1 on NVIDIA T400



On Mon, Nov 20, 2023 at 02:49:15PM +0000, Robert Swindells wrote:
> 
> Manuel Bouyer <bouyer%antioche.eu.org@localhost> wrote:
> > I have a new dell precision 3660 workstation with a NVIDIA T400
> > graphic card, which should run NetBSD with X11.
> 
> It looks like the nouveau drm code recognizes it.
> 
> > [    39.450] (EE) Backtrace:
> > [    39.470] (EE) 0: /usr/X11R7/bin/X (xorg_backtrace+0x44) [0x9adb2575]
> > [    39.470] (EE) 1: /usr/X11R7/bin/X (os_move_fd+0x79) [0x9adae315]
> > [    39.470] (EE) 2: /usr/lib/libc.so.12 (__sigtramp_siginfo_2+0x0) [0x77925477ed60]
> > [    39.470] (EE) 3: /usr/X11R7/lib/modules/drivers/nouveau_drv.so (NVEntPriv+0x18) [0x77924e00d401]
> > [    39.470] (EE) 4: /usr/X11R7/lib/modules/drivers/nouveau_drv.so (drmmode_pre_init+0x22) [0x77924e00b765]
> 
> This is in MesaLib, which is quite old.
> 
> If you need NetBSD 10 on this machine then I would try modular X11 from
> pkgsrc.
> 
> I don't have any recent NVidia hardware so don't know what MesaLib 21
> that can be built in -current will do, help debugging it would be good.

Actually, as pointed out later by Robert, modular Xorg won't help
as it doens't support this graphic device either.
On linux Xorg is using the modesetting driver so I tried this:

Section "Device"
        Identifier "Nvidia T400"
	Driver "modesetting"
	BusID  "PCI:1:0:0"
	Option      "Monitor-DP1" "Monitor0"
	Option      "Monitor-DP2" "Monitor1"
EndSection

And this works; even with a  dual-HEAD output.

glamor is not working for some reason:
[   323.179] (II) Loading sub module "glamoregl"
[   323.179] (II) LoadModule: "glamoregl"
[   323.180] (II) Loading /usr/X11R7/lib/modules/libglamoregl.so
[   323.181] (II) Module glamoregl: vendor="X.Org Foundation"
[   323.181]    compiled for 1.21.1.9, module version = 1.0.1
[   323.181]    ABI class: X.Org ANSI C Emulation, version 0.4
[   323.259] (EE) modeset(0): eglInitialize() failed
[   323.259] (II) modeset(0): glamor initialization failed

but that's not so important for me; glxgears with default options is giving
more than 250FPS which should be good enough for my use case (my current
workstation gives 60FPS :).
mplayer is slow though; that could be annoying as more and more documentation
come as video. Will try modular Xorg and see if it's better.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index