Zenbook UM433I installing nvidia driver

Have you tried to lauch Xorg after kldload?
If yes, use again kldstat to see if the modules are still in memory.

Is there something with dmesg | grep -i nvidia ?
 
SirDice
rc.conf is correct:
kld_list="nvidia-modeset"
I had indeed a list in there, but deleted the other items at some point in time.

@Emiron
If I start X, I get the error message:
xauth: error in locking authority file /root/ .Xauthority
However, I bootet in single user mode to avoid running intro a black screen. With 'mount -u rw /' I got to the prompt and started the nvidia driver manually with kldload.

kldstat after kldload and startx shows that the driver is still loaded:
nvidia-modeset.ko
nvidia.ko


dmesg | grep -i nvidia
nvidia0: NVIDIA GeForce MX350 on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 550.120. Fri Sept 13 09:32:47 UTC 2024
 
Don't need to boot to single user mode. I would suggest removing slim_enable for now and simply let the system boot. Login with a user account, double-check with kldstat(8) nvidia-modeset is loaded and test your X configuration with startx. When you get X to start working properly you can enable SLiM again.
 
@Emiron
Sorry, I messed something up:
1) Booting in single user mode, then 'kldload nvidia-modeset', then 'mount -u rw /', then 'startx' gives black screen
2) Booting in single user mode, then 'kldload nvidia-modeset', then 'startx' yields the error message 'xauth: error in locking authority file /root/.Xauthority
That makes sense of course. Anyway, the problems persists.

As SirDice resumed correctly, the question is why does the nvidia driver not get loaded at boot (though it can be loaded manually afterwards)? And why does X give a black screen?
 
SirDice
Thanks for the advice! I disabled slim in rc.conf , booted, logged in, checked the nvidia driver being loaded with 'kldstat -m nvidia-modeset' and then tried to start X with s'tartx' - black screen...
 
Am I correct that—in multiuser mode—your screen was not black after kldload nvidia-modeset but only after startx ?

You'd probably have an Xorg log file. If you have internet, could you cat /var/log/Xorg.0.log | nc termbin.com 9999 - post the resulting url. Otherwise, like in your message #19 post/paste the log file contents?

Edit: do you have an external monitor that you can connect to your HDMI output (as I see at Zenbook 14 UM433 (4000 series Ryzen))?
 
nvidia driver is now loaded at boot! We are getting closer!

@Emiron
Yes, booting in single user mode I could successfully load the driver with kldload nvidia-modeset. The screen turned black (cursor in the upper left corner, not blinking) after I tried to start the X server with 'startx'. Following the recommendation of SirDice, I disbaled slim in rc.conf. I do not know if it is related to that, but now the nvidia driver is loaded at boot (checked with 'kldstat -m nvidia-modeset').

Thus, with the nvidia driver loaded, I logged in as a normal user and tried to star X and got of course a black screen again. However, rebooting I could have a look at the Xorg.0.log file in /var/log, which looks totally ok to me. Maybe the problem is now not the nvdiia driver itself, but getting the video stream to the screen?

Here is Xorg.0.log:

[ 1340.597]
X.Org X Server 1.21.1.14
X Protocol Version 11, Revision 0
[ 1340.597] Current Operating System: FreeBSD Asus-Laptop 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GENERIC amd64
[ 1340.597]
[ 1340.597] Current version of pixman: 0.42.2
[ 1340.597] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1340.597] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1340.597] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Sep 14 03:50:53 2021
[ 1340.598] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[ 1340.598] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[ 1340.599] (==) No Layout section. Using the first Screen section.
[ 1340.599] (==) No screen section available. Using defaults.
[ 1340.600] (**) |-->Screen "Default Screen Section" (0)
[ 1340.600] (**) | |-->Monitor "<default monitor>"
[ 1340.600] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 1340.600] (**) | |-->Device "Card0"
[ 1340.600] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 1340.600] (**) Allowing byte-swapped clients
[ 1340.600] (==) Automatically adding devices
[ 1340.600] (==) Automatically enabling devices
[ 1340.600] (==) Automatically adding GPU devices
[ 1340.600] (==) Automatically binding GPU devices
[ 1340.601] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 1340.606] (==) FontPath set to:
/usr/local/share/fonts/misc/,
/usr/local/share/fonts/TTF/,
/usr/local/share/fonts/OTF/,
/usr/local/share/fonts/Type1/,
/usr/local/share/fonts/100dpi/,
/usr/local/share/fonts/75dpi/,
catalogue:/usr/local/etc/X11/fontpath.d
[ 1340.606] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[ 1340.606] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 1340.606] (II) Module ABI versions:
[ 1340.606] X.Org ANSI C Emulation: 0.4
[ 1340.606] X.Org Video Driver: 25.2
[ 1340.606] X.Org XInput driver : 24.4
[ 1340.606] X.Org Server Extension : 10.0
[ 1340.611] (--) PCI: (1@0:0:0) 10de:1c96:1043:1092 rev 161, Mem @ 0xfb000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x0000f000/128
[ 1340.611] (--) PCI:*(4@0:0:0) 1002:1636:1043:1092 rev 194, Mem @ 0xd0000000/268435456, 0xe0000000/2097152, 0xfc500000/524288, I/O @ 0x0000e000/256, BIOS @ 0x????????/65536
[ 1340.611] (II) LoadModule: "glx"
[ 1340.612] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 1340.620] (II) Module glx: vendor="X.Org Foundation"
[ 1340.620] compiled for 1.21.1.14, module version = 1.0.0
[ 1340.620] ABI class: X.Org Server Extension, version 10.0
[ 1340.620] (II) LoadModule: "nvidia"
[ 1340.620] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[ 1340.624] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 1340.624] compiled for 1.6.99.901, module version = 1.0.0
[ 1340.625] Module class: X.Org Video Driver
[ 1340.625] (II) NVIDIA dlloader X Driver 550.120 Fri Sep 13 09:34:46 UTC 2024
[ 1340.625] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 1340.625] (--) Using syscons driver with X support (version 2.0)
[ 1340.625] (--) using VT number 9

