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
--00000000000005947a05e3e9dde5
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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=3D0x030000 rev=3D0xa2 hdr=3D0x00 vendor=3D0=
x10de
> 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/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=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
>
> The documentation link it=E2=80=99s from an old version,
The current is:
https://docs.freebsd.org/en/

--00000000000005947a05e3e9dde5
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div>On Sat, 16 Jul 2022 at 11:22, Rocky Hotas &lt;<a href=3D"mailto:rockyh=
otas@post.com">rockyhotas@post.com</a>&gt; wrote:<br></div><div><div class=
=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px =
0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;bo=
rder-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:=C2=A0 =C2=A0 class=3D0x030000 rev=3D0xa2 hdr=3D0x00 ve=
ndor=3D0x10de<br>
device=3D0x07e1 subvendor=3D0x1734 subdevice=3D0x115b<br>
=C2=A0 =C2=A0 vendor=C2=A0 =C2=A0 =C2=A0=3D &#39;NVIDIA Corporation&#39;<br=
>
=C2=A0 =C2=A0 device=C2=A0 =C2=A0 =C2=A0=3D &#39;C73 [GeForce 7100 / nForce=
 630i]&#39;<br>
=C2=A0 =C2=A0 class=C2=A0 =C2=A0 =C2=A0 =3D display<br>
=C2=A0 =C2=A0 subclass=C2=A0 =C2=A0=3D 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>
=C2=A0&lt;<a href=3D"https://docs.freebsd.org/doc/7.3-RELEASE/usr/share/doc=
/en/articles/compiz-fusion/nvidia-setup.html" rel=3D"noreferrer" target=3D"=
_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=3D"https://www.nvidia.com/en-us/drivers/unix/legacy-gpu/"=
 rel=3D"noreferrer" target=3D"_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=3D&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=3D"http://rockyhotas.freeshell.org/dmesg1" rel=3D"no=
referrer" target=3D"_blank">http://rockyhotas.freeshell.org/dmesg1</a><br>;
- of `pciconf -lv&#39;: <a href=3D"http://rockyhotas.freeshell.org/pciconf1=
" rel=3D"noreferrer" target=3D"_blank">http://rockyhotas.freeshell.org/pcic=
onf1</a><br>
- of dmidecode(8): <a href=3D"http://rockyhotas.freeshell.org/dmidecode1" r=
el=3D"noreferrer" target=3D"_blank">http://rockyhotas.freeshell.org/dmideco=
de1</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=3D"auto">The documentation link it=E2=80=
=99s from an old version,</div><div dir=3D"auto">The current is:=C2=A0<div =
dir=3D"auto"><a href=3D"https://docs.freebsd.org/en/">https://docs.freebsd.=
org/en/</a></div></div>

--00000000000005947a05e3e9dde5--



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