reopen 356800
thanks
Hi Randall,
sorry I forgot to include an example of the problem. A warning/error
occurs when trying the third example from the manpage (nvidia-xconfig
-a). Note that I don't have several GPUs on any easily accessible PC and
can't really say what the warning breaks without reading the code.
The easy fix would be to depend on nvidia-glx. But a fix that would keep
nvidia-xconfig in main seems not too hard. Looking at the source, there
is a single dlopen of libnvidia-cfg in find_devices. This function is
called twice, once in enable_all_gpus() and once conditionally in
enable_separate_x_screens(). The solution could be to change the
fmtwarn("error opening %s: %s.", __LIB_NAME, dlerror()); in find_devices
to a fatal error clearly reflecting that the operation requested is not
possible without nvidia-glx, and adapting the manpage to warn that
--enable-all-gpus needs nvidia-glx. Perhaps something similar should be
done for --separate-x-screens (I haven't analyzed in which situation
enable_separate_x_screens() dlopens libnvidia-cfg).
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]