Need NVIDIA driver

installed on HP Pavillion DV6700 laptop. no driver found for NVIDIA video, Running in VGA mode,

Hi there @johnmartin4,

what’s the output of pciconf -lv | grep -B3 display and sysctl -n hw.pci.default_vgapci_unit? In case your system has hybrid/switchable-graphics, try to disable the IGPU from the BIOS/UEFI.

grep command failed. here is what I think you are looking for,

john@NomadBSD ~> pciconf -lv
none0@pci0:0:0:0:	class=0x050000 card=0x30cf103c chip=0x054710de rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'MCP67 Memory Controller'
    class      = memory
    subclass   = RAM
isab0@pci0:0:1:0:	class=0x060100 card=0x30cf103c chip=0x054810de rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'MCP67 ISA Bridge'
    class      = bridge
    subclass   = PCI-ISA
none1@pci0:0:1:1:	class=0x0c0500 card=0x30cf103c chip=0x054210de rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'MCP67 SMBus'
    class      = serial bus
    subclass   = SMBus
none2@pci0:0:1:2:	class=0x050000 card=0x30cf103c chip=0x054110de rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'MCP67 Memory Controller'
    class      = memory
    subclass   = RAM
none3@pci0:0:1:3:	class=0x0b4000 card=0x30cf103c chip=0x054310de rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'MCP67 Co-processor'
    class      = processor
ohci0@pci0:0:2:0:	class=0x0c0310 card=0x30cf103c chip=0x055e10de rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'MCP67 OHCI USB 1.1 Controller'
    class      = serial bus
    subclass   = USB
ehci0@pci0:0:2:1:	class=0x0c0320 card=0x30cf103c chip=0x055f10de rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'MCP67 EHCI USB 2.0 Controller'
    class      = serial bus
    subclass   = USB
ohci1@pci0:0:4:0:	class=0x0c0310 card=0x30cf103c chip=0x055e10de rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'MCP67 OHCI USB 1.1 Controller'
    class      = serial bus
    subclass   = USB
ehci1@pci0:0:4:1:	class=0x0c0320 card=0x30cf103c chip=0x055f10de rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'MCP67 EHCI USB 2.0 Controller'
    class      = serial bus
    subclass   = USB
atapci0@pci0:0:6:0:	class=0x01018a card=0x30cf103c chip=0x056010de rev=0xa1 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'MCP67 IDE Controller'
    class      = mass storage
    subclass   = ATA
pcib1@pci0:0:8:0:	class=0x060401 card=0xcb8410de chip=0x056110de rev=0xa2 hdr=0x01
    vendor     = 'NVIDIA Corporation'
    device     = 'MCP67 PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
ahci0@pci0:0:9:0:	class=0x010185 card=0x30cf103c chip=0x055010de rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'MCP67 AHCI Controller'
    class      = mass storage
    subclass   = ATA
nfe0@pci0:0:10:0:	class=0x020000 card=0x30cf103c chip=0x054c10de rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'MCP67 Ethernet'
    class      = network
    subclass   = ethernet
pcib2@pci0:0:12:0:	class=0x060400 card=0x000010de chip=0x056310de rev=0xa2 hdr=0x01
    vendor     = 'NVIDIA Corporation'
    device     = 'MCP67 PCI Express Bridge'
    class      = bridge
    subclass   = PCI-PCI
pcib3@pci0:0:13:0:	class=0x060400 card=0x000010de chip=0x056310de rev=0xa2 hdr=0x01
    vendor     = 'NVIDIA Corporation'
    device     = 'MCP67 PCI Express Bridge'
    class      = bridge
    subclass   = PCI-PCI
vgapci0@pci0:0:18:0:	class=0x030000 card=0x30cf103c chip=0x053110de rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'C67 [GeForce 7150M / nForce 630M]'
    class      = display
    subclass   = VGA

Your graphics card should be supported by the nvidia-304 driver, and our script should auto-detect it. What does sysctl -n hw.pci.default_vgapci_unit say? What’s the output of kldstat?

sudo sysctl -n hw.pci.default_vgapci_unit
Password:
0
john@NomadBSD ~>
can I install nvidia-304 driver?

sudo kldstat
Id Refs Address Size Name
1 36 0x800000 19a2c44 kernel
2 1 0x21a3000 8544 ums.ko
3 1 0x17400000 e000 tmpfs.ko
4 1 0x1740e000 8000 acpi_video.ko
5 1 0x17416000 b000 cuse.ko
6 1 0x17421000 6000 uhid.ko
7 1 0x17427000 7000 wmt.ko
8 1 0x1742e000 4000 mac_ntpd.ko
9 1 0x17432000 1f000 ext2fs.ko
10 1 0x17451000 17000 fusefs.ko
11 1 0x17468000 9000 geom_linux_lvm.ko
12 1 0x17471000 7000 acpi_wmi.ko
13 1 0x17478000 50000 linux.ko
john@NomadBSD ~>

Here are the steps to manually configure your system for using the nvidia-304 driver.

# pkg install nvidia-driver-304
# sysrc initgfx_enable=NO
# sysrc sysrc kld_list+=" nvidia"

Create /usr/local/etc/X11/xorg.conf.d/10-nvidia.conf with the following content:

Section "Device"
    Identifier    "NVIDIA CARD"
    VendorName    "NVIDIA Corporation"
    Driver        "nvidia"
EndSection

Reboot.

that fixed the issue. Thanks for the help, Stay safe.

1 Like

