http://bugs.winehq.org/show_bug.cgi?id=12929
Summary: Games crash/wined3d doesn't work with ATI's fglrx driver Product: Wine Version: 0.9.61. Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: mattemod@gmail.com
Like I explained in this thread http://forum.winehq.org/viewtopic.php?t=510 games (and i think other 3D apps too) don't run with "fglrx" driver.
I tried the "radeonhd" driver and games start perfectly, but (obviously they're unusable because the radeonhd driver doesn't have direct rendering implemented yet). I also tried my same Wine installation on a notebook with an nvidia 7000M and it worked! To do so i installed the same Wine version (0.9.60) on the same distro (Gentoo AMD64) and copied my ~/.wine (with games already installed) on the notebook.
Today i tried Wine 0.9.61 but results are the same... I noticed that it happens only with DirectX games, not OpenGL. For example i tried Morrowind, Oblivion, Guild Wars and Nexuiz, but the only one who worked was Nexuiz (even if too slowly).
Here is my configuration: - Gentoo AMD64 - kernel 2.6.24-gentoo-r5 - ATI Radeon HD 3870 (512MB) - fglrx 8.473 (Catalyst 8.4)
I'm going to attach some wine/winedbg output. If you need any other info and test reports or if you want me to try patches or anything else, just ask.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #1 from Matteo Modesti mattemod@gmail.com 2008-05-03 00:22:12 --- Created an attachment (id=12654) --> (http://bugs.winehq.org/attachment.cgi?id=12654) wine/winedbg output for Morrowind with Wine 0.9.61
This is the wine/winedbg output for "wine Morrowind.exe" with Wine 0.9.61. I also tried "wine Morrowind Launcher.exe", but when i click Play the result is the same.
I've set OffscreenRenderingMode="fbo" and VideoMemorySize="256". I also tried OffscreenRenderingMode="backbuffer" and VideoMemorySize="512" but the game still crashes. With OffscreenRenderingMode="pbuffer" an alert say: Render Creation Error: "Unknown stencil mode format" and when i click "Ok" Wine closes.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #2 from Matteo Modesti mattemod@gmail.com 2008-05-03 01:31:09 --- Created an attachment (id=12655) --> (http://bugs.winehq.org/attachment.cgi?id=12655) output for Oblivion with Wine 0.9.61 (fbo)
This is the output for the command: $ wine Oblivion.exe 2> "wine Oblivion.exe fbo.txt"
I've set Windows version to Windows XP, OffscreenRenderingMode="fbo" and copied native d3dx9_27.dll (it crashed for lacking of builtin's functionality).
I also tried "wine OblivionLauncher.exe" but result is the same.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #3 from Matteo Modesti mattemod@gmail.com 2008-05-03 01:34:43 --- Created an attachment (id=12656) --> (http://bugs.winehq.org/attachment.cgi?id=12656) output for Oblivion with Wine 0.9.61 (pbuffer)
Same as previous attachment but with OffscreenRenderingMode="pbuffer"
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #4 from Matteo Modesti mattemod@gmail.com 2008-05-03 01:35:51 --- Created an attachment (id=12657) --> (http://bugs.winehq.org/attachment.cgi?id=12657) output for Oblivion with Wine 0.9.61 (backbuffer)
Same as previous attachment but with OffscreenRenderingMode="backbuffer"
http://bugs.winehq.org/show_bug.cgi?id=12929
Sanya Rajan winebugzilla@sanya.co.za changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #5 from Sanya Rajan winebugzilla@sanya.co.za 2008-05-03 05:49:42 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #6 from Lei Zhang thestig@google.com 2008-05-05 18:30:14 --- Have you tried setting Option "UseFastTLS" "2" in your xorg.conf?
http://bugs.winehq.org/show_bug.cgi?id=12929
Christian N chrisn86@yahoo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chrisn86@yahoo.de
--- Comment #7 from Christian N chrisn86@yahoo.de 2008-05-06 05:12:51 --- I'am having the same problem here.I always set Option "UseFastTLS" to "2". My Configuration is:
-Ubuntu 8.04 (64 Bit) -wine 0.9.61 -2.6.24-16-generic -ATI Radeon X1200 Series (onboard,128MB) -fglrx 8.47.3
I checked some other version of wine on Ubuntu 7.10 (32 Bit, kernel 2.6.23.9 ,fglrx 8.47.3,same hardware). The last working version for me is 0.9.58. Since version 0.9.59 the following error occures (as seen in the attachements above) which might be the show stopper:
fixme:d3d:test_pbo_functionality >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from Loading the PBO test texture @ directx.c / 3518
With Version 0.9.59 I get a black screen and some background sound before Morrowind crashes. On Ubuntu 8.04 and with wine 0.9.61 it crashes immediatly. I hope this helps to locate the problem.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #8 from Matteo Modesti mattemod@gmail.com 2008-05-07 20:14:02 --- I did some more tests: - 0.9.61 with "UseFastTLS" = "0" - 0.9.58 with "UseFastTLS" = "0" - 0.9.61 with "UseFastTLS" = "2" - 0.9.58 with "UseFastTLS" = "2" but nothing changed...
I'm going to downgrade fglrx driver version per version to see if some older one will run...
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #9 from Matteo Modesti mattemod@gmail.com 2008-05-07 22:58:39 --- I tried both Wine 0.9.61 and 0.9.58 with older fglrx versions (from 8.471.3 down to 8.40.4) but nothing changed...
However, i noticed that with older fglrx versions this line fixme:d3d:test_pbo_functionality >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from Loading the PBO test texture @ directx.c / 3518 doesn't appear, i don't know if it can be useful...
Finally i returned to fglrx 8.476... but then remembered that (like i said in this bug's Description) radeonhd driver doesn't support direct rendering yet (and i could start Morrowind using it). So i tried to add this line Option "NoDRI" "Yes" to my xorg.conf's Device section, then restarted X and tried to launch Morrowind: it works!! Painfully slowly but it works! So i think it could be a DRI related problem... so now the bug-hunting sphere is a bit reduced i think (and hope) :)
I'm going to attach my glxinfo output with and without "NoDRI" option enabled to the next comment.
If you need any other info or someone for testing patches or anything else, please ask, i'd like to see this bug cut to pieces :P
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #10 from Matteo Modesti mattemod@gmail.com 2008-05-07 23:09:20 --- Created an attachment (id=12810) --> (http://bugs.winehq.org/attachment.cgi?id=12810) glxinfo output with and without "NoDRI" option set
Here is glxinfo output with and without "NoDRI" option set. I've put both the outputs in the same file only to not post too much attachments. Anyway they are kept separate within the file.
http://bugs.winehq.org/show_bug.cgi?id=12929
Andrey Larionov anlarionov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |anlarionov@gmail.com
--- Comment #11 from Andrey Larionov anlarionov@gmail.com 2008-05-11 23:10:40 --- I can confirm this bug. My configuration: * Ubuntu 7.10 * 2.6.24 (latest U7.10 kernel) * ATI Mobility x700
Bug don't depend on version of Catalyst drivers (i tried 8.4, 8.3), also it not depend on version of Wine (tries 0.9.59, 0.9.58, 0.9.57). But disabling DRI allows to run some D3D applications, but they run slow as on Opensource radeon drivers.
http://bugs.winehq.org/show_bug.cgi?id=12929
Matteo Modesti mattemod@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|0.9.61. |1.0-rc1
--- Comment #12 from Matteo Modesti mattemod@gmail.com 2008-05-12 05:50:31 --- I tried Wine 1.0-rc1 and the problem is still there...
http://bugs.winehq.org/show_bug.cgi?id=12929
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal Version|1.0-rc1 |0.9.61.
http://bugs.winehq.org/show_bug.cgi?id=12929
Kriss krisska@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |krisska@gmx.de
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #13 from Matteo Modesti mattemod@gmail.com 2008-05-24 19:29:03 --- Created an attachment (id=13314) --> (http://bugs.winehq.org/attachment.cgi?id=13314) output for Morrowind with Wine 1.0-rc2
Here is "wine Morrowind.exe" output for Wine 1.0-rc2 with OffscreenRenderingMode="fbo" and "backbuffer" (both have the same output).
Instead, ORM="pbuffer" only prints the same first 5 lines on the shell and then an alert appears saying: Render Creation Error: "Unknown stencil mode format" and when i click the Ok button Wine closes.
I tried both fglrx 8.493 (Catalyst 8.5) and 8.476 (Catalyst 8.4). Windows version is set to "Windows 98" (I read that's more compatible).
http://bugs.winehq.org/show_bug.cgi?id=12929
Daniel Scharrer dscharrer@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dscharrer@gmail.com
--- Comment #14 from Daniel Scharrer dscharrer@gmail.com 2008-05-25 13:08:58 --- (In reply to comment #2)
Created an attachment (id=12655)
--> (http://bugs.winehq.org/attachment.cgi?id=12655) [details]
output for Oblivion with Wine 0.9.61 (fbo)
This is the output for the command: $ wine Oblivion.exe 2> "wine Oblivion.exe fbo.txt"
I've set Windows version to Windows XP, OffscreenRenderingMode="fbo" and copied native d3dx9_27.dll (it crashed for lacking of builtin's functionality).
I also tried "wine OblivionLauncher.exe" but result is the same.
I get the same crashes as you (except for the fixme:dbghelp_dwarf:dwarf2_parse_variable errors) with that configuration (native d3dx9_27.dll; OffscreenRenderingMode=fbo/pbuffer/backbuffer).
However, renaming/moving the Data/Video directory in the Oblivion installation allows the game to start.
All the videos are skipped (obviously) and the main UI starts up. However, when starting a game the interface (compass,health,menu,...) is shown but not the 3D world, with the exception of the character when in the inventory/stats/... screen.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #15 from Daniel Scharrer dscharrer@gmail.com 2008-05-25 13:13:04 --- I forgot to add:
I'm running Gentoo on an Intel Pentium 4 with fglrx 8.493 (Catalyst driver 8.5) and using wine-1.0-rc2, although I experienced the same behaviour with rc1.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #16 from Matteo Modesti mattemod@gmail.com 2008-05-26 09:25:28 --- (In reply to comment #14)
However, renaming/moving the Data/Video directory in the Oblivion installation allows the game to start.
All the videos are skipped (obviously) and the main UI starts up. However, when starting a game the interface (compass,health,menu,...) is shown but not the 3D world, with the exception of the character when in the inventory/stats/... screen.
I tried to: - rename the "Video" directory to "Video_backup" - create an empty "Video" directory - remove the empty "Video" directory and move the "Video_backup" in another directory on the filesystem (just to not delete it) but nothing changed...
I also am using Catalyst 8.5 and Wine 1.0-rc2, so could you please give me some other info so that i can reproduce? Like: - your OS and kernel version - Windows version that you're using - native DLLs that you're using - your video card - level of details that you set for the game - if you're using a virtual desktop - audio driver that you're using (maybe is useful)
Regarding me: - Gentoo AMD64 sync, kernel gentoo-sources 2.6.24-r5 - Windows 98 - only d3dx9_27.dll - Radeon HD 3870 512MB - tried medium and minimum - using a 1024x768 one - tried none, ALSA, OSS and both
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #17 from Daniel Scharrer dscharrer@gmail.com 2008-05-26 13:44:12 ---
could you please give me some other info so that i can reproduce?
- Gentoo x86 sync, kernel gentoo-sources 2.6.24-r8 - Wine set to Windows XP (default) - only d3dx9_27.dll - Radeon X1600 512MB - tried minimum and also with Bloom - no virtual desktop - ALSA
I'm using a clean wineprefix that was created with wine-1.0-rc1 with only HKCU\Software\Wine\Direct3D\OffscreenRenderingMode set to either backbuffer or fbo.
Wine was installed trough portage with the following USE flags: X alsa cups dbus gecko hal jpeg ldap ncurses opengl xml -esd -jack -lcms -nas -oss -samba -scanner
Try setting your windows version to XP and disable the virtual desktop. The only other major differeces are that you're on a 64 bit CPU/OS while mine is 32 bit and that you're using a newer graphics card.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #18 from Matteo Modesti mattemod@gmail.com 2008-05-28 04:54:42 --- (In reply to comment #17)
could you please give me some other info so that i can reproduce?
- Gentoo x86 sync, kernel gentoo-sources 2.6.24-r8
- Wine set to Windows XP (default)
- only d3dx9_27.dll
- Radeon X1600 512MB
- tried minimum and also with Bloom
- no virtual desktop
- ALSA
I'm using a clean wineprefix that was created with wine-1.0-rc1 with only HKCU\Software\Wine\Direct3D\OffscreenRenderingMode set to either backbuffer or fbo.
Wine was installed trough portage with the following USE flags: X alsa cups dbus gecko hal jpeg ldap ncurses opengl xml -esd -jack -lcms -nas -oss -samba -scanner
Try setting your windows version to XP and disable the virtual desktop. The only other major differeces are that you're on a 64 bit CPU/OS while mine is 32 bit and that you're using a newer graphics card.
I upgraded kernel to 2.6.24-r8 (don't know why i didn't do it before), but nothing changed. Then created a clean ".wine", set: - HKCU\Software\Wine\Direct3D\OffscreenRenderingMode="fbo" - HKCU\Software\Wine\Direct3D\VideoMemorySize="256" installed Oblivion, applied 1.2.x patch, set d3dx9_27.dll as native (obviously copying the file) and tried to start the game but nothing changed: I tried both windowed/fullscreen. Also tried to rename the Data/Video directory and to move it away. Then i re-emerged Wine with your flags (except LDAP): USE="X alsa cups dbus gecko hal jpeg ncurses opengl xml -esd -jack -lcms -ldap -nas -oss -samba -scanner" emerge wine and tried with it, but nothing changed.
In all above tests I tried both with/without virtual desktop, with both no sound/ALSA audio driver and also tried to delete VideoMemorySize entry.
So the only differences between us are: - 32 bit (you) and 64 bit (me) - X1600 (you) and HD 3870 (me)
If i can i'll try the Radeon X1550 on my brother's pc, but i don't know when i'll be able to do it...
http://bugs.winehq.org/show_bug.cgi?id=12929
Przemek przemokoch@o2.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |przemokoch@o2.pl
--- Comment #19 from Przemek przemokoch@o2.pl 2008-06-06 13:59:48 --- I have radeon hd 2600XT and the same trouble with wine + fglrx.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #20 from Matteo Modesti mattemod@gmail.com 2008-06-09 07:15:50 --- Problem still present in Wine 1.0-rc3 and 1.0-rc4.
Why doesn't anyone even reply us? This isn't absolutely a small issue...
http://bugs.winehq.org/show_bug.cgi?id=12929
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #21 from Dan Kegel dank@kegel.com 2008-06-09 10:51:21 --- Not much we can do about broken graphics drivers.
Try filing a bug at http://ati.cchtml.com and crosslink the two bugs (i.e. put its url here, and put this bugs's url in a comment there).
http://bugs.winehq.org/show_bug.cgi?id=12929
chris ahrendt celticht32@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |celticht32@aol.com
--- Comment #22 from chris ahrendt celticht32@aol.com 2008-06-09 20:34:05 --- Everquest 2 Has the same problem with the fglx driver under rc3 as well
Chris
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #23 from Dan Kegel dank@kegel.com 2008-06-09 21:51:05 --- Has it ever worked with fglrx?
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #24 from chris ahrendt celticht32@aol.com 2008-06-09 21:59:56 --- The error has changed with each new version of Wine.. it either crashes to the desktop or it gets the no pmi mode issue mentioned here..
I have a T60P Thinkpad with dual core Intel 2.3mhz 3 gigs of memory ATI Mobile Firegl 5200 with 256mb of video memory
Have tried the registry settings plus every setting mentioned in the EQ2 appdb.
Works fine under XP but not under Wine. Cant switch back to XP to play as I dont have it anymore.
What section of the code is having the issue and I can take a look if its just a not having people to look at it problem.
Chris
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #25 from Dan Kegel dank@kegel.com 2008-06-09 22:08:43 --- This is most likely not a wine problem, but rather an ATI driver problem.
Unless you know of a game that worked great with fglrx and an earlier version of wine, but doesn't work with that same fglrx and current wine, that is.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #26 from chris ahrendt celticht32@aol.com 2008-06-09 22:19:46 --- as others have said here.. other things work except wine with this driver including tux racer and the like. If you can tell me where approximately in the code to start looking I will take a look and see if I see anything ...
Chris
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #27 from James Hawkins truiken@gmail.com 2008-06-09 22:41:04 --- The 'other linux games work well with my driver' argument doesn't hold. Wine uses different code paths and functionality in the driver that isn't necessarily used by 'other linux games'. That's like saying all games should work in Wine because solitaire works with your driver. We've seen hundreds of bug reports like this one, and we know the quality of the ATI Linux drivers firsthand...they're really buggy.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #28 from chris ahrendt celticht32@aol.com 2008-06-09 23:51:40 --- So your saying the following stack dumps in threads are driver problems?
fixme:win:EnumDisplayDevicesW ((null),0,0x33e948,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x33e3f8,0x00000000), stub! fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer ClassEnumerator for clsid({083863f1-70de-11d0-bd40-00a0c911ce86}) pEnum(0x1abad0) fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer IEnumMoniker_Next(0x1abad0, 1, 0x1abae8) fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Name:L"AVI Splitter" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Clsid:L"{1B544C20-FD0B-11CE-8C63-00AA0044B51E}" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer IEnumMoniker_Next(0x1abad0, 1, 0x1ac1a0) fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Name:L"MPEG-I Stream Splitter" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Clsid:L"{336475D0-942A-11CE-A870-00AA002FEAB5}" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer IEnumMoniker_Next(0x1abad0, 1, 0x1ac560) fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Name:L"ACM Wrapper" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Clsid:L"{6A08CF80-0E18-11CF-A24D-0020AFD79767}" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer IEnumMoniker_Next(0x1abad0, 1, 0x1acbc8) fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Name:L"Video Renderer" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Clsid:L"{6BC1CFFA-8FC1-4261-AC22-CFB4CC38DB50}" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer IEnumMoniker_Next(0x1abad0, 1, 0x1ad1b0) fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Name:L"Video Renderer" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Clsid:L"{70E102B0-5556-11CE-97C0-00AA0055595A}" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer IEnumMoniker_Next(0x1abad0, 1, 0x1adcb0) fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Name:L"Audio Renderer" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Clsid:L"{79376820-07D0-11CF-A24D-0020AFD79767}" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer IEnumMoniker_Next(0x1abad0, 1, 0x1ae0d8) fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Name:L"Null Renderer" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Clsid:L"{C1F400A4-3F08-11D3-9F0B-006008039E37}" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer IEnumMoniker_Next(0x1abad0, 1, 0x1ae500) fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Name:L"AVI Decompressor" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Clsid:L"{CF49D4E0-1115-11CE-B03A-0020AF0BA770}" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer IEnumMoniker_Next(0x1abad0, 1, 0x1ae928) fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Name:L"Wave Parser" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Clsid:L"{D51BD5A1-7548-11CF-A520-0080C77EF58A}" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer IEnumMoniker_Next(0x1abad0, 1, 0x1aed80) fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Name:L"File Source (Async.)" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Clsid:L"{E436EBB5-524F-11CE-9F53-0020AF0BA770}" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer ClassEnumerator for clsid({33d9a760-90c8-11d0-bd43-00a0c911ce86}) pEnum(0x1ac180) fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer ClassEnumerator for clsid({33d9a761-90c8-11d0-bd43-00a0c911ce86}) pEnum(0x1ac180) fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer ClassEnumerator for clsid({33d9a762-90c8-11d0-bd43-00a0c911ce86}) pEnum(0x1ac180) fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer IEnumMoniker_Next(0x1ac180, 1, 0x1af680) fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Name:L"AD198x Analog" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Clsid:L"{E30629D2-27E5-11CE-875D-00608CB78066}" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer ClassEnumerator for clsid({4efe2452-168a-11d1-bc76-00c04fb9453b}) pEnum(0x1abaa0) fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer IEnumMoniker_Next(0x1abaa0, 1, 0x1abab8) fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Name:L"Midi Through" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Clsid:L"{07B65360-C445-11CE-AFDE-00AA006C14F4}" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer ClassEnumerator for clsid({860bb310-5d01-11d0-bd3b-00a0c911ce86}) pEnum(0x1af150) fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb41-f175-11d1-a392-00e0291f3959} not found fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer ClassEnumerator for clsid({cc7bfb41-f175-11d1-a392-00e0291f3959}) pEnum((nil)) fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb46-f175-11d1-a392-00e0291f3959} not found fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer ClassEnumerator for clsid({cc7bfb46-f175-11d1-a392-00e0291f3959}) pEnum((nil)) fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer ClassEnumerator for clsid({e0f158e1-cb04-11d0-bd4e-00a0c911ce86}) pEnum(0x1ac168) fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer IEnumMoniker_Next(0x1ac168, 1, 0x1ac180) fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Name:L"AD198x Analog" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Clsid:L"{E30629D1-27E5-11CE-875D-00608CB78066}" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer IEnumMoniker_Next(0x1ac168, 1, 0x1aff08) fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Name:L"DirectSound: AD198x Analog" fixme:dxdiag:DXDiag_InitDXDiagDirectShowFiltersContainer Clsid:L"{79376820-07D0-11CF-A24D-0020AFD79767}" err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat First chance exception: page fault on read access to 0x016b6580 in 32-bit code (0x00a2930f). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:00a2930f ESP:7eb619a4 EBP:7eb619e8 EFLAGS:00210216( - 00 -RIAP1) EAX:00000000 EBX:7bc907c0 ECX:0000000a EDX:ffffffff ESI:016b6548 EDI:00000000 Stack dump: 0x7eb619a4: 016b6550 016b6548 7bc907c0 016defc0 0x7eb619b4: 016defc0 016df0cc 00000001 7eb619e8 0x7eb619c4: 60218d89 7bc907c0 ffffffff 7eb61a28 0x7eb619d4: 00809beb 00a2921f 7eb61a18 00cfa0f4 0x7eb619e4: 00000000 7eb61a28 0080edf9 00b9ce19 0x7eb619f4: 015807a0 00b9ce85 016b6548 00b9ce19 Backtrace: =>1 0x00a2930f in everquest2 (+0x62930f) (0x7eb619e8) 2 0x0080edf9 in everquest2 (+0x40edf9) (0x7eb61a28) 3 0x7bc698ee call_thread_entry_point+0xe() in ntdll (0x7eb61a38) 4 0x7bc69f82 call_thread_func+0x42(rtl_func=<register EDI not in topmost frame>, arg=<register ESI not in topmost frame>) [/dar/build/wine-1.0-rc3/dlls/ntdll/thread.c:386] in ntdll (0x7eb61ad8) 5 0x7bc6a1ad start_thread+0x19d(info=<register ESI not in topmost frame>) [/dar/build/wine-1.0-rc3/dlls/ntdll/thread.c:453] in ntdll (0x7eb623c8) 6 0x6013c43b (0x7eb624b8) 7 0x6021bfde (0x00000000) 0x00a2930f: cmpb $0x0,0x38(%esi)
Chris
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #29 from James Hawkins truiken@gmail.com 2008-06-09 23:55:28 --- It's as likely that it's a driver bug as it's not. Just because it's in another thread and crashing in the everquest executable doesn't mean it's not a driver bug.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #30 from Matteo Modesti mattemod@gmail.com 2008-06-10 04:01:09 --- (In reply to comment #21)
Not much we can do about broken graphics drivers.
Try filing a bug at http://ati.cchtml.com and crosslink the two bugs (i.e. put its url here, and put this bugs's url in a comment there).
THANKS Dan, at least now I know what to do. I filed this bug report: http://ati.cchtml.com/show_bug.cgi?id=1163
Let's hope they'll reply... or I'll have to sell my card and buy an nVidia one...
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #31 from Daniel Scharrer dscharrer@gmail.com 2008-06-10 08:31:30 --- (In reply to comment #25)
This is most likely not a wine problem, but rather an ATI driver problem.
Yes, but most likely just isn't good enough to report a bug, now isn't it. After all, you wouldn't be very happy if people started reporting bugs for wine where wine is actually working perfectly, but the application is full or bugs (but may work on some version of windows running on some obscure hardware), right?
(In reply to comment #27)
The 'other linux games work well with my driver' argument doesn't hold.
Neither does the 'wine works with well with other drivers/cards' argument. Not that I think that this is necessarily a wine bug. However, while we (wine+ATI/AMD users) cannot show whether this is a but in wine or in fglrx the 'this must be a fglrx bug, since it only appears under fglrx'/'this must be a wine bug since it is only exposed under wine' situation continues and the status quo remains.
And even if this is shown to be a fglrx bug it would be very helpful to know what fglrx is doing wrong / how wine exposes this bug (like for example what GLSL code was passed to the driver), except just expecting the fglrx developers to dig it up themselves. Not that this is in anyway your responsibility, but it would be a more productive response than jast classifying any D3D problems experienced with ATI/AMD cards as fglrx bugs.
If this seems like a rant, I apologize. That certainly wasn't my intention. After all, the wine project is nothing short of a technological miracle and I for one am very thankful for it.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #32 from Dan Kegel dank@kegel.com 2008-06-10 08:43:13 --- Jeez, folks, please chill out.
If you can find an open source game that is affected by this, that'd help.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #33 from chris ahrendt celticht32@aol.com 2008-06-10 10:01:38 --- I didnt mean to start a flame war in this bug... I was actually trying to help =)
I will try and find a open source D3D windows application which does the same thing and see if we can go from there..
I was trying to look and figure out where in the code the issue starts and why.
It would be helpful from a debugging standpoint if we could have more info in the D3D code esp for this issue with the ATI so that we can figure out if it truely is a ATI issue or its a misunderstanding of how something works...
so I will go out and look for a D3D windows game that is open source if you can help us (the users who love wine (and I really do believe it or not)) help you or ATI resolve this stalemate.
Chris
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #34 from chris ahrendt celticht32@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()
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #35 from chris ahrendt celticht32@aol.com 2008-06-10 10:38:07 --- Just to let you know a little more information
Ran all of the examples on the site I posted the link to and all have the same sort of issue. I didnt debug all of them just tried running. The ones I did debug got the same sort of error as I stated.
Hope this helps..
and if you need any more info or help let me know
Chris
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #36 from Andrey Larionov anlarionov@gmail.com 2008-06-10 11:08:50 --- I think Quake 3 Arena one of candidate for testing.
http://bugs.winehq.org/show_bug.cgi?id=12929
Luis Salom lsalom+winehqbugzilla@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lsalom+winehqbugzilla@gmail. | |com
http://bugs.winehq.org/show_bug.cgi?id=12929
Marc-Olivier Barre marco@marcochapeau.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |marco@marcochapeau.org
--- Comment #37 from Marc-Olivier Barre marco@marcochapeau.org 2008-06-11 14:41:47 --- CPU: Athlon 64 GPU: ATI X2900XT 256Mb wine 1.0rc4 ati drivers 8.5 system: gentoo
Just a quick note to state an interesting experience: On this very same hardware configuration, with something like ati drivers 8.3 and wine 0.9.61, things where working great with a gentoo x86 (32bit).
A week ago I switch the whole thing to 64bit (using the same world file and use flags). This is when the issue occurred.
Reading this bug report, I can now state that this is a x86_64 issue ONLY.
Users that have reported issues while running a 32bit distro are experiencing another bug.
I have 2 computers here that can handle wine+fglrx in 32bit mode and run all steam games just fine.
an easy reproducible test is... dxdiag 3D test :-)
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #38 from chris ahrendt celticht32@aol.com 2008-06-11 15:04:47 --- I disagree I am running RHEL 5 in 32 bit mode and have the issue... so I dont know that it is just a 64 Bit issue only... of course this may also be 2 issues masquerading as one...
Chris
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #39 from Luis Salom lsalom+winehqbugzilla@gmail.com 2008-06-11 15:40:34 --- I am running Ubuntu 8.04 32-bit and am also seeing this (or a very similar looking bug) using wine 1.0-rc3 and Catalyst 8.5. The only real outlier on my system is that I have a ATI Radeon 3850 512MB AGP (Not PCIe).
-luis
http://bugs.winehq.org/show_bug.cgi?id=12929
Martin deadlock@start.no changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |deadlock@start.no
--- Comment #40 from Martin deadlock@start.no 2008-06-11 17:08:43 --- Wine didn't use to work to run Morrowind on my Sapphire Radeon 9600 graphics card either when I was using the fglrx driver.
I just did a re-install of Debian Linux Stable(etch), upgraded it to Unstable(lenny/sid), installed headers for the latest kernel in unstable(2.6.25-2-686). Then I downloaded and installed ati driver 8.5 for 32-bit Linux. Then I had to build the module.
Then I restarted the PC, and now Morrowind runs. It runs really slow. Playing in 680x460 with distance turned way down is barely playable, but at least it runs. Still, the fglrx driver is really buggy and it keeps on crashing my X server and even freezing my computer regulary, so it doesn't surprise me that it is not playing nice for others.
Following information about my PC can be helpful:
PC: Fujtisu/Simens Scaleo L Graphics card: Sapphire Radeon 9600 GLX client version: 1.4 GLX server version: 1.2 GLX version: 1.2 OpenGL version: 2.1.7537 Release Amount of ram: 757 MB Kernel: 2.6.25-2-686 CPU: Intel Celeron 2.00 GHz Xorg version: 7.3
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #41 from Martin deadlock@start.no 2008-06-11 17:35:24 --- Also, my wine version is 1.0-rc3 and the same happens no matter if I run in Win98 mode or WinXP mode.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #42 from Martin deadlock@start.no 2008-06-11 17:59:35 --- Created an attachment (id=13932) --> (http://bugs.winehq.org/attachment.cgi?id=13932) wine output when Morrowind works properly
Comparing the output when the game runs compared to when it doesn't run might help locate the bug
http://bugs.winehq.org/show_bug.cgi?id=12929
Martin deadlock@start.no changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #13932|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=12929
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|dank@kegel.com |
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #43 from Matteo Modesti mattemod@gmail.com 2008-06-11 19:47:34 --- (In reply to comment #40)
Wine didn't use to work to run Morrowind on my Sapphire Radeon 9600 graphics card either when I was using the fglrx driver.
I just did a re-install of Debian Linux Stable(etch), upgraded it to Unstable(lenny/sid), installed headers for the latest kernel in unstable(2.6.25-2-686). Then I downloaded and installed ati driver 8.5 for 32-bit Linux. Then I had to build the module.
Then I restarted the PC, and now Morrowind runs. It runs really slow. Playing in 680x460 with distance turned way down is barely playable, but at least it runs. Still, the fglrx driver is really buggy and it keeps on crashing my X server and even freezing my computer regulary, so it doesn't surprise me that it is not playing nice for others.
[__CUT__]
Please type this in a shell: glxinfo | grep "direct rendering" and post your output.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #44 from Martin deadlock@start.no 2008-06-11 20:33:07 --- (In reply to comment #43)
Please type this in a shell: glxinfo | grep "direct rendering" and post your output.
marsan@Cyrus:~$ glxinfo | grep "direct rendering" direct rendering: Yes
http://bugs.winehq.org/show_bug.cgi?id=12929
Cody Harris qbasicer@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |qbasicer@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #45 from Luis Salom lsalom+winehqbugzilla@gmail.com 2008-06-11 22:11:17 --- I finally had some time to do some more debugging and I was able to get Oblivion running.
I essentially started from scratch.
I renamed my ~/.wine to ~/.wine.orig.
I then again followed the instructions on: http://www.uesp.net/wiki/Oblivion:Linux
In winecfg -> libararies I explicitly set d3dx9_27 to "native" I also renamed the Video folder to Video.orig in the new Oblivion installation. (I think there is definitely a bink video issue as it would not start without this step) When starting the game for the first time, I set the "Video Preset Quality" option to "Low".
The last part is the only real difference as I had selected the default of "medium" earlier. Using the "tdt" console command in Oblivion I seem to be getting 35 - 65 fps. I was able to create a character and play part of the initial sewers.
Feeling particularly good about this, I set the texture to "large" in the in-game video setting and restarted without issue. Going for gold. I restarted the game, set the "Video Preset Quality" to medium and loaded my sewer save game and it worked. Exitting and restarting keeping the quality at medium and starting a "new" game, it dies a horrible death (so using low setting may be a workaround to at least get started) as I am guessing something in the character creation process borks the ati driver and/or wine. The error I got from the crash is below:
err:d3d:IWineD3DImpl_IsPixelFormatCompatibleWithRenderFmt Unable to check compatibility for Format=WINED3DFMT_A32B32G32R32F err:d3d:getColorBits Unsupported format: WINED3DFMT_A32B32G32R32F err:d3d:IWineD3DImpl_IsPixelFormatCompatibleWithRenderFmt Unable to check compatibility for Format=WINED3DFMT_A32B32G32R32F err:d3d:getColorBits Unsupported format: WINED3DFMT_A32B32G32R32F err:d3d:IWineD3DImpl_IsPixelFormatCompatibleWithRenderFmt Unable to check compatibility for Format=WINED3DFMT_A32B32G32R32F err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat fixme:dinput:SysMouseAImpl_Acquire Clipping cursor to (0,0)-(1024,768) fixme:quartz:MediaPosition_put_CurrentPosition (0x11f827a8)->(0.000000) stub! fixme:quartz:AsyncReader_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}! fixme:quartz:Parser_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}! fixme:quartz:FillBuffer o_Ox80040227 err:quartz:Parser_Destroy pinref should be null, is 1, destroying anyway err:quartz:Parser_Destroy pinref should be null, is 1, destroying anyway fixme:quartz:MediaPosition_put_CurrentPosition (0x11f827a8)->(0.000000) stub! fixme:quartz:AsyncReader_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}! fixme:quartz:Parser_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}! err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat fixme:quartz:FillBuffer o_Ox80040227 fixme:d3d:state_vertexblend Vertex blending enabled, but not supported by hardware fixme:d3d:state_zfunc D3DCMP_NOTEQUAL and D3DCMP_EQUAL do not work correctly yet wine: Unhandled page fault on read access to 0x7dd456d0 at address 0x7d6730bd (thread 001c), starting debugger... Unhandled exception: page fault on read access to 0x7dd456d0 in 32-bit code (0x7d6730bd). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:7d6730bd ESP:0033cce8 EBP:0033cd44 EFLAGS:00010216( - 00 -RIAP1) EAX:0000ff00 EBX:68da7298 ECX:001fe000 EDX:7db476c0 ESI:68da720c EDI:7c202598 Stack dump: 0x0033cce8: 7d694ed9 0000ff00 7db476c0 0033cd14 0x0033ccf8: 7d6cbee9 68daa3e8 00000003 00000000 0x0033cd08: 00000006 00000000 68daa3e8 0033cd44 0x0033cd18: 7d69acf5 7db7d368 68daa3e8 68daa3b0 0x0033cd28: 00000000 00000000 00000000 0000ff00 0x0033cd38: 0033cdf8 7c200770 68da720c 0033ce34 Backtrace: =>1 0x7d6730bd in fglrx_dri.so (+0x9c00bd) (0x0033cd44) 2 0x7d692f3c in fglrx_dri.so (+0x9dff3c) (0x0033ce34) 3 0x7d67d245 in fglrx_dri.so (+0x9ca245) (0x0033d1e4) 4 0x7d657e00 in fglrx_dri.so (+0x9a4e00) (0x0033d214) 5 0x7d662946 in fglrx_dri.so (+0x9af946) (0x0033d244) 6 0x7d6622b6 in fglrx_dri.so (+0x9af2b6) (0x0033d264) 7 0x7d663c97 in fglrx_dri.so (+0x9b0c97) (0x0033d294) 8 0x7d633271 in fglrx_dri.so (+0x980271) (0x0033e024) 9 0x7d5423fe in fglrx_dri.so (+0x88f3fe) (0x0033e264) 10 0x7d61eb91 in fglrx_dri.so (+0x96bb91) (0x0033e614) 11 0x7d61f54d in fglrx_dri.so (+0x96c54d) (0x0033e644) 12 0x7cea7024 in fglrx_dri.so (+0x1f4024) (0x0033e984) 13 0x7d3f7822 in fglrx_dri.so (+0x744822) (0x0033ee14) 14 0x7d3fd5b0 in fglrx_dri.so (+0x74a5b0) (0x0033ee34) 15 0x7ce698c1 in fglrx_dri.so (+0x1b68c1) (0x0033ee54) 16 0x7d0e2407 in fglrx_dri.so (+0x42f407) (0x0033ee64) 17 0x7ddc3055 in wined3d (+0x63055) (0x0033ef84) 18 0x7dddf00b in wined3d (+0x7f00b) (0x0033efb4) 19 0x7dd8358c ActivateContext+0x4fc() in wined3d (0x0033f034) 20 0x7ddb80cb drawPrimitive+0x17b() in wined3d (0x0033f344) 21 0x7dd8fdab in wined3d (+0x2fdab) (0x0033f3b4) 22 0x7de6ac5e in d3d9 (+0xac5e) (0x0033f3e4) 23 0x00767464 in oblivion (+0x367464) (0x00000127) 24 0x00000000 (0x00000000) 0x7d6730bd: movl 0x10(%edx,%ecx,1),%eax Modules: Module Address Debug info Name (109 modules) PE 400000- baf000 Export oblivion PE bb0000- dff000 Deferred d3dx9_27 PE 18000000-18068000 Deferred binkw32 ELF 6a05e000-6a100000 Deferred oleaut32<elf> -PE 6a070000-6a100000 \ oleaut32 ELF 6aebd000-6af29000 Deferred quartz<elf> -PE 6aed0000-6af29000 \ quartz ELF 6b4c3000-6b500000 Deferred winemp3<elf> -PE 6b4d0000-6b500000 \ winemp3 ELF 7b800000-7b92d000 Deferred kernel32<elf> -PE 7b820000-7b92d000 \ kernel32 ELF 7b939000-7b957000 Deferred devenum<elf> -PE 7b940000-7b957000 \ devenum ELF 7b957000-7b97f000 Deferred msvfw32<elf> -PE 7b960000-7b97f000 \ msvfw32 ELF 7bc00000-7bca4000 Deferred ntdll<elf> -PE 7bc10000-7bca4000 \ ntdll ELF 7bca9000-7bcbd000 Deferred avicap32<elf> -PE 7bcb0000-7bcbd000 \ avicap32 ELF 7bf00000-7bf03000 Deferred <wine-loader> ELF 7ccaa000-7ccb3000 Deferred librt.so.1 ELF 7ccb3000-7dcbe000 Export fglrx_dri.so ELF 7dcbe000-7dcc9000 Deferred libgcc_s.so.1 ELF 7dcc9000-7dd43000 Deferred libgl.so.1 ELF 7dd51000-7de54000 Export wined3d<elf> -PE 7dd60000-7de54000 \ wined3d ELF 7de54000-7de84000 Export d3d9<elf> -PE 7de60000-7de84000 \ d3d9 ELF 7e215000-7e229000 Deferred midimap<elf> -PE 7e220000-7e229000 \ midimap ELF 7e229000-7e24f000 Deferred msacm32<elf> -PE 7e230000-7e24f000 \ msacm32 ELF 7e24f000-7e266000 Deferred msacm32<elf> -PE 7e250000-7e266000 \ msacm32 ELF 7e266000-7e329000 Deferred libasound.so.2 ELF 7e329000-7e35f000 Deferred winealsa<elf> -PE 7e330000-7e35f000 \ winealsa ELF 7e35f000-7e392000 Deferred uxtheme<elf> -PE 7e370000-7e392000 \ uxtheme ELF 7e392000-7e39b000 Deferred libxcursor.so.1 ELF 7e39b000-7e3a0000 Deferred libxfixes.so.3 ELF 7e3a0000-7e3a3000 Deferred libxcomposite.so.1 ELF 7e3a3000-7e3a9000 Deferred libxrandr.so.2 ELF 7e3a9000-7e3b1000 Deferred libxrender.so.1 ELF 7e3b1000-7e3b4000 Deferred libxinerama.so.1 ELF 7e3b4000-7e3d4000 Deferred imm32<elf> -PE 7e3c0000-7e3d4000 \ imm32 ELF 7e3d4000-7e3d9000 Deferred libxdmcp.so.6 ELF 7e3d9000-7e3f1000 Deferred libxcb.so.1 ELF 7e3f1000-7e4d8000 Deferred libx11.so.6 ELF 7e4d8000-7e4e6000 Deferred libxext.so.6 ELF 7e4e6000-7e4fe000 Deferred libice.so.6 ELF 7e4fe000-7e506000 Deferred libsm.so.6 ELF 7e514000-7e5ab000 Deferred winex11<elf> -PE 7e520000-7e5ab000 \ winex11 ELF 7e5f9000-7e61a000 Deferred libexpat.so.1 ELF 7e61a000-7e644000 Deferred libfontconfig.so.1 ELF 7e645000-7e64a000 Deferred libxxf86vm.so.1 ELF 7e652000-7e667000 Deferred libz.so.1 ELF 7e667000-7e6d7000 Deferred libfreetype.so.6 ELF 7e6d7000-7e703000 Deferred ws2_32<elf> -PE 7e6e0000-7e703000 \ ws2_32 ELF 7e703000-7e71d000 Deferred wsock32<elf> -PE 7e710000-7e71d000 \ wsock32 ELF 7e71d000-7e787000 Deferred msvcrt<elf> -PE 7e730000-7e787000 \ msvcrt ELF 7e787000-7e79b000 Deferred lz32<elf> -PE 7e790000-7e79b000 \ lz32 ELF 7e79b000-7e7b4000 Deferred version<elf> -PE 7e7a0000-7e7b4000 \ version ELF 7e7b4000-7e80d000 Deferred shlwapi<elf> -PE 7e7c0000-7e80d000 \ shlwapi ELF 7e80d000-7e91f000 Deferred shell32<elf> -PE 7e820000-7e91f000 \ shell32 ELF 7e91f000-7e969000 Deferred dsound<elf> -PE 7e930000-7e969000 \ dsound ELF 7e969000-7e9fb000 Deferred winmm<elf> -PE 7e970000-7e9fb000 \ winmm ELF 7e9fb000-7ea0e000 Deferred libresolv.so.2 ELF 7ea0e000-7ea2c000 Deferred iphlpapi<elf> -PE 7ea10000-7ea2c000 \ iphlpapi ELF 7ea2c000-7ea8d000 Deferred rpcrt4<elf> -PE 7ea40000-7ea8d000 \ rpcrt4 ELF 7ea8d000-7eb31000 Deferred ole32<elf> -PE 7eaa0000-7eb31000 \ ole32 ELF 7eb31000-7eb68000 Deferred dinput<elf> -PE 7eb40000-7eb68000 \ dinput ELF 7eb68000-7eb80000 Deferred dinput8<elf> -PE 7eb70000-7eb80000 \ dinput8 ELF 7eb80000-7ebd2000 Deferred advapi32<elf> -PE 7eb90000-7ebd2000 \ advapi32 ELF 7ebd2000-7ec6d000 Deferred gdi32<elf> -PE 7ebe0000-7ec6d000 \ gdi32 ELF 7ec6d000-7edb4000 Deferred user32<elf> -PE 7ec90000-7edb4000 \ user32 ELF 7edb4000-7ee73000 Deferred comctl32<elf> -PE 7edc0000-7ee73000 \ comctl32 ELF 7ee73000-7ee7e000 Deferred libnss_files.so.2 ELF 7ee7e000-7ee96000 Deferred libnsl.so.1 ELF 7ee96000-7ee9f000 Deferred libnss_compat.so.2 ELF 7eea1000-7eea3000 Deferred libxcb-xlib.so.0 ELF 7efcd000-7eff2000 Deferred libm.so.6 ELF 7eff3000-7eff6000 Deferred libxau.so.6 ELF 7eff6000-7f000000 Deferred libnss_nis.so.2 ELF b7ca6000-b7caa000 Deferred libdl.so.2 ELF b7caa000-b7df9000 Deferred libc.so.6 ELF b7dfa000-b7e12000 Deferred libpthread.so.0 ELF b7e20000-b7f56000 Deferred libwine.so.1 ELF b7f58000-b7f74000 Deferred ld-linux.so.2 Threads: process tid prio (all id:s are in hex) 0000000c 00000014 0 00000013 0 00000012 0 0000000e 0 0000000d 0 0000000f 00000016 0 00000015 0 00000011 0 00000010 0 00000018 00000019 0 0000001b (D) C:\Program Files\Bethesda Softworks\Oblivion\Oblivion.exe 00000026 0 00000022 0 00000021 0 0000001f 15 0000001e 15 0000001d 0 0000001c 0 <== Backtrace: =>1 0x7d6730bd in fglrx_dri.so (+0x9c00bd) (0x0033cd44) 2 0x7d692f3c in fglrx_dri.so (+0x9dff3c) (0x0033ce34) 3 0x7d67d245 in fglrx_dri.so (+0x9ca245) (0x0033d1e4) 4 0x7d657e00 in fglrx_dri.so (+0x9a4e00) (0x0033d214) 5 0x7d662946 in fglrx_dri.so (+0x9af946) (0x0033d244) 6 0x7d6622b6 in fglrx_dri.so (+0x9af2b6) (0x0033d264) 7 0x7d663c97 in fglrx_dri.so (+0x9b0c97) (0x0033d294) 8 0x7d633271 in fglrx_dri.so (+0x980271) (0x0033e024) 9 0x7d5423fe in fglrx_dri.so (+0x88f3fe) (0x0033e264) 10 0x7d61eb91 in fglrx_dri.so (+0x96bb91) (0x0033e614) 11 0x7d61f54d in fglrx_dri.so (+0x96c54d) (0x0033e644) 12 0x7cea7024 in fglrx_dri.so (+0x1f4024) (0x0033e984) 13 0x7d3f7822 in fglrx_dri.so (+0x744822) (0x0033ee14) 14 0x7d3fd5b0 in fglrx_dri.so (+0x74a5b0) (0x0033ee34) 15 0x7ce698c1 in fglrx_dri.so (+0x1b68c1) (0x0033ee54) 16 0x7d0e2407 in fglrx_dri.so (+0x42f407) (0x0033ee64) 17 0x7ddc3055 in wined3d (+0x63055) (0x0033ef84) 18 0x7dddf00b in wined3d (+0x7f00b) (0x0033efb4) 19 0x7dd8358c ActivateContext+0x4fc() in wined3d (0x0033f034) 20 0x7ddb80cb drawPrimitive+0x17b() in wined3d (0x0033f344) 21 0x7dd8fdab in wined3d (+0x2fdab) (0x0033f3b4) 22 0x7de6ac5e in d3d9 (+0xac5e) (0x0033f3e4) 23 0x00767464 in oblivion (+0x367464) (0x00000127) 24 0x00000000 (0x00000000) fixme:winmm:MMDRV_Exit Closing while ll-driver open err:quartz:ACMWrapper_ProcessSampleData Cannot prepare header 5
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #46 from Matteo Modesti mattemod@gmail.com 2008-06-12 07:12:19 --- (In reply to comment #44)
marsan@Cyrus:~$ glxinfo | grep "direct rendering" direct rendering: Yes
Ok, never mind, I thought (reading it runs but very slow) that you could have direct rendering disabled, 'cause (as I already said) disabling DRI games work even if very slow.
(In reply to comment #45)
I finally had some time to do some more debugging and I was able to get Oblivion running.
I essentially started from scratch.
I renamed my ~/.wine to ~/.wine.orig.
I then again followed the instructions on: http://www.uesp.net/wiki/Oblivion:Linux
In winecfg -> libararies I explicitly set d3dx9_27 to "native" I also renamed the Video folder to Video.orig in the new Oblivion installation. (I think there is definitely a bink video issue as it would not start without this step) When starting the game for the first time, I set the "Video Preset Quality" option to "Low".
The last part is the only real difference as I had selected the default of "medium" earlier. Using the "tdt" console command in Oblivion I seem to be getting 35 - 65 fps. I was able to create a character and play part of the initial sewers.
[__CUT__]
I've already tried as you say, but it didn't work for me. I have a Radeon HD 3870 (PCIe) so should be very similar to yours. What version of the game did you use? Original, original + patch (which version?), original + Shivering Isles, or original + Shivering Isles + patch (which version?)?
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #47 from Luis Salom lsalom+winehqbugzilla@gmail.com 2008-06-12 07:46:21 ---
(In reply to comment #45) I've already tried as you say, but it didn't work for me. I have a Radeon HD 3870 (PCIe) so should be very similar to yours. What version of the game did you use? Original, original + patch (which version?), original + Shivering Isles, or original + Shivering Isles + patch (which version?)?
I have only installed original + patch (1.2.0416) at this point.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #48 from Marc-Olivier Barre marco@marcochapeau.org 2008-06-12 07:48:58 --- (In reply to comment #38)
I disagree I am running RHEL 5 in 32 bit mode and have the issue... so I dont know that it is just a 64 Bit issue only... of course this may also be 2 issues masquerading as one...
Please, read the comments in this bug again.
Users of the ati-drivers on 64bit distros have the following issue: Wine crashes when any kind of d3d app is run, as soon as there is anything 3D related to display.
Users of the ati-drivers on 32 bit distros complain about issues like "well it runs for a bit and then it crashes" or "One game runs well, but not the other" or "games runs, but performance is bad".
These are separate issues.
Now just to make my point once more: on the same hardware, using the same software and the same configuration: 64bit : exposes the behavior found in comment #1 to comment #10. 32bit : all worked fine, including but not limited to: half-life 2, civilization IV, dxdiag...
32 bit users, please, stop reporting on this bug unless you really know what you're talking about.
And in case you are still not convinced, read comment #17
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #49 from chris ahrendt celticht32@aol.com 2008-06-12 09:27:42 --- I am reporting the SAME bug on 32 bit.. as stated.. WINE crashes whenever I run ANY d3d application using the latest ATI driver. NO D3D application works period. I have tried EVERY setting work around and hint found here... Wine simply crashes.. I have placed the exceptions that have been thrown in the bug along with the testing application.
In addition to the crash I have noticed that in all of the D3D applications I put through and debug I get the following error before it crashes back to the desktop :
err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat
After this it then goes and does a fault. I have tried using native DLL's as well as the built in stuff both act the same way.
I have given a set of BASIC Direct X applications via a link which ALL do the same thing. The get the above then they fault and wine crashes to the desktop.
So it is not solely a 64 bit issue but something to do with the fglx driver and the way WINE does direct X 9.
MY setup :
Intel DUAL Core 2.3mhz Thinkpad T60P 3 Gigs of memory Wine 1.0 RC3 Distribution RHEL 5.0 with the latest patches 400 gigs of storage.
I have run this in both Dual head configuration as well as just the LCD and both fail the same way.
So can we move on and just figure out what the bug is and work on fixing it please.
Thank you
Chris
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #50 from chris ahrendt celticht32@aol.com 2008-06-12 09:37:48 --- my Video is a ATI Mobility FireGL 5200 with 256mb of video memory
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #51 from Andrey Larionov anlarionov@gmail.com 2008-06-12 09:41:18 --- I Have a 32 bit OS, but with same symptoms (log records are same) like in first 10 comments.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #52 from H. Verbeet hverbeet@gmail.com 2008-06-12 12:03:26 --- Just a guess, but try disabling GL_ATI_separate_stencil and GL_ATI_envmap_bumpmap by commenting them out at line 57 and 60 of dlls/wined3d/directx.c
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #53 from Marc-Olivier Barre marco@marcochapeau.org 2008-06-12 13:52:46 --- (In reply to comment #52)
Just a guess, but try disabling GL_ATI_separate_stencil and GL_ATI_envmap_bumpmap by commenting them out at line 57 and 60 of dlls/wined3d/directx.c
Disabling those 2 extensions allowed me to run a successful dxdiag 3D test.
Gentoo users should be able to do that with ease since it only requires to add a patch to a local ebuild.
This patch is not necessary for me to run wine 3D stuff successfully on my 2 32-bit systems, so I won't be able to confirm it fixes anything on 32bit... :-D
Could a 32bit user test that ?
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #54 from Matteo Modesti mattemod@gmail.com 2008-06-12 14:35:57 --- (In reply to comment #52)
Just a guess, but try disabling GL_ATI_separate_stencil and GL_ATI_envmap_bumpmap by commenting them out at line 57 and 60 of dlls/wined3d/directx.c
It works! It works!!! Verbeet, I love youuu! XD Joking aside, now I have to go out, but when I'll come back home I'll do massive testing with some games, now that they can at least start...
http://bugs.winehq.org/show_bug.cgi?id=12929
Dorian Faust Wintershade@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Wintershade@gmail.com
--- Comment #55 from Dorian Faust Wintershade@gmail.com 2008-06-12 18:49:35 --- Ok, listen here. I'm running Arch Linux with Wine 1.0-rc3-77-g06abaaf (a git version from a week or two ago), compiled from AUR. Haven't changed a thing in the code or the PKGBUILD, and am running a 32-bit kernel 2.6.25 and catalyst (fglrx) version 8.5 for my Radeon 9700.
I've installed Morrowind GOTY Edition. The install went flawlessly, but running the game showed the issues reported above. Here is what I did.
Run the Morrowind Launcher, it started, and tried to go to the Options menu in order to change video settings to lowest (as described above). Not surprisingly, the app crashed, and gave me the backtrace:
Backtrace: =>1 0x7ef9cfa8 stub_entry_point+0x58() in ntdll (0x0033f22c) 2 0x007e105f in d3d8 (+0x1105f) (0x0033f540) 3 0x007e1fd8 in d3d8 (+0x11fd8) (0x0033f56c) 4 0x007dd8ea in d3d8 (+0xd8ea) (0x0033fa7c) 5 0x007ddd83 in d3d8 (+0xdd83) (0x0033fba0) 6 0x0040c2d9 in morrowind launcher (+0xc2d9) (0x0033fcbc) 7 0x7eb5a904 call_dialog_proc+0x74() in user32 (0x001345e8) 8 0x00000338 (0x00000000)
Ok, so I'm guessing it's the ntdll and d3d8 causing trouble right now. Fired up the winecfg, and in Libraries set the order those two to builtin first, native later, as well as the libraries mentioned above (d3dx9_27 among others) to native first, builtin later.
Restarted Morrowind Launcher, let's see what will be the next crash backtrace. Options worked. Starting the game worked. Slow, painfully slow, but it worked (YMMV). No crash. Nothing.
Too tired to tinker around with it now, but I hope someone makes something useful out of this. Will continue tomorrow and keep you informed. Cheerz! =]
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #56 from Christian N chrisn86@yahoo.de 2008-06-13 15:35:28 --- (In reply to comment #52)
Just a guess, but try disabling GL_ATI_separate_stencil and GL_ATI_envmap_bumpmap by commenting them out at line 57 and 60 of dlls/wined3d/directx.c
Works fine for me on 64 Bit! Thanks.
More exactly, I only need to disable "GL_ATI_envmap_bumpmap". I tested Morrowind and Track Mania Nations.
Btw I used the sources of 1.00-rc5 but i couldn't build wine completely and just copied wined3d.dll.so into /usr/lib32/wine.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #57 from H. Verbeet hverbeet@gmail.com 2008-06-14 04:38:10 --- It's probably line 2536 @ dlls/wined3d/state.c triggering the crash then: GL_EXTCALL(glTexBumpParameterfvATI(GL_BUMP_ROT_MATRIX_ATI, (float *) mat));
I don't have an ATI card with fglrx myself, but it would be interesting to know if this is indeed causing the crash, and if someone can reproduce it in a small standalone GL application (using eg. glut). Also, if this is indeed 64-bit specific, it might be significant if the application itself is 32-bit (ie, compiled with gcc -m32, like Wine) or 64-bit.
@Chris Ahrendt & other people claiming they run into this bug on 32-bit systems: could you confirm the second entry in the backtrace is a call to ActivateContext? If it isn't, this is a different bug.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #58 from Andrey Larionov anlarionov@gmail.com 2008-06-14 04:50:18 --- Yes i can confirm. I run a 32bit version of Ubuntu 7.10, But my CPU is AMD Turion 64
http://bugs.winehq.org/show_bug.cgi?id=12929
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eternalorb@gmail.com
--- Comment #59 from Vitaliy Margolen vitaliy@kievinfo.com 2008-06-14 21:30:17 --- *** Bug 13920 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=12929
Alan Jackson ajackson@bcs.org.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ajackson@bcs.org.uk
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #60 from chris ahrendt celticht32@aol.com 2008-06-18 10:57:49 --- Yes I am still getting this with V1.0 going to try and see if the code work arounds work with the issue.
Also getting another issue but will post that as another bug..
Chris
http://bugs.winehq.org/show_bug.cgi?id=12929
Bas Zoetekouw bas@debian.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bas@debian.org
--- Comment #60 from chris ahrendt celticht32@aol.com 2008-06-18 10:57:49 --- Yes I am still getting this with V1.0 going to try and see if the code work arounds work with the issue.
Also getting another issue but will post that as another bug..
Chris
http://bugs.winehq.org/show_bug.cgi?id=12929
Bas Zoetekouw bas@debian.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bas@debian.org
Elmo Mäntynen elmo13@jippii.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |elmo13@jippii.fi
--- Comment #60 from chris ahrendt celticht32@aol.com 2008-06-18 10:57:49 --- Yes I am still getting this with V1.0 going to try and see if the code work arounds work with the issue.
Also getting another issue but will post that as another bug..
Chris
--- Comment #61 from Elmo Mäntynen elmo13@jippii.fi 2008-06-19 06:21:52 --- If someone is interested, I get a crash and bt in ActivateContext in wined3d with 3DMark03 (which is free to download). I have wine 1.0 on 64 bit Ubuntu Hardy, catalyst 8.4 and radeon HD 3650.
http://bugs.winehq.org/show_bug.cgi?id=12929
Bas Zoetekouw bas@debian.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bas@debian.org
Elmo Mäntynen elmo13@jippii.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |elmo13@jippii.fi
--- Comment #60 from chris ahrendt celticht32@aol.com 2008-06-18 10:57:49 --- Yes I am still getting this with V1.0 going to try and see if the code work arounds work with the issue.
Also getting another issue but will post that as another bug..
Chris
--- Comment #61 from Elmo Mäntynen elmo13@jippii.fi 2008-06-19 06:21:52 --- If someone is interested, I get a crash and bt in ActivateContext in wined3d with 3DMark03 (which is free to download). I have wine 1.0 on 64 bit Ubuntu Hardy, catalyst 8.4 and radeon HD 3650.
--- Comment #62 from chris ahrendt celticht32@aol.com 2008-06-19 20:49:34 --- here is the dump I get when wine crashes...
First chance exception: page fault on read access to 0x016c6580 in 32-bit code (0x00a33e9f). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:00a33e9f ESP:7eb719a4 EBP:7eb719e8 EFLAGS:00010216( - 00 -RIAP1) EAX:00000000 EBX:7bc86ae0 ECX:0000000a EDX:00000001 ESI:016c6548 EDI:00000000 Stack dump: 0x7eb719a4: 016c6550 016c6548 7bc86ae0 016eece0 0x7eb719b4: 016eece0 016eedec 00000001 7eb719e8 0x7eb719c4: 602369c9 7bc86ae0 ffffffff 7eb71a28 0x7eb719d4: 00817520 00a33daf 7eb71a18 00d05a44 0x7eb719e4: 00000000 7eb71a28 0081bba3 00ba7a29 0x7eb719f4: 015907a0 00ba7a95 016c6548 00ba7a29 Backtrace: =>1 0x00a33e9f in everquest2 (+0x633e9f) (0x7eb719e8) 2 0x0081bba3 in everquest2 (+0x41bba3) (0x7eb71a28) 3 0x7bc687ee call_thread_entry_point+0xe() in ntdll (0x7eb71a38) 4 0x7bc68e82 call_thread_func+0x42(rtl_func=<register EDI not in topmost frame>, arg=<register ESI not in topmost frame>) [/work/Downloads/wine-1.0/dlls/ntdll/thread.c:386] in ntdll (0x7eb71ad8) 5 0x7bc69093 in ntdll (+0x59093) (0x7eb723c8) 6 0x6015745b (0x7eb724b8) 0x00a33e9f: cmpb $0x0,0x38(%esi) Wine-dbg> First chance exception: page fault on read access to 0x016c6580 in 32-bit code (0x00a33e9f). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:00a33e9f ESP:7eb719a4 EBP:7eb719e8 EFLAGS:00010216( - 00 -RIAP1) EAX:00000000 EBX:7bc86ae0 ECX:0000000a EDX:00000001 ESI:016c6548 EDI:00000000 Stack dump: 0x7eb719a4: 016c6550 016c6548 7bc86ae0 016eece0 0x7eb719b4: 016eece0 016eedec 00000001 7eb719e8 0x7eb719c4: 602369c9 7bc86ae0 ffffffff 7eb71a28 0x7eb719d4: 00817520 00a33daf 7eb71a18 00d05a44 0x7eb719e4: 00000000 7eb71a28 0081bba3 00ba7a29 0x7eb719f4: 015907a0 00ba7a95 016c6548 00ba7a29 Backtrace: =>1 0x00a33e9f in everquest2 (+0x633e9f) (0x7eb719e8) 2 0x0081bba3 in everquest2 (+0x41bba3) (0x7eb71a28) 3 0x7bc687ee call_thread_entry_point+0xe() in ntdll (0x7eb71a38) 4 0x7bc68e82 call_thread_func+0x42(rtl_func=<register EDI not in topmost frame>, arg=<register ESI not in topmost frame>) [/work/Downloads/wine-1.0/dlls/ntdll/thread.c:386] in ntdll (0x7eb71ad8) 5 0x7bc69093 in ntdll (+0x59093) (0x7eb723c8) 6 0x6015745b (0x7eb724b8) 0x00a33e9f: cmpb $0x0,0x38(%esi) Wine-dbg>q wine: Unhandled page fault on read access to 0x016c6580 at address 0xa33e9f (thread 001c), starting debugger...
The strange thing or it seems strange to me is these lines right before it dumps : trace:d3d:IWineD3DDeviceImpl_SetRenderState (0x1bcb50)->state = WINED3DRS_FOGDENSITY(38), value = 1073741824 trace:d3d:IWineD3DDeviceImpl_SetRenderState Updated Stateblock trace:d3d:IWineD3DDeviceImpl_SetRenderState (0x1bcb50)->state = WINED3DRS_FOGCOLOR(34), value = 16777215
I dont think these values are right.. they seem rather large to me... any ideas?
Chris
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #63 from Elmo Mäntynen elmo13@jippii.fi 2008-06-20 07:02:30 --- (In reply to comment #56)
(In reply to comment #52)
Just a guess, but try disabling GL_ATI_separate_stencil and GL_ATI_envmap_bumpmap by commenting them out at line 57 and 60 of dlls/wined3d/directx.c
Works fine for me on 64 Bit! Thanks.
More exactly, I only need to disable "GL_ATI_envmap_bumpmap". I tested Morrowind and Track Mania Nations.
Btw I used the sources of 1.00-rc5 but i couldn't build wine completely and just copied wined3d.dll.so into /usr/lib32/wine.
Did it for me too. The first test in 3DMark03 used just envmap_bumpmap, but I had to disable the other one also for it complete the tests. Then I tried the demo, which worked (might have been some glitches, like cows being like shiny grey paperdolls:) and then my gfx card apparently crashed?!?, but that's another bug then...
http://bugs.winehq.org/show_bug.cgi?id=12929
martin kalina kalina.cz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kalina.cz@gmail.com
--- Comment #63 from Elmo Mäntynen elmo13@jippii.fi 2008-06-20 07:02:30 --- (In reply to comment #56)
(In reply to comment #52)
Just a guess, but try disabling GL_ATI_separate_stencil and GL_ATI_envmap_bumpmap by commenting them out at line 57 and 60 of dlls/wined3d/directx.c
Works fine for me on 64 Bit! Thanks.
More exactly, I only need to disable "GL_ATI_envmap_bumpmap". I tested Morrowind and Track Mania Nations.
Btw I used the sources of 1.00-rc5 but i couldn't build wine completely and just copied wined3d.dll.so into /usr/lib32/wine.
Did it for me too. The first test in 3DMark03 used just envmap_bumpmap, but I had to disable the other one also for it complete the tests. Then I tried the demo, which worked (might have been some glitches, like cows being like shiny grey paperdolls:) and then my gfx card apparently crashed?!?, but that's another bug then...
--- Comment #64 from martin kalina kalina.cz@gmail.com 2008-06-22 19:39:37 --- (In reply to comment #0)
Like I explained in this thread http://forum.winehq.org/viewtopic.php?t=510 games (and i think other 3D apps too) don't run with "fglrx" driver.
I tried the "radeonhd" driver and games start perfectly, but (obviously they're unusable because the radeonhd driver doesn't have direct rendering implemented yet). I also tried my same Wine installation on a notebook with an nvidia 7000M and it worked! To do so i installed the same Wine version (0.9.60) on the same distro (Gentoo AMD64) and copied my ~/.wine (with games already installed) on the notebook.
Today i tried Wine 0.9.61 but results are the same... I noticed that it happens only with DirectX games, not OpenGL. For example i tried Morrowind, Oblivion, Guild Wars and Nexuiz, but the only one who worked was Nexuiz (even if too slowly).
Here is my configuration:
- Gentoo AMD64
- kernel 2.6.24-gentoo-r5
- ATI Radeon HD 3870 (512MB)
- fglrx 8.473 (Catalyst 8.4)
I'm going to attach some wine/winedbg output. If you need any other info and test reports or if you want me to try patches or anything else, just ask.
(In reply to comment #19)
I have radeon hd 2600XT and the same trouble with wine + fglrx.
"SIMPLE" "solution"
My card is almost the same as yours and I had the same troubles
My specs are: toshiba satellite A200-1SJ, Radeon HD 2600 - 256MB fresh install of sabayon 3.5 loop3 x86_64 kernel 2.6.25 sabayon X86_64, fglrx ATI 8.6 from 18.June (simple binary install) wine 1.0rc1 and unpatched english oblivion
I did everything that I found about Oblivion under wine (from copying d3dx9*, selecting d3dx9_27 as native in winecfg, changing to my native resolution 1280x800 and disabling virtual desktop in winecfg, regedit ...) and the game never entered the real game after loading.
I did load my old savegame from windows and it works. And I must say that after lowering details it's quite playable and it never crashed (I have tested it only for an hour) I had to lower everything (except resolution) to get rid of those obscure artifacts.
Hope it might help a bit. MartinK
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #65 from martin kalina kalina.cz@gmail.com 2008-06-22 19:41:16 --- (In reply to comment #0)
Like I explained in this thread http://forum.winehq.org/viewtopic.php?t=510 games (and i think other 3D apps too) don't run with "fglrx" driver.
I tried the "radeonhd" driver and games start perfectly, but (obviously they're unusable because the radeonhd driver doesn't have direct rendering implemented yet). I also tried my same Wine installation on a notebook with an nvidia 7000M and it worked! To do so i installed the same Wine version (0.9.60) on the same distro (Gentoo AMD64) and copied my ~/.wine (with games already installed) on the notebook.
Today i tried Wine 0.9.61 but results are the same... I noticed that it happens only with DirectX games, not OpenGL. For example i tried Morrowind, Oblivion, Guild Wars and Nexuiz, but the only one who worked was Nexuiz (even if too slowly).
Here is my configuration:
- Gentoo AMD64
- kernel 2.6.24-gentoo-r5
- ATI Radeon HD 3870 (512MB)
- fglrx 8.473 (Catalyst 8.4)
I'm going to attach some wine/winedbg output. If you need any other info and test reports or if you want me to try patches or anything else, just ask.
(In reply to comment #19)
I have radeon hd 2600XT and the same trouble with wine + fglrx.
"SIMPLE" "solution"
My card is almost the same as yours and I had the same troubles
My specs are: toshiba satellite A200-1SJ, Radeon HD 2600 - 256MB fresh install of sabayon 3.5 loop3 x86_64 kernel 2.6.25 sabayon X86_64, fglrx ATI 8.6 from 18.June (simple binary install) wine 1.0rc1 and unpatched english oblivion
I did everything that I found about Oblivion under wine (from copying d3dx9*, selecting d3dx9_27 as native in winecfg, changing to my native resolution 1280x800 and disabling virtual desktop in winecfg, regedit ...) and the game never entered the real game after loading.
I did load my old savegame from windows and it works. And I must say that after lowering details it's quite playable and it never crashed (I have tested it only for an hour) I had to lower everything (except resolution) to get rid of those obscure artifacts.
Hope it might help a bit. MartinK
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #66 from Matteo Modesti mattemod@gmail.com 2008-06-23 19:24:42 --- Sorry for the waiting guys but i couldn't test anything for about a week... but now i did it.
First of all, the problem is still there with Wine 1.0.
Then, i compiled Wine commenting out GL_ATI_separate_stencil and GL_ATI_envmap_bumpmap and, as i said before, it worked.
I could start Morrowind and a new game with no problems, but when i go in outside areas it crashes (with OffscreenRenderingMode="fbo"). I don't know if this is another bug, but i'm going to say it anyway. I tried to change OffscreenRenderingMode to "pbuffer", but it gives the same alert on the start and then Wine closes (no crash). So i tried to set OffscreenRenderingMode="backbuffer": it works and it doesn't crash outdoors. I created a new character and played for about 10 minutes without any problem. I tried various combinations for audio (ALSA, OSS, nothing, disabling sound in Morrowind.ini) and they all work for me.
On the other hand it's too unstable! I don't know if it's the "backbuffer" mode, but it hangs very often for me (and sometimes crashes or badly corrupts the screen making it unusable), even in the main menu. I even tried to set various combinations of values in Morrowind.ini (like SkipProgramFlows, DontThreadLoad, Interior Cell Buffer, Exterior Cell Buffer, disabling the sound, etc.) but i think they apply in-game, because they didn't help for the hangs in the main menu, etc. More importantly, i have to disable Pixel Shader to make it start (more properly to not make it crash/hang), doesn't matter if i disable it in winecfg or in the game Options.
Right now it's all that i can say: i hope it can be useful. I'm going to hardly study for a while, so i won't test anything else by myself for some weeks, but if you need any info or "specific" testing, just ask me and i'll answer ASAP.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #67 from Matteo Modesti mattemod@gmail.com 2008-06-23 19:35:03 --- Sorry, i forgot to say that i had better results (like less screen corruptions) with Catalyst 8.5 than with 8.6. I don't know if it can help and unfortunately i can't be more specific because i did all tests with 8.5 when i noticed that 8.6 gave me more troubles.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #68 from Matteo Modesti mattemod@gmail.com 2008-06-24 07:06:57 --- Sorry but i also forgot to say that i also tried to set VideoMemorySize="256" (my card is 512MB), but apparently nothing changed.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #68 from Matteo Modesti mattemod@gmail.com 2008-06-24 07:06:57 --- Sorry but i also forgot to say that i also tried to set VideoMemorySize="256" (my card is 512MB), but apparently nothing changed.
--- Comment #69 from Forrest Loomis cybercyst@gmail.com 2008-06-26 14:07:47 --- Created an attachment (id=14373) --> (http://bugs.winehq.org/attachment.cgi?id=14373) fixes the libGL drmMap error with cards using the fglrx driver
I did regression testing and found that this commit breaks 3d support for those of us using fglrx drivers. So this patch reverts commit 195ca1e85f01ac40695fbb6fcf9e9e130265f091. (you can also run git revert 195ca1e85f01ac40695fbb6fcf9e9e130265f091 in the wine git tree)
I now have 3d support again after many, many releases of it being broken in wine. World of Warcraft works very fast, various 3d demos now work really well too.
So grab the patch (or revert the wine tree) and get testing to see if this fixes it for everyone!
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #70 from Matteo Modesti mattemod@gmail.com 2008-06-26 22:19:18 --- Doesn't work for me... i applied the patch (after de-commenting the 2 lines in dlls/wined3d/directx.c), but i couldn't even start Morrowind as without the patch.
$ ./wine --version wine-1.0-329-gdd01d39
I'll try with latest git and let you know, maybe attaching shell output.
http://bugs.winehq.org/show_bug.cgi?id=12929
Roderick Colenbrander thunderbird2k@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |schuster.bernhard@googlemail | |.com
--- Comment #70 from Matteo Modesti mattemod@gmail.com 2008-06-26 22:19:18 --- Doesn't work for me... i applied the patch (after de-commenting the 2 lines in dlls/wined3d/directx.c), but i couldn't even start Morrowind as without the patch.
$ ./wine --version wine-1.0-329-gdd01d39
I'll try with latest git and let you know, maybe attaching shell output.
--- Comment #71 from Roderick Colenbrander thunderbird2k@gmx.net 2008-06-27 06:59:29 --- *** Bug 13335 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=12929
Roderick Colenbrander thunderbird2k@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |schuster.bernhard@googlemail | |.com
--- Comment #70 from Matteo Modesti mattemod@gmail.com 2008-06-26 22:19:18 --- Doesn't work for me... i applied the patch (after de-commenting the 2 lines in dlls/wined3d/directx.c), but i couldn't even start Morrowind as without the patch.
$ ./wine --version wine-1.0-329-gdd01d39
I'll try with latest git and let you know, maybe attaching shell output.
--- Comment #71 from Roderick Colenbrander thunderbird2k@gmx.net 2008-06-27 06:59:29 --- *** Bug 13335 has been marked as a duplicate of this bug. ***
--- Comment #72 from Matteo Modesti mattemod@gmail.com 2008-06-27 13:14:49 --- Doesn't work for me, even with wine-1.1.0. I also tried to revert the git AND comment out GL_ATI_separate_stencil and GL_ATI_envmap_bumpmap, but nothing changed.
Forrest, could you please tell us all your infos? For example your fglrx version (mine is Catalyst 8.5), your video card, your HCU/Software/Wine/Direct3D values, if you use a virtual desktop and/or managed windows, which native dlls you're using, which kernel, which distro (and if 32 or 64 bits), which audio driver, etc. etc.
http://bugs.winehq.org/show_bug.cgi?id=12929
Roderick Colenbrander thunderbird2k@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |schuster.bernhard@googlemail | |.com
--- Comment #70 from Matteo Modesti mattemod@gmail.com 2008-06-26 22:19:18 --- Doesn't work for me... i applied the patch (after de-commenting the 2 lines in dlls/wined3d/directx.c), but i couldn't even start Morrowind as without the patch.
$ ./wine --version wine-1.0-329-gdd01d39
I'll try with latest git and let you know, maybe attaching shell output.
--- Comment #71 from Roderick Colenbrander thunderbird2k@gmx.net 2008-06-27 06:59:29 --- *** Bug 13335 has been marked as a duplicate of this bug. ***
--- Comment #72 from Matteo Modesti mattemod@gmail.com 2008-06-27 13:14:49 --- Doesn't work for me, even with wine-1.1.0. I also tried to revert the git AND comment out GL_ATI_separate_stencil and GL_ATI_envmap_bumpmap, but nothing changed.
Forrest, could you please tell us all your infos? For example your fglrx version (mine is Catalyst 8.5), your video card, your HCU/Software/Wine/Direct3D values, if you use a virtual desktop and/or managed windows, which native dlls you're using, which kernel, which distro (and if 32 or 64 bits), which audio driver, etc. etc.
--- Comment #73 from Luke Bratch l_bratch@yahoo.co.uk 2008-06-27 18:05:51 --- celticht32, please don't reply to wine-bugs, post in Bugzilla. Email read:
"I don't think its in directx.c I was tracing EQ2 and thought it was in directx as well but there might be a issue with the way the device is being initialised... leave the patch off and do a trace with +d3d_caps
and right before the issue see if you get the following like I did : trace:d3d_caps:IWineD3DImpl_CheckDeviceFormat [FAILED] - Usage=0x000008 requested for CheckFormat=WINED3DFMT_P8 and RType=3 but only 00000000 is available"
http://bugs.winehq.org/show_bug.cgi?id=12929
Roderick Colenbrander thunderbird2k@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |schuster.bernhard@googlemail | |.com
--- Comment #70 from Matteo Modesti mattemod@gmail.com 2008-06-26 22:19:18 --- Doesn't work for me... i applied the patch (after de-commenting the 2 lines in dlls/wined3d/directx.c), but i couldn't even start Morrowind as without the patch.
$ ./wine --version wine-1.0-329-gdd01d39
I'll try with latest git and let you know, maybe attaching shell output.
--- Comment #71 from Roderick Colenbrander thunderbird2k@gmx.net 2008-06-27 06:59:29 --- *** Bug 13335 has been marked as a duplicate of this bug. ***
--- Comment #72 from Matteo Modesti mattemod@gmail.com 2008-06-27 13:14:49 --- Doesn't work for me, even with wine-1.1.0. I also tried to revert the git AND comment out GL_ATI_separate_stencil and GL_ATI_envmap_bumpmap, but nothing changed.
Forrest, could you please tell us all your infos? For example your fglrx version (mine is Catalyst 8.5), your video card, your HCU/Software/Wine/Direct3D values, if you use a virtual desktop and/or managed windows, which native dlls you're using, which kernel, which distro (and if 32 or 64 bits), which audio driver, etc. etc.
--- Comment #73 from Luke Bratch l_bratch@yahoo.co.uk 2008-06-27 18:05:51 --- celticht32, please don't reply to wine-bugs, post in Bugzilla. Email read:
"I don't think its in directx.c I was tracing EQ2 and thought it was in directx as well but there might be a issue with the way the device is being initialised... leave the patch off and do a trace with +d3d_caps
and right before the issue see if you get the following like I did : trace:d3d_caps:IWineD3DImpl_CheckDeviceFormat [FAILED] - Usage=0x000008 requested for CheckFormat=WINED3DFMT_P8 and RType=3 but only 00000000 is available"
http://bugs.winehq.org/show_bug.cgi?id=12929
Roderick Colenbrander thunderbird2k@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |schuster.bernhard@googlemail | |.com
--- Comment #70 from Matteo Modesti mattemod@gmail.com 2008-06-26 22:19:18 --- Doesn't work for me... i applied the patch (after de-commenting the 2 lines in dlls/wined3d/directx.c), but i couldn't even start Morrowind as without the patch.
$ ./wine --version wine-1.0-329-gdd01d39
I'll try with latest git and let you know, maybe attaching shell output.
--- Comment #71 from Roderick Colenbrander thunderbird2k@gmx.net 2008-06-27 06:59:29 --- *** Bug 13335 has been marked as a duplicate of this bug. ***
--- Comment #72 from Matteo Modesti mattemod@gmail.com 2008-06-27 13:14:49 --- Doesn't work for me, even with wine-1.1.0. I also tried to revert the git AND comment out GL_ATI_separate_stencil and GL_ATI_envmap_bumpmap, but nothing changed.
Forrest, could you please tell us all your infos? For example your fglrx version (mine is Catalyst 8.5), your video card, your HCU/Software/Wine/Direct3D values, if you use a virtual desktop and/or managed windows, which native dlls you're using, which kernel, which distro (and if 32 or 64 bits), which audio driver, etc. etc.
--- Comment #73 from Luke Bratch l_bratch@yahoo.co.uk 2008-06-27 18:05:51 --- celticht32, please don't reply to wine-bugs, post in Bugzilla. Email read:
"I don't think its in directx.c I was tracing EQ2 and thought it was in directx as well but there might be a issue with the way the device is being initialised... leave the patch off and do a trace with +d3d_caps
and right before the issue see if you get the following like I did : trace:d3d_caps:IWineD3DImpl_CheckDeviceFormat [FAILED] - Usage=0x000008 requested for CheckFormat=WINED3DFMT_P8 and RType=3 but only 00000000 is available"
--- Comment #74 from Matteo Modesti mattemod@gmail.com 2008-06-29 14:16:51 --- No, i don't get it, but i'm going to attach my output hoping it'll be useful.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #75 from Matteo Modesti mattemod@gmail.com 2008-06-29 14:20:18 --- Created an attachment (id=14456) --> (http://bugs.winehq.org/attachment.cgi?id=14456) Output running Morrowind with WINEDEBUG=+d3d_caps
WINEDEBUG=+d3d_caps ~/wine-git/wine/wine Morrowind.exe 2> 'wine Morrowind.exe 1.1.0 d3d_caps.txt'
http://bugs.winehq.org/show_bug.cgi?id=12929
Siarhei svadu@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |svadu@hotmail.com
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #76 from chris ahrendt celticht32@aol.com 2008-07-15 11:15:46 --- has anything changed with the 1.1.1 build...
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #77 from Przemek przemokoch@o2.pl 2008-07-15 16:10:17 --- I wos instaled dx9 on wine. When i try to do "Test Direct 3D" in dxdiagnostic.exe i alwaes saw white screen. But when i configure fglrx driver like a XGL "Test Direct 3D" is ok, but rendering is to slow.
http://bugs.winehq.org/show_bug.cgi?id=12929
Bellegueulle Damien bellegueulle.damien@neuf.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bellegueulle.damien@neuf.fr
--- Comment #78 from Bellegueulle Damien bellegueulle.damien@neuf.fr 2008-07-17 04:34:29 --- (In reply to comment #76)
has anything changed with the 1.1.1 build...
No change with wine 1.1.1 git and the lastet ATI/FGLRX drivers (8.6 )
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #79 from Bellegueulle Damien bellegueulle.damien@neuf.fr 2008-07-17 13:21:50 --- Created an attachment (id=14872) --> (http://bugs.winehq.org/attachment.cgi?id=14872) Log with wine 1.1.1 +3dmark patch +reverse_preload_commit.patch
+disabling GL_ATI_separate_stencil and
GL_ATI_envmap_bumpmap by commenting them out at line 57 and 60 of dlls/wined3d/directx.c
http://bugs.winehq.org/show_bug.cgi?id=12929
Matteo Modesti mattemod@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan@codeweavers.com
--- Comment #80 from Matteo Modesti mattemod@gmail.com 2008-07-19 05:19:18 --- With today's GIT (wine-1.1.1-147-gb3f4091) I can run Morrowind without commenting out GL_ATI_envmap_bumpmap, probably thanks to commit f981afd7d316612a821891d2ec92dc7155175be9.
It still prints fixme:d3d:tex_bumpenvlscale WINED3DTSS_BUMPENVLSCALE not supported yet on the shell, but at least it works without commenting out anything...
Maybe the same thing can be done to GL_ATI_separate_stencil?
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #81 from H. Verbeet hverbeet@gmail.com 2008-07-19 06:28:36 --- That commit should've been a nop. Does reverting it bring the crash back?
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #82 from Matteo Modesti mattemod@gmail.com 2008-07-20 20:15:28 --- Sorry, false alarm (unfortunately)... probably make didn't recompile wined3d properly and used the modified .o (with ATI_envmap_bumpmap commented out)... strange because I always launch a 'make clean' before recompiling... So I still have to comment out that line with wine-1.1.1-191-g5798b95.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #83 from Bellegueulle Damien bellegueulle.damien@neuf.fr 2008-07-21 12:48:21 --- No works with Catalyst 8.7 ... :(
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #84 from Martin deadlock@start.no 2008-07-21 14:22:25 --- I wasn't able to get the game to run properly with the latest drivers. Using a Sapphire Radeon 9600 XT with the latest drivers just caused the game to look completly weird. It was unusable, so I just had to kill it. Glxgears runs fine, though. I wasn't able to try other 3d apps than Morrowind and glxgears.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #85 from Bas Zoetekouw bas@debian.org 2008-07-21 14:24:58 --- FWIW, I got Civilization 4 to work on my 3870 (x86_64 arch) by commenting out the two lines.
http://bugs.winehq.org/show_bug.cgi?id=12929
tesseract.pl@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tesseract.pl@gmail.com
--- Comment #86 from tesseract.pl@gmail.com 2008-07-21 16:09:24 --- Well, I tried various way of fixing this bug, including commenting out lines in directx.c, applying patch to preloader, applying opengl patch by Forrest Loomis and combinations of them all. None of them worked after rebooting (strange, just after compilation commenting out seemed to worked). Preloader patch even made launching games impossible. But after using "ulimit -s unlimited" the bug seems to be fixed: World of Warcraft runs flawlessly with both OpenGL i DirectX (slower). I found it out accidentally, because it's a workaround for wine compilation in Fedora.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #87 from Matteo Modesti mattemod@gmail.com 2008-07-21 18:46:31 --- (In reply to comment #86)
[...CUT...] But after using "ulimit -s unlimited" the bug seems to be fixed: World of Warcraft runs flawlessly with both OpenGL i DirectX (slower). I found it out accidentally, because it's a workaround for wine compilation in Fedora.
Does it work even without patches? Or did you have to use "ulimit -s unlimited" _AND_ to apply the patches?
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #88 from Tesseract tesseract.pl@gmail.com 2008-07-22 02:57:11 --- (In reply to comment #87)
Does it work even without patches? Or did you have to use "ulimit -s unlimited" _AND_ to apply the patches?
I did it with git build WITH opengl patch, but I suppose it will work even without any patches. Going to check it now and then I'll report.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #89 from Tesseract tesseract.pl@gmail.com 2008-07-22 03:38:42 --- Ok, I compiled clean git tree without any patches or commenting out lines and then I used ulimit -s unlimited. I don't have any errors on startup and it seems to work without any problems. But I don't think it's a nice way of doing it, I believe wine developers will find some way of repairing it. Roderick Colenbrander suggested that they have to wrap all memory allocation calls, which I think will take some time. Until then, I hope the ulimit workaround will do its job well.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #90 from Elmo Mäntynen elmo13@jippii.fi 2008-07-23 03:40:41 --- I have the exactly same backtrace with the wine tests: I ran "wine programs/winetest/d3d9_test.exe device" in the latest git checkout and disabling the two extensions fixed it also. FWIW the bt is a bit different with the latest git: """ Backtrace: =>1 0x7c0686e0 (0x0032f7d8) 2 0x7e80f7f7 multistate_apply_2+0x47(state=0xd8, stateblock=0x1bb1f0, context=0x1cb9c0) [/home/drayko/Apps/Games/wine/git/dlls/wined3d/state.c:5630] in wined3d (0x0032f7f8) 3 0x7e7c589c ActivateContext+0x4fc(This=0x159230, target=0x1ccd90, usage=0x2) [/home/drayko/Apps/Games/wine/git/dlls/wined3d/context.c:1167] in wined3d (0x0032f878) 4 0x7e7fb07e drawPrimitive+0x17e(iface=0x159230, PrimitiveType=0x4, NumPrimitives=0x2, StartVertexIndex=0x0, numberOfVertices=0x4, StartIdx=0x0, idxSize=0x2, idxData=0x0, minIndex=0x0) [/home/drayko/Apps/Games/wine/git/dlls/wined3d/drawprim.c:987] in wined3d (0x0032fb88) ... """
I can attach the whole output if it's usefull
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #91 from Elmo Mäntynen elmo13@jippii.fi 2008-07-23 03:46:16 --- And, 'ulimit -s unlimited' didn't seem to help me, are you sure you're situation isn't related to bug 13335?
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #92 from Tesseract tesseract.pl@gmail.com 2008-07-23 12:03:58 --- (In reply to comment #91)
And, 'ulimit -s unlimited' didn't seem to help me, are you sure you're situation isn't related to bug 13335?
Actually, it is. I mean, fixes provided in this bug are the same as in 13335. I just thought it maybe helpful here, too. It's a pity it isn't.
http://bugs.winehq.org/show_bug.cgi?id=12929
Mike Rogers mrogers272@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mrogers272@gmail.com
--- Comment #93 from Mike Rogers mrogers272@gmail.com 2008-07-26 06:22:13 --- (In reply to comment #52)
Just a guess, but try disabling GL_ATI_separate_stencil and GL_ATI_envmap_bumpmap by commenting them out at line 57 and 60 of dlls/wined3d/directx.c
I can confirm that disabling these extensions works on 32-bit systems. In fact, not only did issues with 3D games go away (I tested with Guild Wars, will test more soon), but regular programs now work: Adobe Photoshop CS2 crashed every time I ran it, and now runs nearly flawlessly, and Office 2007 installed and Word and Excel run great whereas previously the suite wouldn't even install. All I can say is that this tweak in the code has given me a stable, working wine/fglrx-with-DRI combo for the first time in years.
Test config: - Intel Pentium 4 2.6 GHz - ATI FireGL X1-128 - Gentoo Linux running kernel 2.6.25-r6 - fglrx 8.501 - Used Wine 1.1.2 source as starting point
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #94 from Bellegueulle Damien bellegueulle.damien@neuf.fr 2008-07-26 12:40:58 --- (In reply to comment #93)
(In reply to comment #52)
Just a guess, but try disabling GL_ATI_separate_stencil and GL_ATI_envmap_bumpmap by commenting them out at line 57 and 60 of dlls/wined3d/directx.c
I can confirm that disabling these extensions works on 32-bit systems. In fact, not only did issues with 3D games go away (I tested with Guild Wars, will test more soon), but regular programs now work: Adobe Photoshop CS2 crashed every time I ran it, and now runs nearly flawlessly, and Office 2007 installed and Word and Excel run great whereas previously the suite wouldn't even install. All I can say is that this tweak in the code has given me a stable, working wine/fglrx-with-DRI combo for the first time in years. Test config:
- Intel Pentium 4 2.6 GHz
- ATI FireGL X1-128
- Gentoo Linux running kernel 2.6.25-r6
- fglrx 8.501
- Used Wine 1.1.2 source as starting point
3D Games ... Go Away ( Call of Duty 4 ), but some programs work
Test config : - Intel Q9300 2.5 Ghz x 4 - ATI 4850HD - Mandriva 2008.1 - Fglrx 8.7 - Wine 1.1.2 cvs
http://bugs.winehq.org/show_bug.cgi?id=12929
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |DoDoEntertainment@gmail.com
--- Comment #95 from Vitaliy Margolen vitaliy@kievinfo.com 2008-07-27 11:18:07 --- *** Bug 14653 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #96 from Nenad Mikša DoDoEntertainment@gmail.com 2008-07-27 14:36:12 --- *** Bug 14652 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=12929
Wang Bin wangbinrobin@yahoo.com.cn changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wangbinrobin@yahoo.com.cn
--- Comment #97 from Wang Bin wangbinrobin@yahoo.com.cn 2008-08-01 04:03:29 --- I debuged this issue when run Oblivion by wine, and found that when wine call "glTexBumpParameterfvATI", it will result to segment fault.
But when I run CounterStrike by wine, everything works fine. glTexBumpParameterfvATI being called not result to segfault.
should it be wine issue or fglrx driver issue?
http://bugs.winehq.org/show_bug.cgi?id=12929
Stefan Dösinger stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefandoesinger@gmx.at
--- Comment #98 from Stefan Dösinger stefandoesinger@gmx.at 2008-08-01 09:18:11 --- It is an fglrx issue for sure - the parameters we pass to this function are ok in the crashing cases.
That said, my recent patch to implement a fixed function pipeline replacement with GL_ARB_fragment_program bypasses the codepath that calls the ATI_envmap_bumpmap functions entirely, so it will work around the problem. Since ATI_envmap_bumpmap seems to be broken in multiple ways(the crash and the pixelformat) on the only driver that supports it right now, it might be a good idea to remove the code entirely since.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #99 from Matteo Modesti mattemod@gmail.com 2008-08-04 20:38:39 --- (In reply to comment #98)
It is an fglrx issue for sure - the parameters we pass to this function are ok in the crashing cases.
That said, my recent patch to implement a fixed function pipeline replacement with GL_ARB_fragment_program bypasses the codepath that calls the ATI_envmap_bumpmap functions entirely, so it will work around the problem. Since ATI_envmap_bumpmap seems to be broken in multiple ways(the crash and the pixelformat) on the only driver that supports it right now, it might be a good idea to remove the code entirely since.
I confirm that with wine-1.1.2-253-g9b57217 I can start Morrowind without commenting out the GL_ATI_envmap_bumpmap line. I only loaded a game and killed 2 monsters so I don't know if it could crash playing some more time, but since it crashed on start I think it's been "fixed".
Can anyone confirm that? (maybe with more games, not only Morrowind)
Should we finally close this bug marking it as FIXED?
http://bugs.winehq.org/show_bug.cgi?id=12929
Leander Leander_nijland@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Leander_nijland@hotmail.com
--- Comment #100 from Leander Leander_nijland@hotmail.com 2008-08-05 08:28:32 --- How can I use the patches provided? I see only code, but I don't know how to apply the code.
I'm experiencing the same errors when I play return to castle wolfenstein.
This is the output of my terminal
wine Wolfsp.EXE libGL error: drmMap of framebuffer failed (Cannot allocate memory) libGL error: reverting to (slow) indirect rendering fixme:keyboard:RegisterHotKey ((nil),0,0x00000001,9): stub fixme:dsound:DllCanUnloadNow (void): stub fixme:keyboard:UnregisterHotKey ((nil),0): stub
My setup
ATI radeon mobility HD2600 Os: GENTOO linux kernel 2.6.25-r7 Driver: FGLRX 8.5 stock drivers.
Wolfenstein does run and pretty fast for indirect rendering. When I run the game without wine and use the linux version, the game is very fast, but crashes when loading into the game. I installed directX 9.0c on wine, having not directX 9.0c installed results in not even entering the game. It just crashes totally unexpected.
fglrxinfo says this: fglrxinfo display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: ATI Mobility Radeon HD 2600 OpenGL version string: 2.1.7659 Release
I don't want to hijack someones thread, but I think the problems are the same.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #101 from chris ahrendt celticht32@aol.com 2008-08-05 11:09:10 --- The previous error is bug: 13335
And these might all be related in one way or another...
As to the latest fix..
I ran the latest git (as of last night) tree using EverQuest2.exe
still same failure as before. However now if I do the ulimit -s unlimited I did get the loader screen to come up once.
The weird thing is though when I do the ulimit it goes fullscreen or seems to.. the screen goes black until one term session updates then I see that term session.
This occurs even when I am using the virtual desktop setting .. Once this occurs I usually have to restart X otherwise my desktop is corrupted (black spots in the taskbar etc). Also as the app loads it eventually fails trying to load a font from the EQ2 UI directory and then shuts down.
If I don't use the ulimit. I get both bug 13335 and this bug.
chris
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #102 from Wang Bin wangbinrobin@yahoo.com.cn 2008-08-06 06:17:25 --- (In reply to comment #93)
(In reply to comment #52)
Just a guess, but try disabling GL_ATI_separate_stencil and GL_ATI_envmap_bumpmap by commenting them out at line 57 and 60 of dlls/wined3d/directx.c
I can confirm that disabling these extensions works on 32-bit systems. In fact, not only did issues with 3D games go away (I tested with Guild Wars, will test more soon), but regular programs now work: Adobe Photoshop CS2 crashed every time I ran it, and now runs nearly flawlessly, and Office 2007 installed and Word and Excel run great whereas previously the suite wouldn't even install. All I can say is that this tweak in the code has given me a stable, working wine/fglrx-with-DRI combo for the first time in years. Test config:
- Intel Pentium 4 2.6 GHz
- ATI FireGL X1-128
- Gentoo Linux running kernel 2.6.25-r6
- fglrx 8.501
- Used Wine 1.1.2 source as starting point
Disable GL_ATI_envmap_bumpmap can make it work, but it is very slow when run oblivion by wine. any one meet the same problem?
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #103 from Leander Leander_nijland@hotmail.com 2008-08-07 09:58:47 --- I fixed wolfenstein running without wine on linux, it turned out to be a problem with the sound drivers. I'm having problems only with wine now. How can I apply the patches provided, because I really would like to get rid of this problem and play games with direct rendering.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #104 from Daniel Wright T_Beermonster@hotmail.com 2008-08-22 07:55:31 --- At the risk of sounding like a complete idiot where can I find "dlls/wined3d/directx.c" to comment the requisite lines out? Or is this fix available only to those compiling wine from scratch rather than installing from a repository?
http://bugs.winehq.org/show_bug.cgi?id=12929
Hew McLachlan hew.mclachlan@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hew.mclachlan@gmail.com
--- Comment #105 from Hew McLachlan hew.mclachlan@gmail.com 2008-08-22 08:51:40 --- c files are source code, so you're right, you can only apply this fix when compiling from source.
http://bugs.winehq.org/show_bug.cgi?id=12929
cruiseoveride cruiseoveride@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cruiseoveride@gmail.com
--- Comment #106 from cruiseoveride cruiseoveride@gmail.com 2008-08-23 01:21:56 --- Could the people in question please try the Catalyst v8.8 and see if it makes any difference.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #107 from Bryan Austin other@bja888.com 2008-08-23 01:33:58 --- Nope, 8.8 does not fix it. The fix still works in 8.8. I had to downgrade to 8.4 due to another bug. This is the config that works best for me.
Ubuntu 8.04 Driver version: 8.47.3 Catalyst version: 1.8 Wine: 1.1.3 (with lines 57 & 60 commented out in "dlls/wined3d/directx.c")
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #108 from cruiseoveride cruiseoveride@gmail.com 2008-08-24 17:47:32 --- So is this a bug in the fglrx driver or just that wine has been developed primarily with nvidia graphics hardware?
If this is a fglrx bug, has some opened a ticket for this on the AMD website?
http://bugs.winehq.org/show_bug.cgi?id=12929
slimani sami slimsamister@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |slimsamister@gmail.com
--- Comment #109 from slimani sami slimsamister@gmail.com 2008-08-27 14:09:24 --- I experience the same BUG withe my 3870 AIT card, the game crash when i launch it i switched to my old 8600GT to be able to play again
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #110 from Nenad Mikša DoDoEntertainment@gmail.com 2008-08-29 11:46:04 --- Can someone please create 64-bit .deb with lines 57 and 60 commented out? Or at least a tar.gz with binaries? I've spent last 3.5 hours trying to compile wine on my 64-bit hardy heron. I followed the rules on http://wiki.winehq.org/WineOn64bit#head-7703cf4cc6b63630523cf66e77d621e4f81b... and http://ubuntuforums.org/showthread.php?t=755708 but my libfreetype and libxi just can't be detected. On the other hand, if I don't use the -m32 option of gcc, configure passes (i.e. libfreetype is detected correctly, but libxi isn't), but I get some strange assembler error:
dodo@2nd-of-12:~/wine_new/wine$ make make[1]: Entering directory `/home/dodo/wine_new/wine/tools' make[1]: `makedep' is up to date. make[1]: Leaving directory `/home/dodo/wine_new/wine/tools' make[1]: Entering directory `/home/dodo/wine_new/wine/libs' make[2]: Entering directory `/home/dodo/wine_new/wine/libs/port' gcc-4.2 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -D__i386__ -o interlocked.o interlocked.c {standard input}: Assembler messages: {standard input}:38: Error: suffix or operands invalid for `push' {standard input}:39: Error: suffix or operands invalid for `push' {standard input}:46: Error: suffix or operands invalid for `pop' {standard input}:47: Error: suffix or operands invalid for `pop' make[2]: *** [interlocked.o] Error 1 make[2]: Leaving directory `/home/dodo/wine_new/wine/libs/port' make[1]: *** [port] Error 2 make[1]: Leaving directory `/home/dodo/wine_new/wine/libs' make: *** [libs] Error 2
Please someone help me! I used the radeon driver checked out from git on 2008-08-02 for R500 3D support, but this left me without X every time I did a kernel upgrade and that made me a bit nervous. Now I've installed catalyst 8.8 and can't play heroes of might and magic 4 anymore (I only wonder why this game requires 3D when it is 2D???)
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #111 from Vitaliy Margolen vitaliy@kievinfo.com 2008-08-29 11:52:54 --- (In reply to comment #110)
gcc-4.2 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -D__i386__ -o interlocked.o interlocked.c
You didn't follow everything correctly. The above command missing -m32. Please take these sort of problems to forums/IRC. Bugzilla is for Wine bugs only.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #112 from MIchael Jones eternalorb@gmail.com 2008-08-29 12:45:23 --- (In reply to comment #111)
(In reply to comment #110)
gcc-4.2 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -D__i386__ -o interlocked.o interlocked.c
You didn't follow everything correctly. The above command missing -m32. Please take these sort of problems to forums/IRC. Bugzilla is for Wine bugs only.
It looks like it should go on the bug tracker if he is having a problem confirming that a fix is a fix. If instructions are unclear enough that he has to ask about them than that is a bug in and of itself.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #113 from Nenad Mikša DoDoEntertainment@gmail.com 2008-08-29 16:22:08 --- (In reply to comment #52)
Just a guess, but try disabling GL_ATI_separate_stencil and GL_ATI_envmap_bumpmap by commenting them out at line 57 and 60 of dlls/wined3d/directx.c
Unfortunately, this hack doesn't fix it for me. Indeed, now I can start Unreal Tournament GOTY without it being crashed, but I got terrible screen corruption and I had to go to tty1 and kill the UnrealTournament.exe in order to restore my screen. Heroes of might and magic 4 still crash at startup. On the other hand, while using open source radeon driver with R500 3D support (checked out from git), I can play heroes4, roller coaster tycoon and yu-gi-oh kaiba the revenge without any problems. Unreal tournament is startable but not playable with radeon driver. And all that work only in windowed mode, but not in fullscreen mode (with, of course, compiz turned on).
http://bugs.winehq.org/show_bug.cgi?id=12929
Daniel daniel.spies@fuceekay.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.spies@fuceekay.com
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #114 from Daniel daniel.spies@fuceekay.com 2008-09-08 04:12:50 --- Just confirming for Wine 1.1.3 (1.1.4 to follow soon) with Catalyst 8.8 and ATi Radeon HD2600 XT. Bug's existing for at least Counter Strike 1.6 (Steam), EVE Online and Sacred Gold. I did not try other games.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #115 from Nenad Mikša DoDoEntertainment@gmail.com 2008-09-08 04:31:20 --- (In reply to comment #113)
(In reply to comment #52)
Just a guess, but try disabling GL_ATI_separate_stencil and GL_ATI_envmap_bumpmap by commenting them out at line 57 and 60 of dlls/wined3d/directx.c
Unfortunately, this hack doesn't fix it for me. Indeed, now I can start Unreal Tournament GOTY without it being crashed, but I got terrible screen corruption and I had to go to tty1 and kill the UnrealTournament.exe in order to restore my screen. Heroes of might and magic 4 still crash at startup. On the other hand, while using open source radeon driver with R500 3D support (checked out from git), I can play heroes4, roller coaster tycoon and yu-gi-oh kaiba the revenge without any problems. Unreal tournament is startable but not playable with radeon driver. And all that work only in windowed mode, but not in fullscreen mode (with, of course, compiz turned on).
Sorry, looks like this is another bug ("the checkerboard of doom"). It was solved for me by downgrading to catalyst 8.3 from ubuntu's repository. Now this fix (from comment #52) works for me. Thank you very much!
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #116 from Nenad Mikša DoDoEntertainment@gmail.com 2008-09-08 04:33:28 --- For me, and for most of the people here, worked the solution from comment #52. Looks like this was a wine bug after all. By commenting out these 2 lines, I've finally got the working wine3d on my fglrx driver (catalyst 8.3 from hardy's repository). I suggest this fix should enter the normal release of wine, so users which are using wine from packages (rpms or debs) and are not compiling wine by themselves, could also enjoy the DX games via wine on fglrx. I believe this bug is finally fixed.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #117 from Daniel daniel.spies@fuceekay.com 2008-09-08 04:54:40 --- I will try this today in the evening and report if it worked. Will try Sacred and CS, as I don't want to download the whole EVE client again.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #118 from H. Verbeet hverbeet@gmail.com 2008-09-08 05:12:55 --- (In reply to comment #116)
For me, and for most of the people here, worked the solution from comment #52. Looks like this was a wine bug after all. By commenting out these 2 lines, I've finally got the working wine3d on my fglrx driver (catalyst 8.3 from hardy's repository). I suggest this fix should enter the normal release of wine, so users which are using wine from packages (rpms or debs) and are not compiling wine by themselves, could also enjoy the DX games via wine on fglrx. I believe this bug is finally fixed.
No, that's just a workaround. If anything, it points towards the problem being on the fglrx side. Note that this bug won't go anywhere unless either someone convinces AMD to look into it, or someone who's affected by this bug narrows it down enough to reproduce it in a standalone GL application, like I asked in comment #57.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #119 from Nenad Mikša DoDoEntertainment@gmail.com 2008-09-08 06:09:35 --- (In reply to comment #117)
I will try this today in the evening and report if it worked. Will try Sacred and CS, as I don't want to download the whole EVE client again.
Counter Strike definitely works. I played it yesterday in LAN.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #120 from Nenad Mikša DoDoEntertainment@gmail.com 2008-09-08 06:13:43 --- (In reply to comment #118)
(In reply to comment #116) No, that's just a workaround. If anything, it points towards the problem being on the fglrx side. Note that this bug won't go anywhere unless either someone convinces AMD to look into it, or someone who's affected by this bug narrows it down enough to reproduce it in a standalone GL application, like I asked in comment #57.
I understand. But what are these two lines actually important for? I doubt they are very important, because most of games work with these lines commented out.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #121 from Wang Bin wangbinrobin@yahoo.com.cn 2008-09-08 06:25:40 --- (In reply to comment #120)
(In reply to comment #118)
(In reply to comment #116) No, that's just a workaround. If anything, it points towards the problem being on the fglrx side. Note that this bug won't go anywhere unless either someone convinces AMD to look into it, or someone who's affected by this bug narrows it down enough to reproduce it in a standalone GL application, like I asked in comment #57.
I understand. But what are these two lines actually important for? I doubt they are very important, because most of games work with these lines commented out.
The crashing issue is indeed fglrx driver's problem and it have been fixed in the latest fglrx drivers. But now I found Oblivion run very slowly with fglrx drivers, does anyone also meet the same issue? Is it wine's or fglrx driver's problem?
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #122 from Daniel daniel.spies@fuceekay.com 2008-09-08 09:07:17 --- I bet it's a fglrx issue, but can be fixed with WINE. I am not sure if AMD is willing to fix this fast, so Wine should help to solve it in the meantime. Counter Strike doesn't work with Steam-Version, fglrx Catalyst 8.8 and HD2600xt, that's all I can say and prove. Let's see if the hack works for me this evening. (I will try wine 1.1.4 default first, though)
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #123 from Daniel daniel.spies@fuceekay.com 2008-09-08 09:37:27 --- (In reply to comment #121)
The crashing issue is indeed fglrx driver's problem and it have been fixed in the latest fglrx drivers. But now I found Oblivion run very slowly with fglrx drivers, does anyone also meet the same issue? Is it wine's or fglrx driver's problem?
The issue is not fixed in fglrx 8.8, or do you use any other/newer/beta version I don't know about? As already stated I used fglrx 8.8 (latest available on ati.amd.com) and WINE 1.1.3 (will try with 1.1.4 this evening), and it's not fixed in any way.
To be honest (sry off topic): I bought a ATI card because I wanted to support their new Linux strategy, but I guess everyone knows the bug that doesn't let your Xserver shut down or restart (PC freezes completely). This bug is around for 2 years now, and was never fixed. Now this issue came up and I cannot play games any more. Why the hell should I stay with ATI? I give it some more time though...
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #124 from Wang Bin wangbinrobin@yahoo.com.cn 2008-09-08 11:25:50 --- (In reply to comment #123)
(In reply to comment #121)
The crashing issue is indeed fglrx driver's problem and it have been fixed in the latest fglrx drivers. But now I found Oblivion run very slowly with fglrx drivers, does anyone also meet the same issue? Is it wine's or fglrx driver's problem?
The issue is not fixed in fglrx 8.8, or do you use any other/newer/beta version I don't know about? As already stated I used fglrx 8.8 (latest available on ati.amd.com) and WINE 1.1.3 (will try with 1.1.4 this evening), and it's not fixed in any way. To be honest (sry off topic): I bought a ATI card because I wanted to support their new Linux strategy, but I guess everyone knows the bug that doesn't let your Xserver shut down or restart (PC freezes completely). This bug is around for 2 years now, and was never fixed. Now this issue came up and I cannot play games any more. Why the hell should I stay with ATI? I give it some more time though...
The fix could be included in the next offical release. But after fixing the crashing issue, Oblivion still run very slowly by wine. There should not be any Xserver shut down freezing issue, what version of Linux do you use?
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #125 from Daniel daniel.spies@fuceekay.com 2008-09-08 13:49:21 --- (In reply to comment #124)
The fix could be included in the next offical release. But after fixing the crashing issue, Oblivion still run very slowly by wine. There should not be any Xserver shut down freezing issue, what version of Linux do you use?
Okay, but Oblivian is not part of this bug in general, is it? Should be a seperate bug. I'll do the 1.1.4 default test with CS 1.6 now. If it's still crashing I will try the patch from comment #52 with 1.1.4.
I'm using Kubuntu 8.04 32bit with KDE3. This was never fixed for me. This bug is only fixed partial. They tell often it's fixed, but in the end it's only fixed for specific graphic cards or so.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #126 from Daniel daniel.spies@fuceekay.com 2008-09-09 00:55:37 --- Okay, 1.1.4 doesn't work (as expected). The modified version (commend #52) was freezing right before you should see the info-box on a CS server after you connected. I had no time left so I will do it this evening. Going to do a fresh .wine folder and give it one more try...
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #127 from cruiseoveride cruiseoveride@gmail.com 2008-09-09 13:06:27 --- Whenever you rebuild/update wine, it is common practice when debugging to clear out your wineprefix (ie ~/.wine). When testing multiple versions of wine on the same system, make sure to have PATH, and LD_LIBRARY_PATH setup correctly, and switch to new wineprefixes with WINEPREFIX.
eg.
export PATH=/opt/wine1.1.3/bin:$PATH export LD_LIBRARY_PATH=/opt/wine1.1.3/lib export WINEPREFIX=/home/blah/testing1.1.3
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #128 from Daniel daniel.spies@fuceekay.com 2008-09-09 14:38:37 --- (In reply to comment #127)
Whenever you rebuild/update wine, it is common practice when debugging to clear out your wineprefix (ie ~/.wine). When testing multiple versions of wine on the same system, make sure to have PATH, and LD_LIBRARY_PATH setup correctly, and switch to new wineprefixes with WINEPREFIX.
eg.
export PATH=/opt/wine1.1.3/bin:$PATH export LD_LIBRARY_PATH=/opt/wine1.1.3/lib export WINEPREFIX=/home/blah/testing1.1.3
Thank you, but if it would have been working, it would have been still a proof of the fix, right? As it was too late to continue I just gave a short statement on what happened until that time, and what I will do next. Now I'm done with my testing and archived a fresh install by simply deleting the .wine dir. This is not a big deal if nothing works anyway...
So, the result is not that good. I removed the lines from the file by commenting them out. (line #56 and #59 in wine 1.1.4):
/* ATI */ //{"GL_ATI_separate_stencil", ATI_SEPARATE_STENCIL, 0 }, {"GL_ATI_texture_env_combine3", ATI_TEXTURE_ENV_COMBINE3, 0 }, {"GL_ATI_texture_mirror_once", ATI_TEXTURE_MIRROR_ONCE, 0 }, //{"GL_ATI_envmap_bumpmap", ATI_ENVMAP_BUMPMAP, 0 }, {"GL_ATI_fragment_shader", ATI_FRAGMENT_SHADER, 0 }, {"GL_ATI_texture_compression_3dc", ATI_TEXTURE_COMPRESSION_3DC, 0 },
After that I did a "aptitude remove wine" then "rm -rf ~/.wine" then "./configure" followed by a "make" and "sudo make install".
The freezing still appears after a few seconds in game. It's like a big lag, then the sound is always repeating one second (the last second of the game-sound repeated in a infinity loop). And there is no CTRL+BACKSP, nor switch to TTY anymore. Damned...
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #129 from Daniel Scharrer dscharrer@gmail.com 2008-09-09 14:53:22 --- (In reply to comment #128)
The freezing still appears after a few seconds in game. It's like a big lag, then the sound is always repeating one second (the last second of the game-sound repeated in a infinity loop). And there is no CTRL+BACKSP, nor switch to TTY anymore. Damned...
If the freezing always occurs when the background music changes (ie: when an enemy sees you or you've killed all enemies), try disabling quartz.dll (in winecfg, under Libraries). This is a different bug however.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #130 from Daniel daniel.spies@fuceekay.com 2008-09-09 15:27:31 --- (In reply to comment #129) Actually there is no background music. It just repeats the sound that was enabled at the moment of the freeze. Let's say you hear your own steps. Then this sound is just repeated over and over again. Like "knock, knock, knock, knock..."... It may occur if you run for 2 minutes on a emty server only hearing your own footsteps, and then freezes. So I guess this is not a reason for freezing, it's just a side effect. It seems logical that the sound is also affected by a total system freeze...
Could anyone else try with 1.1.4 if the trick from comment #52 still works for him?
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #131 from Daniel daniel.spies@fuceekay.com 2008-09-12 01:28:50 --- Are you still alive?
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #132 from Matteo Modesti mattemod@gmail.com 2008-09-12 06:14:25 --- I'm a lot busy in this period, so I'll try last GIT when I can.
Anyway, like I said in comment #99:
I confirm that with wine-1.1.2-253-g9b57217 I can start Morrowind without commenting out the GL_ATI_envmap_bumpmap line. I only loaded a game and killed 2 monsters so I don't know if it could crash playing some more time, but since it crashed on start I think it's been "fixed".
so I think you all could try to launch games even without commenting the GL_ATI_envmap_bumpmap line... obviously, try it with the last Wine versions (preferably current GIT) otherwise don't even comment this bug... (it'll only increase the comment number, and that's bad)
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #133 from Bas Zoetekouw bas@debian.org 2008-09-13 06:36:48 --- I'm no longer experiencing this bug with Wine 1.1.4 and fglrx 8.6. Civilization 4 runs perfectly now \o/
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #134 from Wang Bin wangbinrobin@yahoo.com.cn 2008-09-17 21:29:57 --- (In reply to comment #133)
I'm no longer experiencing this bug with Wine 1.1.4 and fglrx 8.6. Civilization 4 runs perfectly now \o/
With Wine 1.1.4, Oblivion can run, But it is very slow using fglrx drivers. I also tried nbalive2008 and need for speed, it can be run by wine but very slow for fglrx. Any one have debuged on this issue?
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #135 from Martin deadlock@start.no 2008-09-24 09:29:50 --- Using Wine 1.1.5, AMD Catalyst 8.6 driver, an HIS Radeon HD 3870 graphics card. Morrowind installs and runs fine. I got that nasty large blue square that somebody else complained about in another bug report, but at least it runs fine.
http://bugs.winehq.org/show_bug.cgi?id=12929
Jan Jergus janjergus@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |janjergus@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #136 from Nenad Mikša DoDoEntertainment@gmail.com 2008-10-17 16:12:27 --- *** Bug 12403 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=12929
Edward vbgraphix2003@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vbgraphix2003@hotmail.com
--- Comment #137 from Edward vbgraphix2003@hotmail.com 2008-11-16 01:27:16 --- seems fixed for me in Oblivion as of 8.10 with 1.1.8
While outdoors there are all sorts of weird shapes over the screen, but the game finally runs
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #138 from Leander Leander_nijland@hotmail.com 2008-11-16 07:42:05 --- (In reply to comment #137)
seems fixed for me in Oblivion as of 8.10 with 1.1.8
While outdoors there are all sorts of weird shapes over the screen, but the game finally runs
Ati driver 8.10 apparently did not fix it alone. Check this link, still peoples with the same old problem. http://forum.winehq.org/viewtopic.php?p=14566&sid=bb5a444156e547ec4b4ea0...
That was with wine 1.1.7 and catalyst 8.10. I'll try to update to wine 1.1.8 and see if it is fixed. The list of bugfixes for wine 1.1.8 seems promising though.
Bugs fixed in 1.1.8:
* Werkkzeug 1 remains black and creates buffer underruns * Commandos get's very slow (almost locked) while mouse is moving * Keyboard problem with Alien vs Predator 2 demo ........ * memory allocation fails <---- maybe this is/was our problem??
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #139 from Edward vbgraphix2003@hotmail.com 2008-11-17 01:26:35 --- (In reply to comment #138)
Ati driver 8.10 apparently did not fix it alone. Check this link, still peoples with the same old problem. http://forum.winehq.org/viewtopic.php?p=14566&sid=bb5a444156e547ec4b4ea0...
I have not tried downloading 8.11 yet, because I have heard bad things about it in Intrepid. I am hoping 8.12 will be packaged for us, as I heard there may be new video acceleration and other potentially big features.
Yet, I have a feeling the driver is playing a big role in this.
* memory allocation fails <---- maybe this is/wa
Were you able to get the game running at all? I wasn't able to for the longest time. I installed Oldblivion, and I think this was the first time I did it, but it allowed me to go outside.
I think turning off most shaders helped get the game running in the beginning dungeons, but it looked like a game from the mid-90s since it was so pixelated, low res, and with no shaders. Oldblivion made the game look normal, at least indoors.
Here is what it looked like for me outdoors:
http://ubuntuforums.org/showthread.php?t=984826
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #140 from Leander Leander_nijland@hotmail.com 2008-11-17 08:40:40 --- (In reply to comment #139)
(In reply to comment #138)
Ati driver 8.10 apparently did not fix it alone. Check this link, still peoples with the same old problem. http://forum.winehq.org/viewtopic.php?p=14566&sid=bb5a444156e547ec4b4ea0...
I have not tried downloading 8.11 yet, because I have heard bad things about it in Intrepid. I am hoping 8.12 will be packaged for us, as I heard there may be new video acceleration and other potentially big features.
Yet, I have a feeling the driver is playing a big role in this.
* memory allocation fails <---- maybe this is/wa
Were you able to get the game running at all? I wasn't able to for the longest time. I installed Oldblivion, and I think this was the first time I did it, but it allowed me to go outside.
I think turning off most shaders helped get the game running in the beginning dungeons, but it looked like a game from the mid-90s since it was so pixelated, low res, and with no shaders. Oldblivion made the game look normal, at least indoors.
Not fixed for me, bug is not ready for close. 1.1.8 wine did not fix it, in combination with 8.10 driver did not fix it either. When playing GTA2 I still get the libGL error mem allocation fails.
Here is what it looked like for me outdoors:
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #141 from Edward vbgraphix2003@hotmail.com 2008-11-17 14:04:24 --- (In reply to comment #140)
Not fixed for me, bug is not ready for close. 1.1.8 wine did not fix it, in combination with 8.10 driver did not fix it either. When playing GTA2 I still get the libGL error mem allocation fails.
Did you install the proper dll files and make all the INI tweaks specified here: http://www.uesp.net/wiki/Oblivion:Linux
My card is an X1800 256mb. Also, I have 4GB of system RAM on a 64 bit OS. If this truly is a memory problem then it may only be for systems with less RAM or 32 bit systems.
There are a bunch of other tweaks you can try to reduce memory footprint. There are texture overhauls, polygon reducers, shader tweaks, etc. I can show you my INI file. Certain INI settings crash the game, especially water shader settings.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #142 from Edward vbgraphix2003@hotmail.com 2008-11-25 19:28:15 --- Potential Fix!!
http://ubuntuforums.org/showpost.php?p=6246894&postcount=6
I am away on thanksgiving break right now and cannot test this, but I figured I bet let all of you know about it.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #143 from Daniel daniel.spies@fuceekay.com 2008-11-27 05:00:57 --- After five minutes no crash, seems that fixed it for me. Awesome... Need more testing though.
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #144 from Daniel daniel.spies@fuceekay.com 2008-11-27 05:10:16 --- Okay, tested Counter Strike 1.6, Sacred 2 - Fallen Angel and Far Cry 2. CS 1.6 works but the other games don't. Guess this is because the other games don't use OpenGl... X(
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #145 from Leander Leander_nijland@hotmail.com 2008-11-27 07:42:30 --- (In reply to comment #142)
Potential Fix!!
http://ubuntuforums.org/showpost.php?p=6246894&postcount=6
I am away on thanksgiving break right now and cannot test this, but I figured I bet let all of you know about it.
That still don't fixed it for me. I guess they'll never make it. Still no fix or a way howto.
http://bugs.winehq.org/show_bug.cgi?id=12929
Thobias Reaper thobias.reaper@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thobias.reaper@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #146 from Daniel daniel.spies@fuceekay.com 2009-02-01 14:52:11 --- (In reply to comment #145)
(In reply to comment #142)
Potential Fix!!
http://ubuntuforums.org/showpost.php?p=6246894&postcount=6
I am away on thanksgiving break right now and cannot test this, but I figured I bet let all of you know about it.
That still don't fixed it for me. I guess they'll never make it. Still no fix or a way howto.
It's not fixed for me either, after more gameplay testing (also with Catalyst 9.1 and wine 1.1.14) the freeze for OPenGL games like Counter Strike 1.6 is only delayed by 10-20 minutes. Maybe it's mere chance...
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #147 from Daniel daniel.spies@fuceekay.com 2009-02-01 14:59:17 --- Created an attachment (id=19169) --> (http://bugs.winehq.org/attachment.cgi?id=19169) crash log counter strike 1.6
I forgot this one. It's the latest log from running a counter strike session until freeze. I hope nothing is missing, as I had to reset my computer after the freeze. This is what I got from "(env WINEPREFIX="/home/irrlicht/.wine-steam/" wine "C:\Program Files\Steam\steam.exe" -applaunch 10 -console -gl 2>&1) > /home/irrlicht/Desktop/wine.log" until freeze/hardware reset.
http://bugs.winehq.org/show_bug.cgi?id=12929
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jschimke@gmail.com
--- Comment #148 from Austin English austinenglish@gmail.com 2009-02-26 11:24:30 --- *** Bug 10685 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=12929
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kennybobs@o2.co.uk
http://bugs.winehq.org/show_bug.cgi?id=12929
Yann Droneaud yann@droneaud.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yann@droneaud.fr
http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #149 from qaridarium@googlemail.com 2010-01-04 04:34:36 --- this bug is Obsolet i can play Oblivion with catalyst 9.12 without problems.
the error outputs shows to me no fglrx bugs
fixme:d3dx3DXGetImageInfoFromFileInMemory stub fixme:d3d:state_vertexblend_w Vertex blending enabled, but not supported by hardware fixme:d3d:state_zfunc D3DCMP_NOTEQUAL and D3DCMP_EQUAL do not work correctly yet fixme:d3dx3DXGetImageInfoFromFileInMemory stub
http://ug6.kw.cx/ug/0451/4478/104677262_full,r,470x470.jpg
bug closed!
http://bugs.winehq.org/show_bug.cgi?id=12929
Stefan Dösinger stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #150 from Stefan Dösinger stefandoesinger@gmx.at 2010-01-04 04:36:56 --- reported fixed
http://bugs.winehq.org/show_bug.cgi?id=12929
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #151 from Jeff Zaroyko jeffz@jeffz.name 2010-01-09 04:54:53 --- Closing bugs fixed in 1.1.36.