Problem with getting starts working

Code:
X.Org X Server 1.21.1.7

X Protocol Version 11, Revision 0

[   668.463] Current Operating System: FreeBSD mybook 13.2-RELEASE FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64
[   668.463]  
[   668.463] Current version of pixman: 0.42.2
[   668.463]     Before reporting problems, check [URL]http://wiki.x.org[/URL]
    to make sure that you have the latest version.
[   668.464] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   668.464] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 25 11:54:31 2023
[   668.464] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[   668.465] (==) No Layout section.  Using the first Screen section.
[   668.465] (==) No screen section available. Using defaults.
[   668.465] (**) |-->Screen "Default Screen Section" (0)
[   668.465] (**) |   |-->Monitor "<default monitor>"
[   668.465] (==) No monitor specified for screen "Default Screen Section".

    Using a default monitor configuration.

[   668.465] (==) Automatically adding devices
[   668.465] (==) Automatically enabling devices
[   668.465] (==) Not automatically adding GPU devices
[   668.465] (==) Automatically binding GPU devices
[   668.465] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   668.465] (==) 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

[   668.465] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[   668.465] (II) The server relies on udev to provide the list of input devices.

    If no devices become available, reconfigure udev or disable AutoAddDevices.

[   668.466] (II) Module ABI versions:
[   668.466]     X.Org ANSI C Emulation: 0.4
[   668.466]     X.Org Video Driver: 25.2
[   668.466]     X.Org XInput driver : 24.4
[   668.466]     X.Org Server Extension : 10.0
[   668.466] (--) PCI:*(2@0:0:0) 10de:0863:106b:00aa rev 177, Mem @ 0xd2000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00001000/128, BIOS @ 0x????????/65536
[   668.466] (II) LoadModule: "glx"
[   668.466] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[   668.489] (II) Module glx: vendor="NVIDIA Corporation"


[   668.489]     compiled for 4.0.2, module version = 1.0.0
[   668.489]     Module class: X.Org Server Extension
[   668.489] (II) NVIDIA GLX Module  340.108  Wed Dec 11 14:27:50 PST 2019
[   668.490] (==) Matched nv as autoconfigured driver 0
[   668.490] (==) Matched modesetting as autoconfigured driver 1
[   668.490] (==) Matched scfb as autoconfigured driver 2

[   668.490] (==) Matched vesa as autoconfigured driver 3
[   668.490] (==) Assigned the driver to the xf86ConfigLayout
[   668.490] (II) LoadModule: "nv"
[   668.490] (WW) Warning, couldn't open module nv
[   668.490] (EE) Failed to load module "nv" (module does not exist, 0
[   668.490] (II) LoadModule: "modesetting"


[   668.490] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[   668.491] (II) Module modesetting: vendor="X.Org Foundation"
[   668.491]     compiled for 1.21.1.7, module version = 1.21.1
[   668.491]     Module class: X.Org Video Driver
[   668.491]     ABI class: X.Org Video Driver, version 25.2
[   668.491] (II) LoadModule: "scfb"

[   668.492] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
[   668.492] (II) Module scfb: vendor="X.Org Foundation"
[   668.492]     compiled for 1.21.1.7, module version = 0.0.5
[   668.492]     ABI class: X.Org Video Driver, version 25.2
[   668.492] (II) LoadModule: "vesa"
[   668.492] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so


[   668.492] (II) Module vesa: vendor="X.Org Foundation"
[   668.492]     compiled for 1.21.1.7, module version = 2.5.0
[   668.492]     Module class: X.Org Video Driver
[   668.492]     ABI class: X.Org Video Driver, version 25.2
[   668.492] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   668.492] (II) scfb: driver for wsdisplay framebuffer: scfb
[   668.492] (II) VESA: driver for VESA chipsets: vesa
[   668.493] (--) Using syscons driver with X support (version 2.0)
[   668.493] (--) using VT number 9
[   668.493] (EE) open /dev/dri/card0: No such file or directory
[   668.493] (WW) Falling back to old probe method for modesetting
[   668.493] (EE) open /dev/dri/card0: No such file or directory

[   668.493] (WW) Falling back to old probe method for scfb
[   668.493] scfb trace: probe start
[   668.493] (II) scfb(1): using default device
[   668.493] scfb trace: probe done
[   668.493] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   668.493] (EE) Screen 0 deleted because of no matching config section.
[   668.493] (II) UnloadModule: "modesetting"
[   668.493] (EE) 

