From nobody Wed Apr 03 20:07:21 2024 X-Original-To: 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 4V8wlQ6XgPz5FlwJ for ; Wed, 3 Apr 2024 20:07:30 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4V8wlP5l0nz4PsJ for ; Wed, 3 Apr 2024 20:07:29 +0000 (UTC) (envelope-from david@catwhisker.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.18.1/8.18.1) with ESMTP id 433K7LLW058990 for ; Wed, 3 Apr 2024 20:07:21 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.18.1/8.18.1/Submit) id 433K7LsO058989 for x11@freebsd.org; Wed, 3 Apr 2024 13:07:21 -0700 (PDT) (envelope-from david) Date: Wed, 3 Apr 2024 13:07:21 -0700 From: David Wolfskill To: x11@freebsd.org Subject: Re: No GLX with older Nvidia card & drm-61-kmod? Message-ID: 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: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="KzcNewRgrWuhHM6Z" Content-Disposition: inline In-Reply-To: <136b73ab-8286-4b27-8c32-a7110f5084b6@nomadlogic.org> X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.39 / 15.00]; SIGNED_PGP(-2.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.987]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[david]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_MATCH_FROMTLD(0.00)[]; MLMMJ_DEST(0.00)[x11@freebsd.org]; R_DKIM_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[catwhisker.org]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[x11@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4V8wlP5l0nz4PsJ --KzcNewRgrWuhHM6Z Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Responding to multiple messages here -- dhw] On Wed, Apr 03, 2024 at 11:29:58AM -0700, Pete Wright wrote: > On Tue, Apr 02, 2024 at 02:58:04PM -0700, David Wolfskill wrote: > ... > out of curiosity is this one of those nvidia "optimus" laptops where the = display > is driven by the Intel GPU, but can offload to the Nvidia GPU? Yes, I believe that's what the BIOS setting refers to. > I have one of > those and use the "nvidia-hybrid-graphics" driver with success. Previous= to > that driver I just disabled the Nvidia GPU to save power, but with this i= t has > run great. >=20 > alternatively you might want to take a look at the nvidia-secondary-drive= r pacakge. >=20 > -pete On Wed, Apr 03, 2024 at 09:51:49PM +0300, Gleb Popov wrote: > On Wed, Apr 3, 2024 at 9:30=E2=80=AFPM Pete Wright = wrote: > ... > > alternatively you might want to take a look at the nvidia-secondary-dri= ver pacakge. > > > > -pete > > >=20 > nvidia-hybrid-graphics and nvidia-secondary-driver are the "old way". > The "new" one is graphics/nvidia-drm-kmod On Wed, Apr 03, 2024 at 12:23:35PM -0700, Pete Wright wrote: > ...=20 > ah thanks for the clarification - i'll update my system to use the > nvidia-drm-kmod package. >=20 > -p > .... I appreciate the advice and suggestions -- but how would someone have a clue to do any of this? The Handbook's X11 chapter doesn't mention them. As for nvidia-drm-kmod: g1-70(14.0-S)[1] cd /usr/ports/ g1-70(14.0-S)[2] cat graphics/nvidia-drm-kmod/pkg-descr FreeBSD port of Linux's nvidia-drm.ko Kernel module. I suppose that might provide some information for someone familiar with "Linux's nvidia-drm.ko Kernel module," but I certainly don't qualify, so I have no idea (from that) that it might possibly be useful. Nor can I tell if this is to augment another driver (graphics/drm-61-kmod, for the Intel device), or even x11/nvidia-driver-390. Sorry to be rather grumpy -- what I had (with x11/nvidia-driver-390) had been working OK from before stable/10 through stable/12. The (apparent) change with 13 to require graphics/drm-kmod to get functional suspend/resume is the main reason I delayed migrating off of stable/12 for so long. (I much prefer having the machine sleeping while it's in a rucksack on my back while I'm cycling....) Peace, david --=20 David H. Wolfskill david@catwhisker.org Alexey Navalny was a courageous man; Putin has made him a martyr. See https://www.catwhisker.org/~david/publickey.gpg for my public key. --KzcNewRgrWuhHM6Z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCZg22+V8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx 5Q11AP96WeoRU1NA67Ev6SdnkNkbJvWPVRrrupKfwS+3BDS30AEAw6HARbFEeVvI S9BxUCUulkdTbwuqbL0giCZ/1MXpfw4= =Pdj8 -----END PGP SIGNATURE----- --KzcNewRgrWuhHM6Z--