http://bugs.winehq.org/show_bug.cgi?id=13143
Summary: [winex11] XIM patch prevents wine-0.9.60 and later to run Product: Wine Version: 0.9.60 Platform: PC URL: http://source.winehq.org/git/wine.git/?a=commitdiff;h=18 5157cb6eb25bc5e75e9a260b593e98153d2255;hp=5c30e9ae00d466 6b1ae0666d97275179b9f4fd51 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: winex11.drv AssignedTo: wine-bugs@winehq.org ReportedBy: bugzilla@tut.by CC: slash@ma.neweb.ne.jp
After being upgraded from 0.9.59 to 0.9.60 wine stopped drawing windows correctly. All windows look like this: http://bugs.winehq.org/attachment.cgi?id=12359
Debian GNU/Linux (lenny) Linux pc-linux 2.6.17-2-686 #1 SMP Wed Sep 13 16:34:10 UTC 2006 i686 GNU/Linux KDE 3.5.8. Video info: NVIDIA GeForce4 440MX, NVIDIA driver version: 96.43.05 (legacy branch). No Beryl or Compiz (indeed, compiz-fusion is installed, but not used due to incompatibilities with many programs). KWin is used as window manager/decorator.
Regression tests with use of git-bisect resulted in that 185157cb6eb25bc5e75e9a260b593e98153d2255 is first bad commit commit 185157cb6eb25bc5e75e9a260b593e98153d2255 Author: Kusanagi Kouichi slash@ma.neweb.ne.jp Date: Fri Apr 4 20:44:36 2008 +0900
winex11: Connect to XIM server dynamically.
:040000 040000 4df81736d311abdd4b603e64987fb90e4e5c9a71 7999fe03f030755e4e731116a1701b0779e07ab7 M dlls
http://bugs.winehq.org/show_bug.cgi?id=13143
Ben Hodgetts (Enverex) ben@atomnet.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ben@atomnet.co.uk Keywords| |regression Summary|[winex11] XIM patch prevents|XIM patch prevents wine- |wine-0.9.60 and later to run|0.9.60 and later to run
--- Comment #1 from Ben Hodgetts (Enverex) ben@atomnet.co.uk 2008-05-11 17:48:45 --- Keywording.
http://bugs.winehq.org/show_bug.cgi?id=13143
--- Comment #2 from Kusanagi Kouichi slash@ma.neweb.ne.jp 2008-05-12 04:16:58 --- Did you test 1.0-rc1? No error message?
http://bugs.winehq.org/show_bug.cgi?id=13143
--- Comment #3 from Andrew O. Shadoura bugzilla@tut.by 2008-05-12 04:37:38 --- (In reply to comment #2)
Did you test 1.0-rc1?
I'm compiling it just right now.
http://bugs.winehq.org/show_bug.cgi?id=13143
--- Comment #4 from Andrew O. Shadoura bugzilla@tut.by 2008-05-12 05:49:48 --- (In reply to comment #3)
(In reply to comment #2)
Did you test 1.0-rc1?
The same effect. Almost.
First time I ran it it said: [andrew@pc-linux:~/wine-src/wine]: ./wine programs/winecfg/winecfg.exe.so ALSA lib pcm_dmix.c:935:(snd_pcm_dmix_open) The dmix plugin supports only playback stream ALSA lib pcm_dmix.c:935:(snd_pcm_dmix_open) The dmix plugin supports only playback stream fixme:iphlpapi:NotifyAddrChange (Handle 0x7d881a08, overlapped 0x7d8819ec): stub fixme:shell:DllCanUnloadNow stub ALSA lib pcm_dmix.c:935:(snd_pcm_dmix_open) The dmix plugin supports only playback stream ALSA lib pcm_dmix.c:935:(snd_pcm_dmix_open) The dmix plugin supports only playback stream wine: configuration in '/home/andrew/.wine' has been updated.
and tried to draw "Application settings" groupbox. When I re-started it, effect was exactly as with 0.9.60 and so on. thir time I ran it with clean ~/.wine: [andrew@pc-linux:~/wine-src/wine]: ./wine programs/winecfg/winecfg.exe.so wine: created the configuration directory '/home/andrew/.wine' ALSA lib pcm_dmix.c:935:(snd_pcm_dmix_open) The dmix plugin supports only playback stream ALSA lib pcm_dmix.c:935:(snd_pcm_dmix_open) The dmix plugin supports only playback stream Could not load Mozilla. HTML rendering will be disabled. wine: configuration in '/home/andrew/.wine' has been updated. ALSA lib pcm_dmix.c:935:(snd_pcm_dmix_open) The dmix plugin supports only playback stream ALSA lib pcm_dmix.c:935:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
And now that groupbox didn't even tried to draw. Pure decorations + non-redrawing window content.
http://bugs.winehq.org/show_bug.cgi?id=13143
--- Comment #5 from Kusanagi Kouichi slash@ma.neweb.ne.jp 2008-05-12 09:06:52 --- If you disable XIM, does anything change? You can disable XIM by adding "UseXIM"="N" to [HKEY_CURRENT_USER\Software\Wine\X11 Driver]
http://bugs.winehq.org/show_bug.cgi?id=13143
--- Comment #6 from Andrew O. Shadoura bugzilla@tut.by 2008-05-12 14:01:13 --- (In reply to comment #5)
If you disable XIM, does anything change? You can disable XIM by adding "UseXIM"="N" to [HKEY_CURRENT_USER\Software\Wine\X11 Driver]
Yes, this helps, but as I understand, this is the only workaround, and not a complete solution
http://bugs.winehq.org/show_bug.cgi?id=13143
--- Comment #7 from Kusanagi Kouichi slash@ma.neweb.ne.jp 2008-05-13 02:23:56 --- Created an attachment (id=12996) --> (http://bugs.winehq.org/attachment.cgi?id=12996) test program
Does this simple program work?
http://bugs.winehq.org/show_bug.cgi?id=13143
--- Comment #8 from Kusanagi Kouichi slash@ma.neweb.ne.jp 2008-05-13 02:26:02 --- Created an attachment (id=12997) --> (http://bugs.winehq.org/attachment.cgi?id=12997) source of test program
http://bugs.winehq.org/show_bug.cgi?id=13143
--- Comment #9 from Andrew O. Shadoura bugzilla@tut.by 2008-05-13 05:13:33 --- (In reply to comment #7)
Does this simple program work?
I works when "UseXIM"="N", and doesn't work otherwise.
http://bugs.winehq.org/show_bug.cgi?id=13143
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase
http://bugs.winehq.org/show_bug.cgi?id=13143
--- Comment #10 from Kusanagi Kouichi slash@ma.neweb.ne.jp 2008-05-14 10:18:41 --- Please attach +event,+x11drv log.
http://bugs.winehq.org/show_bug.cgi?id=13143
--- Comment #11 from Andrew O. Shadoura (I DO NOT USE COMPIZ) bugzilla@tut.by 2008-05-14 12:58:53 --- Created an attachment (id=13057) --> (http://bugs.winehq.org/attachment.cgi?id=13057) WINEDEBUG=+event,+x11drv wine /tmp/test.exe &> winelog
[andrew@pc-linux:~]: WINEDEBUG=+event,+x11drv wine /tmp/test.exe &> winelog
http://bugs.winehq.org/show_bug.cgi?id=13143
Andrew O. Shadoura (I DO NOT USE COMPIZ) bugzilla@tut.by changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #13057|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=13143
--- Comment #12 from Kusanagi Kouichi slash@ma.neweb.ne.jp 2008-05-15 11:15:01 --- You didn't receive an Expose event. That must be why windows are not drawn. But I can't see why an Expose event is not sent.
http://bugs.winehq.org/show_bug.cgi?id=13143
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #13 from Vitaliy Margolen vitaliy@kievinfo.com 2008-06-08 13:07:01 --- *** Bug 13271 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=13143
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chad.sikorra@gmail.com
--- Comment #14 from Vitaliy Margolen vitaliy@kievinfo.com 2008-06-08 13:07:31 --- *** Bug 13765 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=13143
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |critical Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Target Milestone|--- |1.0.0
--- Comment #15 from Vitaliy Margolen vitaliy@kievinfo.com 2008-06-08 13:08:21 --- This is critical - have to be fixed before 1.0 or reverted. Braking all sorts of programs is not good.
http://bugs.winehq.org/show_bug.cgi?id=13143
--- Comment #16 from Alexandre Julliard julliard@winehq.org 2008-06-08 13:33:23 --- That's probably a dup of #13420.
http://bugs.winehq.org/show_bug.cgi?id=13143
--- Comment #17 from Vitaliy Margolen vitaliy@kievinfo.com 2008-06-08 22:46:08 --- (In reply to comment #16)
That's probably a dup of #13420.
Don't think so, bug 13765 says it's present in wine-1.0-rc4. Also XInitThreads was not called with XIM present.
http://bugs.winehq.org/show_bug.cgi?id=13143
--- Comment #18 from Alexandre Julliard julliard@winehq.org 2008-06-09 04:15:12 --- I doubt bug 13765 is the same bug, the symptoms are very different.
http://bugs.winehq.org/show_bug.cgi?id=13143
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #19 from Dan Kegel dank@kegel.com 2008-06-09 14:27:11 --- Can you retest with wine from git? Alexandre thinks it might be fixed already.
http://bugs.winehq.org/show_bug.cgi?id=13143
--- Comment #20 from Chad Sikorra chad.sikorra@gmail.com 2008-06-09 21:10:53 --- (In reply to comment #18)
I doubt bug 13765 is the same bug, the symptoms are very different.
If bug 13765 is the same, current git doesn't fix the issue. However, I also do not experience an issue with the test.exe file provided with this bug in current git, or in 1.0 RC4. So I'd lean towards thinking the regression in bug 13765 is a different issue as well.
http://bugs.winehq.org/show_bug.cgi?id=13143
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.0.0 |1.0.1
--- Comment #21 from Dan Kegel dank@kegel.com 2008-06-11 16:29:29 --- 1.0 is breathing down our necks. Deferring to 1.0.1 (and possibly later).
http://bugs.winehq.org/show_bug.cgi?id=13143
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE Target Milestone|1.0.1 |1.0.0
--- Comment #22 from Alexandre Julliard julliard@winehq.org 2008-06-13 05:44:18 --- Marking as dup. Please reopen if you can still reproduce it.
*** This bug has been marked as a duplicate of bug 13420 ***
http://bugs.winehq.org/show_bug.cgi?id=13143
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Austin English austinenglish@gmail.com 2008-09-10 13:14:41 --- Closing.