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