Testing basic direct x capability

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Christoffer Sørensen

Testing basic direct x capability

Post by Christoffer Sørensen »

Hi,

I am running wine 0.9.58 and having problems running Counter Strike:
Source, Rainbow Six 3: Raven Shield.

I think this is caused by the direct x layer in wine.

My system runs opengl programs fine using the ATI driver (Radeon 3850).

Is there any way I can test directx functionality without having to
download a game?

Dxdiag.exe is not included in wine.

Best regards,

Chris
Marcel W. Wysocki

Testing basic direct x capability

Post by Marcel W. Wysocki »

On Wed, 9 Apr 2008 20:58:42 +0200
"Christoffer Sørensen" <[email protected]> wrote:
Hi,

I am running wine 0.9.58 and having problems running Counter Strike:
Source, Rainbow Six 3: Raven Shield.

I think this is caused by the direct x layer in wine.

My system runs opengl programs fine using the ATI driver (Radeon 3850).

Is there any way I can test directx functionality without having to
download a game?

Dxdiag.exe is not included in wine.
i don't know if there is any program included which basicly checks every dx function
perhaps sth like that is floating around the internet or maybe some basic dx benchmark tool


--
Marcel W. Wysocki <[email protected]>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-us ... chment.pgp
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Testing basic direct x capability

Post by vitamin »

Christoffer Sørensen wrote:Hi,

I am running wine 0.9.58 and having problems running Counter Strike:
Source, Rainbow Six 3: Raven Shield.
What sort of problems?
Christoffer Sørensen wrote: My system runs opengl programs fine using the ATI driver (Radeon 3850).
Programs such as? Don't tell me that you ran glxgears and can declare that full 100% of OpenGL 2.1 is 100% working flawlessly in your setup!
Christoffer Sørensen wrote: Is there any way I can test directx functionality without having to
download a game?
Yes, download any other full featured 3D app, like 3DMark & co.
There are no programs that test full 100% of everything. At least free ones available to general public.
Christoffer Sørensen

Testing basic direct x capability

Post by Christoffer Sørensen »

On Thu, Apr 10, 2008 at 1:20 AM, vitamin <[email protected]> wrote:
Christoffer Sørensen wrote:
Hi,

I am running wine 0.9.58 and having problems running Counter Strike:
Source, Rainbow Six 3: Raven Shield.
What sort of problems?
Steam works fine, but games don't run: the resolution changes and the
game exits.

Raven Shield almost fails the same way, but ends with a general
protection fault.
Christoffer Sørensen wrote:
My system runs opengl programs fine using the ATI driver (Radeon 3850).
Programs such as? Don't tell me that you ran glxgears and can declare that full 100% of OpenGL 2.1 is 100% working flawlessly in your setup!
I tried glxgears and a native linux opengl chess game.

If you have other suggestions my ears are open. By the way, your tone
appears pretty hostile from my point of view.

Are there any opengl 2.1 test suites for linux?
Christoffer Sørensen wrote:
Is there any way I can test directx functionality without having to
download a game?
Yes, download any other full featured 3D app, like 3DMark & co.
There are no programs that test full 100% of everything. At least free ones available to general public.
i tried 3dmark 2001se, that hangs the machine.
Dan Kegel

Testing basic direct x capability

Post by Dan Kegel »

On Wed, Apr 9, 2008 at 11:04 PM, Christoffer Sørensen
<[email protected]> wrote:
Is there any way I can test directx functionality without having to
download a game?
Yes, download any other full featured 3D app, like 3DMark & co.
There are no programs that test full 100% of everything. At least free ones available to general public.
i tried 3dmark 2001se, that hangs the machine.
Sounds like a pretty good test right there!
Should we recommend this app as a "run this first to make
sure wine 3d is happy on your system" test to new users?

I could add it to winetricks...
Marcel W. Wysocki

Testing basic direct x capability

Post by Marcel W. Wysocki »

