PDA

View Full Version : Why does WINE crash with almost EVERY 3D App?


Extreme Coder
07-19-2008, 07:08 PM
Hi,
I'm getting increasingly frustrated with this..
I have an ATI X1650 Pro, and almost every 3D game I have crashes.
FIFA 08, PES 6, Age of Mythology, and my brothers Bad Boys II game :/ Basically anything crashes.
Half Life runs, but it runs in software or OpenGL mode :P

They all crash with an error similar to this:
[ahmad@localhost Pro Evolution Soccer 6]$ wine PES6.exe
fixme:win:EnumDisplayDevicesW ((null),0,0x571f75c,0x00000000), stub!
fixme:d3d:test_pbo_functionality >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from Loading the PBO test texture
@ directx.c / 3594
err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat
fixme:win:RegisterDeviceNotificationA (hwnd=0x10026, filter=0x571fb88,flags=0x00000000),
returns a fake device notification handle!
fixme:d3d:IWineD3DDeviceImpl_ValidateDevice (0x12e4e8) : stub
err:d3d_surface:IWineD3DSurfaceImpl_LoadLocation Reading back render target but SFLAG_INDRAWABLE not set
fixme:d3d:IWineD3DDeviceImpl_ValidateDevice (0x12e4e8) : stub
err:dmloader:IDirectMusicLoaderImpl_IDirectMusicLo ader_SetObject : could not attach stream to file
fixme:dmime:IDirectMusicPerformance8Impl_InitAudio (0x8984f98, (nil), 0x12436b4, 0x10026, 1, 128, 3f, (nil)): to check
fixme:dmime:IDirectMusicPerformance8Impl_Init (iface = 0x8984f98, dmusic = (nil), dsound = 0x89416f0, hwnd = 0x10026)
fixme:dmime:IDirectMusicPerformance8Impl_CreateSta ndardAudioPath (0x8984f98)->(1, 128, 0, 0x8985164): semi-stub
fixme:dmime:IDirectMusicAudioPathImpl_IDirectMusic AudioPath_Activate (0x89851e8, 0): stub
fixme:dmime:IDirectMusicPerformance8Impl_GetDefaul tAudioPath (0x8984f98, 0x571fba8): semi-stub (0x89851ec)
fixme:dmime:IDirectMusicAudioPathImpl_IDirectMusic AudioPath_GetObjectInPath (0x89851e8, 0, 32768, 0, {00000000-0000-0000-0000-000000000000}, 0, {279afa84-4981-11ce-a521-0020af0be560}, 0x12436a0): stub
fixme:dmime:IDirectMusicPerformance8Impl_PChannelI nfo (0x8984f98, 0, 0x12436a4, (nil), (nil)): stub
fixme:dmime:IDirectMusicPerformance8Impl_GetDefaul tAudioPath (0x8984f98, 0x12436b0): semi-stub (0x89851ec)
wine: Unhandled page fault on read access to 0x00000000 at address 0x8766a3 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x008766a3).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:008766a3 ESP:0571fbb8 EBP:0571fdf0 EFLAGS:00010246( - 00 -RIZP1)
EAX:00000000 EBX:00010026 ECX:00000002 EDX:089851e8
ESI:00000000 EDI:00400000
Stack dump:
0x0571fbb8: 7eabbd00 0045b94b 00010026 00661bd5
0x0571fbc8: 00660ff9 00000002 00000001 00008000
0x0571fbd8: 00000000 00000000 00000000 00410ab2
0x0571fbe8: 00000000 00000000 00010026 00400000
0x0571fbf8: 00000300 00010026 00400000 00000000
0x0571fc08: 004114f0 7eab8d90 7eabe810 0571fcbc
Backtrace:
=>1 0x008766a3 in pes6 (+0x4766a3) (0x0571fdf0)
2 0x0041a552 in pes6 (+0x1a552) (0x0571ff18)
3 0x7ee5885b in kernel32 (+0x5885b) (0x00000000)
0x008766a3: movl 0x0(%eax),%ecx
Modules:
Module Address Debug info Name (89 modules)
PE 400000- 5513000 Export pes6
ELF 761cc000-76219000 Deferred dsound<elf>
\-PE 761d0000-76219000 \ dsound
ELF 767e5000-7682b000 Deferred dmime<elf>
\-PE 767f0000-7682b000 \ dmime
ELF 77089000-770b1000 Deferred dmusic<elf>
\-PE 77090000-770b1000 \ dmusic
ELF 7784e000-7787a000 Deferred dmloader<elf>
\-PE 77850000-7787a000 \ dmloader
ELF 7bf00000-7bf03000 Deferred <wine-loader>
ELF 7cda3000-7cdac000 Deferred librt.so.1
ELF 7cdac000-7de4e000 Deferred fglrx_dri.so
ELF 7de4e000-7de5a000 Deferred libgcc_s.so.1
ELF 7de5a000-7ded4000 Deferred libgl.so.1
ELF 7df1c000-7df51000 Deferred uxtheme<elf>
\-PE 7df20000-7df51000 \ uxtheme
ELF 7df51000-7df66000 Deferred midimap<elf>
\-PE 7df60000-7df66000 \ midimap
ELF 7df66000-7df8e000 Deferred msacm32<elf>
\-PE 7df70000-7df8e000 \ msacm32
ELF 7df8e000-7dfa6000 Deferred msacm32<elf>
\-PE 7df90000-7dfa6000 \ msacm32
ELF 7dfa6000-7dfe3000 Deferred wineoss<elf>
\-PE 7dfb0000-7dfe3000 \ wineoss
ELF 7dff6000-7e000000 Deferred libxcursor.so.1
ELF 7e000000-7e005000 Deferred libxfixes.so.3
ELF 7e005000-7e008000 Deferred libxcomposite.so.1
ELF 7e008000-7e00f000 Deferred libxrandr.so.2
ELF 7e00f000-7e018000 Deferred libxrender.so.1
ELF 7e018000-7e01d000 Deferred libxxf86vm.so.1
ELF 7e01d000-7e020000 Deferred libxinerama.so.1
ELF 7e020000-7e041000 Deferred imm32<elf>
\-PE 7e030000-7e041000 \ imm32
ELF 7e041000-7e047000 Deferred libxdmcp.so.6
ELF 7e047000-7e064000 Deferred libxcb.so.1
ELF 7e064000-7e066000 Deferred libxcb-xlib.so.0
ELF 7e066000-7e069000 Deferred libxau.so.6
ELF 7e069000-7e167000 Deferred libx11.so.6
ELF 7e167000-7e177000 Deferred libxext.so.6
ELF 7e177000-7e190000 Deferred libice.so.6
ELF 7e190000-7e199000 Deferred libsm.so.6
ELF 7e1b0000-7e24f000 Deferred winex11<elf>
\-PE 7e1c0000-7e24f000 \ winex11
ELF 7e26f000-7e3a5000 Deferred libxml2.so.2
ELF 7e3a5000-7e3d3000 Deferred libfontconfig.so.1
ELF 7e3d3000-7e3e6000 Deferred libz.so.1
ELF 7e3e6000-7e461000 Deferred libfreetype.so.6
ELF 7e461000-7e52c000 Deferred comctl32<elf>
\-PE 7e470000-7e52c000 \ comctl32
ELF 7e52c000-7e58b000 Deferred shlwapi<elf>
\-PE 7e540000-7e58b000 \ shlwapi
ELF 7e58b000-7e6ac000 Deferred shell32<elf>
\-PE 7e5a0000-7e6ac000 \ shell32
ELF 7e6ac000-7e6db000 Deferred ws2_32<elf>
\-PE 7e6b0000-7e6db000 \ ws2_32
ELF 7e6db000-7e772000 Deferred winmm<elf>
\-PE 7e6f0000-7e772000 \ winmm
ELF 7e772000-7e785000 Deferred libresolv.so.2
ELF 7e79c000-7e7bb000 Deferred iphlpapi<elf>
\-PE 7e7a0000-7e7bb000 \ iphlpapi
ELF 7e7bb000-7e822000 Deferred rpcrt4<elf>
\-PE 7e7d0000-7e822000 \ rpcrt4
ELF 7e822000-7e8d4000 Deferred ole32<elf>
\-PE 7e830000-7e8d4000 \ ole32
ELF 7e8d4000-7e90e000 Deferred dinput<elf>
\-PE 7e8e0000-7e90e000 \ dinput
ELF 7e90e000-7e927000 Deferred dinput8<elf>
\-PE 7e910000-7e927000 \ dinput8
ELF 7e927000-7e97e000 Deferred advapi32<elf>
\-PE 7e930000-7e97e000 \ advapi32
ELF 7e97e000-7ea28000 Deferred gdi32<elf>
\-PE 7e990000-7ea28000 \ gdi32
ELF 7ea28000-7eb84000 Deferred user32<elf>
\-PE 7ea40000-7eb84000 \ user32
ELF 7eb84000-7ec91000 Deferred wined3d<elf>
\-PE 7eba0000-7ec91000 \ wined3d
ELF 7ec91000-7ecbf000 Deferred d3d8<elf>
\-PE 7eca0000-7ecbf000 \ d3d8
ELF 7ede2000-7ef21000 Export kernel32<elf>
\-PE 7ee00000-7ef21000 \ kernel32
ELF 7ef21000-7ef2c000 Deferred libnss_files.so.2
ELF 7ef2c000-7ef51000 Deferred libm.so.6
ELF 7ef51000-7f000000 Deferred ntdll<elf>
\-PE 7ef60000-7f000000 \ ntdll
ELF b7ca2000-b7ca6000 Deferred libdl.so.2
ELF b7ca6000-b7dea000 Deferred libc.so.6
ELF b7dea000-b7e01000 Deferred libpthread.so.0
ELF b7e18000-b7f4f000 Deferred libwine.so.1
ELF b7f50000-b7f6c000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 (D) D:\Backup\Windows Data\Games\Pro Evolution Soccer 6\PES6.exe
0000001e -15
0000001d -15
0000001c 15
0000001b 15
0000001a 15
00000018 0
00000009 0 <==
0000000c
00000013 0
00000012 0
0000000e 0
0000000d 0
0000000f
00000015 0
00000014 0
00000011 0
00000010 0
00000016
00000017 0
Backtrace:
=>1 0x008766a3 in pes6 (+0x4766a3) (0x0571fdf0)
2 0x0041a552 in pes6 (+0x1a552) (0x0571ff18)
3 0x7ee5885b in kernel32 (+0x5885b) (0x00000000)
fixme:winmm:MMDRV_Exit Closing while ll-driver open



