<pre>&gt;<i> Hello All,<br></i>&gt;<i><br></i>&gt;<i> We have run into an interesting problem while trying to get the latest<br></i>&gt;<i> version of Stanford&#39;s Folding at Home GPU client to work in Linux via WINE.<br>
</i>&gt;<i> The programs says it does not detect a compatible GPU. Even when the user<br></i>&gt;<i> has installed the correct Nvidia drivers (with CUDA support)  and has a<br></i>&gt;<i> compatible GPU. The problem I believe lies in  the fact that the program is<br>
</i>&gt;<i> not told that there is a Nvidia 8800 installed, instead by the nature of<br></i>&gt;<i> WINE it see that  &quot;WINE&quot; is the graphics card, as WINE first translate the<br></i>&gt;<i> direct3d calls into opengl calls that are then passed on to the GPU. So the<br>
</i>&gt;<i> question is, is it possible to trick programs into believing they are<br></i>&gt;<i> running on the right hardware? (As in fact they are).<br></i>&gt;<i><br></i>&gt;<i> I remember a while ago the steam system spec survey was used to see how many<br>
</i>&gt;<i> people run steam via WINE. This was done by noting the graphics driver<br></i>&gt;<i> installed and how the wine one appeared when running WINE. Well this is fine<br></i>&gt;<i> but what we need is a way to make the program to see that it is actually<br>
</i>&gt;<i> running on Nvidia hardware. Because if the client would just start then the<br></i>&gt;<i> direct3d calls can be translated into opengl calls and the Nvidia linux<br></i>&gt;<i> drivers can then handle them and run it all fine and dandy.<br>
</i>&gt;<i><br></i>&gt;<i> Here is the post, with error message about wrong graphics card detected,<br></i>&gt;<i> <a href="http://www.ocforums.com/showpost.php?p=5698997&amp;postcount=19">http://www.ocforums.com/showpost.php?p=5698997&amp;postcount=19</a> .<br>
</i><br></pre>
I think you would have to create wrapper dll&#39;s that pass the function calls along to libcudart.so.2.0<br>
<br>
The following libraries are in the CUDA download for linux.<br>
libcublas.so.2.0<br>
libcublasemu.so.2.0<br>
libcudart.so.2.0<br>
libcufft.so.2.0<br>
libcufftemu.so.2.0<br>
<br>
I am unsure if you would need to modify more but I am pretty sure that
running the windows veersions of those dlls directly o wine is nto what
you want.<br>