On Thu, 10 Apr 2008 07:02:24 -0700
"Dan Kegel" <[email protected]> wrote:
On Wed, Apr 9, 2008 at 11:04 PM, Christoffer Sørensen
<[email protected]> wrote:
Yes, download any other full featured 3D app, like 3DMark & co.
There are no programs that test full 100% of everything. At least free ones available to general public.
i tried 3dmark 2001se, that hangs the machine.
Sounds like a pretty good test right there!
Should we recommend this app as a "run this first to make
sure wine 3d is happy on your system" test to new users?

I could add it to winetricks...
is it free even ?


--
Marcel W. Wysocki <[email protected]>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-us ... chment.pgp
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Testing basic direct x capability

Post by vitamin »

Christoffer Sørensen wrote:On Thu, Apr 10, 2008 at 1:20 AM, vitamin <[email protected]> wrote:
Christoffer Sørensen wrote:
Hi,

I am running wine 0.9.58 and having problems running Counter Strike:
Source, Rainbow Six 3: Raven Shield.
What sort of problems?
Steam works fine, but games don't run: the resolution changes and the
game exits.
What distro? What video card? What drivers? Have you unchecked "In-game steam community"? Have you disabled/killed/removed pulseaudio if you have one?
Christoffer Sørensen wrote: I tried glxgears and a native linux opengl chess game.
Exactly what I said - they use 5% functionality of what Wine needs.
Christoffer Sørensen wrote: i tried 3dmark 2001se, that hangs the machine.
That points to driver/hardware problems with your machine. Unless of course you ran it as root...
Dan Kegel

Testing basic direct x capability

Post by Dan Kegel »

On Thu, Apr 10, 2008 at 7:04 AM, Marcel W. Wysocki <[email protected]> wrote:
i tried 3dmark 2001se, that hangs the machine.
Sounds like a pretty good test right there!
Should we recommend this app as a "run this first to make
sure wine 3d is happy on your system" test to new users?

I could add it to winetricks...
is it free even ?
Yup. http://appdb.winehq.org/objectManager.p ... n&iId=4544
has a free download url.
Marcel W. Wysocki

Testing basic direct x capability

Post by Marcel W. Wysocki »

On Thu, 10 Apr 2008 07:24:00 -0700
"Dan Kegel" <[email protected]> wrote:
On Thu, Apr 10, 2008 at 7:04 AM, Marcel W. Wysocki <[email protected]> wrote:
Sounds like a pretty good test right there!
Should we recommend this app as a "run this first to make
sure wine 3d is happy on your system" test to new users?

I could add it to winetricks...
is it free even ?
Yup. http://appdb.winehq.org/objectManager.p ... n&iId=4544
has a free download url.
hmm from what i can tell it only benchmarks dx8
perhaps we should keep our eyes open for a free benchmarking tool which does dx9 too
would be good to test the general progress of wine's dx9 implementation as well

just my two cents

--
Marcel W. Wysocki <[email protected]>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-us ... chment.pgp
Dan Kegel

Testing basic direct x capability

Post by Dan Kegel »

On Thu, Apr 10, 2008 at 7:53 AM, Marcel W. Wysocki <[email protected]> wrote:
hmm from what i can tell it only benchmarks dx8
Still a great test case for basic "3d working at all".
perhaps we should keep our eyes open for a free benchmarking tool which does dx9 too
would be good to test the general progress of wine's dx9 implementation as well
Later versions of 3dmark test dx9:
http://www.futuremark.com/download/3dmark06/

Maybe I'll add both to winetricks...
Christoffer Sørensen

Testing basic direct x capability

Post by Christoffer Sørensen »

On Thu, Apr 10, 2008 at 4:57 PM, Dan Kegel <[email protected]> wrote:
On Thu, Apr 10, 2008 at 7:53 AM, Marcel W. Wysocki <[email protected]> wrote:
hmm from what i can tell it only benchmarks dx8
Still a great test case for basic "3d working at all".

