Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2022 15:36:03 +1000
From:      Graham Menhennitt <graham@menhennitt.com.au>
To:        freebsd-x11@freebsd.org
Subject:   can't get NVIDIA driver working
Message-ID:  <d2cbb1cb-5aff-04ad-8c7c-aff3bdd47a16@menhennitt.com.au>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------0aH0AzzAr5Anp427ODFZaDgz
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Hello FreeBSD-X11 people,

I've just installed 13.1-Release on an AMD-64 machine with an GeForce 
GT545 card. Xorg starts ok but it it doesn't seem to recognise the 
NVIDIA driver and so I only get VGA resolution. I'd like some help 
getting the higher resolution and acceleration from the driver, please.

After a basic FreeBSD installation, I've done:

     pkg install xorg kde5 sddm nvidia-driver-390

In rc.conf, I loaded the nvidia driver and started sddm. I then 
rebooted. The system comes up and starts sddm but at only 1024 x 768 
resolution.

See below for the output from nvidia-debugdump, nvidia-smi, kldstat. 
Also, the relevant sections from rc.conf and the contents of 
/var/log/Xorg.0.log.

I suspect the following lines from the log file might be relevant but I 
don't know what to do about them.

     [    22.484] (!!) More than one possible primary device found
     [    22.484] (--) PCI: (16@0:0:0) 10de:1243:1462:2315 rev 161, Mem 
@ 0xfa000000/33554432, 0xd8000000/134217728, 0xe0000000/67108864, I/O @ 
0x0000f000/128, BIOS @ 0x????????/65536
     [    22.484] (--) PCI: (48@0:0:0) 1002:1638:1002:1636 rev 201, Mem 
@ 0xc0000000/268435456, 0xd0000000/2097152, 0xfc500000/524288, I/O @ 
0x0000e000/256, BIOS @ 0x????????/65536

I've tried forcing the NVIDIA driver to be used by adding a section to 
/usr/local/etc/X11/xorg.conf.d/driver-nvidia.conf:

Section "Device"
	Identifier "Card0"
	Driver     "nvidia"
	# BusID    "PCI:0:0:0"
EndSection

But that causes it not to find any devices and, hence, X not to start - 
see below after the lines "Xorg.0.log after adding section to Xorg.conf".


I also tried specifying the PCI BusId in that section, but I couldn't 
get that to work either.


Could somebody help, please.


Thanks in advance for any help,

    Graham


root@starker2:/home/gfm # grep -e nvidia -e sddm /etc/rc.conf
sddm_enable="YES"
kld_list="nvidia"
root@starker2:/home/gfm # nvidia-debugdump -l
Found 1 NVIDIA devices
         Device ID:              0
         Device name:            GeForce GT 545   (*PrimaryCard)
         GPU internal ID: GPU-daf42f67-177d-1f57-15d6-e19b1791fc08

root@starker2:/home/gfm # nvidia-smi
Fri Jun 10 14:48:43 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.144                Driver Version: 
390.144                   |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile 
Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util 
Compute M. |
|===============================+======================+======================|
|   0  GeForce GT 545      Off  | 00000000:10:00.0 N/A 
|                  N/A |
| 24%   54C    P0    N/A /  N/A |      0MiB /  3003MiB | N/A      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
|  GPU       PID   Type   Process name Usage      |
|=============================================================================|
|    0                    Not 
Supported                                       |
+-----------------------------------------------------------------------------+
root@starker2:/home/gfm # kldstat
Id Refs Address                Size Name
  1   44 0xffffffff80200000  1f30590 kernel
  2    1 0xffffffff82800000   db7e30 nvidia.ko
  3    1 0xffffffff82610000    38070 linux.ko
  4    2 0xffffffff82649000    10ab0 linux_common.ko
  5    1 0xffffffff8265a000     3378 acpi_wmi.ko
  6    1 0xffffffff8265e000     3218 intpm.ko
  7    1 0xffffffff82662000     2180 smbus.ko
  8    1 0xffffffff82665000     2340 uhid.ko
  9    1 0xffffffff82668000     4350 ums.ko
10    1 0xffffffff8266d000     3380 usbhid.ko
11    1 0xffffffff82671000     31f8 hidbus.ko
12    1 0xffffffff82675000     3320 wmt.ko
13    1 0xffffffff82679000     2a08 mac_ntpd.ko
root@starker2:/home/gfm # cat /var/log/Xorg.0.log
[    22.475] (--) Log file renamed from "/var/log/Xorg.pid-1195.log" to 
"/var/log/Xorg.0.log"
[    22.477]
X.Org X Server 1.20.14
X Protocol Version 11, Revision 0
[    22.477] Build Operating System: FreeBSD 13.0-RELEASE-p11 amd64
[    22.477] Current Operating System: FreeBSD starker2 13.1-RELEASE 
FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC amd64
[    22.477] Build Date: 28 April 2022  01:58:04AM
[    22.477]
[    22.477] Current version of pixman: 0.40.0
[    22.477]    Before reporting problems, check http://wiki.x.org
         to make sure that you have the latest version.
[    22.477] Markers: (--) probed, (**) from config file, (==) default 
setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    22.477] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun 10 
14:21:51 2022
[    22.479] (==) Using system config directory 
"/usr/local/share/X11/xorg.conf.d"
[    22.480] (==) No Layout section.  Using the first Screen section.
[    22.480] (==) No screen section available. Using defaults.
[    22.480] (**) |-->Screen "Default Screen Section" (0)
[    22.480] (**) |   |-->Monitor "<default monitor>"
[    22.480] (==) No monitor specified for screen "Default Screen Section".
         Using a default monitor configuration.
[    22.480] (==) Automatically adding devices
[    22.480] (==) Automatically enabling devices
[    22.480] (==) Not automatically adding GPU devices
[    22.480] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    22.483] (==) 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
[    22.483] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[    22.483] (II) The server relies on udev to provide the list of input 
devices.
         If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[    22.483] (II) Loader magic: 0x435f60
[    22.483] (II) Module ABI versions:
[    22.483]    X.Org ANSI C Emulation: 0.4
[    22.483]    X.Org Video Driver: 24.1
[    22.483]    X.Org XInput driver : 24.1
[    22.483]    X.Org Server Extension : 10.0
[    22.484] (!!) More than one possible primary device found
[    22.484] (--) PCI: (16@0:0:0) 10de:1243:1462:2315 rev 161, Mem @ 
0xfa000000/33554432, 0xd8000000/134217728, 0xe0000000/67108864, I/O @ 
0x0000f000/128, BIOS @ 0x????????/65536
[    22.484] (--) PCI: (48@0:0:0) 1002:1638:1002:1636 rev 201, Mem @ 
0xc0000000/268435456, 0xd0000000/2097152, 0xfc500000/524288, I/O @ 
0x0000e000/256, BIOS @ 0x????????/65536
[    22.484] (II) LoadModule: "glx"
[    22.484] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[    22.523] (II) Module glx: vendor="NVIDIA Corporation"
[    22.523]    compiled for 4.0.2, module version = 1.0.0
[    22.523]    Module class: X.Org Server Extension
[    22.523] (II) NVIDIA GLX Module  390.144  Wed Jun  2 22:59:08 UTC 2021
[    22.523] (==) Matched modesetting as autoconfigured driver 0
[    22.523] (==) Matched scfb as autoconfigured driver 1
[    22.523] (==) Matched vesa as autoconfigured driver 2
[    22.523] (==) Assigned the driver to the xf86ConfigLayout
[    22.523] (II) LoadModule: "modesetting"
[    22.523] (II) Loading 
/usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[    22.524] (II) Module modesetting: vendor="X.Org Foundation"
[    22.524]    compiled for 1.20.14, module version = 1.20.14
[    22.524]    Module class: X.Org Video Driver
[    22.524]    ABI class: X.Org Video Driver, version 24.1
[    22.524] (II) LoadModule: "scfb"
[    22.524] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
[    22.524] (II) Module scfb: vendor="X.Org Foundation"
[    22.524]    compiled for 1.20.14, module version = 0.0.5
[    22.524]    ABI class: X.Org Video Driver, version 24.1
[    22.524] (II) LoadModule: "vesa"
[    22.524] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[    22.524] (II) Module vesa: vendor="X.Org Foundation"
[    22.524]    compiled for 1.20.14, module version = 2.5.0
[    22.524]    Module class: X.Org Video Driver
[    22.524]    ABI class: X.Org Video Driver, version 24.1
[    22.524] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    22.524] (II) scfb: driver for wsdisplay framebuffer: scfb
[    22.524] (II) VESA: driver for VESA chipsets: vesa
[    22.524] (--) Using syscons driver with X support (version 2.0)
[    22.524] (++) using VT number 9