Some people said using native DLLs will fix it, but I'm not sure. Should I bother with trying that?

Is this problem for everyone using FGLRX? And how can I solve it?

Thanks!

Kano
07-19-2008, 07:11 PM
Use 8-5 driver not 8-6.

Extreme Coder
07-19-2008, 07:51 PM
Are you sure it will fix this?
If so, I'm headed to download it then ;)

Extreme Coder
07-19-2008, 07:55 PM
Wait! I am already using 8.49.7, which AFAIK is 8.5, right?
I checked from the Catalyst Control Center.

Kano
07-20-2008, 05:33 AM
Thats 8-5 - i use wine 1.1.1 and you?

Maxhysteria
07-20-2008, 07:47 AM
Have you tried with an OpenGL game ? (like WoW)

Maybe you could look a this post :
http://www.phoronix.com/forums/showthread.php?t=10104&page=3

There is a patch at #23 that worked for me with Civ 4.
There is an other workaround in post #37
http://bugs.winehq.org/show_bug.cgi?id=12929#c52

Melcar
07-20-2008, 04:44 PM
I pretty much have given up on trying to run any accelerated app. under Wine (even 2D ones). When it does run, it runs horribly slow and/or buggy, but usually it corrupts my whole screen making things unusable. I pretty much just use Wine for non-accelerated Windows apps.