[ 1340.628] (II) Loading sub module "fb"
[ 1340.628] (II) LoadModule: "fb"
[ 1340.628] (II) Module "fb" already built-in
[ 1340.628] (II) Loading sub module "wfb"
[ 1340.628] (II) LoadModule: "wfb"
[ 1340.628] (II) Loading /usr/local/lib/xorg/modules/libwfb.so
[ 1340.629] (II) Module wfb: vendor="X.Org Foundation"
[ 1340.629] compiled for 1.21.1.14, module version = 1.0.0
[ 1340.629] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1340.630] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 1340.630] (II) NVIDIA(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 1340.630] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 1340.630] (==) NVIDIA(0): RGB weight 888
[ 1340.630] (==) NVIDIA(0): Default visual is TrueColor
[ 1340.630] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 1340.630] (**) NVIDIA(0): Enabling 2D acceleration
[ 1340.630] (II) Loading sub module "glxserver_nvidia"
[ 1340.630] (II) LoadModule: "glxserver_nvidia"
[ 1340.630] (II) Loading /usr/local/lib/xorg/modules/extensions/libglxserver_nvidia.so
[ 1340.709] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[ 1340.709] compiled for 1.6.99.901, module version = 1.0.0
[ 1340.709] Module class: X.Org Server Extension
[ 1340.709] (II) NVIDIA GLX Module 550.120 Fri Sep 13 09:34:34 UTC 2024
[ 1340.710] (II) NVIDIA: The X server supports PRIME Render Offload.
[ 1341.271] (WW) NVIDIA: No DRM device: No direct render devices found.
[ 1341.272] (II) NVIDIA(0): NVIDIA GPU NVIDIA GeForce MX350 (GP107-A) at PCI:1:0:0
[ 1341.272] (II) NVIDIA(0): (GPU-0)
[ 1341.272] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 1341.272] (--) NVIDIA(0): VideoBIOS: 86.07.92.00.84
[ 1341.272] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 1341.272] (II) NVIDIA(0): Validated MetaModes:
[ 1341.272] (II) NVIDIA(0): "NULL"
[ 1341.272] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 1341.272] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 1341.272] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 1341.272] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[ 1341.273] (II) NVIDIA: access.
[ 1341.292] (II) NVIDIA(0): Setting mode "NULL"
[ 1341.296] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 1341.296] (==) NVIDIA(0): Backing store enabled
[ 1341.296] (==) NVIDIA(0): Silken mouse enabled
[ 1341.296] (==) NVIDIA(0): DPMS enabled
[ 1341.297] (II) Loading sub module "dri2"
[ 1341.297] (II) LoadModule: "dri2"
[ 1341.297] (II) Module "dri2" already built-in
[ 1341.297] (II) NVIDIA(0): [DRI2] Setup complete
[ 1341.297] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 1341.297] (II) Initializing extension Generic Event Extension
[ 1341.297] (II) Initializing extension SHAPE
[ 1341.297] (II) Initializing extension MIT-SHM
[ 1341.297] (II) Initializing extension XInputExtension
[ 1341.297] (II) Initializing extension XTEST
[ 1341.297] (II) Initializing extension BIG-REQUESTS
[ 1341.297] (II) Initializing extension SYNC
[ 1341.297] (II) Initializing extension XKEYBOARD
[ 1341.298] (II) Initializing extension XC-MISC
[ 1341.298] (II) Initializing extension SECURITY
[ 1341.298] (II) Initializing extension XFIXES
[ 1341.298] (II) Initializing extension RENDER
[ 1341.298] (II) Initializing extension RANDR
[ 1341.298] (II) Initializing extension COMPOSITE
[ 1341.298] (II) Initializing extension DAMAGE
[ 1341.298] (II) Initializing extension MIT-SCREEN-SAVER
[ 1341.298] (II) Initializing extension DOUBLE-BUFFER
[ 1341.299] (II) Initializing extension RECORD
[ 1341.299] (II) Initializing extension DPMS
[ 1341.299] (II) Initializing extension Present
[ 1341.299] (II) Initializing extension DRI3
[ 1341.299] (II) Initializing extension X-Resource
[ 1341.299] (II) Initializing extension XVideo
[ 1341.299] (II) Initializing extension XVideo-MotionCompensation
[ 1341.299] (II) Initializing extension GLX
[ 1341.299] (II) Initializing extension GLX
[ 1341.299] (II) Indirect GLX disabled.
[ 1341.299] (II) GLX: Another vendor is already registered for screen 0
[ 1341.299] (II) Initializing extension XFree86-VidModeExtension
[ 1341.299] (II) Initializing extension XFree86-DGA
[ 1341.299] (II) Initializing extension XFree86-DRI
[ 1341.299] (II) Initializing extension DRI2
[ 1341.300] (II) Initializing extension NV-GLX
[ 1341.300] (II) Initializing extension NV-CONTROL
[ 1341.358] (II) config/udev: Adding input device System keyboard multiplexer (/dev/input/event0)
[ 1341.358] (**) System keyboard multiplexer: Applying InputClass "Evdev keyboard"
[ 1341.358] (**) System keyboard multiplexer: Applying InputClass "libinput keyboard catchall"
[ 1341.358] (II) LoadModule: "libinput"
[ 1341.358] (II) Loading /usr/local/lib/xorg/modules/input/libinput_drv.so
[ 1341.368] (II) Module libinput: vendor="X.Org Foundation"
[ 1341.368] compiled for 1.21.1.14, module version = 1.3.0
[ 1341.368] Module class: X.Org XInput Driver
[ 1341.368] ABI class: X.Org XInput driver, version 24.4
[ 1341.368] (II) Using input driver 'libinput' for 'System keyboard multiplexer'
[ 1341.368] (**) System keyboard multiplexer: always reports core events
[ 1341.368] (**) Option "Device" "/dev/input/event0"
[ 1341.375] (II) event0 - System keyboard multiplexer: is tagged by udev as: Keyboard
[ 1341.376] (II) event0 - System keyboard multiplexer: device is a keyboard
[ 1341.377] (II) event0 - System keyboard multiplexer: device removed
[ 1341.377] (**) Option "config_info" "udev:/dev/input/event0"
[ 1341.377] (II) XINPUT: Adding extended input device "System keyboard multiplexer" (type: KEYBOARD, id 6)
[ 1341.377] (**) Option "xkb_rules" "evdev"
[ 1341.395] (II) event0 - System keyboard multiplexer: is tagged by udev as: Keyboard
[ 1341.396] (II) event0 - System keyboard multiplexer: device is a keyboard
[ 1341.397] (II) config/udev: Adding input device System mouse (/dev/input/event1)
[ 1341.397] (**) System mouse: Applying InputClass "libinput pointer catchall"
[ 1341.397] (II) Using input driver 'libinput' for 'System mouse'
[ 1341.397] (**) System mouse: always reports core events
[ 1341.397] (**) Option "Device" "/dev/input/event1"
[ 1341.398] (II) event1 - System mouse: is tagged by udev as: Mouse
[ 1341.398] (II) event1 - System mouse: device is a pointer
[ 1341.399] (II) event1 - System mouse: device removed
[ 1341.399] (II) libinput: System mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 1341.399] (II) libinput: System mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 1341.399] (II) libinput: System mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 1341.399] (**) Option "config_info" "udev:/dev/input/event1"
[ 1341.399] (II) XINPUT: Adding extended input device "System mouse" (type: MOUSE, id 7)
[ 1341.399] (**) Option "AccelerationScheme" "none"
[ 1341.399] (**) System mouse: (accel) selected scheme none/0
[ 1341.399] (**) System mouse: (accel) acceleration factor: 2.000
[ 1341.399] (**) System mouse: (accel) acceleration threshold: 4
[ 1341.400] (II) event1 - System mouse: is tagged by udev as: Mouse
[ 1341.401] (II) event1 - System mouse: device is a pointer
[ 1341.401] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 1341.401] (**) Power Button: Applying InputClass "Evdev keyboard"
[ 1341.401] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 1341.401] (II) Using input driver 'libinput' for 'Power Button'
[ 1341.401] (**) Power Button: always reports core events
[ 1341.402] (**) Option "Device" "/dev/input/event2"
[ 1341.402] (II) event2 - Power Button: is tagged by udev as: Keyboard
[ 1341.403] (II) event2 - Power Button: device is a keyboard
[ 1341.403] (II) event2 - Power Button: device removed
[ 1341.403] (**) Option "config_info" "udev:/dev/input/event2"
[ 1341.403] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[ 1341.403] (**) Option "xkb_rules" "evdev"
[ 1341.404] (II) event2 - Power Button: is tagged by udev as: Keyboard
[ 1341.405] (II) event2 - Power Button: device is a keyboard
[ 1341.405] (II) config/udev: Adding input device AT keyboard (/dev/input/event3)
[ 1341.405] (**) AT keyboard: Applying InputClass "Evdev keyboard"
[ 1341.405] (**) AT keyboard: Applying InputClass "libinput keyboard catchall"
[ 1341.405] (II) Using input driver 'libinput' for 'AT keyboard'
[ 1341.405] (**) AT keyboard: always reports core events
[ 1341.405] (**) Option "Device" "/dev/input/event3"
[ 1341.406] (II) event3 - AT keyboard: is tagged by udev as: Keyboard
[ 1341.407] (II) event3 - AT keyboard: device is a keyboard
[ 1341.409] (II) event3 - AT keyboard: device removed
[ 1341.409] (**) Option "config_info" "udev:/dev/input/event3"
[ 1341.409] (II) XINPUT: Adding extended input device "AT keyboard" (type: KEYBOARD, id 9)
[ 1341.409] (**) Option "xkb_rules" "evdev"
[ 1341.410] (II) event3 - AT keyboard: is tagged by udev as: Keyboard
[ 1341.410] (II) event3 - AT keyboard: device is a keyboard
[ 1341.412] (II) config/udev: Adding input device Control Method Lid Switch (/dev/input/event4)
[ 1341.412] (II) No input driver specified, ignoring this device.
[ 1341.412] (II) This device may have been added with another device file.
[ 1341.412] (II) config/udev: Adding input device ASUE140A:01 04F3:3134 Keyboard (/dev/input/event5)
[ 1341.412] (**) ASUE140A:01 04F3:3134 Keyboard: Applying InputClass "Evdev keyboard"
[ 1341.412] (**) ASUE140A:01 04F3:3134 Keyboard: Applying InputClass "libinput keyboard catchall"
[ 1341.412] (II) Using input driver 'libinput' for 'ASUE140A:01 04F3:3134 Keyboard'
[ 1341.412] (**) ASUE140A:01 04F3:3134 Keyboard: always reports core events
[ 1341.412] (**) Option "Device" "/dev/input/event5"
[ 1341.413] (II) event5 - ASUE140A:01 04F3:3134 Keyboard: is tagged by udev as: Keyboard
[ 1341.413] (II) event5 - ASUE140A:01 04F3:3134 Keyboard: device is a keyboard
[ 1341.414] (II) event5 - ASUE140A:01 04F3:3134 Keyboard: device removed
[ 1341.414] (**) Option "config_info" "udev:/dev/input/event5"
[ 1341.415] (II) XINPUT: Adding extended input device "ASUE140A:01 04F3:3134 Keyboard" (type: KEYBOARD, id 10)
[ 1341.415] (**) Option "xkb_rules" "evdev"
[ 1341.416] (II) event5 - ASUE140A:01 04F3:3134 Keyboard: is tagged by udev as: Keyboard
[ 1341.416] (II) event5 - ASUE140A:01 04F3:3134 Keyboard: device is a keyboard
[ 1341.417] (II) config/udev: Adding input device ASUE140A:01 04F3:3134 Mouse (/dev/input/event6)
[ 1341.417] (**) ASUE140A:01 04F3:3134 Mouse: Applying InputClass "libinput pointer catchall"
[ 1341.417] (II) Using input driver 'libinput' for 'ASUE140A:01 04F3:3134 Mouse'
[ 1341.417] (**) ASUE140A:01 04F3:3134 Mouse: always reports core events
[ 1341.417] (**) Option "Device" "/dev/input/event6"
[ 1341.418] (II) event6 - ASUE140A:01 04F3:3134 Mouse: is tagged by udev as: Mouse
[ 1341.419] (II) event6 - ASUE140A:01 04F3:3134 Mouse: device is a pointer
[ 1341.420] (II) event6 - ASUE140A:01 04F3:3134 Mouse: device removed
[ 1341.420] (II) libinput: ASUE140A:01 04F3:3134 Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 1341.420] (II) libinput: ASUE140A:01 04F3:3134 Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 1341.420] (II) libinput: ASUE140A:01 04F3:3134 Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 1341.420] (**) Option "config_info" "udev:/dev/input/event6"
[ 1341.420] (II) XINPUT: Adding extended input device "ASUE140A:01 04F3:3134 Mouse" (type: MOUSE, id 11)
[ 1341.420] (**) Option "AccelerationScheme" "none"
[ 1341.420] (**) ASUE140A:01 04F3:3134 Mouse: (accel) selected scheme none/0
[ 1341.420] (**) ASUE140A:01 04F3:3134 Mouse: (accel) acceleration factor: 2.000
[ 1341.420] (**) ASUE140A:01 04F3:3134 Mouse: (accel) acceleration threshold: 4
[ 1341.421] (II) event6 - ASUE140A:01 04F3:3134 Mouse: is tagged by udev as: Mouse
[ 1341.422] (II) event6 - ASUE140A:01 04F3:3134 Mouse: device is a pointer
[ 1341.423] (II) config/udev: Adding input device ASUE140A:01 04F3:3134 TouchPad (/dev/input/event7)
[ 1341.423] (**) ASUE140A:01 04F3:3134 TouchPad: Applying InputClass "libinput pointer catchall"
[ 1341.423] (**) ASUE140A:01 04F3:3134 TouchPad: Applying InputClass "libinput touchpad catchall"
[ 1341.423] (II) Using input driver 'libinput' for 'ASUE140A:01 04F3:3134 TouchPad'
[ 1341.423] (**) ASUE140A:01 04F3:3134 TouchPad: always reports core events
[ 1341.423] (**) Option "Device" "/dev/input/event7"
[ 1341.424] (II) event7 - ASUE140A:01 04F3:3134 TouchPad: is tagged by udev as: Mouse Touchpad
[ 1341.430] (II) event7 - ASUE140A:01 04F3:3134 TouchPad: device is a touchpad
[ 1341.430] (II) event7 - ASUE140A:01 04F3:3134 TouchPad: device removed
[ 1341.430] (II) libinput: ASUE140A:01 04F3:3134 TouchPad: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 1341.430] (II) libinput: ASUE140A:01 04F3:3134 TouchPad: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 1341.430] (II) libinput: ASUE140A:01 04F3:3134 TouchPad: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 1341.432] (**) Option "config_info" "udev:/dev/input/event7"
[ 1341.432] (II) XINPUT: Adding extended input device "ASUE140A:01 04F3:3134 TouchPad" (type: TOUCHPAD, id 12)
[ 1341.437] (**) Option "AccelerationScheme" "none"
[ 1341.437] (**) ASUE140A:01 04F3:3134 TouchPad: (accel) selected scheme none/0
[ 1341.437] (**) ASUE140A:01 04F3:3134 TouchPad: (accel) acceleration factor: 2.000
[ 1341.437] (**) ASUE140A:01 04F3:3134 TouchPad: (accel) acceleration threshold: 4
[ 1341.438] (II) event7 - ASUE140A:01 04F3:3134 TouchPad: is tagged by udev as: Mouse Touchpad
[ 1341.444] (II) event7 - ASUE140A:01 04F3:3134 TouchPad: device is a touchpad
 