[    22.524] (WW) Falling back to old probe method for modesetting
[    22.524] (EE) open /dev/dri/card0: No such file or directory
[    22.524] (WW) Falling back to old probe method for scfb
[    22.525] scfb trace: probe start
[    22.525] (II) scfb(0): using default device
[    22.525] scfb trace: probe done
[    22.525] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card 
support
[    22.525] scfb: PreInit 0
[    22.525] (II) scfb(0): Using: depth (32),   width (1024), height (768)
[    22.525] (II) scfb(0): Creating default Display subsection in Screen 
section
         "Default Screen Section" for depth/fbbpp 24/32
[    22.525] (==) scfb(0): Depth 24, (==) framebuffer bpp 32
[    22.525] (==) scfb(0): RGB weight 888
[    22.525] (==) scfb(0): Default visual is TrueColor
[    22.525] (==) scfb(0): Using gamma correction (1.0, 1.0, 1.0)
[    22.525] (II) scfb(0): Vidmem: 3072k
[    22.525] (==) scfb(0): DPI set to (96, 96)
[    22.525] (**) scfb(0): Using "Shadow Framebuffer"
[    22.525] (II) Loading sub module "shadow"
[    22.525] (II) LoadModule: "shadow"
[    22.525] (II) Loading /usr/local/lib/xorg/modules/libshadow.so
[    22.525] (II) Module shadow: vendor="X.Org Foundation"
[    22.525]    compiled for 1.20.14, module version = 1.1.0
[    22.525]    ABI class: X.Org ANSI C Emulation, version 0.4
[    22.525] (II) Loading sub module "fb"
[    22.525] (II) LoadModule: "fb"
[    22.525] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[    22.525] (II) Module fb: vendor="X.Org Foundation"
[    22.525]    compiled for 1.20.14, module version = 1.0.0
[    22.525]    ABI class: X.Org ANSI C Emulation, version 0.4
[    22.525] scfb: PreInit done
[    22.525] (II) UnloadModule: "modesetting"
[    22.525] (II) Unloading modesetting
[    22.525] (II) UnloadModule: "vesa"
[    22.525] (II) Unloading vesa
[    22.525] scfb: ScfbScreenInit 0
[    22.525]    bitsPerPixel=32, depth=24, defaultVisual=TrueColor
         mask: ff0000,ff00,ff, offset: 16,8,0
