http://bugs.winehq.org/show_bug.cgi?id=14595
Summary: [Ubuntu 8.04] UnrealTournament: Can't find a suitable iPixelFormat Product: Wine Version: 1.1.1 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: wine@temporaryforwarding.com
Created an attachment (id=14965) --> (http://bugs.winehq.org/attachment.cgi?id=14965) Output of UnrealTournament
Hello, I run Ubuntu 8.04 and wine 1.1.1.
Trying to run UnrealTournament I get the output given in the attached file.
While the intro is being played the screen switches from game to desktop and vice versa.
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #1 from Lei Zhang thestig@google.com 2008-07-22 13:02:22 --- What video card / driver version are you using?
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #2 from Korn wine@temporaryforwarding.com 2008-07-22 13:15:31 --- Graphic card: NVIDIA Quadro NVS 140M (inside a DELL Laitude D830) Drivers: 173.14.09
http://bugs.winehq.org/show_bug.cgi?id=14595
Arkadiusz Piekarz piekarzarkadiusz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piekarzarkadiusz@gmail.com
--- Comment #3 from Arkadiusz Piekarz piekarzarkadiusz@gmail.com 2008-07-22 15:51:04 --- I do believe Unreal Tournament has a Linux version of installer and should run flawlessly without Wine.
http://bugs.winehq.org/show_bug.cgi?id=14595
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kennybobs@o2.co.uk
--- Comment #4 from Ken Sharp kennybobs@o2.co.uk 2008-07-23 05:14:37 --- Does this work under wine 0.9.51?
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #5 from Korn wine@temporaryforwarding.com 2008-07-23 05:38:58 --- It works with version 0.9.61.
0.9.51 is not available in the archive. I would have to build it first.
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #6 from Ken Sharp kennybobs@o2.co.uk 2008-07-23 06:06:10 --- I see, I have a similar bug open, might actually be a duplicate, results vary slightly though.
Have you tried a regression test?
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #7 from Korn wine@temporaryforwarding.com 2008-07-23 12:22:10 --- Not yet.
I will try a regression test soon.
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #8 from Korn wine@temporaryforwarding.com 2008-07-23 16:02:48 --- The wiki says: "You will then recompile Wine and test for the bug again."
How should the recompilation be done? With this? "CC="ccache gcc" ./configure --verbose && make clean && make"
I presume that "make clean" will destroy the advantages of ccache.
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #9 from Korn wine@temporaryforwarding.com 2008-07-23 16:29:01 --- So the advantage does not get "destroyed" with "make clean" I was said in irc channel.
So I just have to wait...
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #10 from Ken Sharp kennybobs@o2.co.uk 2008-07-23 16:31:56 --- Yeah, the ccache cache is separate, "make clean" doesn't touch the cache.
If you have multiple machines with the same architecture, I highly recommend looking as distcc too, it's very simple to use.
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #11 from Korn wine@temporaryforwarding.com 2008-07-23 17:09:19 --- The regression test returned this result: a4a5a2ec121eeb2a7cd4ffbb5ba7b298f2a050b1 is first bad commit commit a4a5a2ec121eeb2a7cd4ffbb5ba7b298f2a050b1 Author: Aric Stewart aric@codeweavers.com Date: Thu Jul 10 11:29:20 2008 +0900
winex11: Allow for sane SCIM im processing by processing some filtered KeyRelease events.
:040000 040000 79da6cc91427b80b8de5784f0cb4eaf11c740756 f4767d2a00d8f8a96463fefb2a135fd19b1cfe0d M dlls
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #12 from Korn wine@temporaryforwarding.com 2008-07-23 17:54:56 --- Reverting this patch from wine-1.1.1 tree made Unreal Tournament run again.
So this is the regression.
http://bugs.winehq.org/show_bug.cgi?id=14595
scguy318 nodisgod@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nodisgod@yahoo.com, | |aric@codeweavers.com
--- Comment #13 from scguy318 nodisgod@yahoo.com 2008-07-23 17:58:12 --- Adding Aric Stewart to CC.
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #14 from Korn wine@temporaryforwarding.com 2008-07-24 05:48:26 --- Is wine version in the git repository when I check it out the latest version (1.1.1) or is it the latest development version?
I wonder that the regression has something to do with key events. The output of wine is: err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat
so I thought it must be a regression in wined3d.
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #15 from scguy318 nodisgod@yahoo.com 2008-07-24 07:11:54 --- The Git repository contains the latest Wine development version.
http://bugs.winehq.org/show_bug.cgi?id=14595
Korn wine@temporaryforwarding.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #14965|0 |1 is obsolete| |
--- Comment #16 from Korn wine@temporaryforwarding.com 2008-07-26 05:46:32 --- Created an attachment (id=15050) --> (http://bugs.winehq.org/attachment.cgi?id=15050) console output of wine
In wine-1.1.2 the bug still exists but the error has changed.
The output of wine is attached. The error message of unreal tournament follows.
Again reverting this commit fixes the bug.
git clone git://source.winehq.org/git/wine.git wine-git && cd wine-git git checkout wine-1.1.2 CC="ccache gcc" ./configure --verbose && make clean && make ./wine /home/korn/.wine/drive_c/Programme/UnrealTournament/System/UnrealTournament.exe unreal tournament crashes again. git revert a4a5a2ec121eeb2a7cd4ffbb5ba7b298f2a050b1 CC="ccache gcc" ./configure --verbose && make clean && make ./wine /home/korn/.wine/drive_c/Programme/UnrealTournament/System/UnrealTournament.exe unreal tournament runs.
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #17 from Korn wine@temporaryforwarding.com 2008-07-26 05:47:24 --- Created an attachment (id=15051) --> (http://bugs.winehq.org/attachment.cgi?id=15051) Error message of UnrealTournament
http://bugs.winehq.org/show_bug.cgi?id=14595
Korn wine@temporaryforwarding.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|[Ubuntu 8.04] |UnrealTournament: General |UnrealTournament: Can't find|Protection fault! |a suitable iPixelFormat |
http://bugs.winehq.org/show_bug.cgi?id=14595
Korn wine@temporaryforwarding.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3d |winex11.drv
http://bugs.winehq.org/show_bug.cgi?id=14595
Korn wine@temporaryforwarding.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=14595
Jasmine Iwanek jasmine@iwanek.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jasmine@iwanek.co.uk
http://bugs.winehq.org/show_bug.cgi?id=14595
Korn wine@temporaryforwarding.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine@temporaryforwarding.com
--- Comment #18 from Korn wine@temporaryforwarding.com 2008-08-22 16:52:43 --- Same bug and same regression in wine-1.1.3
a4a5a2ec121eeb2a7cd4ffbb5ba7b298f2a050b1 is first bad commit commit a4a5a2ec121eeb2a7cd4ffbb5ba7b298f2a050b1 Author: Aric Stewart aric@codeweavers.com Date: Thu Jul 10 11:29:20 2008 +0900
winex11: Allow for sane SCIM im processing by processing some filtered KeyRelease events.
:040000 040000 79da6cc91427b80b8de5784f0cb4eaf11c740756 f4767d2a00d8f8a96463fefb2a135fd19b1cfe0d M dlls
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #19 from Korn wine@temporaryforwarding.com 2008-08-22 17:18:31 --- (In reply to comment #18)
Same bug and same regression in wine-1.1.3
a4a5a2ec121eeb2a7cd4ffbb5ba7b298f2a050b1 is first bad commit commit a4a5a2ec121eeb2a7cd4ffbb5ba7b298f2a050b1 Author: Aric Stewart aric@codeweavers.com Date: Thu Jul 10 11:29:20 2008 +0900
winex11: Allow for sane SCIM im processing by processing some filtered
KeyRelease events.
:040000 040000 79da6cc91427b80b8de5784f0cb4eaf11c740756 f4767d2a00d8f8a96463fefb2a135fd19b1cfe0d M dlls
Reverting also fixes the bug again.
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #20 from Korn wine@temporaryforwarding.com 2008-08-24 16:19:14 --- Created an attachment (id=15611) --> (http://bugs.winehq.org/attachment.cgi?id=15611) Log of wine 1.1.3 using nvidia 177.67 beta drivers
I had to update the nvidia drivers to version 177.67 (beta) which caused the output of wine to change.
But also UnrealTournament keeps crashing in wine 1.1.3.
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #21 from Korn wine@temporaryforwarding.com 2008-09-05 14:31:31 --- Same in wine-1.1.4.
http://bugs.winehq.org/show_bug.cgi?id=14595
Chris Meier cm@chrismeier.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #22 from Chris Meier cm@chrismeier.de 2008-09-07 19:07:47 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #23 from Korn wine@temporaryforwarding.com 2008-09-08 15:49:11 --- Created an attachment (id=15937) --> (http://bugs.winehq.org/attachment.cgi?id=15937) Minimal patch to make UT run
This is the minimal patch to make unreal tournament run again.
http://bugs.winehq.org/show_bug.cgi?id=14595
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=14595
Korn wine@temporaryforwarding.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|patch |
--- Comment #24 from Korn wine@temporaryforwarding.com 2008-09-08 16:17:32 --- The patched wine version is built in my ppa for ubuntu hardy.
https://launchpad.net/~c-korn/+archive
http://bugs.winehq.org/show_bug.cgi?id=14595
Korn wine@temporaryforwarding.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #25 from Aric Stewart aric@codeweavers.com 2008-09-09 08:23:57 --- Humm I dont see the connection between my SCIM patch to filter events and the WM_TAKE_FOCUS protocol handler where you made your patch.
could you get me a +event,+key,+imm log to look at?
-aric
(In reply to comment #23)
Created an attachment (id=15937)
--> (http://bugs.winehq.org/attachment.cgi?id=15937) [details]
Minimal patch to make UT run
This is the minimal patch to make unreal tournament run again.
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #26 from Christoph Korn c_korn@gmx.de 2008-09-09 10:02:57 --- Created an attachment (id=15951) --> (http://bugs.winehq.org/attachment.cgi?id=15951) $ env WINEDEBUG=+event,+key,+imm wine UnrealTournament.exe
I think you meant that.
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #27 from Aric Stewart aric@codeweavers.com 2008-09-09 10:36:28 --- This shows the crash? If you could generate the log without your patch... also maybe add +seh,+tid for me.
thanks.
-aric
(In reply to comment #26)
Created an attachment (id=15951)
--> (http://bugs.winehq.org/attachment.cgi?id=15951) [details]
$ env WINEDEBUG=+event,+key,+imm wine UnrealTournament.exe
I think you meant that.
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #28 from Christoph Korn c_korn@gmx.de 2008-09-09 11:59:05 --- Created an attachment (id=15959) --> (http://bugs.winehq.org/attachment.cgi?id=15959) wine 1.1.4 output
The log was of wine 1.1.4 (without my patch).
This is the log with +seh,+tid added (also unpatched wine-1.1.4)
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #29 from Christoph Korn c_korn@gmx.de 2008-09-09 12:01:02 --- Unreal Tournament does not crash if virtual screen emulation is enabled.
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #30 from Christoph Korn c_korn@gmx.de 2008-09-11 12:33:30 --- @Aric: Does the attached log contain the information you need to fix it?
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #31 from Aric Stewart aric@codeweavers.com 2008-09-11 13:19:34 --- Wow, ok i understand my confusion. the second change in that commit:
@@ -523,6 +552,8 @@ static void handle_wm_protocols( HWND hwnd, XClientMessageEvent *event ) hwnd, IsWindowEnabled(hwnd), IsWindowVisible(hwnd), GetWindowLongW(hwnd, GWL_STYLE), GetFocus(), GetActiveWindow(), GetForegroundWindow(), last_focus );
+ if (hwnd == GetForegroundWindow()) return; + if (can_activate_window(hwnd)) { /* simulate a mouse click on the caption to find out
was not in my original patch at all. I am totally unfamiliar with that part of the change and that is the part causing you troubles.
Julliard says he is correcting it and removing that change.
thanks for being diligent and following up on this.
-aric
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #32 from Aric Stewart aric@codeweavers.com 2008-09-12 07:55:47 --- please try again now that Alexandre has commited ec4cc7f76b6e7ad9c111a1e10adfd26d72a8d154
http://bugs.winehq.org/show_bug.cgi?id=14595
--- Comment #33 from Christoph Korn c_korn@gmx.de 2008-09-12 11:10:24 --- UT runs fine on latest HEAD.
http://bugs.winehq.org/show_bug.cgi?id=14595
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #34 from Austin English austinenglish@gmail.com 2008-09-12 12:11:09 --- Fixed.
http://bugs.winehq.org/show_bug.cgi?id=14595
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #35 from Alexandre Julliard julliard@winehq.org 2008-09-19 11:17:34 --- Closing bugs fixed in 1.1.5.