http://bugs.winehq.org/show_bug.cgi?id=22400
Summary: Thief 2 crashing on start of 3d level apparently not because of movies Product: Wine Version: unspecified Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: i30817@gmail.com
Created an attachment (id=27418) --> (http://bugs.winehq.org/attachment.cgi?id=27418) glxinfo
After managing to put thief 2 running by manually installing the invideo codecs, the introduction movies run, (so i guess the briefing movies would run too), but the 3d world crashes. There are errors from the quartz dll (from running the introduction, but the crash comes before the briefing movies run, but as the stack trace indicates, in wine3d.
paulo@AIVAS:~/Games/Pc/Wine Games/Thief2$ uname -a Linux AIVAS 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010 x86_64 GNU/Linux paulo@AIVAS:~/Games/Pc/Wine Games/Thief2$ wine --version wine-1.1.42
Thief was executed as: taskset -c 1 wine ./thief2.exe 2> errorT2.txt
in its directory.
http://bugs.winehq.org/show_bug.cgi?id=22400
--- Comment #1 from paulo i30817@gmail.com 2010-04-17 17:18:54 --- Created an attachment (id=27419) --> (http://bugs.winehq.org/attachment.cgi?id=27419) error msgs
http://bugs.winehq.org/show_bug.cgi?id=22400
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.1.42
http://bugs.winehq.org/show_bug.cgi?id=22400
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thunderbird2k@gmail.com
--- Comment #2 from Roderick Colenbrander thunderbird2k@gmail.com 2010-04-18 09:47:24 --- Could you try to create a log using: WINEDEBUG=+d3d,+wgl wine yourgame.exe? That would help a lot.
http://bugs.winehq.org/show_bug.cgi?id=22400
--- Comment #3 from paulo i30817@gmail.com 2010-04-18 11:17:27 --- Created an attachment (id=27440) --> (http://bugs.winehq.org/attachment.cgi?id=27440) d3d std err debug
http://bugs.winehq.org/show_bug.cgi?id=22400
--- Comment #4 from paulo i30817@gmail.com 2010-04-18 13:08:59 --- That log above was created without taskset -c 1. Would you like one with it?
I guess it is WINEDEBUG=+d3d,+wgl taskset -c 1 wine yourgame.exe
right?
http://bugs.winehq.org/show_bug.cgi?id=22400
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3d |opengl
--- Comment #5 from Roderick Colenbrander thunderbird2k@gmail.com 2010-04-18 13:53:06 --- I have seen the log but have to study a bit what is going wrong. It looks like the issue is in the Wine opengl code. I think it has something to do with the visuals / fbconfigs. The current code assumes (based on what Nvidia did) that when a format lacks a visual that it is an offscreen format (e.g. a float pbuffer format). It appears that this driver offers 16-bit glxfbconfigs for which there is no visual. The code might be making some assumptions but I have to check that in detail. I will try to write a patch.
http://bugs.winehq.org/show_bug.cgi?id=22400
--- Comment #6 from Roderick Colenbrander thunderbird2k@gmail.com 2010-04-18 14:18:13 --- Created an attachment (id=27445) --> (http://bugs.winehq.org/attachment.cgi?id=27445) Experimental fix
Give this patch a try. It might work. Also attach the same debug output as before but with this patch attached (so the d3d wgl log).
http://bugs.winehq.org/show_bug.cgi?id=22400
--- Comment #7 from paulo i30817@gmail.com 2010-04-18 20:33:40 --- The "easy way" to get the build dependencies for a 32 bit build doesn't work in my distro:
paulo@AIVAS:~/wine-git$ wget http://winezeug.googlecode.com/svn/trunk/install-wine-deps.sh --2010-04-19 02:31:24-- http://winezeug.googlecode.com/svn/trunk/install-wine-deps.sh Resolving winezeug.googlecode.com... 209.85.227.82 Connecting to winezeug.googlecode.com|209.85.227.82|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 7403 (7.2K) [text/plain] Saving to: `install-wine-deps.sh.1'
100%[======================================>] 7,403 --.-K/s in 0.05s
2010-04-19 02:31:25 (142 KB/s) - `install-wine-deps.sh.1' saved [7403/7403]
paulo@AIVAS:~/wine-git$ sudo sh install-wine-deps.shdistro Ubuntu 10.04 not supported
What can i do (i installed win-dev and flex and bison (needed to build 64 bit) build 64 bit, realized that that would be useless to build 32 bit programs and tried to get the libs with that script))?
http://bugs.winehq.org/show_bug.cgi?id=22400
--- Comment #8 from paulo i30817@gmail.com 2010-04-18 21:40:07 --- Ok i managed to install the libs by doing sudo apt-get build-dep wine applied the patch and built like this: paulo@AIVAS:~/wine-git$ make clean paulo@AIVAS:~/wine-git$ ./configure && make depend && make installed the invideo codec and ran thief like this:
paulo@AIVAS:~/wine-git$ WINEDEBUG=+d3d,+wgl taskset -c 1 ./wine ~/Games/Pc/Wine\ Games/Thief2/thief2.exe 2> thief2.txt
It failed. The log is attached.
http://bugs.winehq.org/show_bug.cgi?id=22400
--- Comment #9 from paulo i30817@gmail.com 2010-04-18 21:41:22 --- Created an attachment (id=27451) --> (http://bugs.winehq.org/attachment.cgi?id=27451) log
http://bugs.winehq.org/show_bug.cgi?id=22400
--- Comment #10 from paulo i30817@gmail.com 2010-04-18 21:41:46 --- I also remove the ~/.wine dir btw.
http://bugs.winehq.org/show_bug.cgi?id=22400
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #27445|0 |1 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=22400
--- Comment #11 from Roderick Colenbrander thunderbird2k@gmail.com 2010-04-19 10:41:42 --- Created an attachment (id=27456) --> (http://bugs.winehq.org/attachment.cgi?id=27456) New fix
Try this version instead.
http://bugs.winehq.org/show_bug.cgi?id=22400
--- Comment #12 from paulo i30817@gmail.com 2010-04-19 14:09:18 --- Sorry i might have fucked up in testing the previous patch by not updating thief 2 config files correctly (it didn't even play the movies because i moved the dir and forgot about it. I sorted it out now, and it goes to just before ingame just as i said on the original message and crashes. I attach here the result of both patches (git reset --hard && make clean between tries)
http://bugs.winehq.org/show_bug.cgi?id=22400
--- Comment #13 from paulo i30817@gmail.com 2010-04-19 14:10:08 --- Created an attachment (id=27461) --> (http://bugs.winehq.org/attachment.cgi?id=27461) patch 1 std err
http://bugs.winehq.org/show_bug.cgi?id=22400
--- Comment #14 from paulo i30817@gmail.com 2010-04-19 14:10:33 --- Created an attachment (id=27462) --> (http://bugs.winehq.org/attachment.cgi?id=27462) patch 2 std err
http://bugs.winehq.org/show_bug.cgi?id=22400
--- Comment #15 from paulo i30817@gmail.com 2010-04-19 14:12:02 --- Only patch 2 allowed me to go into the menu.
http://bugs.winehq.org/show_bug.cgi?id=22400
--- Comment #16 from paulo i30817@gmail.com 2010-04-19 14:27:53 --- (In reply to comment #15)
Only patch 2 allowed me to go into the menu.
Besides the original wine 1.1.42 i meant.
http://bugs.winehq.org/show_bug.cgi?id=22400
--- Comment #17 from Roderick Colenbrander thunderbird2k@gmail.com 2010-04-19 15:07:33 --- Created an attachment (id=27465) --> (http://bugs.winehq.org/attachment.cgi?id=27465) Better fix
I expect this patch to work fine.
http://bugs.winehq.org/show_bug.cgi?id=22400
--- Comment #18 from paulo i30817@gmail.com 2010-04-19 15:52:52 --- It goes in game. However it displays a black screen (the sounds are working so i assume the engine is too).
http://bugs.winehq.org/show_bug.cgi?id=22400
--- Comment #19 from paulo i30817@gmail.com 2010-04-19 15:58:05 --- The log is 3 mb compressed and too large to host here. A rapidshare is given instead: http://rapidshare.com/files/377789425/patch3_result.tar.gz.html
http://bugs.winehq.org/show_bug.cgi?id=22400
--- Comment #20 from Roderick Colenbrander thunderbird2k@gmail.com 2010-04-19 16:10:25 --- The black screen is a different issue and would require a different bug report. I can't easily say what the issue is but considering the quality of the radeon driver don't be surprised if it is a driver bug. Try disabling FBOs in the registry (OffscreenRenderingMode). I'll submit this patch.
http://bugs.winehq.org/show_bug.cgi?id=22400
--- Comment #21 from paulo i30817@gmail.com 2010-04-19 16:19:57 --- Disabling fbo worked. I will open a bug report.
http://bugs.winehq.org/show_bug.cgi?id=22400
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |22427
http://bugs.winehq.org/show_bug.cgi?id=22400
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #22 from Roderick Colenbrander thunderbird2k@gmail.com 2010-04-20 11:36:50 --- Fixed in git by commit 26862c5ece31d9e297d87e82b47dfa4e31247ab9
http://bugs.winehq.org/show_bug.cgi?id=22400
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Alexandre Julliard julliard@winehq.org 2010-05-07 13:30:21 --- Closing bugs fixed in 1.1.44.
http://bugs.winehq.org/show_bug.cgi?id=22400
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks|22427 |