Why only when an Nvidia board is detected? Should it not be possible to detect and display a driver version and card regardless of motherboard? Also is this support built into WINE or do you have a set of patches to enable it?<br>
<br><div class="gmail_quote">On Sat, Jul 5, 2008 at 3:38 AM, Roderick Colenbrander &lt;<a href="mailto:thunderbird2k@gmx.net">thunderbird2k@gmx.net</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The only thing we aren&#39;t setting are proper strings for the rest we show an nvidia driver version number and card when an nvidia board is detected. Though we don&#39;t show the actual card in various cases as we make an estimation based on glxinfo output and some other things. This is because we can&#39;t get pci ids from X, relying on e.g. /proc/bus/pci/devices is not the way to go.<br>

<br>
Roderick<br>
<br>
&gt; Datum: Sat, 5 Jul 2008 00:17:09 -0400<br>
&gt; Von: &quot;Seth Shelnutt&quot; &lt;<a href="mailto:shelnutt2@gmail.com">shelnutt2@gmail.com</a>&gt;<br>
&gt; An: <a href="mailto:wine-devel@winehq.org">wine-devel@winehq.org</a><br>
&gt; Betreff: Re: Tricking program into seeing actual gfx driver not WINE\&#39;s<br>
<div><div></div><div class="Wj3C7c"><br>
&gt; What options do I need to change in order to compile WINE with support for<br>
&gt; the more GPU specific information?<br>
&gt;<br>
&gt; Also when changing the following lines of code in order to change the<br>
&gt; output<br>
&gt; of IWineD3DImpl_GetAdapterIdentifier to for now identify it as a 8800 GT<br>
&gt; with 173 drivers, would the second lines of code be correct? I just want<br>
&gt; to<br>
&gt; make sure &quot;driver&quot; actually means &quot;driver&quot; Which would be &quot;nvidia 173.14&quot;<br>
&gt; and description simply the card correct?<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Adapters[0].driver = &quot;Display&quot;;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Adapters[0].description = &quot;Direct3D HAL&quot;;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Adapters[0].driver = &quot;Nvidia 173.14&quot;;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Adapters[0].description = &quot;Nvidia 8800 GT&quot;;<br>
&gt;<br>
&gt;<br>
&gt; Also if this is the case would it not be easy to simply grab the driver<br>
&gt; version from the xserver, or atleast the xserver would give you the card<br>
&gt; and<br>
&gt; brand, Nvidia 8800GT but I am not sure how to get specific driver<br>
&gt; information. I&#39;m looking for a command but glxinfo is only opengl info,<br>
&gt; and<br>
&gt; I&#39;ve yet to find anything else.<br>
&gt;<br>
&gt; On Fri, Jul 4, 2008 at 8:45 AM, Stefan D�singer &lt;<a href="mailto:stefan@codeweavers.com">stefan@codeweavers.com</a>&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt; &gt; &nbsp;Actually we have quite a bit of code to tell the app more about the GPU<br>
&gt; &gt; and not just provide a generic wine one. This is needed because some<br>
&gt; games<br>
&gt; &gt; insist on a proper GPU PCI ID. We don&#39;t report and GPU-specific renderer<br>
&gt; &gt; strings yet, but that should be rather easy to add, if you look at the<br>
&gt; PCI<br>
&gt; &gt; ID reporting code. Currently you have to recompile for that, but you are<br>
&gt; &gt; welcome to send a patch that solves this problem in a generic way and<br>
&gt; send<br>
&gt; &gt; it to wine-patches.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; The more troublesome problem is that Wine does not have any CUDA support<br>
&gt; at<br>
&gt; &gt; this point. The Windows CUDA DLL will not make you happy, because it<br>
&gt; talks<br>
&gt; &gt; to the Windows hardware drivers. Thus we need an implementation of this<br>
&gt; &gt; cudart.dll which calls the Linux cuda cudart.so instead. (And then hope<br>
&gt; it<br>
&gt; &gt; works out)<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; *From:* <a href="mailto:wine-devel-bounces@winehq.org">wine-devel-bounces@winehq.org</a> [mailto:<br>
&gt; &gt; <a href="mailto:wine-devel-bounces@winehq.org">wine-devel-bounces@winehq.org</a>] *On Behalf Of *Seth Shelnutt<br>
&gt; &gt; *Sent:* Thursday, July 03, 2008 10:24 PM<br>
&gt; &gt; *To:* <a href="mailto:wine-devel@winehq.org">wine-devel@winehq.org</a><br>
&gt; &gt; *Subject:* Tricking program into seeing actual gfx driver not WINE&#39;s<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Hello All,<br>
&gt; &gt;<br>
&gt; &gt; We have run into an interesting problem while trying to get the latest<br>
&gt; &gt; version of Stanford&#39;s Folding at Home GPU client to work in Linux via<br>
&gt; WINE.<br>
&gt; &gt; The programs says it does not detect a compatible GPU. Even when the<br>
&gt; user<br>
&gt; &gt; has installed the correct Nvidia drivers (with CUDA support) &nbsp;and has a<br>
&gt; &gt; compatible GPU. The problem I believe lies in &nbsp;the fact that the program<br>
&gt; is<br>
&gt; &gt; not told that there is a Nvidia 8800 installed, instead by the nature of<br>
&gt; &gt; WINE it see that &nbsp;&quot;WINE&quot; is the graphics card, as WINE first translate<br>
&gt; the<br>
&gt; &gt; direct3d calls into opengl calls that are then passed on to the GPU. So<br>
&gt; the<br>
&gt; &gt; question is, is it possible to trick programs into believing they are<br>
&gt; &gt; running on the right hardware? (As in fact they are).<br>
&gt; &gt;<br>
&gt; &gt; I remember a while ago the steam system spec survey was used to see how<br>
&gt; &gt; many people run steam via WINE. This was done by noting the graphics<br>
&gt; driver<br>
&gt; &gt; installed and how the wine one appeared when running WINE. Well this is<br>
&gt; fine<br>
&gt; &gt; but what we need is a way to make the program to see that it is actually<br>
&gt; &gt; running on Nvidia hardware. Because if the client would just start then<br>
&gt; the<br>
&gt; &gt; direct3d calls can be translated into opengl calls and the Nvidia linux<br>
&gt; &gt; drivers can then handle them and run it all fine and dandy.<br>
&gt; &gt;<br>
&gt; &gt; Here is the post, with error message about wrong graphics card detected,<br>
&gt; &gt; <a href="http://www.ocforums.com/showpost.php?p=5698997&amp;postcount=19" target="_blank">http://www.ocforums.com/showpost.php?p=5698997&amp;postcount=19</a> .<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Thanks,<br>
&gt; &gt;<br>
&gt; &gt; Seth Shelnutt<br>
&gt; &gt;<br>
<br>
</div></div><font color="#888888">--<br>
Psssst! Schon das coole Video vom GMX MultiMessenger gesehen?<br>
Der Eine f�r Alle: <a href="http://www.gmx.net/de/go/messenger03" target="_blank">http://www.gmx.net/de/go/messenger03</a><br>
</font></blockquote></div><br>