perhaps we should keep our eyes open for a free benchmarking tool which does dx9 too
would be good to test the general progress of wine's dx9 implementation as well
Later versions of 3dmark test dx9:
http://www.futuremark.com/download/3dmark06/

Maybe I'll add both to winetricks...
Well, I've tried tremoulous and all other 3d opengl programs / games
on Debian Lenny. No problems.

The ATI fglrx driver is version fglrx-driver 8.47.3-3

I have downloaded and run Wolfenstein Enemy Territory without any problems.

Then I found glean:

http://glean.sourceforge.net/

which can test the opengl implementation.

The ATI driver passes the basic tests but fails some of the other
tests. Whether this is also the case on nvidia boards I'm not sure.

Where do I go from here?
Dan Kegel

Testing basic direct x capability

Post by Dan Kegel »

Christoffer Sørensen <[email protected]> wrote:
Then I found glean:

http://glean.sourceforge.net/

which can test the opengl implementation.

The ATI driver passes the basic tests but fails some of the other
tests. Whether this is also the case on nvidia boards I'm not sure.
Interesting. Did you build it yourself? Which compiler? Was it
straightforward?
Christoffer Sørensen

Testing basic direct x capability

Post by Christoffer Sørensen »

On Fri, Apr 11, 2008 at 7:01 PM, Dan Kegel <[email protected]> wrote:
Christoffer Sørensen <[email protected]> wrote:
Then I found glean:

http://glean.sourceforge.net/

which can test the opengl implementation.

The ATI driver passes the basic tests but fails some of the other
tests. Whether this is also the case on nvidia boards I'm not sure.
Interesting. Did you build it yourself? Which compiler? Was it
straightforward?
yes, build it myself. Gcc on debian lenny, with lots of source
packages installed. Yes, it was easy.

What the failed tests mean, I'm not sure but they could point to a bad
implementation.

/Chris
qwertymn
Level 4
Level 4
Posts: 236
Joined: Thu Mar 27, 2008 3:42 am

Post by qwertymn »

Sorry to interfere with this dicussion, but i'm afraid a have bad news for you:

Here's my experience of using ATI-card + fglrx-drivers for more then 2 years :

Spontaneous reboots of my computer
Logging out from X-server at random stages in games
Never ran a successful complete test from wine's test suite in ddraw/d3d8/d3d9
Several crashes in multiple games that were reported to work fine in wine.

I could extend the list with several other issues, but let's keep it short:

I upgraded my computer 2 months ago, and got me an nVidia-card again (like i had before i got that damned ATI-card). Experience for last two months:

Never got a reboot/spontaneaous logout
Absolute stability
All test from wine run fine.
Nice performance/stability in games.