[    22.525] mmap returns: addr 0x804800000 len 0x300000, fd 11, off 0
[    22.525] scfb: ScfbSave 0
[    22.525] scfb: ScfbSave done
[    22.527] (==) scfb(0): Backing store enabled
[    22.527] scfb: ScfbScreenInit done
[    22.527] (II) Initializing extension Generic Event Extension
[    22.528] (II) Initializing extension SHAPE
[    22.528] (II) Initializing extension MIT-SHM
[    22.528] (II) Initializing extension XInputExtension
[    22.528] (II) Initializing extension XTEST
[    22.529] (II) Initializing extension BIG-REQUESTS
[    22.529] (II) Initializing extension SYNC
[    22.529] (II) Initializing extension XKEYBOARD
[    22.529] (II) Initializing extension XC-MISC
[    22.529] (II) Initializing extension SECURITY
[    22.529] (II) Initializing extension XFIXES
[    22.530] (II) Initializing extension RENDER
[    22.530] (II) Initializing extension RANDR
[    22.530] (II) Initializing extension COMPOSITE
[    22.530] (II) Initializing extension DAMAGE
[    22.530] (II) Initializing extension MIT-SCREEN-SAVER
[    22.531] (II) Initializing extension DOUBLE-BUFFER
[    22.531] (II) Initializing extension RECORD
[    22.531] (II) Initializing extension DPMS
[    22.531] (II) Initializing extension Present
[    22.531] (II) Initializing extension DRI3
[    22.531] (II) Initializing extension X-Resource
[    22.531] (II) Initializing extension XVideo
[    22.531] (II) Initializing extension XVideo-MotionCompensation
[    22.531] (II) Initializing extension XFree86-VidModeExtension
[    22.532] (II) Initializing extension XFree86-DGA
[    22.532] (II) Initializing extension XFree86-DRI
[    22.532] (II) Initializing extension DRI2
[    22.532] (II) Initializing extension GLX
[    22.532] (EE) Failed to initialize GLX extension (Compatible NVIDIA 
X driver not found)
[    22.581] (II) config/udev: Adding input device System mouse 
(/dev/input/event0)
[    22.581] (**) System mouse: Applying InputClass "evdev pointer catchall"
[    22.581] (**) System mouse: Applying InputClass "libinput pointer 
catchall"
[    22.581] (II) LoadModule: "libinput"
[    22.582] (II) Loading /usr/local/lib/xorg/modules/input/libinput_drv.so
[    22.585] (II) Module libinput: vendor="X.Org Foundation"
[    22.585]    compiled for 1.20.14, module version = 0.30.0
[    22.585]    Module class: X.Org XInput Driver
[    22.585]    ABI class: X.Org XInput driver, version 24.1
[    22.586] (II) Using input driver 'libinput' for 'System mouse'
[    22.586] (**) System mouse: always reports core events
[    22.586] (**) Option "Device" "/dev/input/event0"
[    22.586] (**) Option "_source" "server/udev"
[    22.591] (II) event0  - System mouse: is tagged by udev as: Mouse
[    22.591] (II) event0  - System mouse: device is a pointer
[    22.592] (II) event0  - System mouse: device removed
[    22.592] (**) Option "config_info" "udev:/dev/input/event0"
[    22.592] (II) XINPUT: Adding extended input device "System mouse" 
(type: MOUSE, id 6)
[    22.592] (**) Option "AccelerationScheme" "none"
[    22.592] (**) System mouse: (accel) selected scheme none/0
[    22.592] (**) System mouse: (accel) acceleration factor: 2.000
[    22.592] (**) System mouse: (accel) acceleration threshold: 4
[    22.593] (II) event0  - System mouse: is tagged by udev as: Mouse
[    22.594] (II) event0  - System mouse: device is a pointer
[    22.594] (II) config/udev: Adding input device System keyboard 
multiplexer (/dev/input/event1)
[    22.594] (**) System keyboard multiplexer: Applying InputClass 
"evdev keyboard catchall"
[    22.594] (**) System keyboard multiplexer: Applying InputClass 
"Evdev keyboard"
[    22.594] (**) System keyboard multiplexer: Applying InputClass 
"libinput keyboard catchall"
[    22.594] (II) Using input driver 'libinput' for 'System keyboard 
multiplexer'
[    22.594] (**) System keyboard multiplexer: always reports core events
[    22.594] (**) Option "Device" "/dev/input/event1"
[    22.594] (**) Option "_source" "server/udev"
[    22.595] (II) event1  - System keyboard multiplexer: is tagged by 
udev as: Keyboard
[    22.595] (II) event1  - System keyboard multiplexer: device is a 
keyboard
[    22.596] (II) event1  - System keyboard multiplexer: device removed
[    22.596] (**) Option "config_info" "udev:/dev/input/event1"
[    22.596] (II) XINPUT: Adding extended input device "System keyboard 
multiplexer" (type: KEYBOARD, id 7)
[    22.596] (**) Option "xkb_rules" "evdev"
[    22.612] (II) event1  - System keyboard multiplexer: is tagged by 
udev as: Keyboard
[    22.612] (II) event1  - System keyboard multiplexer: device is a 
keyboard
[    22.613] (II) config/udev: Adding input device Power Button 
(/dev/input/event2)
[    22.613] (**) Power Button: Applying InputClass "evdev keyboard 
catchall"
[    22.613] (**) Power Button: Applying InputClass "Evdev keyboard"
[    22.613] (**) Power Button: Applying InputClass "libinput keyboard 
catchall"
[    22.613] (II) Using input driver 'libinput' for 'Power Button'
[    22.613] (**) Power Button: always reports core events
[    22.613] (**) Option "Device" "/dev/input/event2"
[    22.613] (**) Option "_source" "server/udev"
[    22.614] (II) event2  - Power Button: is tagged by udev as: Keyboard
[    22.614] (II) event2  - Power Button: device is a keyboard
[    22.615] (II) event2  - Power Button: device removed
[    22.615] (**) Option "config_info" "udev:/dev/input/event2"
[    22.615] (II) XINPUT: Adding extended input device "Power Button" 
(type: KEYBOARD, id 8)
[    22.615] (**) Option "xkb_rules" "evdev"
[    22.616] (II) event2  - Power Button: is tagged by udev as: Keyboard
[    22.616] (II) event2  - Power Button: device is a keyboard
[    22.616] (II) config/udev: Adding input device AT keyboard 
(/dev/input/event3)
[    22.616] (**) AT keyboard: Applying InputClass "evdev keyboard catchall"
[    22.616] (**) AT keyboard: Applying InputClass "Evdev keyboard"
[    22.616] (**) AT keyboard: Applying InputClass "libinput keyboard 
catchall"
[    22.616] (II) Using input driver 'libinput' for 'AT keyboard'
[    22.616] (**) AT keyboard: always reports core events
[    22.616] (**) Option "Device" "/dev/input/event3"
[    22.616] (**) Option "_source" "server/udev"
[    22.617] (II) event3  - AT keyboard: is tagged by udev as: Keyboard
[    22.617] (II) event3  - AT keyboard: device is a keyboard
[    22.619] (II) event3  - AT keyboard: device removed
[    22.619] (**) Option "config_info" "udev:/dev/input/event3"
[    22.619] (II) XINPUT: Adding extended input device "AT keyboard" 
(type: KEYBOARD, id 9)
[    22.619] (**) Option "xkb_rules" "evdev"
[    22.620] (II) event3  - AT keyboard: is tagged by udev as: Keyboard
[    22.620] (II) event3  - AT keyboard: device is a keyboard
[    22.621] (II) config/udev: Adding input device INSTANT USB Keyboard 
(/dev/input/event4)
[    22.621] (**) INSTANT USB Keyboard: Applying InputClass "evdev 
keyboard catchall"
[    22.621] (**) INSTANT USB Keyboard: Applying InputClass "Evdev keyboard"
[    22.621] (**) INSTANT USB Keyboard: Applying InputClass "libinput 
keyboard catchall"
[    22.621] (II) Using input driver 'libinput' for 'INSTANT USB Keyboard'
[    22.621] (**) INSTANT USB Keyboard: always reports core events
[    22.621] (**) Option "Device" "/dev/input/event4"
[    22.621] (**) Option "_source" "server/udev"
[    22.622] (II) event4  - INSTANT USB Keyboard, class 0/0, rev 
1.10/1.00, addr 2: is tagged by udev as: Keyboard
[    22.622] (II) event4  - INSTANT USB Keyboard, class 0/0, rev 
1.10/1.00, addr 2: device is a keyboard
[    22.623] (II) event4  - INSTANT USB Keyboard, class 0/0, rev 
1.10/1.00, addr 2: device removed
[    22.623] (**) Option "config_info" "udev:/dev/input/event4"
[    22.623] (II) XINPUT: Adding extended input device "INSTANT USB 
Keyboard" (type: KEYBOARD, id 10)
[    22.623] (**) Option "xkb_rules" "evdev"
[    22.624] (II) event4  - INSTANT USB Keyboard, class 0/0, rev 
1.10/1.00, addr 2: is tagged by udev as: Keyboard
[    22.624] (II) event4  - INSTANT USB Keyboard, class 0/0, rev 
1.10/1.00, addr 2: device is a keyboard
[    22.626] (II) config/udev: Adding input device vendor 0x30fa USB 
OPTICAL MOUSE (/dev/input/event5)
[    22.626] (**) vendor 0x30fa USB OPTICAL MOUSE: Applying InputClass 
"evdev pointer catchall"
[    22.626] (**) vendor 0x30fa USB OPTICAL MOUSE: Applying InputClass 
"libinput pointer catchall"
[    22.626] (II) Using input driver 'libinput' for 'vendor 0x30fa USB 
OPTICAL MOUSE'
[    22.626] (**) vendor 0x30fa USB OPTICAL MOUSE: always reports core 
events
[    22.626] (**) Option "Device" "/dev/input/event5"
[    22.626] (**) Option "_source" "server/udev"
[    22.626] (II) event5  - vendor 0x30fa USB OPTICAL MOUSE, class 0/0, 
rev 1.10/1.00, addr 1: is tagged by udev as: Mouse
[    22.627] (II) event5  - vendor 0x30fa USB OPTICAL MOUSE, class 0/0, 
rev 1.10/1.00, addr 1: device is a pointer
[    22.628] (II) event5  - vendor 0x30fa USB OPTICAL MOUSE, class 0/0, 
rev 1.10/1.00, addr 1: device removed
[    22.628] (**) Option "config_info" "udev:/dev/input/event5"
[    22.628] (II) XINPUT: Adding extended input device "vendor 0x30fa 
USB OPTICAL MOUSE" (type: MOUSE, id 11)
[    22.628] (**) Option "AccelerationScheme" "none"
[    22.628] (**) vendor 0x30fa USB OPTICAL MOUSE: (accel) selected 
scheme none/0
[    22.628] (**) vendor 0x30fa USB OPTICAL MOUSE: (accel) acceleration 
factor: 2.000
[    22.628] (**) vendor 0x30fa USB OPTICAL MOUSE: (accel) acceleration 
threshold: 4
[    22.628] (II) event5  - vendor 0x30fa USB OPTICAL MOUSE, class 0/0, 
rev 1.10/1.00, addr 1: is tagged by udev as: Mouse
[    22.629] (II) event5  - vendor 0x30fa USB OPTICAL MOUSE, class 0/0, 
rev 1.10/1.00, addr 1: device is a pointer
[    22.630] (II) config/udev: Adding input device INSTANT USB Keyboard 
(/dev/input/event6)
[    22.630] (**) INSTANT USB Keyboard: Applying InputClass "evdev 
pointer catchall"
[    22.630] (**) INSTANT USB Keyboard: Applying InputClass "libinput 
pointer catchall"
[    22.630] (II) Using input driver 'libinput' for 'INSTANT USB Keyboard'
[    22.630] (**) INSTANT USB Keyboard: always reports core events
[    22.630] (**) Option "Device" "/dev/input/event6"
[    22.630] (**) Option "_source" "server/udev"
[    22.631] (II) event6  - INSTANT USB Keyboard, class 0/0, rev 
1.10/1.00, addr 2: is tagged by udev as: Mouse
[    22.631] (II) event6  - INSTANT USB Keyboard, class 0/0, rev 
1.10/1.00, addr 2: device is a pointer
[    22.632] (II) event6  - INSTANT USB Keyboard, class 0/0, rev 
1.10/1.00, addr 2: device removed
[    22.632] (**) Option "config_info" "udev:/dev/input/event6"
[    22.632] (II) XINPUT: Adding extended input device "INSTANT USB 
Keyboard" (type: MOUSE, id 12)
[    22.632] (**) Option "AccelerationScheme" "none"
[    22.632] (**) INSTANT USB Keyboard: (accel) selected scheme none/0
[    22.632] (**) INSTANT USB Keyboard: (accel) acceleration factor: 2.000
[    22.632] (**) INSTANT USB Keyboard: (accel) acceleration threshold: 4
[    22.633] (II) event6  - INSTANT USB Keyboard, class 0/0, rev 
1.10/1.00, addr 2: is tagged by udev as: Mouse
[    22.633] (II) event6  - INSTANT USB Keyboard, class 0/0, rev 
1.10/1.00, addr 2: device is a pointer
[    22.634] scfb: SaveScreen 0
[    22.634] scfb: SaveScreen done
root@starker2:/home/gfm #

