<div dir="ltr">I use it during a kickstarted installation.  However, I can&#39;t use it in the %pre section because I can&#39;t really install the RPM then.  However, I just began thinking that I could extract the rpm contents and use nvidia-detect directly in %pre.  I believe a version of X is in use during the install process, so this probably wouldn&#39;t be a problem.  I could see a few fringe cases where X might not be installed, though.  It would be nice if it would function in those cases.<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Andrew</div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 3, 2019 at 9:11 AM Phil Perry &lt;<a href="mailto:phil@elrepo.org">phil@elrepo.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
I have a question about how folks are using nvidia-detect, and wondered <br>
if anyone is using it from within a script or at install time before X <br>
is installed?<br>
<br>
One of the things nvidia-detect does is to check Xorg ABI comatibility <br>
with the nvidia driver. At present we do this by checking the Xorg log <br>
file (if it exists) for various strings to see if it has been logged. If <br>
the log file doesn&#39;t exist, or we can&#39;t match the search term, we can <br>
just return a soft error or unknown value. This allows nvidia-detect to <br>
work even if Xorg is not installed or has never been started.<br>
<br>
I have always felt this to be a rather crude way of returning the value <br>
for the Xorg ABI, and would rather call the inbuilt Xorg function that <br>
directly queries VendorRelease() directly and determine the ABI version <br>
from that. However, that is going to add some X11 dependencies to our <br>
package that would require certain X11 packages to be installed before <br>
nvidia-detect can be used.<br>
<br>
Would this affect the way you use nvidia-detect?<br>
<br>
I&#39;m guessing if you are using nvidia-detect, you either already have <br>
Xorg installed, or are intending to install it, so this shouldn&#39;t cause <br>
an issue, but I want to check before making changes that could affect <br>
the way people are using the program.<br>
<br>
Phil<br>
<br>
_______________________________________________<br>
elrepo mailing list<br>
<a href="mailto:elrepo@lists.elrepo.org" target="_blank">elrepo@lists.elrepo.org</a><br>
<a href="http://lists.elrepo.org/mailman/listinfo/elrepo" rel="noreferrer" target="_blank">http://lists.elrepo.org/mailman/listinfo/elrepo</a><br>
</blockquote></div>