Created attachment 236387 [details] 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 nvidia 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.
Triage: * the patch-ready keyword is deprecated * the dashboard shows this ports bug as ready to be taken by a committer.
^Triage: * correct assignment * flag for feedback from the maintainer. (I don't know why Bugzilla did not automate those things; FreshPorts shows that x11@ became maintainer more than three years ago. I'll raise this issue with a bugmeister in Matrix.)