From nobody Fri Jun 10 05:36:03 2022 X-Original-To: freebsd-x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B3FF685325D for ; Fri, 10 Jun 2022 05:36:21 +0000 (UTC) (envelope-from graham@menhennitt.com.au) Received: from fish.tulip.relay.mailchannels.net (fish.tulip.relay.mailchannels.net [23.83.218.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4LK8pC5Mh9z4b7l for ; Fri, 10 Jun 2022 05:36:18 +0000 (UTC) (envelope-from graham@menhennitt.com.au) X-Sender-Id: dreamhost|x-authsender|graham@menhennitt.com.au Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 5138E12143D for ; Fri, 10 Jun 2022 05:36:10 +0000 (UTC) Received: from pdx1-sub0-mail-a260.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 784F31215F0 for ; Fri, 10 Jun 2022 05:36:09 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1654839369; a=rsa-sha256; cv=none; b=Z2gnkgglSsts8SfSpZFKPfwzXFshscVYvQITlOBglu0RaPcB1GQk6ouOownjNAORkA4QuO MgiqC77iaWEItLgbv+ZAnXiVuxnV148Ex2t4AIslG/V1QJ6znjK2+P9ah/e9CkHuc2jJe3 QYifwerEU9oUrHjT0PX1cAW05DyAfz8f05kkIQu2LwLysGzPb8y6FsW5hQ8PjijSksd56X x4DT3cFj3/mRJRuHzy5MlbwqfrTZUq+ta5vZ6AhzWOR8zjvENee5CmdbachWh2O0ElLQ+v aWxmSiyp8H+fFcvK89Qj5wxQ8nyl2t0+xIS8LegmPReclue117JNCMMKfmx7vQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1654839369; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: dkim-signature; bh=+SR6m4BooCmKUrd8d5vcrjE4F+V21ntJ6W1lwckZ2Uk=; b=cLD8jkiCOWevqNe8kl3pqDDNv+Ol4GGVgl5fKSW8uXQE6mGwysPU83AgFWVgJp/tQrt8Ca 1o+Y+sRL40bkrgvgO+30ObsgD+HfCyMLnxRQptO6wa8EH4wtcZLm5qY565+GE05RIEejAR MrOEg8mWX5OfM0iNxvGNMAGA/5mEM11OyibqkzkmZLNRU32l+w9B5n+Apc/1RjpAXxVgeo kcgwsA5mzWJC+eijwlxDAc1Se1JUK7I3UkkIFNxZuFQxeciYg1WrU3ik5BCKilx3qaf7Vw y75TCQ9VTcLbc2eMQ3tpFyHhWrylHguVoqjLAMP2hjAU9bpfcRzgurHE4Uz1iw== ARC-Authentication-Results: i=1; rspamd-786f5898df-l7klk; auth=pass smtp.auth=dreamhost smtp.mailfrom=graham@menhennitt.com.au X-Sender-Id: dreamhost|x-authsender|graham@menhennitt.com.au X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|graham@menhennitt.com.au X-MailChannels-Auth-Id: dreamhost X-Interest-Wipe: 6e60187b537ce758_1654839369776_1337442618 X-MC-Loop-Signature: 1654839369776:3200430174 X-MC-Ingress-Time: 1654839369776 Received: from pdx1-sub0-mail-a260.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.112.55.213 (trex/6.7.1); Fri, 10 Jun 2022 05:36:09 +0000 Received: from [203.3.73.90] (unknown [203.63.100.234]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: graham@menhennitt.com.au) by pdx1-sub0-mail-a260.dreamhost.com (Postfix) with ESMTPSA id 4LK8nz5rK2z3K for ; Thu, 9 Jun 2022 22:36:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=menhennitt.com.au; s=dreamhost; t=1654839369; bh=+SR6m4BooCmKUrd8d5vcrjE4F+V21ntJ6W1lwckZ2Uk=; h=Content-Type:Date:From:To:Subject; b=am6LSbulPUQ6nVyGZPVLns5O6ZLkgaoRy3ls0mPKU2n+fk4lyx3YwKxH9efp5koA+ c71A8burIl1caNqi/7SqiHG6+zo+YTJW7MAr+WCbBN8qFGKUPaONyKH0ebrYAPP3CK UPgQBgC0jSJ3S+MNM4r/JpExJmLC5Dx9rcd3AX0EiM56iJYc9tN1tMI/Aj/fMbvcZA LVuKi6IAn+SR84mPLN1rUWMySIeIjGY+tdBmMsf0deysyD4vyErkoupWjE3SltZifX wyYn7VQwwaaYEMyPhzOutSsoxCd3tv5LXskdwVYtWlRodvUJvn5WHzR/m2NDPI5VPE hRWgOVChHVGHg== Content-Type: multipart/alternative; boundary="------------0aH0AzzAr5Anp427ODFZaDgz" Message-ID: Date: Fri, 10 Jun 2022 15:36:03 +1000 List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Content-Language: en-AU From: Graham Menhennitt To: freebsd-x11@freebsd.org Subject: can't get NVIDIA driver working X-Rspamd-Queue-Id: 4LK8pC5Mh9z4b7l X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=menhennitt.com.au header.s=dreamhost header.b=am6LSbul; arc=pass ("mailchannels.net:s=arc-2022:i=1"); dmarc=none; spf=none (mx1.freebsd.org: domain of graham@menhennitt.com.au has no SPF policy when checking 23.83.218.251) smtp.mailfrom=graham@menhennitt.com.au X-Spamd-Result: default: False [-4.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_FIVE(0.00)[5]; R_DKIM_ALLOW(-0.20)[menhennitt.com.au:s=dreamhost]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.0:email]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-x11@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[menhennitt.com.au]; DBL_PROHIBIT(0.00)[0.0.0.0:email]; DKIM_TRACE(0.00)[menhennitt.com.au:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[23.83.218.251:from]; MLMMJ_DEST(0.00)[freebsd-x11]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:36483, ipnet:23.83.216.0/22, country:CA]; MID_RHS_MATCH_FROM(0.00)[]; ARC_ALLOW(-1.00)[mailchannels.net:s=arc-2022:i=1] X-ThisMailContainsUnwantedMimeParts: N 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 "" [    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 "" [    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

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--