Zenbook UM433I installing nvidia driver

kldload nvidia-modeset does load the driver!

So, why does the X aerver refuse to start?
It looks like it doesn't get loaded at boot, I suspected an issue with kernel versions or something similar. But if you can load it by hand then it should also load at boot. So the question now becomes, why doesn't kld_list="nvidia-modeset" load it?
 
Have you tried to launch 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 ?
 
Last edited:
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...
 
xauth: error in locking authority file /root/ .Xauthority
This error doesn't seem to relate to a driver problem as before.

Don't start X under the root user.
Delete the file .Xauthority if you still get this error with a normal user (should be in /home/username/).
 
@Emiron
I started X under my user name, still black screen. Removing .Xauthority from my home directory didn't help either.
 
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.
 
I agree, probably no monitor detected. Would it help to add a screen and monitor section in xorg.conf.d? But with which values other than the default...?
 
You may try x11/nvidia-xconfig. Deactivate all your config Xorg .conf files before (just change the extention .conf to another thing, i.e add .off at the end of the name).
If this doesn't work remove the xorg.conf file nvidia-xconfig added.
 
@Emiron
I tried 'Xorg -config'. However, it tries out all kind of drivers (including modeset) but does not find the right one, see Xorg.1.log

[ 112.317]
X.Org X Server 1.21.1.14
X Protocol Version 11, Revision 0
[ 112.317] Current Operating System: FreeBSD Asus-Laptop-Martin 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GENERIC amd64
[ 112.317]
[ 112.317] Current version of pixman: 0.42.2
[ 112.317] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 112.317] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 112.317] (==) Log file: "/var/log/Xorg.1.log", Time: Tue Sep 14 20:51:56 2021
[ 112.318] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[ 112.318] (==) No Layout section. Using the first Screen section.
[ 112.318] (==) No screen section available. Using defaults.
[ 112.318] (**) |-->Screen "Default Screen Section" (0)
[ 112.318] (**) | |-->Monitor "<default monitor>"
[ 112.319] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 112.319] (**) Allowing byte-swapped clients
[ 112.319] (==) Automatically adding devices
[ 112.319] (==) Automatically enabling devices
[ 112.319] (==) Automatically adding GPU devices
[ 112.319] (==) Automatically binding GPU devices
[ 112.319] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 112.319] (==) 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
[ 112.319] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[ 112.319] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 112.319] (II) Module ABI versions:
[ 112.319] X.Org ANSI C Emulation: 0.4
[ 112.319] X.Org Video Driver: 25.2
[ 112.319] X.Org XInput driver : 24.4
[ 112.319] X.Org Server Extension : 10.0
[ 112.324] (--) PCI: (1@0:0:0) 10de:1c96:1043:1092 rev 161, Mem @ 0xfb000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x0000f000/128
[ 112.324] (--) 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
[ 112.324] (II) LoadModule: "glx"
[ 112.324] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 112.333] (II) Module glx: vendor="X.Org Foundation"
[ 112.333] compiled for 1.21.1.14, module version = 1.0.0
[ 112.333] ABI class: X.Org Server Extension, version 10.0
[ 112.333] (==) Matched ati as autoconfigured driver 0
[ 112.333] (==) Matched modesetting as autoconfigured driver 1
[ 112.333] (==) Matched scfb as autoconfigured driver 2
[ 112.333] (==) Matched vesa as autoconfigured driver 3
[ 112.333] (==) Assigned the driver to the xf86ConfigLayout
[ 112.333] (II) LoadModule: "ati"
[ 112.333] (WW) Warning, couldn't open module ati
[ 112.333] (EE) Failed to load module "ati" (module does not exist, 0)
[ 112.333] (II) LoadModule: "modesetting"
[ 112.334] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[ 112.334] (II) Module modesetting: vendor="X.Org Foundation"
[ 112.334] compiled for 1.21.1.14, module version = 1.21.1
[ 112.334] Module class: X.Org Video Driver
[ 112.334] ABI class: X.Org Video Driver, version 25.2
[ 112.334] (II) LoadModule: "scfb"
[ 112.334] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
[ 112.334] (II) Module scfb: vendor="X.Org Foundation"
[ 112.334] compiled for 1.21.1.14, module version = 0.0.5
[ 112.334] ABI class: X.Org Video Driver, version 25.2
[ 112.334] (II) LoadModule: "vesa"
[ 112.334] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[ 112.335] (II) Module vesa: vendor="X.Org Foundation"
[ 112.335] compiled for 1.21.1.14, module version = 2.5.0
[ 112.335] Module class: X.Org Video Driver
[ 112.335] ABI class: X.Org Video Driver, version 25.2
[ 112.335] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 112.335] (II) scfb: driver for wsdisplay framebuffer: scfb
[ 112.335] (II) VESA: driver for VESA chipsets: vesa
[ 112.335] (--) Using syscons driver with X support (version 2.0)
[ 112.335] (--) using VT number 9