Fatal server error:

[   668.493] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
[   668.493] (EE) 
[   668.493] (EE) 


Please consult the The X.Org Foundation support 
     at [URL]http://wiki.x.org[/URL]
 for help. 


[   668.494] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   668.494] (EE) 
[   668.494] (EE) Server terminated with error (1). Closing log file.
 
So, very nice log file. Let's see what my cristal ball tells me. You have a nvidia GPU but have not the correct Xorg driver?
 
Well I added now 20-nvidia.conf and 10-monitor.conf
It is keep on saying unable to open display....

How do relate the
/usr/local/etc/X11/xorg.conf.d/20-nvidia.conf
Code:
Section "Device"
    Identifier "Card0"
    Driver      "nvidia"
    BusID     "pci0:2:0:0"
EndSection

/usr/local/etc/X11/xorg.conf.d/10-monitor.conf
Code:
Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    SubSection "Display"
    Modes      "1024x768"
    EndSubSection
EndSection
 
Code:
cat /var/log/Xorg.0.log

[  1342.414] 
X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
[  1342.414] Current Operating System: FreeBSD mybook 13.2-RELEASE FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64
[  1342.414]  
[  1342.414] Current version of pixman: 0.42.2
[  1342.414]     Before reporting problems, check [URL]http://wiki.x.org[/URL]
    to make sure that you have the latest version.
[  1342.414] Markers: (--) probed, (**) from config file, (==) default setting,

    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

[  1342.420] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 25 13:02:11 2023
[  1342.420] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[  1342.420] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[  1342.421] (==) No Layout section.  Using the first Screen section.
[  1342.421] (**) |-->Screen "Screen0" (0)
[  1342.421] (**) |   |-->Monitor "<default monitor>"
[  1342.421] (**) |   |-->Device "Card0"
[  1342.421] (==) No monitor specified for screen "Screen0".
    Using a default monitor configuration.
[  1342.421] (==) Automatically adding devices
[  1342.421] (==) Automatically enabling devices
[  1342.421] (==) Not automatically adding GPU devices
[  1342.421] (==) Automatically binding GPU devices
[  1342.422] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1342.422] (==) 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
[  1342.422] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[  1342.422] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1342.422] (II) Module ABI versions:
[  1342.422]     X.Org ANSI C Emulation: 0.4
[  1342.422]     X.Org Video Driver: 25.2
[  1342.422]     X.Org XInput driver : 24.4
[  1342.422]     X.Org Server Extension : 10.0
[  1342.422] (--) PCI:*(2@0:0:0) 10de:0863:106b:00aa rev 177, Mem @ 0xd2000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00001000/128, BIOS @ 0x????????/65536
[  1342.422] (II) LoadModule: "glx"
[  1342.423] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[  1342.448] (II) Module glx: vendor="NVIDIA Corporation"
[  1342.448]     compiled for 4.0.2, module version = 1.0.0
[  1342.448]     Module class: X.Org Server Extension
[  1342.448] (II) NVIDIA GLX Module  340.108  Wed Dec 11 14:27:50 PST 2019
[  1342.448] (II) LoadModule: "nvidia"
[  1342.448] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[  1342.449] (II) Module nvidia: vendor="NVIDIA Corporation"
[  1342.449]     compiled for 4.0.2, module version = 1.0.0
[  1342.449]     Module class: X.Org Video Driver


[  1342.449] ================ WARNING WARNING WARNING WARNING ================
[  1342.449] This server has a video driver ABI version of 25.2 that this
driver does not officially support.  Please check

[URL]http://www.nvidia.com/[/URL] for driver updates or downgrade to an 
server with a supported driver ABI.

[  1342.449] =================================================================
[  1342.450] (EE) NVIDIA: Use the -ignoreABI option to override this check.
[  1342.450] (II) UnloadModule: "nvidia"
[  1342.450] (II) Unloading nvidia
[  1342.450] (EE) Failed to load module "nvidia" (unknown error, 0)
[  1342.450] (EE) No drivers available.
[  1342.450] (EE) 

Fatal server error:
[  1342.450] (EE) no screens found(EE) 
[  1342.450] (EE) 

Please consult the The X.Org Foundation support 
     at [URL]http://wiki.x.org[/URL]
 for help. 

