Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jul 2022 11:22:18 +0200
From:      Rocky Hotas <rockyhotas@post.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   How to determine the correct graphics card driver
Message-ID:  <trinity-acc9b4b9-114e-49f8-97d9-965c395b1542-1657963338728@3c-app-mailcom-lxa09>

next in thread | raw e-mail | index | archive | help
Hello!
After installing FreeBSD 13.1-RELEASE amd64 on an old machine with Intel
Pentium E5300, I would like to properly configure the graphics card.
Currently the display has a 640x480 resolution and I'm struggling to
find the right graphics driver.

`pciconf -lv' shows:

vgapci0@pci0:0:16:0:    class=3D0x030000 rev=3D0xa2 hdr=3D0x00 vendor=3D0x=
10de
device=3D0x07e1 subvendor=3D0x1734 subdevice=3D0x115b
    vendor     =3D 'NVIDIA Corporation'
    device     =3D 'C73 [GeForce 7100 / nForce 630i]'
    class      =3D display
    subclass   =3D VGA

So I guessed that it's an NVIDIA card. According to the link in Section
2.1 of

 <https://docs.freebsd.org/doc/7.3-RELEASE/usr/share/doc/en/articles/compi=
z-fusion/nvidia-setup.html>

(which is https://www.nvidia.com/en-us/drivers/unix/legacy-gpu/)

such a device is supported by the `304.xx' driver. So, I installed the
package nvidia-driver-304-304.137_9 and added `kldlist=3D"nvidia"' to
/etc/rc.conf as instructed. The driver installs in fact
`/boot/modules/nvidia.ko'.

However, this had no success. The resolution is still 640x480. Some
relevant lines in the dmesg(8) possibly are:

vtvga0: <VT VGA driver>
vgapci0: <VGA-compatible display> mem
0xfd000000-0xfdffffff,0xe0000000-0xefffffff,0xfc000000-0xfcffffff irq 22
at device 16.0 on pci0
vgapci0: Boot video device
...
linker_load_file: /boot/kernel/atanvidia.ko - unsupported file type
nvidia0: <GeForce 7100 / nForce 630i> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io

Here are the full outputs
- of dmesg(8): http://rockyhotas.freeshell.org/dmesg1
- of `pciconf -lv': http://rockyhotas.freeshell.org/pciconf1
- of dmidecode(8): http://rockyhotas.freeshell.org/dmidecode1

First, is this the correct driver? And, if so, what is possibly wrong?

Rocky



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?trinity-acc9b4b9-114e-49f8-97d9-965c395b1542-1657963338728>