From nobody Sat Jul 16 10:47:27 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LlQ0q1f9fz4TBfb for ; Sat, 16 Jul 2022 10:47:39 +0000 (UTC) (envelope-from carlavilla@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LlQ0q19dwz4HBY for ; Sat, 16 Jul 2022 10:47:39 +0000 (UTC) (envelope-from carlavilla@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657968459; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=O7MqOS1kEl6LZ9og2Z3W12B1U07jIQ1Y/2m8T30Q0PI=; b=U55lGLSr3clzKHSCQR53OzG7uHx0K+l4NtrCSYRr83z5arMlC8v8rde+apUj7XRNtoWrvI W3GGnKvNCHEJOm52NtJyS/r9/5kbIfeC7ikBa8Gzsq8EpWGZiPVANWzIkLeYnuQP11nyTK PRi/2r+r3hlx04HH1ya5moB74XR+rENsMpeeAgVYZekiJBbJYutpIPDzIvs7VQlmnyZcp9 +s4xg3hfMJFCt8Y8oYjIAQu29jn3r4fjrtXHg+SEGFRGErdO0jnbiiGgRFmeIPMzgKWqfQ iVtx82HJbByUqF8Fnt6e/KO/wEfcP0fv/82+XVa5FU5WH05cOYoLZNQvwaWw8w== Received: from mail-vs1-f42.google.com (mail-vs1-f42.google.com [209.85.217.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: carlavilla) by smtp.freebsd.org (Postfix) with ESMTPSA id 4LlQ0p75T5z1NsG for ; Sat, 16 Jul 2022 10:47:38 +0000 (UTC) (envelope-from carlavilla@freebsd.org) Received: by mail-vs1-f42.google.com with SMTP id a184so6314100vsa.1 for ; Sat, 16 Jul 2022 03:47:38 -0700 (PDT) X-Gm-Message-State: AJIora8mKRPIv9nsDETKVwyfRPmaLw9JskM41rb8j7q02Z3cQkj21ilh c1e0CeYACP6vW2zvbumlrQP4E4S+l2jkCjaib98= X-Google-Smtp-Source: AGRyM1uqkSBS0obl1grfWEpoRug/7OBtjvFPZq8PjOZTTKb8MooqdoCc1jQS10CUt20vlux9QHZB3rCTZpVFB1qRL+E= X-Received: by 2002:a05:6102:1276:b0:357:6cbf:165b with SMTP id q22-20020a056102127600b003576cbf165bmr7053397vsg.85.1657968458567; Sat, 16 Jul 2022 03:47:38 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Sergio Carlavilla Date: Sat, 16 Jul 2022 12:47:27 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: How to determine the correct graphics card driver To: Rocky Hotas Cc: FreeBSD Questions Content-Type: multipart/alternative; boundary="00000000000005947a05e3e9dde5" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657968459; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=O7MqOS1kEl6LZ9og2Z3W12B1U07jIQ1Y/2m8T30Q0PI=; b=M6a/ETOig5lFucWJSCdekVwwS9DMk0lafYa6dTbPvbNgrZ1waot338DmGqLvkpqAj5tcMy rk5h5FuLNDjBVi5mnHfIz2gV8JM9B1LKZ6VjBARdNS7S1NwZ14UreySY2VbDgZIl/FyJEx pDMkcREzuh7OGZq9ZpRZXA232c71bChbZiiREQnEH/IcMsXCV6qIgQxibr9vbleQq6t5KT 6hBmupf+PYzZ0msUqOMk72K9HBQbDvN2zyK/sDBjtYLpgLCCpSblKgg2cqAvyghXBMYvDH PBhxbnYKweyYUZYjEjmniPVMYB8cY+KkXx618bTSNNGa28fPeCDveB+HKY02DA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657968459; a=rsa-sha256; cv=none; b=HjGMHBC197H80Bosyi4DiOvAiqUbWyzVNSbgQTei1ix2cpP6xCdqDdKn1nBgS8aaZI4MTi ZCQcSJq3Q2vUz+WktDhYjpPVZChZtXAPfb+0jelySs1JdKoea2URRuUk04+28kC4OUx8CF xBT8CzRTj/ZFFI5j4yNN6kKjoJYngSylIqh6xDyJHwhlqipfdo3i7ai31Q+Asb2cIdykb7 7heNxCWHxfMVgYhysnDggJeGh90Gr6VhXudM1lTxYGr69Nq4C7nuRbt1oWYWjvDEMqBUry zOx0Th+SBrmllrFJMfXR1bLXFsTLnIx6qYrRVpF8gXgoWDSPRbDycJBSYutfOQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --00000000000005947a05e3e9dde5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, 16 Jul 2022 at 11:22, Rocky Hotas 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: > vgapci0: 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: 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
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:=C2=A0 =C2=A0 class=3D0x030000 rev=3D0xa2 hdr=3D0x00 ve= ndor=3D0x10de
device=3D0x07e1 subvendor=3D0x1734 subdevice=3D0x115b
=C2=A0 =C2=A0 vendor=C2=A0 =C2=A0 =C2=A0=3D 'NVIDIA Corporation' =C2=A0 =C2=A0 device=C2=A0 =C2=A0 =C2=A0=3D 'C73 [GeForce 7100 / nForce= 630i]'
=C2=A0 =C2=A0 class=C2=A0 =C2=A0 =C2=A0 =3D display
=C2=A0 =C2=A0 subclass=C2=A0 =C2=A0=3D VGA

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

=C2=A0<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<= br> 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/pcic= onf1
- of dmidecode(8): http://rockyhotas.freeshell.org/dmideco= de1

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:=C2=A0
--00000000000005947a05e3e9dde5--