WineHQ
Bug Tracking Database – Bug 5552

 Bugzilla

 

Last modified: 2014-03-07 14:13:37 UTC  

Need for Speed Porsche 2000 doesn't see DX as installed

Bug 5552 - Need for Speed Porsche 2000 doesn't see DX as installed
Need for Speed Porsche 2000 doesn't see DX as installed
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: d3d
0.9.16.
x86-64 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
http://www.nfshome.com/demos.php
: download, Installer
: 6653 (view as bug list)
Depends on:
Blocks: 8796
  Show dependency tree
 
Reported: 2006-06-28 08:51 UTC by Benjamin Hodgetts
Modified: 2014-03-07 14:13 UTC (History)
10 users (show)

See Also:
Regression SHA1:
Fixed by SHA1:
Distribution: ---
Staged patchset:


Attachments
Output from the 3DSetup program (410 bytes, text/plain)
2006-06-28 08:52 UTC, Benjamin Hodgetts
Details
Output from the game (4.14 KB, text/plain)
2006-06-28 08:52 UTC, Benjamin Hodgetts
Details
Crash debug info after bypassing the DirectX detection bug (8.95 KB, text/plain)
2007-06-25 07:10 UTC, TomaszD
Details
Output from the 3DSetup program WINE 1.13 (310 bytes, text/plain)
2009-01-21 07:11 UTC, NSLW
Details
Wine output with driver=dx7z option (15.84 KB, text/plain)
2010-06-16 15:17 UTC, Nicolas Krzywinski
Details
This gui message appeared additionally (2.91 KB, image/png)
2010-06-16 15:18 UTC, Nicolas Krzywinski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Hodgetts 2006-06-28 08:51:01 UTC
When running the 3D Setup program it only lets you select software renderer and
then when you try and run the game it says that you have DirectX 0. installed
and to install DirectX 7.
Comment 1 Benjamin Hodgetts 2006-06-28 08:52:19 UTC
Created attachment 2768 [details]
Output from the 3DSetup program
Comment 2 Benjamin Hodgetts 2006-06-28 08:52:39 UTC
Created attachment 2769 [details]
Output from the game
Comment 3 Gregor Münch 2006-06-28 09:51:42 UTC
you can avoid that by changing the registry values manually:

"Group" "D3D"
"D3D Device" "1"
"Trash Driver" "dx"
"Hardware Accerlarion" "1"

Game starts, you can hear the intro but nothing is displayed. Game crashs after 
that. 
/Note: After the ddraw rewrite are the most intros broken, you can hear the 
sound but nothing is displayed.
Comment 4 Gregor Münch 2006-09-26 19:01:28 UTC
Doesnt really is a installer problem. 3D Setup is just a little utility to 
detect the graphics card. 
Problem is that the prog detects nothing. And also writes nothing to the 
registry. 
e.g. "Trash Driver" ""
As result when u start the game, it complains dx0 is installed.
Comment 5 James Hawkins 2006-09-26 19:17:21 UTC
The Installer keyword means, among other things, that the bug is a part of the
installation process.
Comment 6 TomaszD 2007-06-25 07:09:25 UTC
You can use this to override the 3dsetup program:

wine Porsche.exe driver=dx7z

However, I get a crash soon after that on Wine 0.9.39 and Porsche Unleashed
Enhanced ver. 20040310 (unofficial WinXP compat patch, but crash is identical in
both WinXP and Win98 winecfg modes). I'll try to attach the trace soon.
Comment 7 TomaszD 2007-06-25 07:10:50 UTC
Created attachment 6865 [details]
Crash debug info after bypassing the DirectX detection bug
Comment 8 Lei Zhang 2007-06-29 02:00:23 UTC
looks like tomaszd has the same problem, confirming.
Comment 9 Austin English 2007-07-07 11:56:50 UTC
Still present in wine 0.9.40
Comment 10 Gregor Münch 2007-07-07 13:12:24 UTC
@Lei Zhang

Why do you think this the same bug? What TomaszD wrote goes into bug 8796.
Comment 11 Lei Zhang 2007-07-08 21:29:17 UTC
Gregor, I misread. There's too many need for speed games. ;) In any case, Austin
can confirm the problem as well.
Comment 12 Joel Parker 2007-09-18 15:03:37 UTC
This bug depends on #9712 (HKEY_CURRENT_CONFIG support), at least for NFS3.
Comment 13 Austin English 2008-01-10 09:58:01 UTC
*** Bug 6653 has been marked as a duplicate of this bug. ***
Comment 14 kriko 2008-11-24 16:08:52 UTC
I can confirm this too - using workaround game stops complaining about DX but crashes before anything shows up.
Comment 15 Austin English 2009-01-14 11:58:36 UTC
Please retest in current git. If still present, update version field to earliest known version of wine that had this bug. Thanks!
Comment 16 NSLW 2009-01-21 07:11:29 UTC
Created attachment 18865 [details]
Output from the 3DSetup program WINE 1.13