Rich (BB code):
  <snap>
[  1340.630] (II) Loading /usr/local/lib/xorg/modules/extensions/libglxserver_nvidia.so
[  1340.709] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[  1340.709]     compiled for 1.6.99.901, module version = 1.0.0
[  1340.709]     Module class: X.Org Server Extension
[  1340.709] (II) NVIDIA GLX Module  550.120  Fri Sep 13 09:34:34 UTC 2024
[  1340.710] (II) NVIDIA: The X server supports PRIME Render Offload.
[  1341.271] (WW) NVIDIA: No DRM device: No direct render devices found.
[  1341.272] (II) NVIDIA(0): NVIDIA GPU NVIDIA GeForce MX350 (GP107-A) at PCI:1:0:0
[  1341.272] (II) NVIDIA(0):     (GPU-0)
[  1341.272] (--) NVIDIA(0): Memory: 2097152 kBytes
[  1341.272] (--) NVIDIA(0): VideoBIOS: 86.07.92.00.84
[  1341.272] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[  1341.272] (II) NVIDIA(0): Validated MetaModes:
[  1341.272] (II) NVIDIA(0):     "NULL"
[  1341.272] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[  1341.272] (WW) NVIDIA(0): Unable to get display device for DPI computation.
I'm not sure, but, based on your copied output, it looks like the Xorg driver cannot find the DRM device that should have been created by kldloading nividia-modeset.
The next warning says it can't find/detect any display device, such as a monitor.

It might also be that, in the case of your specific ASUS laptop, your Nvidia dGPU by default (or always) tries to send its video output to a connected external monitor (that's why I asked). However, I may not correctly interpret this log; unfortunately I don't have a functional Nvidia card on hand anymore.
 
If this can help, here is the Xorg log of a machine with a GTX 750 Ti.
[ 13.658]
X.Org X Server 1.21.1.14
X Protocol Version 11, Revision 0
[ 13.658] Current Operating System: FreeBSD FBS-K 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GENERIC amd64
[ 13.658]
[ 13.658] Current version of pixman: 0.42.2
[ 13.658] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 13.658] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 13.658] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan 7 21:23:38 2025
[ 13.659] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[ 13.659] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[ 13.660] (==) No Layout section. Using the first Screen section.
[ 13.660] (==) No screen section available. Using defaults.
[ 13.660] (**) |-->Screen "Default Screen Section" (0)
[ 13.660] (**) | |-->Monitor "<default monitor>"
[ 13.661] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 13.661] (**) | |-->Device "NVIDIA Card"
[ 13.661] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 13.661] (**) Allowing byte-swapped clients
[ 13.661] (==) Automatically adding devices
[ 13.661] (==) Automatically enabling devices
[ 13.661] (==) Automatically adding GPU devices
[ 13.661] (==) Automatically binding GPU devices
[ 13.661] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 13.666] (==) FontPath set to:
/usr/local/share/fonts/misc/,
/usr/local/share/fonts/TTF/,
/usr/local/share/fonts/OTF/,
/usr/local/share/fonts/Type1/,
/usr/local/share/fonts/100dpi/,
/usr/local/share/fonts/75dpi/,
catalogue:/usr/local/etc/X11/fontpath.d
[ 13.666] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[ 13.666] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 13.666] (II) Module ABI versions:
[ 13.666] X.Org ANSI C Emulation: 0.4
[ 13.666] X.Org Video Driver: 25.2
[ 13.666] X.Org XInput driver : 24.4
[ 13.666] X.Org Server Extension : 10.0
[ 13.668] (--) PCI: (0@0:2:0) 8086:0152:1462:2111 rev 9, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
[ 13.668] (--) PCI:*(1@0:0:0) 10de:1380:1569:1380 rev 162, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/65536
[ 13.668] (II) LoadModule: "glx"
[ 13.669] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 13.678] (II) Module glx: vendor="X.Org Foundation"
[ 13.678] compiled for 1.21.1.14, module version = 1.0.0
[ 13.678] ABI class: X.Org Server Extension, version 10.0
[ 13.678] (II) LoadModule: "nvidia"
[ 13.678] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[ 13.685] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 13.685] compiled for 1.6.99.901, module version = 1.0.0
[ 13.686] Module class: X.Org Video Driver
[ 13.687] (II) NVIDIA dlloader X Driver 550.127.05 Tue Oct 8 02:38:52 UTC 2024
[ 13.687] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 13.687] (--) Using syscons driver with X support (version 2.0)
[ 13.687] (++) using VT number 9

[ 13.701] (II) Loading sub module "fb"
[ 13.701] (II) LoadModule: "fb"
[ 13.701] (II) Module "fb" already built-in
[ 13.701] (II) Loading sub module "wfb"
[ 13.701] (II) LoadModule: "wfb"
[ 13.701] (II) Loading /usr/local/lib/xorg/modules/libwfb.so
[ 13.703] (II) Module wfb: vendor="X.Org Foundation"
[ 13.703] compiled for 1.21.1.14, module version = 1.0.0
[ 13.703] ABI class: X.Org ANSI C Emulation, version 0.4
[ 13.704] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 13.704] (II) NVIDIA(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 13.704] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 13.704] (==) NVIDIA(0): RGB weight 888
[ 13.704] (==) NVIDIA(0): Default visual is TrueColor
[ 13.704] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 13.704] (**) NVIDIA(0): Enabling 2D acceleration
[ 13.704] (II) Loading sub module "glxserver_nvidia"
[ 13.704] (II) LoadModule: "glxserver_nvidia"
[ 13.704] (II) Loading /usr/local/lib/xorg/modules/extensions/libglxserver_nvidia.so
[ 13.821] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[ 13.821] compiled for 1.6.99.901, module version = 1.0.0
[ 13.821] Module class: X.Org Server Extension
[ 13.821] (II) NVIDIA GLX Module 550.127.05 Tue Oct 8 02:36:44 UTC 2024
[ 13.822] (II) NVIDIA: The X server supports PRIME Render Offload.
[ 14.371] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[ 14.371] (--) NVIDIA(0): CRT-0 (boot)
[ 14.371] (--) NVIDIA(0): DFP-0
[ 14.371] (--) NVIDIA(0): DFP-1
[ 14.371] (--) NVIDIA(0): DFP-2
[ 14.372] (WW) NVIDIA: No DRM device: No direct render devices found.
[ 14.372] (II) NVIDIA(0): NVIDIA GPU NVIDIA GeForce GTX 750 Ti (GM107-A) at PCI:1:0:0
[ 14.372] (II) NVIDIA(0): (GPU-0)
[ 14.372] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 14.372] (--) NVIDIA(0): VideoBIOS: 82.07.55.00.1b
[ 14.372] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 14.394] (--) NVIDIA(GPU-0): Samsung S22B150 (CRT-0): connected
[ 14.394] (--) NVIDIA(GPU-0): Samsung S22B150 (CRT-0): 400.0 MHz maximum pixel clock
[ 14.394] (--) NVIDIA(GPU-0):
[ 14.405] (--) NVIDIA(GPU-0): DFP-0: disconnected
[ 14.405] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[ 14.405] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[ 14.405] (--) NVIDIA(GPU-0):
[ 14.406] (--) NVIDIA(GPU-0): DFP-1: disconnected
[ 14.406] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[ 14.406] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[ 14.406] (--) NVIDIA(GPU-0):
[ 14.407] (--) NVIDIA(GPU-0): DFP-2: disconnected
[ 14.407] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[ 14.407] (--) NVIDIA(GPU-0): DFP-2: 330.0 MHz maximum pixel clock
[ 14.407] (--) NVIDIA(GPU-0):
[ 14.409] (==) NVIDIA(0):
[ 14.409] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[ 14.409] (==) NVIDIA(0): will be used as the requested mode.
[ 14.409] (==) NVIDIA(0):
[ 14.409] (II) NVIDIA(0): Validated MetaModes:
[ 14.409] (II) NVIDIA(0): "CRT-0:nvidia-auto-select"
[ 14.409] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[ 14.413] (--) NVIDIA(0): DPI set to (101, 101); computed from "UseEdidDpi" X config
[ 14.413] (--) NVIDIA(0): option
[ 14.414] (II) NVIDIA: Reserving 6144.00 MB of virtual memory for indirect memory
[ 14.414] (II) NVIDIA: access.
[ 14.437] (II) NVIDIA(0): Setting mode "CRT-0:nvidia-auto-select"
[ 14.495] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 14.495] (==) NVIDIA(0): Backing store enabled
[ 14.495] (==) NVIDIA(0): Silken mouse enabled
[ 14.495] (==) NVIDIA(0): DPMS enabled
[ 14.496] (II) Loading sub module "dri2"
[ 14.496] (II) LoadModule: "dri2"
[ 14.496] (II) Module "dri2" already built-in
[ 14.496] (II) NVIDIA(0): [DRI2] Setup complete
[ 14.496] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 14.496] (II) Initializing extension Generic Event Extension
[ 14.496] (II) Initializing extension SHAPE
[ 14.496] (II) Initializing extension MIT-SHM
[ 14.496] (II) Initializing extension XInputExtension
[ 14.497] (II) Initializing extension XTEST
[ 14.497] (II) Initializing extension BIG-REQUESTS
[ 14.497] (II) Initializing extension SYNC
[ 14.497] (II) Initializing extension XKEYBOARD
[ 14.497] (II) Initializing extension XC-MISC
[ 14.497] (II) Initializing extension SECURITY
[ 14.497] (II) Initializing extension XFIXES
[ 14.497] (II) Initializing extension RENDER
[ 14.498] (II) Initializing extension RANDR
[ 14.498] (II) Initializing extension COMPOSITE
[ 14.498] (II) Initializing extension DAMAGE
[ 14.498] (II) Initializing extension MIT-SCREEN-SAVER
[ 14.498] (II) Initializing extension DOUBLE-BUFFER
[ 14.498] (II) Initializing extension RECORD
[ 14.498] (II) Initializing extension DPMS
[ 14.498] (II) Initializing extension Present
[ 14.499] (II) Initializing extension DRI3
[ 14.499] (II) Initializing extension X-Resource
[ 14.499] (II) Initializing extension XVideo
[ 14.499] (II) Initializing extension XVideo-MotionCompensation
[ 14.499] (II) Initializing extension GLX
[ 14.499] (II) Initializing extension GLX
[ 14.499] (II) Indirect GLX disabled.
[ 14.499] (II) GLX: Another vendor is already registered for screen 0
[ 14.499] (II) Initializing extension XFree86-VidModeExtension
[ 14.499] (II) Initializing extension XFree86-DGA
[ 14.499] (II) Initializing extension XFree86-DRI
[ 14.499] (II) Initializing extension DRI2
[ 14.500] (II) Initializing extension NV-GLX
[ 14.500] (II) Initializing extension NV-CONTROL
[ 14.500] (II) Initializing extension XINERAMA
[ 14.586] (II) config/udev: Adding input device System keyboard multiplexer (/dev/input/event0)
[ 14.587] (**) System keyboard multiplexer: Applying InputClass "Evdev keyboard"
[ 14.587] (**) System keyboard multiplexer: Applying InputClass "libinput keyboard catchall"
[ 14.587] (**) System keyboard multiplexer: Applying InputClass "KeyboardDefaults"
[ 14.587] (II) LoadModule: "libinput"
[ 14.587] (II) Loading /usr/local/lib/xorg/modules/input/libinput_drv.so
[ 14.606] (II) Module libinput: vendor="X.Org Foundation"
[ 14.606] compiled for 1.21.1.11, module version = 1.3.0
[ 14.606] Module class: X.Org XInput Driver
[ 14.606] ABI class: X.Org XInput driver, version 24.4
[ 14.606] (II) Using input driver 'libinput' for 'System keyboard multiplexer'
[ 14.606] (**) System keyboard multiplexer: always reports core events
[ 14.606] (**) Option "Device" "/dev/input/event0"
[ 14.617] (II) event0 - System keyboard multiplexer: is tagged by udev as: Keyboard
[ 14.618] (II) event0 - System keyboard multiplexer: device is a keyboard
[ 14.619] (II) event0 - System keyboard multiplexer: device removed
[ 14.619] (**) Option "config_info" "udev:/dev/input/event0"
[ 14.619] (II) XINPUT: Adding extended input device "System keyboard multiplexer" (type: KEYBOARD, id 6)
[ 14.619] (**) Option "xkb_rules" "evdev"
[ 14.619] (**) Option "xkb_layout" "fr"
[ 14.619] (**) Option "xkb_variant" "oss"
[ 14.641] (II) event0 - System keyboard multiplexer: is tagged by udev as: Keyboard
[ 14.641] (II) event0 - System keyboard multiplexer: device is a keyboard
[ 14.642] (II) config/udev: Adding input device System mouse (/dev/input/event1)
[ 14.642] (**) System mouse: Applying InputClass "libinput pointer catchall"
[ 14.642] (II) Using input driver 'libinput' for 'System mouse'
[ 14.642] (**) System mouse: always reports core events
[ 14.642] (**) Option "Device" "/dev/input/event1"
[ 14.643] (II) event1 - System mouse: is tagged by udev as: Mouse
[ 14.644] (II) event1 - System mouse: device is a pointer
[ 14.645] (II) event1 - System mouse: device removed
[ 14.645] (II) libinput: System mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 14.645] (II) libinput: System mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 14.645] (II) libinput: System mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 14.645] (**) Option "config_info" "udev:/dev/input/event1"
[ 14.645] (II) XINPUT: Adding extended input device "System mouse" (type: MOUSE, id 7)
[ 14.645] (**) Option "AccelerationScheme" "none"
[ 14.645] (**) System mouse: (accel) selected scheme none/0
[ 14.645] (**) System mouse: (accel) acceleration factor: 2.000
[ 14.645] (**) System mouse: (accel) acceleration threshold: 4
[ 14.646] (II) event1 - System mouse: is tagged by udev as: Mouse
[ 14.647] (II) event1 - System mouse: device is a pointer
[ 14.648] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 14.648] (**) Power Button: Applying InputClass "Evdev keyboard"
[ 14.648] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 14.648] (**) Power Button: Applying InputClass "KeyboardDefaults"
[ 14.648] (II) Using input driver 'libinput' for 'Power Button'
[ 14.648] (**) Power Button: always reports core events
[ 14.648] (**) Option "Device" "/dev/input/event2"
[ 14.649] (II) event2 - Power Button: is tagged by udev as: Keyboard
[ 14.649] (II) event2 - Power Button: device is a keyboard
[ 14.650] (II) event2 - Power Button: device removed
[ 14.650] (**) Option "config_info" "udev:/dev/input/event2"
[ 14.650] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[ 14.650] (**) Option "xkb_rules" "evdev"
[ 14.650] (**) Option "xkb_layout" "fr"
[ 14.650] (**) Option "xkb_variant" "oss"
[ 14.651] (II) event2 - Power Button: is tagged by udev as: Keyboard
[ 14.651] (II) event2 - Power Button: device is a keyboard
[ 14.652] (II) config/udev: Adding input device AT keyboard (/dev/input/event3)
[ 14.652] (**) AT keyboard: Applying InputClass "Evdev keyboard"
[ 14.652] (**) AT keyboard: Applying InputClass "libinput keyboard catchall"
[ 14.652] (**) AT keyboard: Applying InputClass "KeyboardDefaults"
[ 14.652] (II) Using input driver 'libinput' for 'AT keyboard'
[ 14.652] (**) AT keyboard: always reports core events
[ 14.652] (**) Option "Device" "/dev/input/event3"
[ 14.653] (II) event3 - AT keyboard: is tagged by udev as: Keyboard
[ 14.654] (II) event3 - AT keyboard: device is a keyboard
[ 14.656] (II) event3 - AT keyboard: device removed
[ 14.656] (**) Option "config_info" "udev:/dev/input/event3"
[ 14.656] (II) XINPUT: Adding extended input device "AT keyboard" (type: KEYBOARD, id 9)
[ 14.656] (**) Option "xkb_rules" "evdev"
[ 14.656] (**) Option "xkb_layout" "fr"
[ 14.656] (**) Option "xkb_variant" "oss"
[ 14.657] (II) event3 - AT keyboard: is tagged by udev as: Keyboard
[ 14.657] (II) event3 - AT keyboard: device is a keyboard
[ 14.659] (II) config/udev: Adding input device vendor 0x0461 USB Optical Mouse (/dev/input/event4)
[ 14.659] (**) vendor 0x0461 USB Optical Mouse: Applying InputClass "libinput pointer catchall"
[ 14.660] (II) Using input driver 'libinput' for 'vendor 0x0461 USB Optical Mouse'
[ 14.660] (**) vendor 0x0461 USB Optical Mouse: always reports core events
[ 14.660] (**) Option "Device" "/dev/input/event4"
[ 14.661] (II) event4 - vendor 0x0461 USB Optical Mouse, class 0/0, rev 2.00/2.00, addr 3: is tagged by udev as: Mouse
[ 14.661] (II) event4 - vendor 0x0461 USB Optical Mouse, class 0/0, rev 2.00/2.00, addr 3: device is a pointer
[ 14.663] (II) event4 - vendor 0x0461 USB Optical Mouse, class 0/0, rev 2.00/2.00, addr 3: device removed
[ 14.663] (II) libinput: vendor 0x0461 USB Optical Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 14.663] (II) libinput: vendor 0x0461 USB Optical Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 14.663] (II) libinput: vendor 0x0461 USB Optical Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 14.663] (**) Option "config_info" "udev:/dev/input/event4"
[ 14.663] (II) XINPUT: Adding extended input device "vendor 0x0461 USB Optical Mouse" (type: MOUSE, id 10)
[ 14.663] (**) Option "AccelerationScheme" "none"
[ 14.663] (**) vendor 0x0461 USB Optical Mouse: (accel) selected scheme none/0
[ 14.663] (**) vendor 0x0461 USB Optical Mouse: (accel) acceleration factor: 2.000
[ 14.663] (**) vendor 0x0461 USB Optical Mouse: (accel) acceleration threshold: 4
[ 14.664] (II) event4 - vendor 0x0461 USB Optical Mouse, class 0/0, rev 2.00/2.00, addr 3: is tagged by udev as: Mouse
[ 14.665] (II) event4 - vendor 0x0461 USB Optical Mouse, class 0/0, rev 2.00/2.00, addr 3: device is a pointer
The nvidia-driver comes directly from the latest repo. It wasn't compiled on this machine. The nvidia kernel modules do not seem to be sensitive to that (unlike drm-xx-kmod and others).

I would say, it looks like that no monitor is detected.
 
Back
Top