Laughing1
07-21-2008, 06:36 PM
Interesting, I get the same d3d problem in wine...

Extreme Coder
07-23-2008, 09:51 PM
BUMP
Guys, I really need help on this :/
FIFA 08 which is reported as working on the AppDB just crashes after launch, and so do many games.
If Cedega or Crossover Games will solve this problem, let me know.
Does 8.6 or 8.7 solve this also?
Anything would be useful..

grigi
07-24-2008, 04:06 AM
I have a mobility x1600, and 8-6 seems to work pretty much perfectly for me... 8-5 was the broken version for me, but some people say 8-6 broke theirs...

Extreme Coder
07-24-2008, 04:26 AM
I have a mobility x1600, and 8-6 seems to work pretty much perfectly for me... 8-5 was the broken version for me, but some people say 8-6 broke theirs...
Can you run DirectX games?

grigi
07-24-2008, 05:13 AM
I tried running some DX Demos, and, it didn't crash.
The rendering was not quite correct though :(

The biggest problem seems to be that it rendering backfaces and not frontfaces.

I remember reading on some of the Wine lists, that the issue has been identified, and found to be a Wine bug. It apparently affects all cards/drivers, but fglrx is the most sensitive to it.

Something to do with not leaving the drivers with enough virtual memory address space, so that they can represent the GPU memory in that process space.

Nille
07-24-2008, 08:34 AM
I have running Catalyst 8.6 (HD3859) and have no Problems with SX games.

Extreme Coder
07-24-2008, 12:15 PM
I have running Catalyst 8.6 (HD3859) and have no Problems with SX games.

i suppose you mean DirectX games, but can you give an example?

Thanks!

glaufan
09-10-2008, 05:46 PM
Hi

Came across this thread on google... as a long time Wine user, I just wanted to point out that ATI/AMD have extremely buggy video drivers on Linux.

A lot of the time one 3D app, be it a game or otherwise will work perfectly fine if you have a nvidia card and their drivers, use ATI and it's a completely different story, some things won't even start.

If you have an ati card then you can basically be guaranteed a bad experience on Linux. I don't know why the situation is the way it is, maybe they thought it wasn't worth their time doing one properly because this "Linux" thing would never be popular, but now for whatever reason, for some years ATI drivers have caused apps to either be completely broken or have large differences in performance.

After having made the mistake of buying ATI before and ending up with a worthless video card on Linux, I've since learnt my lesson and switched to nvidia.

</rant>

doubledr
09-11-2008, 11:27 PM
does anyone read the first post? It looks like this is an Oops problem...

Redeeman
09-12-2008, 12:57 AM
you should save yourself the trouble. wine doesent work with fglrx. amd has little interrest in fixing it, because it gives no problems for their workstation customers.

really.. if you need wine, you are heading for nvidia city.. theres no point wasting more of your time with this futile excercise.