I'm using nvidia driver 180.22 and WINE 1.13 on Fedora 10 i386 and the bug is still present.
Comment 17 drachu 2009-07-07 12:43:45 UTC
Another confirmation, tha this bug is still present in current wine (ver. 1.1.25) 

Tested on ubuntu 9.10 with NVidia drivers 185.whatever. :)
Comment 18 Nicolas Krzywinski 2010-06-16 15:17:02 UTC
Created attachment 28898 [details]
Wine output with driver=dx7z option

This behaviour stays the same for me with Ubuntu Lucid, kernel 2.6.32 on wine 1.1.43 and nvidia driver 195.36.24
Comment 19 Nicolas Krzywinski 2010-06-16 15:18:16 UTC
Created attachment 28899 [details]
This gui message appeared additionally

GUI error message when using driver=dx7z parameter
Comment 20 Andrew Nguyen 2010-06-19 08:17:27 UTC
From relay log:

0021:trace:ddraw:IDirectDrawImpl_CreateSurface (0x195360)->(0x2f1e708,0x60021b64,(nil))
0021:trace:ddraw:IDirectDrawImpl_CreateSurface  (0x195360) Requesting surface desc :
0021:trace:ddraw:DDRAW_dump_members  - DDSD_CAPS : DDSCAPS_COMPLEX DDSCAPS_FLIP DDSCAPS_PRIMARYSURFACE DDSCAPS_SYSTEMMEMORY DDSCAPS_3DDEVICE 
0021:trace:ddraw:DDRAW_dump_members  - DDSD_BACKBUFFERCOUNT : 1
0021:trace:ddraw:IDirectDrawImpl_CreateSurface (0x195360): Attempt to create a flipable primary surface without DDSCL_EXCLUSIVE set
0021:trace:seh:raise_exception code=c0000005 flags=0 addr=0x60008baa ip=60008baa tid=0021
...

CreateSurface is rejecting surface creation with DDSCAPS_FLIP | DDSCAPS_PRIMARYSURFACE texture capability flags set. A quick CreateSurface test I wrote, however, shows that CreateSurface allows texture creation with DDSCAPS_FLIP | DDSCAPS_PRIMARYSURFACE if DDSCAPS_COMPLEX is also set.

If I comment out the particular flag check in IDirectDrawImpl_CreateSurface, the crash seems to be avoided, although the game doesn't seem to render anything, and ddraw fixmes are emitted continuously.
Comment 21 awesome 2010-07-17 11:47:08 UTC
This bug still exists with 1.2 version of Wine.
Comment 22 awesome 2010-12-02 18:20:38 UTC
The bug still exists with 1.3.8 version of Wine.
Comment 23 joaopa 2012-05-11 16:13:58 UTC
still a bug in current wine?
Comment 24 joaopa 2012-05-27 12:59:42 UTC
There are 2 bugs in this report.

Initial bug is not fixed. Still complaining about directx 0 installed.
Comment 25 zippy 2013-12-01 15:48:37 UTC
still in 1.7.7

when i add driver=dx7z to the command line, the game window is initially black and i have to click inside it for the game to start running and the splash screen to appear.
Comment 26 Henri Verbeet 2014-02-18 05:33:43 UTC
Does this still happen? (In particular with a new install.) I can select my graphics card with 3DSetup.exe, and after that the game no longer complains on startup.
Comment 27 Wylda 2014-02-23 16:04:21 UTC
(In reply to Henri Verbeet from comment #26)
> Does this still happen? (In particular with a new install.)

Hi Henri. After clean installation, in case of WinXP it gives me "Software renderer" and twice "NVIDIA GT240". 3Dsetup.exe appears completly broken when run under Win98, but that would deserve another bug report...

But i guess, that originaly reported issue is fixed. When the installer is run under Win98 (wont' show up in case of installing under WinXP), at the end there is a message (thus it sees, that DX is installed):

"A version of DirectX higher than 7.0a has been detected on your system".


Unfortunately i'm not able to start the game under wine-1.7.13-27-ge610713. It crashes immediately here.
Comment 28 Henri Verbeet 2014-02-24 13:52:39 UTC
(In reply to Wylda from comment #27)
> Unfortunately i'm not able to start the game under wine-1.7.13-27-ge610713.
> It crashes immediately here.

I guess that's a regression. For what it's worth, the game still seems to work fine for me, although that's not on a clean install.
Comment 29 Alexandre Julliard 2014-03-07 14:13:37 UTC
Closing bugs fixed in 1.7.14.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers