How to get a GTX750 with Xorg running? (No screens found)

Hello,

i am a Debian desktop user and have some FreeBSD servers. I would like to test FreeBSD as a desktop OS at my workstation but i can't enjoy my two monitors at the full resolution because something does not work properly. I have done some research on the internet and tried various things...

I hope the logs help to understand my situation. It's a self-build workstation with a Supermicro X9DRD-IF motherboard with an onboard Matrox GPU and a dedicated GTX750.

It runs without the 20-nvida.conf file. But only one monitor with a very low resolution.

Thank you for any help! I will try to answer any questions relating to my system. I am very sorry for my bad English.
 

Attachments

I have a GTX 750 Ti on which Xorg is running.

Installed driver: x11/nvidia-driver (note: this driver works across the FreeBSD minor upgrades).

Content of /usr/local/etc/X11/xorg.conf.d/video.conf:
Code:
Section "Device"
    Identifier "NVIDIA Card"
    VendorName "NVIDIA Corporation"
    Driver "nvidia"
EndSection


Partial content of /etc/rc.conf:
Code:
kld_list="nvidia-modeset"
 
I have a GTX 750 Ti on which Xorg is running.

Installed driver: x11/nvidia-driver (note: this driver works across the FreeBSD minor upgrades).

Content of /usr/local/etc/X11/xorg.conf.d/video.conf:
Code:
Section "Device"
    Identifier "NVIDIA Card"
    VendorName "NVIDIA Corporation"
    Driver "nvidia"
EndSection


Partial content of /etc/rc.conf:
Code:
kld_list="nvidia-modeset"
That was also my initial setup. I followed the official documentation. But there is always the same problem...
 
Code:
[    22.625] (II) NVIDIA GLX Module  390.154  Wed Jun 22 04:44:23 UTC 2022
[    22.626] (II) LoadModule: "nvidia"
[    22.626] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[    22.631] (II) Module nvidia: vendor="NVIDIA Corporation"
[    22.631]     compiled for 4.0.2, module version = 1.0.0
[    22.631]     Module class: X.Org Video Driver
[    22.632] (II) NVIDIA dlloader X Driver  390.154  Wed Jun 22 04:46:19 UTC 2022

Is seems for me, like you installed an old NVIDIA driver, 390 version: x11/nvidia-driver-390 instead of x11/nvidia-driver. As far I see on the NVIDIA page, your graphic card is supported by the stable version of the driver.
 
Code:
[    22.625] (II) NVIDIA GLX Module  390.154  Wed Jun 22 04:44:23 UTC 2022
[    22.626] (II) LoadModule: "nvidia"
[    22.626] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[    22.631] (II) Module nvidia: vendor="NVIDIA Corporation"
[    22.631]     compiled for 4.0.2, module version = 1.0.0
[    22.631]     Module class: X.Org Video Driver
[    22.632] (II) NVIDIA dlloader X Driver  390.154  Wed Jun 22 04:46:19 UTC 2022

Is seems for me, like you installed an old NVIDIA driver, 390 version: x11/nvidia-driver-390 instead of x11/nvidia-driver. As far I see on the NVIDIA page, your graphic card is supported by the stable version of the driver.
That is correct. I tried the newest version and the 390 one. Both of them do not work.
 
Xorg uses the pci bus location format that is different from everything else.
This is the correct answer.

SOLUTION:
1. You have to reformat the ID from
Code:
 % pciconf -lv | grep -B3 display

Example from my system:
pci0:130:0:0 -> PCI:130:0:0

2. Now you can write the new ID into a file under /usr/local/etc/X11/xorg.conf.d/

Example from my system (20-nvidia.conf):
Code:
Section "Device"
 Identifier "NVIDIA Card"
 Driver "nvidia"
 VendorName "NVIDIA Corporation"
 BusID "PCI:130:0:0"
EndSection

Thank you for your help!
 
My currently installed nvidia-driver version is 550.127.05.
FYI:
nvidia released 550.135 production branch of the driver at Nov. 19, 2024.
Tried build only with overriding version with NO_CHECKSUM defined and went fine.
As there doesn't seem updates other than version and distinfo, I have no plan to submit patch for updates, unless I find something to adapt for updated new feature branch of driver, 565.77 released at Dec. 05, 2024.
Currently I don't have enough time to test, but maybe no need to adapt, as 565 series of drivers are already provided as beta driver and current in-tree ports has adaptations for them.
 
Back
Top