Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jun 2022 08:30:42 -0700
From:      Pete Wright <pete@nomadlogic.org>
To:        Graham Menhennitt <graham@menhennitt.com.au>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: can't get NVIDIA driver working
Message-ID:  <20220611153042.dptaj6apl7jzureo@colony>
In-Reply-To: <d2cbb1cb-5aff-04ad-8c7c-aff3bdd47a16@menhennitt.com.au>
References:  <d2cbb1cb-5aff-04ad-8c7c-aff3bdd47a16@menhennitt.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 10, 2022 at 03:36:03PM +1000, Graham Menhennitt wrote:
> Hello FreeBSD-X11 people,
> 
> I've just installed 13.1-Release on an AMD-64 machine with an GeForce GT545
> card. Xorg starts ok but it it doesn't seem to recognise the NVIDIA driver
> and so I only get VGA resolution. I'd like some help getting the higher
> resolution and acceleration from the driver, please.
> 
> After a basic FreeBSD installation, I've done:
> 
>     pkg install xorg kde5 sddm nvidia-driver-390
> 
> In rc.conf, I loaded the nvidia driver and started sddm. I then rebooted.
> The system comes up and starts sddm but at only 1024 x 768 resolution.
> 
> See below for the output from nvidia-debugdump, nvidia-smi, kldstat. Also,
> the relevant sections from rc.conf and the contents of /var/log/Xorg.0.log.


a couple things that may be worth testing:

1. do you get the same results when loading the "nvidia-modeset" vs "nvidia"
2. what does "pciconf -lv" report the PCI id for your nvidia device as?  for
   example here is how it is reporting on one of my systems:

vgapci1@pci0:60:0:0:	class=0x030200 rev=0xa1 hdr=0x00 vendor=0x10de device=0x1d34 subvendor=0x17aa subdevice=0x22a2
    vendor     = 'NVIDIA Corporation'
    device     = 'GP108GLM [Quadro P520]'
    class      = display
    subclass   = 3D

   note this is one of those weird optimus hybrid GPU systems, but pciconf
   should point you to the correct device.

3. do you have the same issues when using the newer 470 or 510 nvidia drivers?


I think ideally Xorg should correctly auto-detect your device so no configs
will be needed to get you working, but hopefully some of these debug steps
will help.

-pete

-- 
Pete Wright
pete@nomadlogic.org



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