=============================================================

Xorg.0.log after adding section to Xorg.conf

===============================================================

gfm@starker2:~ $ cat /var/log/Xorg.0.log
[    15.160] (--) Log file renamed from "/var/log/Xorg.pid-1176.log" to 
"/var/log/Xorg.0.log"
[    15.162]
X.Org X Server 1.20.14
X Protocol Version 11, Revision 0
[    15.162] Build Operating System: FreeBSD 13.0-RELEASE-p11 amd64
[    15.162] Current Operating System: FreeBSD starker2 13.1-RELEASE 
FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC amd64
[    15.162] Build Date: 28 April 2022  01:58:04AM
[    15.162]
[    15.162] Current version of pixman: 0.40.0
[    15.162]    Before reporting problems, check http://wiki.x.org
         to make sure that you have the latest version.
[    15.162] Markers: (--) probed, (**) from config file, (==) default 
setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    15.162] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun 10 
15:27:32 2022
[    15.163] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[    15.163] (==) Using system config directory 
"/usr/local/share/X11/xorg.conf.d"
[    15.164] (==) No Layout section.  Using the first Screen section.
[    15.164] (==) No screen section available. Using defaults.
[    15.164] (**) |-->Screen "Default Screen Section" (0)
[    15.164] (**) |   |-->Monitor "<default monitor>"
[    15.164] (==) No device specified for screen "Default Screen Section".
         Using the first device section listed.
[    15.164] (**) |   |-->Device "Card0"
[    15.164] (==) No monitor specified for screen "Default Screen Section".
         Using a default monitor configuration.
[    15.164] (==) Automatically adding devices
[    15.164] (==) Automatically enabling devices
[    15.164] (==) Not automatically adding GPU devices
[    15.164] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    15.168] (==) 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
[    15.168] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[    15.168] (II) The server relies on udev to provide the list of input 
devices.
         If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[    15.168] (II) Loader magic: 0x435f60
[    15.168] (II) Module ABI versions:
[    15.168]    X.Org ANSI C Emulation: 0.4
[    15.168]    X.Org Video Driver: 24.1
[    15.168]    X.Org XInput driver : 24.1
[    15.168]    X.Org Server Extension : 10.0
[    15.168] (!!) More than one possible primary device found
[    15.168] (--) PCI: (16@0:0:0) 10de:1243:1462:2315 rev 161, Mem @ 
0xfa000000/33554432, 0xd8000000/134217728, 0xe0000000/67108864, I/O @ 
0x0000f000/128, BIOS @ 0x????????/65536
[    15.168] (--) PCI: (48@0:0:0) 1002:1638:1002:1636 rev 201, Mem @ 
0xc0000000/268435456, 0xd0000000/2097152, 0xfc500000/524288, I/O @ 
0x0000e000/256, BIOS @ 0x????????/65536
[    15.168] (II) LoadModule: "glx"
[    15.169] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[    15.207] (II) Module glx: vendor="NVIDIA Corporation"
[    15.207]    compiled for 4.0.2, module version = 1.0.0
[    15.207]    Module class: X.Org Server Extension
[    15.207] (II) NVIDIA GLX Module  390.144  Wed Jun  2 22:59:08 UTC 2021
[    15.207] (II) LoadModule: "nvidia"
[    15.207] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[    15.211] (II) Module nvidia: vendor="NVIDIA Corporation"
[    15.211]    compiled for 4.0.2, module version = 1.0.0
[    15.211]    Module class: X.Org Video Driver
[    15.211] (II) NVIDIA dlloader X Driver  390.144  Wed Jun  2 23:00:51 
UTC 2021
[    15.211] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    15.212] (--) Using syscons driver with X support (version 2.0)
[    15.212] (++) using VT number 9

[    15.212] (EE) No devices detected.
[    15.212] (EE)
Fatal server error:
[    15.212] (EE) no screens found(EE)
[    15.212] (EE)
Please consult the The X.Org Foundation support
          at http://wiki.x.org
  for help.
[    15.212] (EE) Please also check the log file at 
"/var/log/Xorg.0.log" for additional information.
[    15.212] (EE)
[    15.212] (EE) Server terminated with error (1). Closing log file.
gfm@starker2:~ $

--------------0aH0AzzAr5Anp427ODFZaDgz
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello FreeBSD-X11 people,</p>
    <p>I've just installed 13.1-Release on an AMD-64 machine with an
      GeForce GT545 card. Xorg starts ok but it it doesn't seem to
      recognise the NVIDIA driver and so I only get VGA resolution. I'd
      like some help getting the higher resolution and acceleration from
      the driver, please.</p>
    <p>After a basic FreeBSD installation, I've done:</p>
    <p>    pkg install xorg kde5 sddm nvidia-driver-390</p>
    <p>In rc.conf, I loaded the nvidia driver and started sddm. I then
      rebooted. The system comes up and starts sddm but at only 1024 x
      768 resolution.</p>
    <p>See below for the output from nvidia-debugdump, nvidia-smi,
      kldstat. Also, the relevant sections from rc.conf and the contents
      of /var/log/Xorg.0.log.</p>
    <p>I suspect the following lines from the log file might be relevant
      but I don't know what to do about them.</p>
    <p>    [    22.484] (!!) More than one possible primary device found<br>
          [    22.484] (--) PCI: (16@0:0:0) 10de:1243:1462:2315 rev 161,
      Mem @ 0xfa000000/33554432, 0xd8000000/134217728,
      0xe0000000/67108864, I/O @ 0x0000f000/128, BIOS @ 0x????????/65536<br>
          [    22.484] (--) PCI: (48@0:0:0) 1002:1638:1002:1636 rev 201,
      Mem @ 0xc0000000/268435456, 0xd0000000/2097152, 0xfc500000/524288,
      I/O @ 0x0000e000/256, BIOS @ 0x????????/65536<br>
    </p>
    <p>I've tried forcing the NVIDIA driver to be used by adding a
      section to <span class="filename">/usr/local/etc/X11/xorg.conf.d/driver-nvidia.conf</span>:</p>
    <pre>Section "Device"
	Identifier "Card0"
	Driver     "nvidia"
	# BusID    "PCI:0:0:0"
EndSection

</pre>
    <p>But that causes it not to find any devices and, hence, X not to
      start - see below after the lines "Xorg.0.log after adding section
      to Xorg.conf".</p>
    <p><br>
      I also tried specifying the PCI BusId in that section, but I
      couldn't get that to work either.</p>
    <p><br>
      Could somebody help, please.</p>
    <p><br>
      Thanks in advance for any help,</p>
    <p>   Graham</p>
    <p><br>
    </p>
    <p>root@starker2:/home/gfm # grep -e nvidia -e sddm /etc/rc.conf<br>
      sddm_enable="YES"<br>
      kld_list="nvidia"<br>
      root@starker2:/home/gfm # nvidia-debugdump -l<br>
      Found 1 NVIDIA devices<br>
              Device ID:              0<br>
              Device name:            GeForce GT 545   (*PrimaryCard)<br>
              GPU internal ID:       
      GPU-daf42f67-177d-1f57-15d6-e19b1791fc08<br>
      <br>
      root@starker2:/home/gfm # nvidia-smi<br>
      Fri Jun 10 14:48:43 2022<br>
+-----------------------------------------------------------------------------+<br>
      | NVIDIA-SMI 390.144                Driver Version:
      390.144                   |<br>
|-------------------------------+----------------------+----------------------+<br>
      | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile
      Uncorr. ECC |<br>
      | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util 
      Compute M. |<br>
|===============================+======================+======================|<br>
      |   0  GeForce GT 545      Off  | 00000000:10:00.0 N/A
      |                  N/A |<br>
      | 24%   54C    P0    N/A /  N/A |      0MiB /  3003MiB |    
      N/A      Default |<br>