[ 112.336] (EE) open /dev/dri/card0: No such file or directory
[ 112.336] (WW) Falling back to old probe method for modesetting
[ 112.336] (EE) open /dev/dri/card0: No such file or directory
[ 112.336] (WW) Falling back to old probe method for scfb
[ 112.336] scfb trace: probe start
[ 112.336] (II) scfb(1): using default device
[ 112.336] scfb trace: probe done
[ 112.336] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 112.336] (EE) Screen 0 deleted because of no matching config section.
[ 112.336] (II) UnloadModule: "modesetting"
[ 112.336] (EE)
Fatal server error:
[ 112.336] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
[ 112.336] (EE)
[ 112.336] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 112.336] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[ 112.336] (EE)
[ 112.338] (EE) Server terminated with error (1). Closing log file.
 
I still get a black screen after starting the X server (executing startx as a normal user). Therefore I checked the /var/log/Xorg.0.log file again. It says:

[ 26.805] (II) GLX: Another vendor is already registered for screen 0

Is it possible, that the iGPU (AMD Renoir of Ryzen 4700U) is already occupying screen0 ? Thus, a conflict between iGPU and dGPU for screen0 exists?
The nvidia driver is loaded (kldstat -m nvidia-modeset). Xorg.0.log shows that the correct graphics card (GeForce MX350/ GP107M) was detected, values for all parameters are set.
I added a conf file 'screen.conf' (see below) in the directory /usr/local/etc/X11/xorg.conf.d, which did however not help (still black screen after starting X). How can I register screen0 for Card0 (dGPU)?



/var/log(Xorg.0.log

[ 26.122]
X.Org X Server 1.21.1.14
X Protocol Version 11, Revision 0
[ 26.122] Current Operating System: FreeBSD Asus-Laptop 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GENERIC amd64
[ 26.122]
[ 26.122] Current version of pixman: 0.42.2
[ 26.122] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 26.122] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 26.122] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Sep 15 03:37:24 2021
[ 26.123] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[ 26.123] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[ 26.124] (==) No Layout section. Using the first Screen section.
[ 26.124] (**) |-->Screen "Screen0" (0)
[ 26.124] (**) | |-->Monitor "<default monitor>"
[ 26.125] (**) | |-->Device "Card0"
[ 26.125] (==) No monitor specified for screen "Screen0".
Using a default monitor configuration.
[ 26.125] (**) Allowing byte-swapped clients
[ 26.125] (==) Automatically adding devices
[ 26.125] (==) Automatically enabling devices
[ 26.125] (==) Automatically adding GPU devices
[ 26.125] (==) Automatically binding GPU devices
[ 26.126] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 26.130] (==) 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
[ 26.130] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[ 26.130] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 26.130] (II) Module ABI versions:
[ 26.130] X.Org ANSI C Emulation: 0.4
[ 26.130] X.Org Video Driver: 25.2
[ 26.130] X.Org XInput driver : 24.4
[ 26.130] X.Org Server Extension : 10.0
[ 26.135] (--) PCI: (1@0:0:0) 10de:1c96:1043:1092 rev 161, Mem @ 0xfb000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x0000f000/128
[ 26.136] (--) 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
[ 26.136] (II) LoadModule: "glx"
[ 26.136] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 26.144] (II) Module glx: vendor="X.Org Foundation"
[ 26.144] compiled for 1.21.1.14, module version = 1.0.0
[ 26.144] ABI class: X.Org Server Extension, version 10.0
[ 26.144] (II) LoadModule: "nvidia"
[ 26.144] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[ 26.149] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 26.149] compiled for 1.6.99.901, module version = 1.0.0
[ 26.149] Module class: X.Org Video Driver
[ 26.149] (II) NVIDIA dlloader X Driver 550.120 Fri Sep 13 09:34:46 UTC 2024
[ 26.149] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 26.150] (--) Using syscons driver with X support (version 2.0)
[ 26.150] (--) using VT number 9

