rvp
I did what u have suggested. logged inside the pc with ssh and copied and pasted the xorg.conf file. no,X is not running on the machine. and yes,I have created the drm0 1 and 2 devices before booting netbsd. on the boot.cfg file I have disabled the nouveau driver,but not the i915drmkms one. The driver that I have included on the xorg.conf file is "modesetting". This is the boot.cfg file i've used 😀 and I've recompiled the kernel with the build.sh script.
menu=Boot normally:rndseed /var/db/entropy-file;gop 4;boot
menu=Boot single user:rndseed /var/db/entropy-file;boot -s
menu=Boot DEVELOPMENT kernel:rndseed /var/db/entropy-file;gop 4;boot netbsd -v -x
menu=Drop to boot prompt:prompt
#userconf=disable i915drmkms*
userconf=disable nouveau*
default=1
timeout=5
clear=1
/var/log/Xorg.1.log file :
[ 319.957]
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[ 319.957] Build Operating System: NetBSD/amd64 9.2 - The NetBSD Foundation, Inc.
[ 319.957] Current Operating System: NetBSD netbsd-marietto.homenet.telecomitalia.it 8.99.22 NetBSD 8.>[ 319.958] Build Date: 03 March 2019 07:11:23AM
[ 319.958]
[ 319.958] Current version of pixman: 0.38.4
[ 319.958] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 319.958] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 319.958] (==) Log file: "/var/log/Xorg.1.log", Time: Wed Sep 22 04:26:55 2021
[ 319.958] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 319.958] (==) ServerLayout "X.org Configured"
[ 319.958] (**) |-->Screen "Screen0" (0)
[ 319.958] (**) | |-->Monitor "Monitor0"
[ 319.958] (**) | |-->Device "Card0"
[ 319.958] (**) |-->Screen "Screen1" (1)
[ 319.958] (**) | |-->Monitor "Monitor1"
[ 319.958] (**) | |-->Device "Card1"
[ 319.958] (**) |-->Screen "Screen2" (2)
[ 319.958] (**) | |-->Monitor "Monitor2"
[ 319.958] (**) | |-->Device "Card2"
[ 319.958] (**) |-->Input Device "Mouse0"
[ 319.958] (**) |-->Input Device "Keyboard0"
[ 319.958] (==) Not automatically adding devices
[ 319.958] (==) Not automatically enabling devices
[ 319.958] (==) Not automatically adding GPU devices
[ 319.958] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 319.958] (**) 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/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/
[ 319.958] (**) ModulePath set to "/usr/X11R7/lib/modules"
[ 319.958] (II) Loader magic: 0x1ec8ea60
[ 319.958] (II) Module ABI versions:
[ 319.958] X.Org ANSI C Emulation: 0.4
[ 319.958] X.Org Video Driver: 24.0
[ 319.958] X.Org XInput driver : 24.1
[ 319.958] X.Org Server Extension : 10.0
[ 319.996] (--) PCI: (0@0:2:0) 8086:3e98:1458:d000 rev 2, Mem @ 0x98000000/16777216, 0x40000000/536870>
[ 319.996] (--) PCI:*(1@1:0:0) 10de:1e04:19da:2503 rev 161, Mem @ 0x96000000/16777216, 0x60000000/2684>
[ 319.996] (--) PCI: (2@2:0:0) 10de:1c02:19da:2438 rev 161, Mem @ 0x92000000/16777216, 0x80000000/2684>
[ 319.996] (II) "glx" will be loaded by default.
[ 319.996] (II) LoadModule: "glx"
[ 319.996] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
[ 319.996] (II) Module glx: vendor="X.Org Foundation"
[ 319.996] compiled for 1.20.5, module version = 1.0.0
[ 319.996] ABI class: X.Org Server Extension, version 10.0
[ 319.996] (II) LoadModule: "modesetting"
[ 319.997] (II) Loading /usr/X11R7/lib/modules/drivers/modesetting_drv.so
[ 319.997] (II) Module modesetting: vendor="X.Org Foundation"
[ 319.997] compiled for 1.20.5, module version = 1.20.5
[ 319.997] Module class: X.Org Video Driver
[ 319.997] ABI class: X.Org Video Driver, version 24.0
[ 319.997] (II) LoadModule: "nouveau"
[ 319.997] (II) Loading /usr/X11R7/lib/modules/drivers/nouveau_drv.so
[ 319.997] (II) Module nouveau: vendor="X.Org Foundation"
[ 319.997] compiled for 1.20.5, module version = 1.0.16
[ 319.997] Module class: X.Org Video Driver
[ 319.997] ABI class: X.Org Video Driver, version 24.0
[ 319.997] (II) LoadModule: "mouse"
[ 319.997] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so
[ 319.997] (II) Module mouse: vendor="X.Org Foundation"
[ 319.998] compiled for 1.20.5, module version = 1.9.2
[ 319.998] Module class: X.Org XInput Driver
[ 319.998] ABI class: X.Org XInput driver, version 24.1
[ 319.998] (II) LoadModule: "kbd"
[ 319.998] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
[ 319.998] (II) Module kbd: vendor="X.Org Foundation"
[ 319.998] compiled for 1.20.5, module version = 1.9.0
[ 319.998] Module class: X.Org XInput Driver
[ 319.998] ABI class: X.Org XInput driver, version 24.1
[ 319.998] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 319.998] (II) NOUVEAU driver
[ 319.998] (II) NOUVEAU driver for NVIDIA chipset families :
[ 319.998] RIVA TNT (NV04)
[ 319.998] RIVA TNT2 (NV05)
[ 319.998] GeForce 256 (NV10)
[ 319.998] GeForce 2 (NV11, NV15)
[ 319.998] GeForce 4MX (NV17, NV18)
[ 319.998] GeForce 3 (NV20)
[ 319.998] GeForce 4Ti (NV25, NV28)
[ 319.998] GeForce FX (NV3x)
[ 319.998] GeForce 6 (NV4x)
[ 319.998] GeForce 7 (G7x)
[ 319.998] GeForce 8 (G8x)
[ 319.998] GeForce 9 (G9x)
[ 319.998] GeForce GTX 2xx/3xx (GT2xx)
[ 319.998] GeForce GTX 4xx/5xx (GFxxx)
[ 319.998] GeForce GTX 6xx/7xx (GKxxx)
[ 319.998] GeForce GTX 9xx (GMxxx)
[ 319.998] GeForce GTX 10xx (GPxxx)
[ 319.998] (--) Using wscons driver on /dev/ttyE4 in pcvt compatibility mode (version 3.32)
[ 319.998] (--) using VT number 5
[ 320.124] (EE) open /dev/dri/card0: No such file or directory
[ 320.124] (WW) Falling back to old probe method for modesetting
[ 320.124] (EE) open /dev/dri/card0: No such file or directory
[ 320.124] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 320.124] (EE) Screen 0 deleted because of no matching config section.
[ 320.125] (II) UnloadModule: "modesetting"
[ 320.125] (EE) Device(s) detected, but none match those in the config file.
[ 320.125] (EE)
Fatal server error:
[ 320.125] (EE) no screens found(EE)
[ 320.125] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 320.125] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[ 320.125] (EE)
[ 320.245] (EE) Server terminated with error (1). Closing log file.