I'm sorry to say so, but untill ATI improves their Linux drivers I guess you're doomed :(. The only games i was able to run more or less without problems were OpenGl games like Doom3/ Serious Sam/ Enemy Territory. All DirectX Games just ran sh*t.
Go and get yourself a new card.... Regards.
Christoffer Sørensen

Testing basic direct x capability

Post by Christoffer Sørensen »

On Fri, Apr 11, 2008 at 10:45 PM, qwertymn <[email protected]> wrote:
Sorry to interfere with this dicussion, but i'm afraid a have bad news for you:
Here's my experience of using ATI-card + fglrx-drivers for more then 2 years :
Spontaneous reboots of my computer
Logging out from X-server at random stages in games
Never ran a successful complete test from wine's test suite in ddraw/d3d8/d3d9
Several crashes in multiple games that were reported to work fine in wine.
I could extend the list with several other issues, but let's keep it short:
I upgraded my computer 2 months ago, and got me an nVidia-card again (like i had before i got that damned ATI-card). Experience for last two months:
Never got a reboot/spontaneaous logout
Absolute stability
All test from wine run fine.
Nice performance/stability in games.
I'm sorry to say so, but untill ATI improves their Linux drivers I guess you're doomed :(. The only games i was able to run more or less without problems were OpenGl games like Doom3/ Serious Sam/ Enemy Territory. All DirectX Games just ran sh*t.
Go and get yourself a new card.... Regards.
Thanks for the info.

I guess as a Linux user you are always screwed by the proprietary
companies. Get yourself a Nvidia card and get it to work right now or
get an ATI card and expect 3D to work in two years when the radeonhd
drivers are working.

By the way, I have a Nvidia card (Geforce 4600 or something) in
another PC but the Nvidia drivers there locks up the computer so I
guess Nvidia is only good for some generations then they slowly
decade.

Regards,

Chris
DRNewcomb
Level 2
Level 2
Posts: 18
Joined: Wed Apr 09, 2008 6:04 pm

Post by DRNewcomb »

I would also like to see a good way to test DirectX. The problem with dxdiag is that it does not seem to work without installing MS DirectX and then setting a whole bunch of dll overrides. Of course, there are those who ask, "Why would you do something as stupid as installing DirectX?" The obvious is answer is "Duh. To get a diagnostic program to run." If there were a diagnostic that didn't crash without MS DirectX it would help a lot.
qwertymn
Level 4
Level 4
Posts: 236
Joined: Thu Mar 27, 2008 3:42 am

Post by qwertymn »

>I would also like to see a good way to test DirectX. The problem with dxdiag >is that it does not seem to work without installing MS DirectX and then >setting a whole bunch of dll overrides. Of course, there are those who ask, >"Why would you do something as stupid as installing DirectX?" The obvious >is answer is "Duh. To get a diagnostic program to run." If there were a >diagnostic that didn't crash without MS DirectX it would help a lot.

I guess wine just needs a builtin dxdiag.exe.
Reason 1: to test simple DirectX capability
Reason 2: Some windows applications, like GameZone test explixitely for the presence of dxdiag.exe in c:\windows\system32\, and fail miserabily to run, if it's not found.

Actually my plan is to look into this, if i have some free time, and see if i can make patch that adds a simple dxdiag.exe to wine. Shouldn't be to difficult. To be continued.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Testing basic direct x capability

Post by austin987 »

On Fri, Apr 25, 2008 at 12:58 PM, qwertymn <[email protected]>
wrote:
I would also like to see a good way to test DirectX. The problem with
dxdiag >is that it does not seem to work without installing MS DirectX and
then >setting a whole bunch of dll overrides. Of course, there are those who
ask, >"Why would you do something as stupid as installing DirectX?" The
obvious >is answer is "Duh. To get a diagnostic program to run." If there
were a >diagnostic that didn't crash without MS DirectX it would help a lot.

I guess wine just needs a builtin dxdiag.exe.
Reason 1: to test simple DirectX capability
Reason 2: Some windows applications, like GameZone test explixitely for
the presence of dxdiag.exe in c:\windows\system32\, and fail miserabily to
run, if it's not found.

Actually my plan is to look into this, if i have some free time, and see if
i can make patch that adds a simple dxdiag.exe to wine. Shouldn't be to
difficult. To be continued.
Can you see if it tries to run it or just checks for the file?

Does:
$ touch ~/.wine/drive_c/windows/system32/dxdiag.exe
Fix gamezone?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-us ... chment.htm
qwertymn
Level 4
Level 4
Posts: 236
Joined: Thu Mar 27, 2008 3:42 am

Post by qwertymn »

Can you see if it tries to run it or just checks for the file?

Does:
$ touch ~/.wine/drive_c/windows/system32/dxdiag.exe
Fix gamezone?

Actually the name of the app is not gamezone but gameshadow (sorry):
http://appdb.winehq.org/objectManager.p ... 8308[quote][/quote]

I don't remember if it just checks for the file, or tries to run it, and i cannot test now, as i'm on holiday and 9000 km away from my own computer ;)
But you could test it yourself, as it's a free download. If I remember correctly you need first copy a scrrun.dll to system32 and register it, and then you run into the bug about missing dxdiag.exe.
Locked