Date: Tue, 06 Sep 2022 04:00:16 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266247] x11/nvidia-xconfig: add compatible version with legacy driver Message-ID: <bug-266247-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266247 Bug ID: 266247 Summary: x11/nvidia-xconfig: add compatible version with legacy driver Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: theron.tarigo@gmail.com Created attachment 236387 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D236387&action= =3Dedit fix With nvidia-driver-390 (or older) or nvidia-secondary-driver-390, `nvidia-xconfig --enable-all-gpus` fails with: > WARNING: error retrieving symbol nvCfgIsPrimaryDevice from libnvidia-cfg.= so.1: > Undefined symbol "nvCfgIsPrimaryDevice" > ERROR: Unable to determine number of GPUs in system; cannot honor > '--enable-all-gpus' option. nvidia-xconfig is required for functionality of nvidia-hybrid-graphics-390 = for legacy Nvidia Optimus GPUs. The library incompatibility occurs since libnvidia-cfg.so.1 is part of nvid= ia driver port, not the xconfig port. Ideally nvidia-xconfig version should always match driver version, but the existing ports do not accomplish this. Using nvidia-xconfig 390.151 for drivers 390 and earlier, and nvidia-xconfig 470.86 for drivers 470 and newer seems sufficient. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266247-7788>