http://bugs.winehq.org/show_bug.cgi?id=15157
Summary: Thief the dark project crashes on startup. Product: Wine Version: 1.1.3 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P1 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: Squirtle50@gmail.com
Created an attachment (id=15882) --> (http://bugs.winehq.org/attachment.cgi?id=15882) "wine C:\thief\thief.exe"
I installed the game well (i had to change to windows 98 mode), but as soon as i try to run it from the command line, it opens, or seems to open very briefly then immediately crashes. i attached the stuff from the command line after i entered the command "wine C:\thief\thief.exe". I doubt it's a hardware problem, because it used to run when i used windows.
http://bugs.winehq.org/show_bug.cgi?id=15157
Alexander Dorofeyev alexd4@inbox.lv changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexd4@inbox.lv
--- Comment #1 from Alexander Dorofeyev alexd4@inbox.lv 2008-09-06 19:38:58 --- There was a bug in 1.1.3 that affected many games including System Shock 2 (also based on Dark Engine), the bug is fixed in 1.1.4. So you should retest with 1.1.4 (or git).
http://bugs.winehq.org/show_bug.cgi?id=15157
Kae Verens kae@verens.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kae@verens.com
--- Comment #2 from Kae Verens kae@verens.com 2008-11-28 11:21:36 --- I'm having trouble starting it as well. I'll add an attachment detail my own attempt
Wine 1.1.7 in Fedora 10 wine-1.1.7-1.fc10.i386
http://bugs.winehq.org/show_bug.cgi?id=15157
--- Comment #3 from Kae Verens kae@verens.com 2008-11-28 11:26:51 --- Created an attachment (id=17506) --> (http://bugs.winehq.org/attachment.cgi?id=17506) backtrace from "wine THIEF.EXE"
http://bugs.winehq.org/show_bug.cgi?id=15157
--- Comment #4 from Kae Verens kae@verens.com 2008-11-28 11:29:36 --- Created an attachment (id=17507) --> (http://bugs.winehq.org/attachment.cgi?id=17507) backtrace for "schedtool -a 0x2 -e wine THIEF.EXE"
Thief doesn't like multi-processor systems, so I used "schedtool -a 0x2 -e wine THIEF.EXE" this time.
http://bugs.winehq.org/show_bug.cgi?id=15157
cxs sotiriou@ics.forth.gr changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #5 from cxs sotiriou@ics.forth.gr 2009-01-02 06:43:21 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=15157
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sotiriou@ics.forth.gr
--- Comment #6 from Jeff Zaroyko jeffz@jeffz.name 2009-01-02 07:11:33 --- *** Bug 16720 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=15157
--- Comment #7 from Alexander Dorofeyev alexd4@inbox.lv 2009-01-06 13:20:46 --- I tried repeatedly, but cannot reproduce this. Just tested again in wine 1.1.11. Thief Gold and System Shock 2, both start up ok and work. Looks like sound is broken in this version, both in cutscenes and the rest of the game, but this appears to be a separate and unrelated regression.
Please make sure to retest with a blank newly created Wine prefix, all default settings. Also ensure that indeo codecs do get fully and properly installed during the game setup. One of known crashes of these games is when codecs do not get installed. Simply saying yes to install codecs may not be enough as the codec setup included on game CDs doesn't work very stable in Wine and often crashes silently, without actually completing the job. Watch out for exception or crash messages in the console during setup. If that's the problem, it can be fixed by downloading a more modern Intel Indeo codec package (available in lots of places on the net), which is less bug-prone.
http://bugs.winehq.org/show_bug.cgi?id=15157
--- Comment #8 from Christos Sotiriou sotiriou@ics.forth.gr 2009-01-07 07:34:37 --- (In reply to comment #7)
It doesn't work on Wine 1.1.9@Fedora 10. Could it also be the Wine version?
I tried repeatedly, but cannot reproduce this. Just tested again in wine 1.1.11. Thief Gold and System Shock 2, both start up ok and work. Looks like sound is broken in this version, both in cutscenes and the rest of the game, but this appears to be a separate and unrelated regression.
With prior version of the game, I never installed the Intel Indeo codecs and still everything worked fine...
Could you provide us with a suitable link for *Wine-compatible* Intel Indeo codecs, so we can confirm that it is/or is not a codec issue?
Thanks.
Please make sure to retest with a blank newly created Wine prefix, all default settings. Also ensure that indeo codecs do get fully and properly installed during the game setup. One of known crashes of these games is when codecs do not get installed. Simply saying yes to install codecs may not be enough as the codec setup included on game CDs doesn't work very stable in Wine and often crashes silently, without actually completing the job. Watch out for exception or crash messages in the console during setup. If that's the problem, it can be fixed by downloading a more modern Intel Indeo codec package (available in lots of places on the net), which is less bug-prone.
http://bugs.winehq.org/show_bug.cgi?id=15157
--- Comment #9 from Christos Sotiriou sotiriou@ics.forth.gr 2009-01-07 08:58:19 --- (In reply to comment #8)
I downloaded Intel Indeo Codecs from:
http://www.codec-archiv.de/win/intel/indeo511.exe
Installed them and I still get the same issue, with wine 1.1.9 under Fedora 10.
http://bugs.winehq.org/show_bug.cgi?id=15157
--- Comment #10 from Alexander Dorofeyev alexd4@inbox.lv 2009-01-08 14:52:58 --- (In reply to comment #8)
With prior version of the game, I never installed the Intel Indeo codecs and still everything worked fine...
Video cutscenes never worked for all I know, but in some earlier versions they were simply always skipped due to lack of some features in few Wine dlls. Changes around 1.03 - 1.04 were supposed to make cutscenes in Thief and System Shock 2 games and, at least on my end, they did. It seems to work for me with 1.08 and 1.09.
For Thief I used Thief Gold + a copy protection "fix". Do you use gold edition or original?
Did you try new wine prefix? It's good because it guarantees clean, default registry and default settings and eliminates possibility of some older version junk in registry causing trouble.
Also if you can, attach a +quartz,+devenum log please and check whether using native (Windows) quartz.dll helps.
http://bugs.winehq.org/show_bug.cgi?id=15157
--- Comment #11 from Christos Sotiriou sotiriou@ics.forth.gr 2009-01-11 08:49:07 --- Created an attachment (id=18644) --> (http://bugs.winehq.org/attachment.cgi?id=18644) DUMP file
http://bugs.winehq.org/show_bug.cgi?id=15157
--- Comment #12 from Christos Sotiriou sotiriou@ics.forth.gr 2009-01-11 08:51:23 --- (In reply to comment #11)
Created an attachment (id=18644)
--> (http://bugs.winehq.org/attachment.cgi?id=18644) [details]
DUMP file
It seems that it cut my message.
This is a DUMP created using:
WINEDDEBUG="all+quartz,all+devenum" wine .wine/drive_c/Games/ThiefG/THIEF.EXE
& DUMP
However, I don't see anything interesting...
I used ThiefG with the copy protection "fix". My .wine is new as I did a clean install.
http://bugs.winehq.org/show_bug.cgi?id=15157
--- Comment #13 from Christos Sotiriou sotiriou@ics.forth.gr 2009-01-11 10:01:40 --- (In reply to comment #12)
Ok, I compiled from scratch Wine 1.1.12, did not install it locally, run it from the Make location and got the following output (this may help us understand the source of the error) on the same .wine prefix:
fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 32 vertex samplers and 32 total samplers fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers + MAX_TEXTURES(=8) > combined_samplers fixme:win:EnumDisplayDevicesW ((null),0,0x32f7b8,0x00000000), stub! fixme:ddraw:VGA_ioport_out Unsupported index, VGA crt controller register 0x3b4/0x3d4: 0x0e (value 0x00) fixme:ddraw:VGA_ioport_out Unsupported index, VGA crt controller register 0x3b4/0x3d4: 0x0f (value 0x00) fixme:ddraw:VGA_ioport_out Unsupported index, VGA crt controller register 0x3b4/0x3d4: 0x0e (value 0x00) fixme:ddraw:VGA_ioport_out Unsupported index, VGA crt controller register 0x3b4/0x3d4: 0x0f (value 0x00) fixme:ddraw:VGA_ioport_out Unsupported index, VGA crt controller register 0x3b4/0x3d4: 0x0e (value 0x00) fixme:ddraw:VGA_ioport_out Unsupported index, VGA crt controller register 0x3b4/0x3d4: 0x0f (value 0x00) fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16 wine: Unhandled page fault on read access to 0x00000000 at address 0x5203fa (thread 0009), starting debugger... wineserver crashed, please enable coredumps (ulimit -c unlimited) and restart.
Any ideas?
Thanks!
http://bugs.winehq.org/show_bug.cgi?id=15157
--- Comment #14 from Alexander Dorofeyev alexd4@inbox.lv 2009-01-11 11:42:13 --- I think correct syntax would be
WINEDEBUG=+quartz,+devenum wine THIEF.EXE &>log
It probably wasn't showing anything because it didn't understand all+quartz. I don't remember what the correct form for that was, but it isn't needed anyway, because simply +quartz will show everything as is.
crash at 0x5203fa (with 1.1.12) - the address looks like a crash that happens when you run thief from outside of it's game directory (in other words, current working directory =/= Thief install directory). I think Thief always required cd to its directory to run.
http://bugs.winehq.org/show_bug.cgi?id=15157
--- Comment #15 from Christos Sotiriou sotiriou@ics.forth.gr 2009-01-11 12:44:30 --- Created an attachment (id=18647) --> (http://bugs.winehq.org/attachment.cgi?id=18647) WINEDEBUG=+quartz,+devenum wine THIEF.EXE &>~/log
WINEDEBUG=+quartz,+devenum wine THIEF.EXE &>~/log
http://bugs.winehq.org/show_bug.cgi?id=15157
--- Comment #16 from Christos Sotiriou sotiriou@ics.forth.gr 2009-01-11 12:46:02 --- (In reply to comment #14)
I think correct syntax would be
WINEDEBUG=+quartz,+devenum wine THIEF.EXE &>log
It probably wasn't showing anything because it didn't understand all+quartz. I don't remember what the correct form for that was, but it isn't needed anyway, because simply +quartz will show everything as is.
Ok, did it correctly, see LOG Attachment... :) sorry about that
crash at 0x5203fa (with 1.1.12) - the address looks like a crash that happens when you run thief from outside of it's game directory (in other words, current working directory =/= Thief install directory). I think Thief always required cd to its directory to run.
I tried that to no avail. wineserver actually hangs and stays in memory:
28998 0.0 0.1 3698444 2940 ? Sl 20:40 0:00 C:\windows\system32\winedevice.exe MountMgr
Could this be a hint?
http://bugs.winehq.org/show_bug.cgi?id=15157
--- Comment #17 from Alexander Dorofeyev alexd4@inbox.lv 2009-01-11 13:37:12 --- (In reply to comment #16)
I tried that to no avail. wineserver actually hangs and stays in memory:
28998 0.0 0.1 3698444 2940 ? Sl 20:40 0:00 C:\windows\system32\winedevice.exe MountMgr
Could this be a hint?
If cd to thief directory doesn't help - then no idea. Maybe try killing all wine-related processes and then trying or test some other games, to check if anything works at all.
Regarding the logs - they do not show presense of the required Indeo codecs. So I think the game's behavior is correct: if there is no Indeo decompressor the game will also crash under Windows, I believe. If I look in a similar +quartz log on my machine, there are many lines like:
trace:quartz:FilterMapper2_EnumMatchingFilters Considering filter L"Indeo\00ae video 5.06 Decompression Filter"
But in your log I don't see any mention of Indeo at all. Looks like it didn't install or wasn't properly registered in the system. That must be the problem. I'll try to test that codec you posted link to, maybe it doesn't work in Wine.
http://bugs.winehq.org/show_bug.cgi?id=15157
Alexander Dorofeyev alexd4@inbox.lv changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #18647|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=15157
--- Comment #18 from Austin English austinenglish@gmail.com 2009-01-11 13:57:17 --- Upgrade to git, 1.1.12 was broken.
http://bugs.winehq.org/show_bug.cgi?id=15157
--- Comment #19 from Alexander Dorofeyev alexd4@inbox.lv 2009-01-11 14:06:06 --- I checked http://www.codec-archiv.de/win/intel/indeo511.exe Indeed it doesn't properly register codecs. According to logs, it doesn't even appear to be trying. The one I have is more like 2 Mb (as opposed to ~300kb in the above one) and IIRC it was downloaded from http://www.free-codecs.com/ I don't know how safe all these sites are, though. The nonworking one made me think, how many of these are possibly viruses or troyans? No idea if www.free-codecs.com is safe.
http://bugs.winehq.org/show_bug.cgi?id=15157
--- Comment #20 from Christos Sotiriou sotiriou@ics.forth.gr 2009-01-17 07:32:41 --- After updating to wine 1.1.12, from the Fedora repository, and reinstalling the game, including the Codecs, the problem seems fixed, i.e. the game runs fine.
Only sound doesn't work for most of the game, but this is a separate problem. Any ideas on sound at all?
Thanks!
http://bugs.winehq.org/show_bug.cgi?id=15157
--- Comment #21 from Christos Sotiriou sotiriou@ics.forth.gr 2009-01-17 07:35:59 --- (In reply to comment #20)
After updating to wine 1.1.12, from the Fedora repository, and reinstalling the game, including the Codecs, the problem seems fixed, i.e. the game runs fine.
Only sound doesn't work for most of the game, but this is a separate problem. Any ideas on sound at all?
Thanks!
Actually, sound works by using the OSS emulation mode (selecting it using winecfg). I guess pulseaudio might be the issue.
http://bugs.winehq.org/show_bug.cgi?id=15157
--- Comment #22 from Alexander Dorofeyev alexd4@inbox.lv 2009-01-17 14:12:26 --- Well the conclusion then is that there probably was/is no Wine bug with the game. Kae Verens's backtrace appears to be the same crash due to lack of Indeo codec. Not sure about the very first reporter - it seems to be something different, but looks a bit like the problem when running THIEF.exe from outside the game install directory. Unfortunately, he isn't following up on this and his last report was quite a while ago.
To Michael G: unless you can retest this and provide logs to confirm this is not the codec thingy or some other known problem like starting exe from outside the game directory, this will have to be closed as INVALID or ABANDONED. The game seems to run well currently.
To Christos Sotiriou: sound works for me in 1.1.12 FWIW. Problems I previously noticed were my own screw-up: I was actually using git wine and that was IIRC something in between 1.1.12 and 1.1.13. Now sounds seem to work in git trunk as well, must have been some work in between those releases that temporarily broke the sound. So for you it could indeed be some pulseaudio issues, I think.
http://bugs.winehq.org/show_bug.cgi?id=15157
--- Comment #23 from Kae Verens kae@verens.com 2009-01-17 14:35:25 --- I think this was a Wine bug, or at the least, a packaging bug. I tried last week and it did not work for me. Then today, after Christos announced his success, I upgraded my wine to 1.1.12, and it ran immediately.
I upgrade very frequently, so the last installed version I had would have been the previous latest Fedora, probably 1.1.11.
I did replace the codec as suggested in some posts here, but that was previous to last week.
Works for me now. I needed to do a few additional things: 1. use virtual desktop mode instead of allowing xrandr. I have a wide-screen laptop, and 640x480 (default mode for Thief) resizes to 640x400 because of some xrandr thing I don't get. This cuts out some important buttons from being seen or clicked. 2. make sure to run the game on only 1 CPU. this is true of the other Thief games as well. I used "schedtool -a 0x2 -e wine THIEF.EXE" as my command to start the game.
Works perfectly - video, sound, smooth graphics.
Thanks guys!
http://bugs.winehq.org/show_bug.cgi?id=15157
--- Comment #24 from Christos Sotiriou sotiriou@ics.forth.gr 2009-01-18 11:22:36 ---
Works perfectly - video, sound, smooth graphics.
I guess we can close this bug at this point :)
One last thing I want to add is that before updating my machine completely, i.e. after installing wine and not updating alsa and pulseaudio, which I think made the difference, I experienced hardware lock up at various parts during the game, particularly during the key configuration.
What I mean by hardware lockup is a complete halt/freeze of the machine, including the linux kernel. I had to reset using the soft reset button.
Any idea where this stems from?
Thank you.
http://bugs.winehq.org/show_bug.cgi?id=15157
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #25 from Vitaliy Margolen vitaliy@kievinfo.com 2009-01-18 13:48:10 --- Reported fixed
http://bugs.winehq.org/show_bug.cgi?id=15157
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #26 from Vitaliy Margolen vitaliy@kievinfo.com 2009-01-18 13:48:23 --- Closing bugs fixed in wine-1.1.13