From nobody Fri Jan 03 00:49:24 2025 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 4YPQ2N6bWRz5kBh9 for ; Fri, 03 Jan 2025 00:49:32 +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 4YPQ2N2x8Qz4KbH for ; Fri, 3 Jan 2025 00:49:32 +0000 (UTC) (envelope-from david@catwhisker.org) Authentication-Results: mx1.freebsd.org; none Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.18.1/8.18.1) with ESMTP id 5030nPG4014396; Fri, 3 Jan 2025 00:49:25 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.18.1/8.18.1/Submit) id 5030nOKw014395; Thu, 2 Jan 2025 16:49:24 -0800 (PST) (envelope-from david) Date: Thu, 2 Jan 2025 16:49:24 -0800 From: David Wolfskill To: Zaphod Beeblebrox Cc: freebsd-x11@freebsd.org Subject: Re: Navigating a complex x11 setup? Message-ID: References: List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-x11@freebsd.org Sender: owner-freebsd-x11@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gCnAZCndPYrzxelM" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4YPQ2N2x8Qz4KbH X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US] --gCnAZCndPYrzxelM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 02, 2025 at 06:58:16PM -0500, Zaphod Beeblebrox wrote: > I have a laptop that is perfectly serviceable. It has Intel Integrated > graphics _and_ nVidia Quadro graphics. The idea being that only > applications that need the Quadro use it. >=20 > The Intel is: "4the Gen Core Processor Integrated Graphics Controller" > cpu: i7-4800MQ > The nVidia is: GK106GLM (Quadro K2100M) >=20 > For some time, I've used the Intel driver and the nVidia secondary > driver. This has worked well and still appears to work... but not > entirely. Sometimes moving things about the screen leaves artifacts ... > other times, it's a mess. A full refresh fixes it, mostly. >=20 > With another machine, I was told to use the modesetting driver --- but th= is > fails to find a /dev/dri entry. >=20 > Help? I fear that this will not qualify as "help" -- but I empathize: my main laptop (a Frankenmachine composed of parts from 4 Dell Precision M4800s) shares most of the above characteristics: CPU: Intel(R) Core(TM) i7-4900MQ CPU @ 2.80GHz (2793.60-MHz K8-class CPU) vgapci0@pci0:1:0:0: class=3D0x030000 rev=3D0xa1 hdr=3D0x00 vendor=3D0x1= 0de device=3D0x11fc subvendor=3D0x1028 subdevice=3D0x15cc vendor =3D 'NVIDIA Corporation' device =3D 'GK106GLM [Quadro K2100M]' class =3D display subclass =3D VGA vgapci1@pci0:0:2:0: class=3D0x030000 rev=3D0x06 hdr=3D0x00 vendor=3D0x8= 086 device=3D0x0416 subvendor=3D0x1028 subdevice=3D0x05cc vendor =3D 'Intel Corporation' device =3D '4th Gen Core Processor Integrated Graphics Controller' class =3D display subclass =3D VGA Up through FreeBSD stable/12, I just used the Nvidia device & driver, and that seemed to work OK -- including suspend/resume (which is important in my case, as I suspend the laptop while cycling to or from work). My recollection is that as of 13, suspend/resume didn't work without graphics/drm, so I ended up delaying my migration off of 12; by the time I managed to figure things out enough to work, stable/14 was out, so I migrated to that (just before stable/12 went EoL). So I ended up just no longer using the Nvidia driver, since (as you note) the modesetting driver for x11/nvidia-driver-390 doesn't actually provide usable GLX support, as far as I can tell. But I am able to track stable/14 & head on the machine (daily), as well as update all installed ports daily (well, I use a separate build machine for www/chromium -- but it's around to build stuff for other machines anyway). So it may be old & klunky (and, in fairness, a bit quirky -- mostly because of age & wear & tear), but it's a fairly decent machine.... Sorry it's not actually information you can use. Peace, david --=20 David H. Wolfskill david@catwhisker.org "If liberty means anything at all, it means the right to tell people what they do not want to hear." -- George Orwell See https://www.catwhisker.org/~david/publickey.gpg for my public key. --gCnAZCndPYrzxelM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCZ3c0FF8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx 5cMjAQDkZL8ySyJHcohsh965r1B5p4w7unKUcHfkH0+L3f9oRwEA2DArz6rZb+Tu wyc2BhRPHnyDU3ffC6EXKmBQtF2mzAY= =hLac -----END PGP SIGNATURE----- --gCnAZCndPYrzxelM--