[elrepo] [elrepo-devel] nvidia-detect users
Steve Cleveland
Steve.Cleveland at oregonstate.edu
Mon Mar 4 17:45:53 EST 2019
I use in %post. I'd have to look, but I think I only do for
workstations. So adding the xorg dependency wouldn't be a big deal. I
also use it in puppet, but I have a custom fact that checks to see if an
nvidia device exists (using lspci) before running it. And in that case,
I would want the xorg stuff installed anyway.
- Steve
On 3/3/19 6:11 AM, Phil Perry wrote:
> Hi all,
>
> I have a question about how folks are using nvidia-detect, and
> wondered if anyone is using it from within a script or at install time
> before X is installed?
>
> One of the things nvidia-detect does is to check Xorg ABI comatibility
> with the nvidia driver. At present we do this by checking the Xorg log
> file (if it exists) for various strings to see if it has been logged.
> If the log file doesn't exist, or we can't match the search term, we
> can just return a soft error or unknown value. This allows
> nvidia-detect to work even if Xorg is not installed or has never been
> started.
>
> I have always felt this to be a rather crude way of returning the
> value for the Xorg ABI, and would rather call the inbuilt Xorg
> function that directly queries VendorRelease() directly and determine
> the ABI version from that. However, that is going to add some X11
> dependencies to our package that would require certain X11 packages to
> be installed before nvidia-detect can be used.
>
> Would this affect the way you use nvidia-detect?
>
> I'm guessing if you are using nvidia-detect, you either already have
> Xorg installed, or are intending to install it, so this shouldn't
> cause an issue, but I want to check before making changes that could
> affect the way people are using the program.
>
> Phil
>
> _______________________________________________
> elrepo-devel mailing list
> elrepo-devel at lists.elrepo.org
> http://lists.elrepo.org/mailman/listinfo/elrepo-devel
>
More information about the elrepo
mailing list