http://bugs.winehq.org/show_bug.cgi?id=14758
Summary: drakensang can not create render surface Product: Wine Version: 1.1.2 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: frick@sc-networks.de
game crashes after intro movie when entering 3d mode.
there is a demo for the game - but note, that i have not tried the demo and the error occurs with the full version: http://www.drakensang.de/oe_uploads/downloads/drakensang_demo.zip
installed game, applied no-cd-patch, installed dx9 from cd. winecfg is: winxp with the following overrides:
"d3d8"="builtin" "d3d9"="builtin" "d3dim"="native" "d3drm"="native" "d3dx8"="native" "d3dx9_24"="native" "d3dx9_25"="native" "d3dx9_26"="native" "d3dx9_27"="native" "d3dx9_28"="native" "d3dx9_29"="native" "d3dx9_30"="native" "d3dx9_31"="native" "d3dx9_32"="native" "d3dx9_33"="native" "d3dx9_34"="native" "d3dx9_35"="native" "d3dx9_36"="native" "d3dx9_37"="native" "d3dx9_38"="native" "d3dxof"="native" "dciman32"="native" "ddrawex"="native" "devenum"="native" "dinput"="builtin" "dinput8"="builtin" "dmband"="native" "dmcompos"="native" "dmime"="native" "dmloader"="native" "dmscript"="native" "dmstyle"="native" "dmsynth"="native" "dmusic"="native" "dmusic32"="native" "dnsapi"="native" "dplay"="native" "dplayx"="native" "dpnaddr"="native" "dpnet"="native" "dpnhpast"="native" "dpnlobby"="native" "dsound"="builtin" "dswave"="native" "dxdiagn"="native" "mscoree"="native" "msdmo"="native" "qcap"="native" "quartz"="native" "streamci"="native"
machine is ubuntu hardy 64; wine is from winehq by apt-get; gfx-card is nivida with 169.12 drivers
http://bugs.winehq.org/show_bug.cgi?id=14758
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #1 from Austin English austinenglish@gmail.com 2008-08-04 14:26:51 --- Geez. Try without all those native dlls. If there are other bugs in the program that those dlls are hiding, file bugs for those issues first.
Also, please test the demo before providing a link. If the demo doesn't show the same issue, it's pretty useless.
http://bugs.winehq.org/show_bug.cgi?id=14758
--- Comment #2 from Christoph Frick frick@sc-networks.de 2008-08-04 15:17:23 --- Created an attachment (id=15262) --> (http://bugs.winehq.org/attachment.cgi?id=15262) stderr; ask for logs
http://bugs.winehq.org/show_bug.cgi?id=14758
--- Comment #3 from Christoph Frick frick@sc-networks.de 2008-08-04 15:22:47 --- Created an attachment (id=15263) --> (http://bugs.winehq.org/attachment.cgi?id=15263) stderr - this time with every dlloverride removed except quartz.dll
http://bugs.winehq.org/show_bug.cgi?id=14758
--- Comment #4 from Christoph Frick frick@sc-networks.de 2008-08-04 15:27:00 --- i will check the demo; but downloading 500mb over an 384kb/s line will delay that until tomorrow.
http://bugs.winehq.org/show_bug.cgi?id=14758
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #5 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-08-10 07:31:28 --- it looks like the problem is:
err:d3d:getColorBits Unsupported format: WINED3DFMT_R32F
With the ,obviously very wrong, hack below the crash is gone for me, and i can start the game (demo). I remember someone was working on getcolorbits, and sent a patch to wine-patches; maybe you could see if it solves the issue
hack: diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c index 98f7eef..1783d12 100644 --- a/dlls/wined3d/utils.c +++ b/dlls/wined3d/utils.c @@ -1267,14 +1267,14 @@ BOOL getColorBits(WINED3DFORMAT fmt, short *redSize, short *greenSize, short *bl break; default: ERR("Unsupported format: %s\n", debug_d3dformat(fmt)); - return FALSE; + // return FALSE; } - +if(fmt==WINED3DFMT_R32F) fmt = WINED3DFMT_X8R8G8B8; desc = getFormatDescEntry(fmt, NULL, NULL); if(!desc) { ERR("Unable to look up format: 0x%x\n", fmt); - return FALSE; + // return FALSE; } *redSize = count_bits(desc->redMask); *greenSize = count_bits(desc->greenMask);
http://bugs.winehq.org/show_bug.cgi?id=14758
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |
--- Comment #6 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-08-10 07:34:53 --- as the crash is present in the demo for me as well, reopen this bug. Christoph, i suggest to have this bug report for the demo.
http://bugs.winehq.org/show_bug.cgi?id=14758
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=14758
--- Comment #7 from Christoph Frick frick@sc-networks.de 2008-08-10 14:34:46 --- i would like to state, that the game now works using this hack. i usually update wine every few days so i can report back here, if there are patches fixing this problem correctly
http://bugs.winehq.org/show_bug.cgi?id=14758
Benjamin winehq@eikel.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq@eikel.org
--- Comment #8 from Benjamin winehq@eikel.org 2008-08-12 12:05:19 --- The hack posted by Louis above works for me two. When I start the demo I can see the "intro" and the loading screen. After the progress bar reaches 100%, the game crashes. Does the demo work for you (are you able to play)? I do not have the full version yet and maybe the crash is only related to the demo. I am using Debian GNU/Linux unstable, wine-1.1.2-307-g520ab5c and NVIDIA driver 173.14.12.
http://bugs.winehq.org/show_bug.cgi?id=14758
Benjamin Eikel winehq@eikel.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #9 from Benjamin Eikel winehq@eikel.org 2008-08-12 14:43:04 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=14758
--- Comment #10 from Benjamin Eikel winehq@eikel.org 2008-08-21 12:03:17 --- Created an attachment (id=15524) --> (http://bugs.winehq.org/attachment.cgi?id=15524) Hack against the newest Git version.
With the newest Git version and the attached patch I am able to start the Drakensang demo.
http://bugs.winehq.org/show_bug.cgi?id=14758
--- Comment #11 from Christoph Frick frick@sc-networks.de 2008-08-21 15:36:31 --- current git seem to work without any of the hacks - at least with the lowest graphic settings
http://bugs.winehq.org/show_bug.cgi?id=14758
--- Comment #12 from Benjamin Eikel winehq@eikel.org 2008-08-21 15:49:52 --- It does not work for me. Does not matter what graphics settings. I get the error message: err:d3d:getColorBits Unsupported format: WINED3DFMT_R32F
http://bugs.winehq.org/show_bug.cgi?id=14758
--- Comment #13 from Alexander Holz qendivardo@gmx.de 2008-08-22 01:09:18 --- Un"hacked" wine-1.1.2-628-g5d900bb doesn't work for me either, even with lowest settings (800x600, ShadowMode="0" EnvironmentEffects="false" OutdoorLighting="false"). Interestingly, there is a call for WINED3DFMT_A16B16G16R16F before the one for WINED3DFMT_R32F. Still, the game fails to create a render surface then (if it's not changed as in the hack).
http://bugs.winehq.org/show_bug.cgi?id=14758
--- Comment #14 from Martin Bergner martin.bergner@online.de 2008-08-27 13:16:52 --- Created an attachment (id=15689) --> (http://bugs.winehq.org/attachment.cgi?id=15689) Error message with 1.1.3 and last patch from Benjamin
I installed 1.1.3 with the last patch from Benjamin, this is the error message I got, log follows. I installed the audio dlls as specified before in the appdb.
http://bugs.winehq.org/show_bug.cgi?id=14758
--- Comment #15 from Martin Bergner martin.bergner@online.de 2008-08-27 13:17:31 --- Created an attachment (id=15690) --> (http://bugs.winehq.org/attachment.cgi?id=15690) Error log with 1.1.3
Error log.
http://bugs.winehq.org/show_bug.cgi?id=14758
Martin Bergner martin.bergner@online.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.bergner@online.de
http://bugs.winehq.org/show_bug.cgi?id=14758
--- Comment #16 from Fabian Bieler der.fabe@gmx.net 2009-01-14 16:55:34 --- With OffscreenRenderingMode set to fbo it works for me without the hack.
http://bugs.winehq.org/show_bug.cgi?id=14758
Florian mcflow-forum@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mcflow-forum@gmx.net
--- Comment #17 from Florian mcflow-forum@gmx.net 2009-02-28 08:11:18 --- (In reply to comment #10)
Created an attachment (id=15524)
--> (http://bugs.winehq.org/attachment.cgi?id=15524) [details]
Hack against the newest Git version.
With the newest Git version and the attached patch I am able to start the Drakensang demo.
The Patch won't compile with wine-1.1.16 With the previous wine version it worked fine.
http://bugs.winehq.org/show_bug.cgi?id=14758
Benjamin Eikel winehq@eikel.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #15524|0 |1 is obsolete| |
--- Comment #18 from Benjamin Eikel winehq@eikel.org 2009-02-28 08:52:27 --- Created an attachment (id=19711) --> (http://bugs.winehq.org/attachment.cgi?id=19711) Updated hack.
The constant was renamed. Compilation and installation works for me against the current Git version 1.1.6. I have not tested starting the game with this hack.
http://bugs.winehq.org/show_bug.cgi?id=14758
gnuf@mymail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gnuf@mymail.ch
--- Comment #19 from gnuf@mymail.ch 2009-05-19 08:29:54 --- The Patch won't compile with wine-1.1.21 With the previous wine version it worked fine.
http://bugs.winehq.org/show_bug.cgi?id=14758
--- Comment #20 from Austin English austinenglish@gmail.com 2009-11-19 12:52:44 --- This is your friendly reminder that there has been no bug activity for 6 months. Is this still an issue in current (1.1.33 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=14758
zil zilforever@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zilforever@gmail.com
--- Comment #21 from zil zilforever@gmail.com 2010-03-25 14:55:07 --- i got crash in wine 1.1.41 on: Call from 0x7b836692 to unimplemented function d3dx9_36.dll.D3DXCreateEffectPool, aborting after installing: wget http://www.kegel.com/wine/winetricks sh winetricks xact i aborted installation of directx while installing english demo. If i wouldnt the game works ok.
i see Christian Costa added d3dx9_36.dll.D3DXCreateEffectPool to git. But i got no time to compile Wine now.
http://bugs.winehq.org/show_bug.cgi?id=14758
--- Comment #22 from zil zilforever@gmail.com 2010-03-27 05:47:20 --- Created an attachment (id=27055) --> (http://bugs.winehq.org/attachment.cgi?id=27055) unimplemented function d3dx9_36.dll.D3DXCreateLine
ok now it crash on unimplemented function d3dx9_36.dll.D3DXCreateLine Bug 20117
http://bugs.winehq.org/show_bug.cgi?id=14758
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com
--- Comment #23 from Vijay Kamuju infyquest@gmail.com 2010-09-27 03:57:08 CDT --- D3DXCreateLine is now implemented and bug 20117 is now closed please retest
http://bugs.winehq.org/show_bug.cgi?id=14758
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #24 from joaopa jeremielapuree@yahoo.fr 2011-05-14 23:17:21 CDT --- This bug could be marked as ABANDONED
http://bugs.winehq.org/show_bug.cgi?id=14758
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #25 from Austin English austinenglish@gmail.com 2011-05-15 12:08:40 CDT --- http://www.gamershell.com/download_36990.shtml
starts fine in 1.3.20, so assuming fixed.
http://bugs.winehq.org/show_bug.cgi?id=14758
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #26 from Alexandre Julliard julliard@winehq.org 2011-05-27 13:38:09 CDT --- Closing bugs fixed in 1.3.21.