From nobody Sat Jun 11 15:30:42 2022 X-Original-To: freebsd-x11@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 23B6B850F9B for ; Sat, 11 Jun 2022 15:30:52 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (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 (2048 bits) client-digest SHA256) (Client CN "mail.nomadlogic.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LL1xl1Kj4z3HxS for ; Sat, 11 Jun 2022 15:30:51 +0000 (UTC) (envelope-from pete@nomadlogic.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1654961444; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tHR69zxY6LAc/JbTGs3tETbk+GvI2LfympJ/VSg1a+s=; b=4S7XDpsVh5yoT+kYySODfopJodZWNe18F5vIV1GXoaNJ58eIIikOrEZVvpygreUkwdqRMn Kxfxvv4POCNMly90TV7oC5Pptc6Klpyu8s/K+FqWTDV0NO7VmDX1MCeYkCIfyrnEc8VBkV VexSaaGWId68mR+79CUrj1nFjb/ry2s= Received: from colony (S0106105611b47688.pk.shawcable.net [24.69.46.213]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 882508de (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 11 Jun 2022 15:30:43 +0000 (UTC) Date: Sat, 11 Jun 2022 08:30:42 -0700 From: Pete Wright To: Graham Menhennitt Cc: freebsd-x11@freebsd.org Subject: Re: can't get NVIDIA driver working Message-ID: <20220611153042.dptaj6apl7jzureo@colony> References: List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Queue-Id: 4LL1xl1Kj4z3HxS X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nomadlogic.org header.s=04242021 header.b=4S7XDpsV; dmarc=pass (policy=quarantine) header.from=nomadlogic.org; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 66.165.241.226 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-2.97 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[nomadlogic.org:s=04242021]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[nomadlogic.org:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[nomadlogic.org,quarantine]; NEURAL_HAM_SHORT(-0.47)[-0.471]; MLMMJ_DEST(0.00)[freebsd-x11]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[24.69.46.213:received] X-ThisMailContainsUnwantedMimeParts: N 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