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