[Bug 12929] Games crash/wined3d doesn't work with ATI's fglrx driver

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jun 10 10:27:37 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=12929





--- Comment #34 from chris ahrendt <celticht32 at aol.com>  2008-06-10 10:27:36 ---
Ask and ye shall recieve...

I was able to find the following code which does the same thing and more

http://www.codesampler.com/dx9src.htm

Under this there are several Direct X samples with source code

Also

if you go directly to this link

http://www.codesampler.com/dx9src/dx9src_10.htm#dx9_2d_demo_game

Run the application under winedbg I get the following :

 winedbg dx9_2d_demo_game.exe
WineDbg starting on pid 0024
start_process () at /dar/build/wine-1.0-rc3/dlls/kernel32/process.c:904
0x7b874ed2 start_process+0xc2
[/dar/build/wine-1.0-rc3/dlls/kernel32/process.c:904] in kernel32: movl  
%esi,0x0(%esp)
Unable to open file ''
Wine-dbg>c
fixme:win:EnumDisplayDevicesW ((null),0,0x33f770,0x00000000), stub!
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to
SetDepthStencilSurface
err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to
SetDepthStencilSurface
wine: Call from 0x7b8427d0 to unimplemented function
d3dx9_36.dll.D3DXCreateTextureFromFileExA, aborting
First chance exception: unimplemented function
d3dx9_36.dll.D3DXCreateTextureFromFileExA called in 32-bit code (0x7b842852).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:7b842852 ESP:0033fc70 EBP:0033fcd4 EFLAGS:00000202(   - 00      - - I1)
 EAX:7b82c569 EBX:7b8c0880 ECX:00000000 EDX:00640878
 ESI:00640878 EDI:0013b258
Stack dump:
0x0033fc70:  0033fcfc 00000008 0000003c 60021b74
0x0033fc80:  80000100 00000001 00000000 7b8427d0
0x0033fc90:  00000002 6cb84a60 6cb85311 00000072
0x0033fca0:  00000072 0b7f0111 0b7f0111 0b7f0111
0x0033fcb0:  00000000 00000000 00000000 00000000
0x0033fcc0:  7ffd8d14 7ffd8d14 7ffd8c10 7ffd8c10
Backtrace:
=>1 0x7b842852 RaiseException+0x82(code=0x80000100, flags=0x1, nbargs=0x2,
args=0x33fcfc) [/dar/build/wine-1.0-rc3/dlls/kernel32/except.c:85] in kernel32
(0x0033fcd4)
  2 0x6cb849d5 __wine_spec_unimplemented_stub+0x35(module=0x6cb84a60,
function=0x6cb85311) [/dar/build/wine-1.0-rc3/dlls/winecrt0/stub.c:35] in
d3dx9_36 (0x0033fd04)
  3 0x6cb82014 __wine_stub_D3DXCreateTextureFromFileExW() in d3dx9_36
(0x41200000)
  4 0x00000000 (0x00000000)
0x7b842852 RaiseException+0x82
[/dar/build/wine-1.0-rc3/dlls/kernel32/except.c:85] in kernel32: movl   
0xfffffffc(%ebp),%ebx
Unable to open file ''
Wine-dbg>



Chris

Hardware

T60P with 3 Gigs of ram
ATI Mobility FireGL 5200 with 256mb with 8.49.7 version of the ATI drivers
Wine 1 RC3 Code

Note : there are actually 2 problems here
One is the usual 
err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat

the second is the unhandled exception because of the 
__wine_stub_D3DXCreateTextureFromFileExW()


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list