[ 26.152] (II) Loading sub module "fb"
[ 26.152] (II) LoadModule: "fb"
[ 26.152] (II) Module "fb" already built-in
[ 26.152] (II) Loading sub module "wfb"
[ 26.152] (II) LoadModule: "wfb"
[ 26.153] (II) Loading /usr/local/lib/xorg/modules/libwfb.so
[ 26.153] (II) Module wfb: vendor="X.Org Foundation"
[ 26.153] compiled for 1.21.1.14, module version = 1.0.0
[ 26.153] ABI class: X.Org ANSI C Emulation, version 0.4
[ 26.154] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 26.154] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 26.154] (==) NVIDIA(0): RGB weight 888
[ 26.154] (==) NVIDIA(0): Default visual is TrueColor
[ 26.154] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 26.154] (**) NVIDIA(0): Enabling 2D acceleration
[ 26.155] (II) Loading sub module "glxserver_nvidia"
[ 26.155] (II) LoadModule: "glxserver_nvidia"
[ 26.155] (II) Loading /usr/local/lib/xorg/modules/extensions/libglxserver_nvidia.so
[ 26.233] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[ 26.233] compiled for 1.6.99.901, module version = 1.0.0
[ 26.234] Module class: X.Org Server Extension
[ 26.234] (II) NVIDIA GLX Module 550.120 Fri Sep 13 09:34:34 UTC 2024
[ 26.234] (II) NVIDIA: The X server supports PRIME Render Offload.
[ 26.779] (WW) NVIDIA: No DRM device: No direct render devices found.
[ 26.779] (II) NVIDIA(0): NVIDIA GPU NVIDIA GeForce MX350 (GP107-A) at PCI:1:0:0
[ 26.779] (II) NVIDIA(0): (GPU-0)
[ 26.779] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 26.779] (--) NVIDIA(0): VideoBIOS: 86.07.92.00.84
[ 26.779] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 26.779] (II) NVIDIA(0): Validated MetaModes:
[ 26.779] (II) NVIDIA(0): "NULL"
[ 26.779] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 26.779] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 26.779] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 26.780] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[ 26.780] (II) NVIDIA: access.
[ 26.798] (II) NVIDIA(0): Setting mode "NULL"
[ 26.802] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 26.802] (==) NVIDIA(0): Backing store enabled
[ 26.802] (==) NVIDIA(0): Silken mouse enabled
[ 26.802] (==) NVIDIA(0): DPMS enabled
[ 26.802] (II) Loading sub module "dri2"
[ 26.802] (II) LoadModule: "dri2"
[ 26.802] (II) Module "dri2" already built-in
[ 26.802] (II) NVIDIA(0): [DRI2] Setup complete
[ 26.802] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 26.802] (II) Initializing extension Generic Event Extension
[ 26.802] (II) Initializing extension SHAPE
[ 26.802] (II) Initializing extension MIT-SHM
[ 26.803] (II) Initializing extension XInputExtension
[ 26.803] (II) Initializing extension XTEST
[ 26.803] (II) Initializing extension BIG-REQUESTS
[ 26.803] (II) Initializing extension SYNC
[ 26.803] (II) Initializing extension XKEYBOARD
[ 26.803] (II) Initializing extension XC-MISC
[ 26.803] (II) Initializing extension SECURITY
[ 26.803] (II) Initializing extension XFIXES
[ 26.804] (II) Initializing extension RENDER
[ 26.804] (II) Initializing extension RANDR
[ 26.804] (II) Initializing extension COMPOSITE
[ 26.804] (II) Initializing extension DAMAGE
[ 26.804] (II) Initializing extension MIT-SCREEN-SAVER
[ 26.804] (II) Initializing extension DOUBLE-BUFFER
[ 26.804] (II) Initializing extension RECORD
[ 26.804] (II) Initializing extension DPMS
[ 26.804] (II) Initializing extension Present
[ 26.804] (II) Initializing extension DRI3
[ 26.804] (II) Initializing extension X-Resource
[ 26.805] (II) Initializing extension XVideo
[ 26.805] (II) Initializing extension XVideo-MotionCompensation
[ 26.805] (II) Initializing extension GLX
[ 26.805] (II) Initializing extension GLX
[ 26.805] (II) Indirect GLX disabled.
[ 26.805] (II) GLX: Another vendor is already registered for screen 0
[ 26.805] (II) Initializing extension XFree86-VidModeExtension
[ 26.805] (II) Initializing extension XFree86-DGA
[ 26.805] (II) Initializing extension XFree86-DRI
[ 26.805] (II) Initializing extension DRI2
[ 26.805] (II) Initializing extension NV-GLX
[ 26.805] (II) Initializing extension NV-CONTROL
[ 26.866] (II) config/udev: Adding input device System keyboard multiplexer (/dev/input/event0)
[ 26.866] (**) System keyboard multiplexer: Applying InputClass "Evdev keyboard"
[ 26.866] (**) System keyboard multiplexer: Applying InputClass "libinput keyboard catchall"
[ 26.866] (II) LoadModule: "libinput"
[ 26.866] (II) Loading /usr/local/lib/xorg/modules/input/libinput_drv.so
[ 26.876] (II) Module libinput: vendor="X.Org Foundation"
[ 26.876] compiled for 1.21.1.14, module version = 1.3.0
[ 26.876] Module class: X.Org XInput Driver
[ 26.876] ABI class: X.Org XInput driver, version 24.4
[ 26.876] (II) Using input driver 'libinput' for 'System keyboard multiplexer'
[ 26.876] (**) System keyboard multiplexer: always reports core events
[ 26.876] (**) Option "Device" "/dev/input/event0"
[ 26.883] (II) event0 - System keyboard multiplexer: is tagged by udev as: Keyboard
[ 26.884] (II) event0 - System keyboard multiplexer: device is a keyboard
[ 26.885] (II) event0 - System keyboard multiplexer: device removed
[ 26.885] (**) Option "config_info" "udev:/dev/input/event0"
[ 26.885] (II) XINPUT: Adding extended input device "System keyboard multiplexer" (type: KEYBOARD, id 6)
[ 26.885] (**) Option "xkb_rules" "evdev"
[ 26.904] (II) event0 - System keyboard multiplexer: is tagged by udev as: Keyboard
[ 26.904] (II) event0 - System keyboard multiplexer: device is a keyboard
[ 26.905] (II) config/udev: Adding input device System mouse (/dev/input/event1)
[ 26.905] (**) System mouse: Applying InputClass "libinput pointer catchall"
[ 26.905] (II) Using input driver 'libinput' for 'System mouse'
[ 26.905] (**) System mouse: always reports core events
[ 26.905] (**) Option "Device" "/dev/input/event1"
[ 26.906] (II) event1 - System mouse: is tagged by udev as: Mouse
[ 26.907] (II) event1 - System mouse: device is a pointer
[ 26.907] (II) event1 - System mouse: device removed
[ 26.908] (II) libinput: System mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 26.908] (II) libinput: System mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 26.908] (II) libinput: System mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 26.908] (**) Option "config_info" "udev:/dev/input/event1"
[ 26.908] (II) XINPUT: Adding extended input device "System mouse" (type: MOUSE, id 7)
[ 26.908] (**) Option "AccelerationScheme" "none"
[ 26.908] (**) System mouse: (accel) selected scheme none/0
[ 26.908] (**) System mouse: (accel) acceleration factor: 2.000
[ 26.908] (**) System mouse: (accel) acceleration threshold: 4
[ 26.909] (II) event1 - System mouse: is tagged by udev as: Mouse
[ 26.909] (II) event1 - System mouse: device is a pointer
[ 26.910] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 26.910] (**) Power Button: Applying InputClass "Evdev keyboard"
[ 26.910] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 26.910] (II) Using input driver 'libinput' for 'Power Button'
[ 26.910] (**) Power Button: always reports core events
[ 26.910] (**) Option "Device" "/dev/input/event2"
[ 26.911] (II) event2 - Power Button: is tagged by udev as: Keyboard
[ 26.911] (II) event2 - Power Button: device is a keyboard
[ 26.912] (II) event2 - Power Button: device removed
[ 26.912] (**) Option "config_info" "udev:/dev/input/event2"
[ 26.912] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[ 26.912] (**) Option "xkb_rules" "evdev"
[ 26.913] (II) event2 - Power Button: is tagged by udev as: Keyboard
[ 26.913] (II) event2 - Power Button: device is a keyboard
[ 26.914] (II) config/udev: Adding input device AT keyboard (/dev/input/event3)
[ 26.914] (**) AT keyboard: Applying InputClass "Evdev keyboard"
[ 26.914] (**) AT keyboard: Applying InputClass "libinput keyboard catchall"
[ 26.914] (II) Using input driver 'libinput' for 'AT keyboard'
[ 26.914] (**) AT keyboard: always reports core events
[ 26.914] (**) Option "Device" "/dev/input/event3"
[ 26.914] (II) event3 - AT keyboard: is tagged by udev as: Keyboard
[ 26.915] (II) event3 - AT keyboard: device is a keyboard
[ 26.917] (II) event3 - AT keyboard: device removed
[ 26.917] (**) Option "config_info" "udev:/dev/input/event3"
[ 26.917] (II) XINPUT: Adding extended input device "AT keyboard" (type: KEYBOARD, id 9)
[ 26.917] (**) Option "xkb_rules" "evdev"
[ 26.918] (II) event3 - AT keyboard: is tagged by udev as: Keyboard
[ 26.918] (II) event3 - AT keyboard: device is a keyboard
[ 26.920] (II) config/udev: Adding input device Control Method Lid Switch (/dev/input/event4)
[ 26.920] (II) No input driver specified, ignoring this device.
[ 26.920] (II) This device may have been added with another device file.
[ 26.920] (II) config/udev: Adding input device ASUE140A:01 04F3:3134 Keyboard (/dev/input/event5)
[ 26.920] (**) ASUE140A:01 04F3:3134 Keyboard: Applying InputClass "Evdev keyboard"
[ 26.920] (**) ASUE140A:01 04F3:3134 Keyboard: Applying InputClass "libinput keyboard catchall"
[ 26.920] (II) Using input driver 'libinput' for 'ASUE140A:01 04F3:3134 Keyboard'
[ 26.920] (**) ASUE140A:01 04F3:3134 Keyboard: always reports core events
[ 26.920] (**) Option "Device" "/dev/input/event5"
[ 26.921] (II) event5 - ASUE140A:01 04F3:3134 Keyboard: is tagged by udev as: Keyboard
[ 26.921] (II) event5 - ASUE140A:01 04F3:3134 Keyboard: device is a keyboard
[ 26.922] (II) event5 - ASUE140A:01 04F3:3134 Keyboard: device removed
[ 26.922] (**) Option "config_info" "udev:/dev/input/event5"
[ 26.922] (II) XINPUT: Adding extended input device "ASUE140A:01 04F3:3134 Keyboard" (type: KEYBOARD, id 10)
[ 26.922] (**) Option "xkb_rules" "evdev"
[ 26.923] (II) event5 - ASUE140A:01 04F3:3134 Keyboard: is tagged by udev as: Keyboard
[ 26.923] (II) event5 - ASUE140A:01 04F3:3134 Keyboard: device is a keyboard
[ 26.925] (II) config/udev: Adding input device ASUE140A:01 04F3:3134 Mouse (/dev/input/event6)
[ 26.925] (**) ASUE140A:01 04F3:3134 Mouse: Applying InputClass "libinput pointer catchall"
[ 26.925] (II) Using input driver 'libinput' for 'ASUE140A:01 04F3:3134 Mouse'
[ 26.925] (**) ASUE140A:01 04F3:3134 Mouse: always reports core events
[ 26.925] (**) Option "Device" "/dev/input/event6"
[ 26.926] (II) event6 - ASUE140A:01 04F3:3134 Mouse: is tagged by udev as: Mouse
[ 26.926] (II) event6 - ASUE140A:01 04F3:3134 Mouse: device is a pointer
[ 26.927] (II) event6 - ASUE140A:01 04F3:3134 Mouse: device removed
[ 26.927] (II) libinput: ASUE140A:01 04F3:3134 Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 26.927] (II) libinput: ASUE140A:01 04F3:3134 Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 26.927] (II) libinput: ASUE140A:01 04F3:3134 Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 26.927] (**) Option "config_info" "udev:/dev/input/event6"
[ 26.927] (II) XINPUT: Adding extended input device "ASUE140A:01 04F3:3134 Mouse" (type: MOUSE, id 11)
[ 26.927] (**) Option "AccelerationScheme" "none"
[ 26.927] (**) ASUE140A:01 04F3:3134 Mouse: (accel) selected scheme none/0
[ 26.927] (**) ASUE140A:01 04F3:3134 Mouse: (accel) acceleration factor: 2.000
[ 26.927] (**) ASUE140A:01 04F3:3134 Mouse: (accel) acceleration threshold: 4
[ 26.928] (II) event6 - ASUE140A:01 04F3:3134 Mouse: is tagged by udev as: Mouse
[ 26.929] (II) event6 - ASUE140A:01 04F3:3134 Mouse: device is a pointer
[ 26.930] (II) config/udev: Adding input device ASUE140A:01 04F3:3134 TouchPad (/dev/input/event7)
[ 26.930] (**) ASUE140A:01 04F3:3134 TouchPad: Applying InputClass "libinput pointer catchall"
[ 26.930] (**) ASUE140A:01 04F3:3134 TouchPad: Applying InputClass "libinput touchpad catchall"
[ 26.930] (II) Using input driver 'libinput' for 'ASUE140A:01 04F3:3134 TouchPad'
[ 26.930] (**) ASUE140A:01 04F3:3134 TouchPad: always reports core events
[ 26.930] (**) Option "Device" "/dev/input/event7"
[ 26.931] (II) event7 - ASUE140A:01 04F3:3134 TouchPad: is tagged by udev as: Mouse Touchpad
[ 26.937] (II) event7 - ASUE140A:01 04F3:3134 TouchPad: device is a touchpad
[ 26.937] (II) event7 - ASUE140A:01 04F3:3134 TouchPad: device removed
[ 26.937] (II) libinput: ASUE140A:01 04F3:3134 TouchPad: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 26.937] (II) libinput: ASUE140A:01 04F3:3134 TouchPad: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 26.937] (II) libinput: ASUE140A:01 04F3:3134 TouchPad: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 26.938] (**) Option "config_info" "udev:/dev/input/event7"
[ 26.938] (II) XINPUT: Adding extended input device "ASUE140A:01 04F3:3134 TouchPad" (type: TOUCHPAD, id 12)
[ 26.943] (**) Option "AccelerationScheme" "none"
[ 26.943] (**) ASUE140A:01 04F3:3134 TouchPad: (accel) selected scheme none/0
[ 26.943] (**) ASUE140A:01 04F3:3134 TouchPad: (accel) acceleration factor: 2.000
[ 26.943] (**) ASUE140A:01 04F3:3134 TouchPad: (accel) acceleration threshold: 4
[ 26.944] (II) event7 - ASUE140A:01 04F3:3134 TouchPad: is tagged by udev as: Mouse Touchpad
[ 26.950] (II) event7 - ASUE140A:01 04F3:3134 TouchPad: device is a touchpad