+-------------------------------+----------------------+----------------------+<br>
      <br>
+-----------------------------------------------------------------------------+<br>
      | Processes:                                                      
      GPU Memory |<br>
      |  GPU       PID   Type   Process name                            
      Usage      |<br>
|=============================================================================|<br>
      |    0                    Not
      Supported                                       |<br>
+-----------------------------------------------------------------------------+<br>
      root@starker2:/home/gfm # kldstat<br>
      Id Refs Address                Size Name<br>
       1   44 0xffffffff80200000  1f30590 kernel<br>
       2    1 0xffffffff82800000   db7e30 nvidia.ko<br>
       3    1 0xffffffff82610000    38070 linux.ko<br>
       4    2 0xffffffff82649000    10ab0 linux_common.ko<br>
       5    1 0xffffffff8265a000     3378 acpi_wmi.ko<br>
       6    1 0xffffffff8265e000     3218 intpm.ko<br>
       7    1 0xffffffff82662000     2180 smbus.ko<br>
       8    1 0xffffffff82665000     2340 uhid.ko<br>
       9    1 0xffffffff82668000     4350 ums.ko<br>
      10    1 0xffffffff8266d000     3380 usbhid.ko<br>
      11    1 0xffffffff82671000     31f8 hidbus.ko<br>
      12    1 0xffffffff82675000     3320 wmt.ko<br>
      13    1 0xffffffff82679000     2a08 mac_ntpd.ko<br>
      root@starker2:/home/gfm # cat /var/log/Xorg.0.log<br>
      [    22.475] (--) Log file renamed from
      "/var/log/Xorg.pid-1195.log" to "/var/log/Xorg.0.log"<br>
      [    22.477]<br>
      X.Org X Server 1.20.14<br>
      X Protocol Version 11, Revision 0<br>
      [    22.477] Build Operating System: FreeBSD 13.0-RELEASE-p11
      amd64<br>
      [    22.477] Current Operating System: FreeBSD starker2
      13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212
      GENERIC amd64<br>
      [    22.477] Build Date: 28 April 2022  01:58:04AM<br>
      [    22.477]<br>
      [    22.477] Current version of pixman: 0.40.0<br>
      [    22.477]    Before reporting problems, check <a class="moz-txt-link-freetext" href="http://wiki.x.org">http://wiki.x.org</a><br>;
              to make sure that you have the latest version.<br>
      [    22.477] Markers: (--) probed, (**) from config file, (==)
      default setting,<br>
              (++) from command line, (!!) notice, (II) informational,<br>
              (WW) warning, (EE) error, (NI) not implemented, (??)
      unknown.<br>
      [    22.477] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun
      10 14:21:51 2022<br>
      [    22.479] (==) Using system config directory
      "/usr/local/share/X11/xorg.conf.d"<br>
      [    22.480] (==) No Layout section.  Using the first Screen
      section.<br>
      [    22.480] (==) No screen section available. Using defaults.<br>
      [    22.480] (**) |--&gt;Screen "Default Screen Section" (0)<br>
      [    22.480] (**) |   |--&gt;Monitor "&lt;default monitor&gt;"<br>
      [    22.480] (==) No monitor specified for screen "Default Screen
      Section".<br>
              Using a default monitor configuration.<br>
      [    22.480] (==) Automatically adding devices<br>
      [    22.480] (==) Automatically enabling devices<br>
      [    22.480] (==) Not automatically adding GPU devices<br>
      [    22.480] (==) Max clients allowed: 256, resource mask:
      0x1fffff<br>
      [    22.483] (==) FontPath set to:<br>
              /usr/local/share/fonts/misc/,<br>
              /usr/local/share/fonts/TTF/,<br>
              /usr/local/share/fonts/OTF/,<br>
              /usr/local/share/fonts/Type1/,<br>
              /usr/local/share/fonts/100dpi/,<br>
              /usr/local/share/fonts/75dpi/,<br>
              catalogue:/usr/local/etc/X11/fontpath.d<br>
      [    22.483] (==) ModulePath set to "/usr/local/lib/xorg/modules"<br>
      [    22.483] (II) The server relies on udev to provide the list of
      input devices.<br>
              If no devices become available, reconfigure udev or
      disable AutoAddDevices.<br>
      [    22.483] (II) Loader magic: 0x435f60<br>
      [    22.483] (II) Module ABI versions:<br>
      [    22.483]    X.Org ANSI C Emulation: 0.4<br>
      [    22.483]    X.Org Video Driver: 24.1<br>
      [    22.483]    X.Org XInput driver : 24.1<br>
      [    22.483]    X.Org Server Extension : 10.0<br>
      [    22.484] (!!) More than one possible primary device found<br>
      [    22.484] (--) PCI: (16@0:0:0) 10de:1243:1462:2315 rev 161, Mem
      @ 0xfa000000/33554432, 0xd8000000/134217728, 0xe0000000/67108864,
      I/O @ 0x0000f000/128, BIOS @ 0x????????/65536<br>
      [    22.484] (--) PCI: (48@0:0:0) 1002:1638:1002:1636 rev 201, Mem
      @ 0xc0000000/268435456, 0xd0000000/2097152, 0xfc500000/524288, I/O
      @ 0x0000e000/256, BIOS @ 0x????????/65536<br>
      [    22.484] (II) LoadModule: "glx"<br>
      [    22.484] (II) Loading
      /usr/local/lib/xorg/modules/extensions/libglx.so<br>
      [    22.523] (II) Module glx: vendor="NVIDIA Corporation"<br>
      [    22.523]    compiled for 4.0.2, module version = 1.0.0<br>
      [    22.523]    Module class: X.Org Server Extension<br>
      [    22.523] (II) NVIDIA GLX Module  390.144  Wed Jun  2 22:59:08
      UTC 2021<br>
      [    22.523] (==) Matched modesetting as autoconfigured driver 0<br>
      [    22.523] (==) Matched scfb as autoconfigured driver 1<br>
      [    22.523] (==) Matched vesa as autoconfigured driver 2<br>
      [    22.523] (==) Assigned the driver to the xf86ConfigLayout<br>
      [    22.523] (II) LoadModule: "modesetting"<br>
      [    22.523] (II) Loading
      /usr/local/lib/xorg/modules/drivers/modesetting_drv.so<br>
      [    22.524] (II) Module modesetting: vendor="X.Org Foundation"<br>
      [    22.524]    compiled for 1.20.14, module version = 1.20.14<br>
      [    22.524]    Module class: X.Org Video Driver<br>
      [    22.524]    ABI class: X.Org Video Driver, version 24.1<br>
      [    22.524] (II) LoadModule: "scfb"<br>
      [    22.524] (II) Loading
      /usr/local/lib/xorg/modules/drivers/scfb_drv.so<br>
      [    22.524] (II) Module scfb: vendor="X.Org Foundation"<br>
      [    22.524]    compiled for 1.20.14, module version = 0.0.5<br>
      [    22.524]    ABI class: X.Org Video Driver, version 24.1<br>
      [    22.524] (II) LoadModule: "vesa"<br>
      [    22.524] (II) Loading
      /usr/local/lib/xorg/modules/drivers/vesa_drv.so<br>
      [    22.524] (II) Module vesa: vendor="X.Org Foundation"<br>
      [    22.524]    compiled for 1.20.14, module version = 2.5.0<br>
      [    22.524]    Module class: X.Org Video Driver<br>
      [    22.524]    ABI class: X.Org Video Driver, version 24.1<br>
      [    22.524] (II) modesetting: Driver for Modesetting Kernel
      Drivers: kms<br>
      [    22.524] (II) scfb: driver for wsdisplay framebuffer: scfb<br>
      [    22.524] (II) VESA: driver for VESA chipsets: vesa<br>
      [    22.524] (--) Using syscons driver with X support (version
      2.0)<br>
      [    22.524] (++) using VT number 9<br>
      <br>
      [    22.524] (WW) Falling back to old probe method for modesetting<br>
      [    22.524] (EE) open /dev/dri/card0: No such file or directory<br>
      [    22.524] (WW) Falling back to old probe method for scfb<br>
      [    22.525] scfb trace: probe start<br>
      [    22.525] (II) scfb(0): using default device<br>
      [    22.525] scfb trace: probe done<br>
      [    22.525] (WW) VGA arbiter: cannot open kernel arbiter, no
      multi-card support<br>
      [    22.525] scfb: PreInit 0<br>
      [    22.525] (II) scfb(0): Using: depth (32),   width (1024),   
      height (768)<br>
      [    22.525] (II) scfb(0): Creating default Display subsection in
      Screen section<br>
              "Default Screen Section" for depth/fbbpp 24/32<br>
      [    22.525] (==) scfb(0): Depth 24, (==) framebuffer bpp 32<br>
      [    22.525] (==) scfb(0): RGB weight 888<br>
      [    22.525] (==) scfb(0): Default visual is TrueColor<br>
      [    22.525] (==) scfb(0): Using gamma correction (1.0, 1.0, 1.0)<br>
      [    22.525] (II) scfb(0): Vidmem: 3072k<br>
      [    22.525] (==) scfb(0): DPI set to (96, 96)<br>
      [    22.525] (**) scfb(0): Using "Shadow Framebuffer"<br>
      [    22.525] (II) Loading sub module "shadow"<br>
      [    22.525] (II) LoadModule: "shadow"<br>
      [    22.525] (II) Loading /usr/local/lib/xorg/modules/libshadow.so<br>
      [    22.525] (II) Module shadow: vendor="X.Org Foundation"<br>
      [    22.525]    compiled for 1.20.14, module version = 1.1.0<br>
      [    22.525]    ABI class: X.Org ANSI C Emulation, version 0.4<br>
      [    22.525] (II) Loading sub module "fb"<br>
      [    22.525] (II) LoadModule: "fb"<br>
      [    22.525] (II) Loading /usr/local/lib/xorg/modules/libfb.so<br>
      [    22.525] (II) Module fb: vendor="X.Org Foundation"<br>
      [    22.525]    compiled for 1.20.14, module version = 1.0.0<br>
      [    22.525]    ABI class: X.Org ANSI C Emulation, version 0.4<br>
      [    22.525] scfb: PreInit done<br>
      [    22.525] (II) UnloadModule: "modesetting"<br>
      [    22.525] (II) Unloading modesetting<br>
      [    22.525] (II) UnloadModule: "vesa"<br>
      [    22.525] (II) Unloading vesa<br>
      [    22.525] scfb: ScfbScreenInit 0<br>
      [    22.525]    bitsPerPixel=32, depth=24, defaultVisual=TrueColor<br>
              mask: ff0000,ff00,ff, offset: 16,8,0<br>
      [    22.525] mmap returns: addr 0x804800000 len 0x300000, fd 11,
      off 0<br>
      [    22.525] scfb: ScfbSave 0<br>
      [    22.525] scfb: ScfbSave done<br>
      [    22.527] (==) scfb(0): Backing store enabled<br>
      [    22.527] scfb: ScfbScreenInit done<br>
      [    22.527] (II) Initializing extension Generic Event Extension<br>
      [    22.528] (II) Initializing extension SHAPE<br>
      [    22.528] (II) Initializing extension MIT-SHM<br>
      [    22.528] (II) Initializing extension XInputExtension<br>
      [    22.528] (II) Initializing extension XTEST<br>
      [    22.529] (II) Initializing extension BIG-REQUESTS<br>
      [    22.529] (II) Initializing extension SYNC<br>
      [    22.529] (II) Initializing extension XKEYBOARD<br>
      [    22.529] (II) Initializing extension XC-MISC<br>
      [    22.529] (II) Initializing extension SECURITY<br>
      [    22.529] (II) Initializing extension XFIXES<br>
      [    22.530] (II) Initializing extension RENDER<br>
      [    22.530] (II) Initializing extension RANDR<br>
      [    22.530] (II) Initializing extension COMPOSITE<br>
      [    22.530] (II) Initializing extension DAMAGE<br>
      [    22.530] (II) Initializing extension MIT-SCREEN-SAVER<br>
      [    22.531] (II) Initializing extension DOUBLE-BUFFER<br>
      [    22.531] (II) Initializing extension RECORD<br>
      [    22.531] (II) Initializing extension DPMS<br>
      [    22.531] (II) Initializing extension Present<br>
      [    22.531] (II) Initializing extension DRI3<br>
      [    22.531] (II) Initializing extension X-Resource<br>
      [    22.531] (II) Initializing extension XVideo<br>
      [    22.531] (II) Initializing extension XVideo-MotionCompensation<br>
      [    22.531] (II) Initializing extension XFree86-VidModeExtension<br>
      [    22.532] (II) Initializing extension XFree86-DGA<br>
      [    22.532] (II) Initializing extension XFree86-DRI<br>
      [    22.532] (II) Initializing extension DRI2<br>
      [    22.532] (II) Initializing extension GLX<br>
      [    22.532] (EE) Failed to initialize GLX extension (Compatible
      NVIDIA X driver not found)<br>
      [    22.581] (II) config/udev: Adding input device System mouse
      (/dev/input/event0)<br>
      [    22.581] (**) System mouse: Applying InputClass "evdev pointer
      catchall"<br>
      [    22.581] (**) System mouse: Applying InputClass "libinput
      pointer catchall"<br>
      [    22.581] (II) LoadModule: "libinput"<br>
      [    22.582] (II) Loading
      /usr/local/lib/xorg/modules/input/libinput_drv.so<br>
      [    22.585] (II) Module libinput: vendor="X.Org Foundation"<br>
      [    22.585]    compiled for 1.20.14, module version = 0.30.0<br>
      [    22.585]    Module class: X.Org XInput Driver<br>
      [    22.585]    ABI class: X.Org XInput driver, version 24.1<br>
      [    22.586] (II) Using input driver 'libinput' for 'System mouse'<br>
      [    22.586] (**) System mouse: always reports core events<br>
      [    22.586] (**) Option "Device" "/dev/input/event0"<br>
      [    22.586] (**) Option "_source" "server/udev"<br>
      [    22.591] (II) event0  - System mouse: is tagged by udev as:
      Mouse<br>
      [    22.591] (II) event0  - System mouse: device is a pointer<br>
      [    22.592] (II) event0  - System mouse: device removed<br>
      [    22.592] (**) Option "config_info" "udev:/dev/input/event0"<br>
      [    22.592] (II) XINPUT: Adding extended input device "System
      mouse" (type: MOUSE, id 6)<br>
      [    22.592] (**) Option "AccelerationScheme" "none"<br>
      [    22.592] (**) System mouse: (accel) selected scheme none/0<br>
      [    22.592] (**) System mouse: (accel) acceleration factor: 2.000<br>
      [    22.592] (**) System mouse: (accel) acceleration threshold: 4<br>
      [    22.593] (II) event0  - System mouse: is tagged by udev as:
      Mouse<br>
      [    22.594] (II) event0  - System mouse: device is a pointer<br>
      [    22.594] (II) config/udev: Adding input device System keyboard
      multiplexer (/dev/input/event1)<br>
      [    22.594] (**) System keyboard multiplexer: Applying InputClass
      "evdev keyboard catchall"<br>
      [    22.594] (**) System keyboard multiplexer: Applying InputClass
      "Evdev keyboard"<br>
      [    22.594] (**) System keyboard multiplexer: Applying InputClass
      "libinput keyboard catchall"<br>
      [    22.594] (II) Using input driver 'libinput' for 'System
      keyboard multiplexer'<br>
      [    22.594] (**) System keyboard multiplexer: always reports core
      events<br>
      [    22.594] (**) Option "Device" "/dev/input/event1"<br>
      [    22.594] (**) Option "_source" "server/udev"<br>
      [    22.595] (II) event1  - System keyboard multiplexer: is tagged
      by udev as: Keyboard<br>
      [    22.595] (II) event1  - System keyboard multiplexer: device is
      a keyboard<br>
      [    22.596] (II) event1  - System keyboard multiplexer: device
      removed<br>
      [    22.596] (**) Option "config_info" "udev:/dev/input/event1"<br>
      [    22.596] (II) XINPUT: Adding extended input device "System
      keyboard multiplexer" (type: KEYBOARD, id 7)<br>
      [    22.596] (**) Option "xkb_rules" "evdev"<br>
      [    22.612] (II) event1  - System keyboard multiplexer: is tagged
      by udev as: Keyboard<br>
      [    22.612] (II) event1  - System keyboard multiplexer: device is
      a keyboard<br>
      [    22.613] (II) config/udev: Adding input device Power Button
      (/dev/input/event2)<br>
      [    22.613] (**) Power Button: Applying InputClass "evdev
      keyboard catchall"<br>
      [    22.613] (**) Power Button: Applying InputClass "Evdev
      keyboard"<br>
      [    22.613] (**) Power Button: Applying InputClass "libinput
      keyboard catchall"<br>
      [    22.613] (II) Using input driver 'libinput' for 'Power Button'<br>
      [    22.613] (**) Power Button: always reports core events<br>
      [    22.613] (**) Option "Device" "/dev/input/event2"<br>
      [    22.613] (**) Option "_source" "server/udev"<br>
      [    22.614] (II) event2  - Power Button: is tagged by udev as:
      Keyboard<br>
      [    22.614] (II) event2  - Power Button: device is a keyboard<br>
      [    22.615] (II) event2  - Power Button: device removed<br>
      [    22.615] (**) Option "config_info" "udev:/dev/input/event2"<br>
      [    22.615] (II) XINPUT: Adding extended input device "Power
      Button" (type: KEYBOARD, id 8)<br>
      [    22.615] (**) Option "xkb_rules" "evdev"<br>
      [    22.616] (II) event2  - Power Button: is tagged by udev as:
      Keyboard<br>
      [    22.616] (II) event2  - Power Button: device is a keyboard<br>
      [    22.616] (II) config/udev: Adding input device AT keyboard
      (/dev/input/event3)<br>
      [    22.616] (**) AT keyboard: Applying InputClass "evdev keyboard
      catchall"<br>
      [    22.616] (**) AT keyboard: Applying InputClass "Evdev
      keyboard"<br>
      [    22.616] (**) AT keyboard: Applying InputClass "libinput
      keyboard catchall"<br>
      [    22.616] (II) Using input driver 'libinput' for 'AT keyboard'<br>
      [    22.616] (**) AT keyboard: always reports core events<br>
      [    22.616] (**) Option "Device" "/dev/input/event3"<br>
      [    22.616] (**) Option "_source" "server/udev"<br>
      [    22.617] (II) event3  - AT keyboard: is tagged by udev as:
      Keyboard<br>
      [    22.617] (II) event3  - AT keyboard: device is a keyboard<br>
      [    22.619] (II) event3  - AT keyboard: device removed<br>
      [    22.619] (**) Option "config_info" "udev:/dev/input/event3"<br>
      [    22.619] (II) XINPUT: Adding extended input device "AT
      keyboard" (type: KEYBOARD, id 9)<br>
      [    22.619] (**) Option "xkb_rules" "evdev"<br>
      [    22.620] (II) event3  - AT keyboard: is tagged by udev as:
      Keyboard<br>
      [    22.620] (II) event3  - AT keyboard: device is a keyboard<br>
      [    22.621] (II) config/udev: Adding input device INSTANT USB
      Keyboard (/dev/input/event4)<br>
      [    22.621] (**) INSTANT USB Keyboard: Applying InputClass "evdev
      keyboard catchall"<br>
      [    22.621] (**) INSTANT USB Keyboard: Applying InputClass "Evdev
      keyboard"<br>
      [    22.621] (**) INSTANT USB Keyboard: Applying InputClass
      "libinput keyboard catchall"<br>
      [    22.621] (II) Using input driver 'libinput' for 'INSTANT USB
      Keyboard'<br>
      [    22.621] (**) INSTANT USB Keyboard: always reports core events<br>
      [    22.621] (**) Option "Device" "/dev/input/event4"<br>
      [    22.621] (**) Option "_source" "server/udev"<br>
      [    22.622] (II) event4  - INSTANT USB Keyboard, class 0/0, rev
      1.10/1.00, addr 2: is tagged by udev as: Keyboard<br>
      [    22.622] (II) event4  - INSTANT USB Keyboard, class 0/0, rev
      1.10/1.00, addr 2: device is a keyboard<br>
      [    22.623] (II) event4  - INSTANT USB Keyboard, class 0/0, rev
      1.10/1.00, addr 2: device removed<br>
      [    22.623] (**) Option "config_info" "udev:/dev/input/event4"<br>
      [    22.623] (II) XINPUT: Adding extended input device "INSTANT
      USB Keyboard" (type: KEYBOARD, id 10)<br>
      [    22.623] (**) Option "xkb_rules" "evdev"<br>
      [    22.624] (II) event4  - INSTANT USB Keyboard, class 0/0, rev
      1.10/1.00, addr 2: is tagged by udev as: Keyboard<br>
      [    22.624] (II) event4  - INSTANT USB Keyboard, class 0/0, rev
      1.10/1.00, addr 2: device is a keyboard<br>
      [    22.626] (II) config/udev: Adding input device vendor 0x30fa
      USB OPTICAL MOUSE (/dev/input/event5)<br>
      [    22.626] (**) vendor 0x30fa USB OPTICAL MOUSE: Applying
      InputClass "evdev pointer catchall"<br>
      [    22.626] (**) vendor 0x30fa USB OPTICAL MOUSE: Applying
      InputClass "libinput pointer catchall"<br>
      [    22.626] (II) Using input driver 'libinput' for 'vendor 0x30fa
      USB OPTICAL MOUSE'<br>
      [    22.626] (**) vendor 0x30fa USB OPTICAL MOUSE: always reports
      core events<br>
      [    22.626] (**) Option "Device" "/dev/input/event5"<br>
      [    22.626] (**) Option "_source" "server/udev"<br>
      [    22.626] (II) event5  - vendor 0x30fa USB OPTICAL MOUSE, class
      0/0, rev 1.10/1.00, addr 1: is tagged by udev as: Mouse<br>
      [    22.627] (II) event5  - vendor 0x30fa USB OPTICAL MOUSE, class
      0/0, rev 1.10/1.00, addr 1: device is a pointer<br>
      [    22.628] (II) event5  - vendor 0x30fa USB OPTICAL MOUSE, class
      0/0, rev 1.10/1.00, addr 1: device removed<br>
      [    22.628] (**) Option "config_info" "udev:/dev/input/event5"<br>
      [    22.628] (II) XINPUT: Adding extended input device "vendor
      0x30fa USB OPTICAL MOUSE" (type: MOUSE, id 11)<br>
      [    22.628] (**) Option "AccelerationScheme" "none"<br>
      [    22.628] (**) vendor 0x30fa USB OPTICAL MOUSE: (accel)
      selected scheme none/0<br>
      [    22.628] (**) vendor 0x30fa USB OPTICAL MOUSE: (accel)
      acceleration factor: 2.000<br>
      [    22.628] (**) vendor 0x30fa USB OPTICAL MOUSE: (accel)
      acceleration threshold: 4<br>
      [    22.628] (II) event5  - vendor 0x30fa USB OPTICAL MOUSE, class
      0/0, rev 1.10/1.00, addr 1: is tagged by udev as: Mouse<br>
      [    22.629] (II) event5  - vendor 0x30fa USB OPTICAL MOUSE, class
      0/0, rev 1.10/1.00, addr 1: device is a pointer<br>
      [    22.630] (II) config/udev: Adding input device INSTANT USB
      Keyboard (/dev/input/event6)<br>
      [    22.630] (**) INSTANT USB Keyboard: Applying InputClass "evdev
      pointer catchall"<br>
      [    22.630] (**) INSTANT USB Keyboard: Applying InputClass
      "libinput pointer catchall"<br>
      [    22.630] (II) Using input driver 'libinput' for 'INSTANT USB
      Keyboard'<br>
      [    22.630] (**) INSTANT USB Keyboard: always reports core events<br>
      [    22.630] (**) Option "Device" "/dev/input/event6"<br>
      [    22.630] (**) Option "_source" "server/udev"<br>
      [    22.631] (II) event6  - INSTANT USB Keyboard, class 0/0, rev
      1.10/1.00, addr 2: is tagged by udev as: Mouse<br>
      [    22.631] (II) event6  - INSTANT USB Keyboard, class 0/0, rev
      1.10/1.00, addr 2: device is a pointer<br>
      [    22.632] (II) event6  - INSTANT USB Keyboard, class 0/0, rev
      1.10/1.00, addr 2: device removed<br>
      [    22.632] (**) Option "config_info" "udev:/dev/input/event6"<br>
      [    22.632] (II) XINPUT: Adding extended input device "INSTANT
      USB Keyboard" (type: MOUSE, id 12)<br>
      [    22.632] (**) Option "AccelerationScheme" "none"<br>
      [    22.632] (**) INSTANT USB Keyboard: (accel) selected scheme
      none/0<br>
      [    22.632] (**) INSTANT USB Keyboard: (accel) acceleration
      factor: 2.000<br>
      [    22.632] (**) INSTANT USB Keyboard: (accel) acceleration
      threshold: 4<br>
      [    22.633] (II) event6  - INSTANT USB Keyboard, class 0/0, rev
      1.10/1.00, addr 2: is tagged by udev as: Mouse<br>
      [    22.633] (II) event6  - INSTANT USB Keyboard, class 0/0, rev
      1.10/1.00, addr 2: device is a pointer<br>
      [    22.634] scfb: SaveScreen 0<br>
      [    22.634] scfb: SaveScreen done<br>
      root@starker2:/home/gfm #<br>
    </p>
    <p>=============================================================</p>
    <p>Xorg.0.log after adding section to Xorg.conf</p>
    <p>===============================================================</p>
    <p>gfm@starker2:~ $ cat /var/log/Xorg.0.log<br>
      [    15.160] (--) Log file renamed from
      "/var/log/Xorg.pid-1176.log" to "/var/log/Xorg.0.log"<br>
      [    15.162]<br>
      X.Org X Server 1.20.14<br>
      X Protocol Version 11, Revision 0<br>
      [    15.162] Build Operating System: FreeBSD 13.0-RELEASE-p11
      amd64<br>
      [    15.162] Current Operating System: FreeBSD starker2
      13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212
      GENERIC amd64<br>
      [    15.162] Build Date: 28 April 2022  01:58:04AM<br>
      [    15.162]<br>
      [    15.162] Current version of pixman: 0.40.0<br>
      [    15.162]    Before reporting problems, check <a class="moz-txt-link-freetext" href="http://wiki.x.org">http://wiki.x.org</a><br>;
              to make sure that you have the latest version.<br>
      [    15.162] Markers: (--) probed, (**) from config file, (==)
      default setting,<br>
              (++) from command line, (!!) notice, (II) informational,<br>
              (WW) warning, (EE) error, (NI) not implemented, (??)
      unknown.<br>
      [    15.162] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun
      10 15:27:32 2022<br>
      [    15.163] (==) Using config directory:
      "/usr/local/etc/X11/xorg.conf.d"<br>
      [    15.163] (==) Using system config directory
      "/usr/local/share/X11/xorg.conf.d"<br>
      [    15.164] (==) No Layout section.  Using the first Screen
      section.<br>
      [    15.164] (==) No screen section available. Using defaults.<br>
      [    15.164] (**) |--&gt;Screen "Default Screen Section" (0)<br>
      [    15.164] (**) |   |--&gt;Monitor "&lt;default monitor&gt;"<br>
      [    15.164] (==) No device specified for screen "Default Screen
      Section".<br>
              Using the first device section listed.<br>
      [    15.164] (**) |   |--&gt;Device "Card0"<br>
      [    15.164] (==) No monitor specified for screen "Default Screen
      Section".<br>
              Using a default monitor configuration.<br>
      [    15.164] (==) Automatically adding devices<br>
      [    15.164] (==) Automatically enabling devices<br>
      [    15.164] (==) Not automatically adding GPU devices<br>
      [    15.164] (==) Max clients allowed: 256, resource mask:
      0x1fffff<br>
      [    15.168] (==) FontPath set to:<br>
              /usr/local/share/fonts/misc/,<br>
              /usr/local/share/fonts/TTF/,<br>
              /usr/local/share/fonts/OTF/,<br>
              /usr/local/share/fonts/Type1/,<br>
              /usr/local/share/fonts/100dpi/,<br>
              /usr/local/share/fonts/75dpi/,<br>
              catalogue:/usr/local/etc/X11/fontpath.d<br>
      [    15.168] (==) ModulePath set to "/usr/local/lib/xorg/modules"<br>
      [    15.168] (II) The server relies on udev to provide the list of
      input devices.<br>
              If no devices become available, reconfigure udev or
      disable AutoAddDevices.<br>
      [    15.168] (II) Loader magic: 0x435f60<br>
      [    15.168] (II) Module ABI versions:<br>
      [    15.168]    X.Org ANSI C Emulation: 0.4<br>
      [    15.168]    X.Org Video Driver: 24.1<br>
      [    15.168]    X.Org XInput driver : 24.1<br>
      [    15.168]    X.Org Server Extension : 10.0<br>
      [    15.168] (!!) More than one possible primary device found<br>
      [    15.168] (--) PCI: (16@0:0:0) 10de:1243:1462:2315 rev 161, Mem
      @ 0xfa000000/33554432, 0xd8000000/134217728, 0xe0000000/67108864,
      I/O @ 0x0000f000/128, BIOS @ 0x????????/65536<br>
      [    15.168] (--) PCI: (48@0:0:0) 1002:1638:1002:1636 rev 201, Mem
      @ 0xc0000000/268435456, 0xd0000000/2097152, 0xfc500000/524288, I/O
      @ 0x0000e000/256, BIOS @ 0x????????/65536<br>
      [    15.168] (II) LoadModule: "glx"<br>
      [    15.169] (II) Loading
      /usr/local/lib/xorg/modules/extensions/libglx.so<br>
      [    15.207] (II) Module glx: vendor="NVIDIA Corporation"<br>
      [    15.207]    compiled for 4.0.2, module version = 1.0.0<br>
      [    15.207]    Module class: X.Org Server Extension<br>
      [    15.207] (II) NVIDIA GLX Module  390.144  Wed Jun  2 22:59:08
      UTC 2021<br>
      [    15.207] (II) LoadModule: "nvidia"<br>
      [    15.207] (II) Loading
      /usr/local/lib/xorg/modules/drivers/nvidia_drv.so<br>
      [    15.211] (II) Module nvidia: vendor="NVIDIA Corporation"<br>
      [    15.211]    compiled for 4.0.2, module version = 1.0.0<br>
      [    15.211]    Module class: X.Org Video Driver<br>
      [    15.211] (II) NVIDIA dlloader X Driver  390.144  Wed Jun  2
      23:00:51 UTC 2021<br>
      [    15.211] (II) NVIDIA Unified Driver for all Supported NVIDIA
      GPUs<br>
      [    15.212] (--) Using syscons driver with X support (version
      2.0)<br>
      [    15.212] (++) using VT number 9<br>
      <br>
      [    15.212] (EE) No devices detected.<br>
      [    15.212] (EE)<br>
      Fatal server error:<br>
      [    15.212] (EE) no screens found(EE)<br>
      [    15.212] (EE)<br>
      Please consult the The X.Org Foundation support<br>
               at <a class="moz-txt-link-freetext" href="http://wiki.x.org">http://wiki.x.org</a><br>;
       for help.<br>
      [    15.212] (EE) Please also check the log file at
      "/var/log/Xorg.0.log" for additional information.<br>
      [    15.212] (EE)<br>
      [    15.212] (EE) Server terminated with error (1). Closing log
      file.<br>
      gfm@starker2:~ $<br>
      <br>
    </p>
  </body>
</html>

--------------0aH0AzzAr5Anp427ODFZaDgz--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d2cbb1cb-5aff-04ad-8c7c-aff3bdd47a16>