Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jul 2022 12:05:34 +0200
From:      Rocky Hotas <rockyhotas@post.com>
To:        freebsd@edvax.de
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.org>
Subject:   Re: How to determine the correct graphics card driver
Message-ID:  <trinity-aceb206a-cf30-4a7c-9799-ed740814fd8c-1658484334874@3c-app-mailcom-lxa07>
In-Reply-To: <20220716150439.3215257e.freebsd@edvax.de>
References:  <trinity-acc9b4b9-114e-49f8-97d9-965c395b1542-1657963338728@3c-app-mailcom-lxa09> <20220716150439.3215257e.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> Sent: Saturday, July 16, 2022 at 3:04 PM
> From: "Polytropon" <freebsd@edvax.de>
> To: "Rocky Hotas" <rockyhotas@post.com>
> Cc: "FreeBSD Questions" <freebsd-questions@FreeBSD.org>
> Subject: Re: How to determine the correct graphics card driver
>
> On Sat, 16 Jul 2022 11:22:18 +0200, Rocky Hotas wrote:
> >
> > vgapci0@pci0:0:16:0:    class=3D0x030000 rev=3D0xa2 hdr=3D0x00 vendor=
=3D0x10de
> > 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.
>
> Yes, looks like it.

Ok!

> Note that /etc/X11/xorg.conf is deprecated, the correct path
> now is /usr/local//etc/X11/xorg.conf for a full config file,
> and /usr/local//etc/X11/xorg.conf.d/ for partial config files
> (such as keyboard, forcing specific modes, loading custom
> modes and fonts, and so on).

This a very useful reminder.

> On the part of the kernel side, you need to load the correct
> kernel module. For X, you need to install the correct driver.
> Regarding nVidia cards, there are three drivers to choose
> from: "nv", "nouveau" and "nvidia"

For `nvidia' there are several packages,

nvidia-driver-510.60.02        NVidia graphics card binary drivers for har=
dware OpenGL rendering
nvidia-driver-304-304.137_9    NVidia graphics card binary drivers for har=
dware OpenGL rendering
nvidia-driver-340-340.108_3    NVidia graphics card binary drivers for har=
dware OpenGL rendering
nvidia-driver-390-390.151      NVidia graphics card binary drivers for har=
dware OpenGL rendering
nvidia-driver-470-470.103.01   NVidia graphics card binary drivers for har=
dware OpenGL rendering

Also `nv' is available,

xf86-video-nv-2.1.21_4         X.Org nv display driver

But I can not find any `nouveau'-related package in the
repository.

> Also see:
>
> https://wiki.freebsd.org/Graphics

Apparently I couldn't find any information about nvidia in this
wiki: it all seems to deal with Intel or AMD graphics.

> I'm using this vintage card (haha) here:
>
>     class=3D0x030000 card=3D0x06201462 chip=3D0x039210de rev=3D0xa1 hdr=
=3D0x00
>     vendor     =3D 'NVIDIA Corporation'
>     device     =3D 'NVIDIA GeForce 7600 GS (G73)'
>     class      =3D display
>     subclass   =3D VGA

Oh, it's not so different from mine, maybe just a little more recent.

> After getting X up and running, check "glxinfo" and "xvinfo"
> program output as well as /var/log/Xorg.0.log to see if all
> the parts are working together as intended.

So far, with FreeBSD, I only had experiences with Intel of AMD
graphics and, when the proper driver and/or kernel module was
loaded, the screen resolution was immediately improved. This happened
during the boot, when the kernel messages are still printed on screen,
before the login prompt.

X is something "later" than this. I would have really liked to get my
640x480 resolution improved even in this machine, before being able
to run X.

Thank you so much anyway for all your observations and advices.

Bye!

Rocky



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?trinity-aceb206a-cf30-4a7c-9799-ed740814fd8c-1658484334874>