screen.conf

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
SubSection "Display"
Modes "1024x768"
EndSubSection
EndSection



nvidia-driver.conf

Section "Device"
Identifier "Card0"
VendorName "NVIDIA Corporation"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection
 
Please consider using the appropriate formatting for "code" sections, that is for your (long) Xorg log output. When not-formatted the message real estate is always very long; I imagine this to be cumbersome, especially on mobile devices.

You have the following options for including long sections of output:
  1. use [CODE] - Programming code display - like here
    The maximum shown text is limited and creates a slider in a pane inside the message.
  2. use [SPOILER] - Text containing spoilers - like here in this thread
  3. use of an external text bin (disappears after some time):
    cat /var/log/Xorg.0.log | nc termbin.com 9999 - post the resulting url.
For the last option you need an internet connection when you issue the command; if you don't have an internet connection on your FreeBSD system a spoiler would seem appropriate.
 
Thanks for this hint, I didn't known the different format options before. Though I have been reading many threads so far, this is actually my first own thread.
I have been running FreeBSD on two other machines, but both without iGPU. For desktops and laptops two GPUs (iGPU and dGPU) is a general problem. Therefore this thread might also be interesting for quite a number of other people, I thought. And I hoped that my problem must actually be known and already be solved by someone else...
 
I have been running FreeBSD on two other machines, but both without iGPU. For desktops and laptops two GPUs (iGPU and dGPU) is a general problem.
I don't think so since I and many people have both GPU and we run Xorg successfully. The problem is probably the model of your laptop.
 
How do your conf files in /usr/local/etc/X11/xorg.conf.d look like?

Is there something different in your rc.config?
 
How do your conf files in /usr/local/etc/X11/xorg.conf.d look like?

Is there something different in your rc.config?
Nothing fancy:
% ls /usr/local/etc/X11/xorg.conf.d/
clavier.conf video.conf
% cat /usr/local/etc/X11/xorg.conf.d/video.conf
Section "Device"
Identifier "NVIDIA Card"
VendorName "NVIDIA Corporation"
Driver "nvidia"
EndSection


There is nothing specific in my /etc/rc.conf besides:
kld_list="nvidia-modeset fusefs"
slim_enable="YES"
dbus_enable="YES"

Note that I have a desktop and not a laptop. As you can see in my Xorg log, the video ports are identified (though there are only two video connectors) and the monitor recognized.
 
Yes. Try it. Deinstall nvidia-driver and install nvidia-drm-kmod. Change the module to load to nvidia-drm in /etc/rc.conf, add the setting hw.nvidiadrm.modeset=1 in /boot/loader.conf and delete all .conf in Xorg.

You have nothing to lose.

By the way, can't you connect an external monitor?
 
Back
Top