Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Sep 2021 11:37:14 +0200
From:      Gary Jennejohn <gljennjohn@gmail.com>
To:        KIRIYAMA Kazuhiko <kiri@truefc.org>
Cc:        pete@nomadlogic.org, freebsd-x11@freebsd.org
Subject:   Re: GTX 1650 could not work on nvidia-driver-470.63.01_1
Message-ID:  <20210909093714.0e341498@ernst.home>
In-Reply-To: <202109090559.1895xBYa099124@kx.truefc.org>
References:  <202109090223.1892N2b7096212@kx.truefc.org> <47fc5d1c-5b6b-3754-7cc2-ab5c775aa7a9@nomadlogic.org> <202109090559.1895xBYa099124@kx.truefc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 09 Sep 2021 14:59:11 +0900
KIRIYAMA Kazuhiko <kiri@truefc.org> wrote:

> On Thu, 09 Sep 2021 12:39:53 +0900,
> Pete Wright via freebsd-x11 wrote:
> >=20
> >=20
> >=20
> > On 9/8/21 7:23 PM, KIRIYAMA Kazuhiko wrote: =20
> > > Hi, all
> > >
> > > I've upgrade machine with NVIDIA GPU GeForce 1650 on Supermicro
> > > X11SPM-F [1]. And I instaled nvidia-driver-470.63.01_1 with
> > > FreeBSD 14.0-CURRENT (n248730-cc1345056b11), but could not
> > > work : =20
> >  =20
> > > EndSection
> > >
> > > Section "Device"
> > >      Identifier     "Card0"
> > >      Driver         "nvidia"
> > >      BusID          "PCI:101:0:0"
> > > EndSection =20
> >=20
> > you might want to verify that your nvidia card is listed at that pci bu=
s=20
> > ID.__ alternatively, you can also try to start Xorg with no configurati=
on=20
> > in place.__ Recent Xorg versions do a very good job at auto-detecting=20
> > devices correctly, so that may help.__ and finally, verify you have=20
> > followed the instructions that the nvidia-driver pkg outputs regarding=
=20
> > loading either the "nvidia" or "nvidia-modeset" driver (1). =20
>=20
> No xorg.conf results is as follows :
>=20

The output in Xorg.0.log shows that Xorg is using
	/usr/local/lib/xorg/modules/drivers/modesetting_drv.so
rather than nvidia-modeset.  Probably not optimal.

I use xorg.conf and modesetting_drv.so is not in my Xorg.0.log.  So
using xorg.conf may be the best approach.

[removed Xorg.0.log]

In the boot output this appears:

nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX
platforms 470.63.01 Tue Aug 3 20:24:32 UTC 2021

so it appears that nvidia-modeset was loaded.

> > if none of those options help, it may be useful to see you dmesg output=
=20
> > to see how the kernel is loading the driver. =20
>=20
> According to dmesg.boot, NVIDIA VGA bus is PCI5 :
>=20

=46rom the boot output:

> vgapci0:  <VGA-compatible display> port 0x3000-0x307f mem
> 0xa9000000-0xa9ffffff,0xaa000000-0xaa01ffff irq 17 at device 0.0
> numa-domain 0 on pci3

> vgapci1:  <VGA-compatible display> port 0x7000-0x707f mem
> 0xc4000000-0xc4ffffff,0xb0000000-0xbfffffff,0xc0000000-0xc1ffffff
> irq 32 at device 0.0 numa-domain 0 on pci5

The first one is on pci3 and the second one is on pci5.

> nvidia1: <NVIDIA GeForce GTX 1650> numa-domain 0 on vgapci1
> vgapci1: child nvidia1 requested pci_enable_io
> vgapci1: child nvidia1 requested pci_enable_io
> vgapci1: Boot video device

This indicates that the console is on vgapci1, which is on pci5.

vgapci0 never requested pci_enable_io.  Whether that causes a problem
later when Xorg starts is unclear to me.

[removed ---<<BOOT>>---]

--=20
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210909093714.0e341498>