Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jul 2022 12:47:27 +0200
From:      Sergio Carlavilla <carlavilla@freebsd.org>
To:        Rocky Hotas <rockyhotas@post.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: How to determine the correct graphics card driver
Message-ID:  <CAFwocyPxXqJv0ZrdKBwQz=UjTr=rwWQdAWdKA-1iyBvYuWRiEA@mail.gmail.com>
In-Reply-To: <trinity-acc9b4b9-114e-49f8-97d9-965c395b1542-1657963338728@3c-app-mailcom-lxa09>
References:  <trinity-acc9b4b9-114e-49f8-97d9-965c395b1542-1657963338728@3c-app-mailcom-lxa09>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Sat, 16 Jul 2022 at 11:22, Rocky Hotas <rockyhotas@post.com> wrote:

> 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=0x030000 rev=0xa2 hdr=0x00 vendor=0x10de
> device=0x07e1 subvendor=0x1734 subdevice=0x115b
>     vendor     = 'NVIDIA Corporation'
>     device     = 'C73 [GeForce 7100 / nForce 630i]'
>     class      = display
>     subclass   = 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/compiz-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="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
>
> The documentation link it’s from an old version,
The current is:
https://docs.freebsd.org/en/

[-- Attachment #2 --]
<div>On Sat, 16 Jul 2022 at 11:22, Rocky Hotas &lt;<a href="mailto:rockyhotas@post.com">rockyhotas@post.com</a>&gt; wrote:<br></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">Hello!<br>
After installing FreeBSD 13.1-RELEASE amd64 on an old machine with Intel<br>
Pentium E5300, I would like to properly configure the graphics card.<br>
Currently the display has a 640x480 resolution and I&#39;m struggling to<br>
find the right graphics driver.<br>
<br>
`pciconf -lv&#39; shows:<br>
<br>
vgapci0@pci0:0:16:0:    class=0x030000 rev=0xa2 hdr=0x00 vendor=0x10de<br>
device=0x07e1 subvendor=0x1734 subdevice=0x115b<br>
    vendor     = &#39;NVIDIA Corporation&#39;<br>
    device     = &#39;C73 [GeForce 7100 / nForce 630i]&#39;<br>
    class      = display<br>
    subclass   = VGA<br>
<br>
So I guessed that it&#39;s an NVIDIA card. According to the link in Section<br>
2.1 of<br>
<br>
 &lt;<a href="https://docs.freebsd.org/doc/7.3-RELEASE/usr/share/doc/en/articles/compiz-fusion/nvidia-setup.html" rel="noreferrer" target="_blank">https://docs.freebsd.org/doc/7.3-RELEASE/usr/share/doc/en/articles/compiz-fusion/nvidia-setup.html</a>&gt;<br>;
<br>
(which is <a href="https://www.nvidia.com/en-us/drivers/unix/legacy-gpu/" rel="noreferrer" target="_blank">https://www.nvidia.com/en-us/drivers/unix/legacy-gpu/</a>)<br>;
<br>
such a device is supported by the `304.xx&#39; driver. So, I installed the<br>
package nvidia-driver-304-304.137_9 and added `kldlist=&quot;nvidia&quot;&#39; to<br>
/etc/rc.conf as instructed. The driver installs in fact<br>
`/boot/modules/nvidia.ko&#39;.<br>
<br>
However, this had no success. The resolution is still 640x480. Some<br>
relevant lines in the dmesg(8) possibly are:<br>
<br>
vtvga0: &lt;VT VGA driver&gt;<br>
vgapci0: &lt;VGA-compatible display&gt; mem<br>
0xfd000000-0xfdffffff,0xe0000000-0xefffffff,0xfc000000-0xfcffffff irq 22<br>
at device 16.0 on pci0<br>
vgapci0: Boot video device<br>
...<br>
linker_load_file: /boot/kernel/atanvidia.ko - unsupported file type<br>
nvidia0: &lt;GeForce 7100 / nForce 630i&gt; on vgapci0<br>
vgapci0: child nvidia0 requested pci_enable_io<br>
<br>
Here are the full outputs<br>
- of dmesg(8): <a href="http://rockyhotas.freeshell.org/dmesg1" rel="noreferrer" target="_blank">http://rockyhotas.freeshell.org/dmesg1</a><br>;
- of `pciconf -lv&#39;: <a href="http://rockyhotas.freeshell.org/pciconf1" rel="noreferrer" target="_blank">http://rockyhotas.freeshell.org/pciconf1</a><br>;
- of dmidecode(8): <a href="http://rockyhotas.freeshell.org/dmidecode1" rel="noreferrer" target="_blank">http://rockyhotas.freeshell.org/dmidecode1</a><br>;
<br>
First, is this the correct driver? And, if so, what is possibly wrong?<br>
<br>
Rocky<br>
<br>
</blockquote></div></div><div dir="auto">The documentation link it’s from an old version,</div><div dir="auto">The current is: <div dir="auto"><a href="https://docs.freebsd.org/en/">https://docs.freebsd.org/en/</a></div></div>;

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFwocyPxXqJv0ZrdKBwQz=UjTr=rwWQdAWdKA-1iyBvYuWRiEA>