Hi all people. I have the same issue, my motherboard is Asrock N68-VS3 UCC with NVIDIA GeForce 7025/nForce 630a on board. I have been using NVIDIA-304 driver for years on linux and it is the last driver supporting this chipset. I installed NomadBSD 1.4 in a HDD but it runs in VESA mode. After trying the solution given in the errata, graphic mode didn’t work any more and the /var/log/Xorg.0.log says:
…
[ 38.169] (II) NVIDIA GLX Module 304.137 Thu Sep 14 14:06:12 PDT 2017
[ 38.181] (II) LoadModule: “nvidia”
[ 38.181] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[ 38.313] (II) Module nvidia: vendor=“NVIDIA Corporation”
[ 38.313] compiled for 4.0.2, module version = 1.0.0
[ 38.313] Module class: X.Org Video Driver
[ 38.314] ================ WARNING WARNING WARNING WARNING ================
[ 38.314] This server has a video driver ABI version of 24.1 that this
driver does not officially support. Please check
http://www.nvidia.com/ for driver updates or downgrade to an X
server with a supported driver ABI.
[ 38.314] =================================================================
[ 38.314] (EE) NVIDIA: Use the -ignoreABI option to override this check.
[ 38.315] (II) UnloadModule: “nvidia”
[ 38.315] (II) Unloading nvidia
[ 38.315] (EE) Failed to load module “nvidia” (unknown error, 0)
[ 38.315] (EE) No drivers available.
[ 38.315] (EE)
Fatal server error:
[ 38.315] (EE) no screens found(EE)
…
what can i do? thanks in advance…

Try to upgrade your packages:

# pkg upgrade

I did upgrade but there were other issues so I did a clean HDD install of 130R-20210508, after that upgraded pkgs and installed py38-xdg.

After that i did:
# pkg install nvidia-driver-304

System told me:
New packages to be INSTALLED:
e2fsprogs-nobootfsck: 1.46.4_1
nvidia-driver-304: 304.137_9

I said yes and after downloading:
[1/2] Installing nvidia-driver-304-304.137_9…
[1/2] Extracting nvidia-driver-304-304.137_9: 100%
[2/2] Installing e2fsprogs-nobootfsck-1.46.4_1…
pkg: e2fsprogs-nobootfsck-1.46.4_1 conflicts with e2fsprogs-1.46.2 (installs files into the same place). Problematic file: /usr/local/bin/chattr

I stopped here to ask if I must go on with the sysrc steps and creation of 10-nvidia.conf or … ???

# pkg delete e2fsprogs
# pkg install nvidia-driver-304

Then proceed with the remaining steps.

1 Like

I couldn’t delete:
…
root@NomadBSD:/home/brownbox # pkg delete e2fsprogs
Checking integrity… done (0 conflicting)
The following package(s) are locked and may not be removed:

e2fsprogs

1 packages requested for removal: 1 locked, 0 missing
root@NomadBSD:/home/brownbox #
…

You can unlock the package via

# pkg unlock e2fsprogs
2 Likes

Well, fifty fifty; the last nvidia-304 driver isn’t supported by new versions of X.Org video Driver; so X.Org driver didn´t load the nvidia one, went VESA, detected nvidia chip, failed to read panel resolution (my VGA monitor is generic but can do 1920x1080@60Hz) and then did a search for matching vesa modes to the nvidia chip and went 1024x768.
In previous NomadBSD or GhostBSD versions graphics did not start and system booted in text mode, in this version Xorg driver switched to vesa.
Here is Xorg.0.log: https://disk.yandex.com/d/iUTzmDDYudki7w

Is there any (by config) way to force another vesa mode? Thanks in advance.

It seems, Nvidia is probably not going to update their 304 driver to match the new X ABI:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244421

Try nv(4):

# pkg install xf86-video-nv
# pkg delete nvidia-driver-304
# sysrc kld_list-="nvidia"

Edit the file /usr/local/etc/X11/xorg.conf.d/00-video-initgfx.conf as follows:

Section "Device"
    Identifier    "NVIDIA CARD"
    VendorName    "NVIDIA Corporation"
    Driver        "nv"
EndSection
1 Like

I had the same problem with my Nvidia card.
It also needs the nvidia-driver-304 and I installed xf86-video-nv.
It somehow works,I get bigger resolutions than 1024x768 now (it’s a FullHD display).
If I set it to 1680x1050,the driver works fine,but it’s a bit blurred as that’s not really the correct resolution.
If I set it to 1920x1080 which would be correct,it starts to look like that:


I can partially improve that by increasing H. Position and V. Position in the settings of the screen,but it only allows +/-50 pixels and that’s not enough.
Is there any way to fix this directly from NomadBSD or is the driver just broken?

Hi @nipos,

have you tried the Auto Config function of your monitor? If it doesn’t help, try to reset your monitor from its menu (factory reset).

Yes,I tried Auto Config,the screenshot above is the result of it.
As I said,with manual config I can improve it a bit,but not totally fix it.
Also,the settings of the monitor should be fine,it has H. Position and V. Position set to exactly the middle (50) and that works fine with other OSes and other resolutions on NomadBSD.
I also tried Haiku on this machine,there it automatically sets 1920x1080 and it looks perfectly fine,so it must be either the driver or the Xorg config on NomadBSD.
I tried some other resolutions now and it seems that it’s always 16:9 which causes problems here.
I could reproduce the problem with 1600x900 as well,but not that extreme.
1680x1050 is the resolution that currently works best,but as I said above,that’s too low and gets blurred.

I still need help on this,please!
Tried some other operating systems now…
Linux seems to use Nouveau for that chipset which works just fine,but on Linux the Wifi doesn’t work correctly (and I don’t want to use Linux anyway).
FuguIta (OpenBSD Live system) starts Xorg directly with the correct resolution 1920x1080 but has the same problem as NomadBSD has: The picture is moved too far left.
Any chance to fix it?