[  1342.450] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1342.450] (EE) 
[  1342.451] (EE) Server terminated with error (1). Closing log file.
 
Please post the output of pciconf -lv|grep -B4 VGA

And make sure all your packages are up to date (pkg-upgrade(8)), the error seems to indicate a discrepancy in versions.
 
Code:
pciconf -lv | grep -B4 VGA

vgapci0@pci0:2:0:0: 
    vendor    = ‘NVIDIA Corporation”
    device     = “C79 [GeForce 9400M]”
    class       = display
    subclass = VGA

packages are up2date
 
Code:
[    70.814] 

X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0

[    70.814] Current Operating System: FreeBSD mybook 13.2-RELEASE FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64
[    70.814]  
[    70.814] Current version of pixman: 0.42.2
[    70.814]     Before reporting problems, check [URL]http://wiki.x.org[/URL]
    to make sure that you have the latest version.
[    70.815] Markers: (--) probed, (**) from config file, (==) default setting,

    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

[    70.815] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 25 14:18:03 2023
[    70.865] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[    70.865] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[    70.921] (==) No Layout section.  Using the first Screen section.
[    70.921] (**) |-->Screen "Screen0" (0)
[    70.921] (**) |   |-->Monitor "Monitor0"
[    70.922] (**) |   |-->Device "Card0"
[    70.922] (==) Automatically adding devices
[    70.922] (==) Automatically enabling devices
[    70.922] (==) Not automatically adding GPU devices
[    70.922] (==) Automatically binding GPU devices
[    70.939] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    71.066] (**) FontPath set to:

    /usr/local/share/fonts/urwfonts/,
    /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

[    71.066] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[    71.066] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[    71.076] (II) Module ABI versions:
[    71.076]     X.Org ANSI C Emulation: 0.4
[    71.076]     X.Org Video Driver: 25.2
[    71.076]     X.Org XInput driver : 24.4
[    71.076]     X.Org Server Extension : 10.0
[    71.076] (--) PCI:*(2@0:0:0) 10de:0863:106b:00aa rev 177, Mem @ 0xd2000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00001000/128, BIOS @ 0x????????/65536
[    71.077] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    71.077] (II) LoadModule: "glx"
[    71.091] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[    71.591] (II) Module glx: vendor="NVIDIA Corporation"
[    71.591]     compiled for 4.0.2, module version = 1.0.0
[    71.591]     Module class: X.Org Server Extension
[    71.592] (II) NVIDIA GLX Module  340.108  Wed Dec 11 14:27:50 PST 2019
[    71.603] (II) LoadModule: "nvidia"
[    71.616] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[    71.688] (II) Module nvidia: vendor="NVIDIA Corporation"
[    71.688]     compiled for 4.0.2, module version = 1.0.0
[    71.688]     Module class: X.Org Video Driver
[    71.694] ================ WARNING WARNING WARNING WARNING ================
[    71.694] This server has a video driver ABI version of 25.2 that this
driver does not officially support.  Please check
[URL]http://www.nvidia.com/[/URL] for driver updates or downgrade to an X
server with a supported driver ABI.
[    71.694] =================================================================
[    71.694] (EE) NVIDIA: Use the -ignoreABI option to override this check.
[    71.694] (II) UnloadModule: "nvidia"
[    71.694] (II) Unloading nvidia
[    71.695] (EE) Failed to load module "nvidia" (unknown error, 0)
[    71.695] (EE) No drivers available.
[    71.695] (EE) 


Fatal server error:
[    71.695] (EE) no screens found(EE) 
[    71.695] (EE) 


Please consult the The X.Org Foundation support 
     at [URL]http://wiki.x.org[/URL]
 for help. 


[    71.695] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    71.695] (EE) 
[    71.695] (EE) Server terminated with error (1). Closing log file.
 
Code:
cat /etc/rc.conf
clear_tmp_enable="YES"
hostname="mybook"
keymap="de.kbd"
ifconfig_nfe0="DHCP"
sshd_enable="YES"
ntpdate_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"

hald_enable="YES"
dbus_enable="YES"
kdm5_enable="YES"
kld_list="nvidia linux linux64 fuse"
 
Does that version of the driver support the nvidia-modeset? If so kld_list should have "nvidia-modeset" instead of nvidia. I think nvidia-modeset has a dependency on nvidia so they both get loaded.
 
 
Back
Top