http://bugs.winehq.org/show_bug.cgi?id=14391
Summary: MagicISO interface flickers Product: Wine Version: 1.1.0 Platform: PC URL: http://www.magiciso.com/download.htm OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: tsalacinski@gmail.com
Hello,
MagicISO (application to manage disc images) is a quite complex app with nice interface. It works properly on Windows, but on Wine the interface redrawing is very slow.
I can see every icon popping up on the screen, and every menu entry drawn one by one (btw menu is draw twice).
Wine shows no errors at all, application works perfectly (which is IMHO - MAGIC).
http://bugs.winehq.org/show_bug.cgi?id=14391
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #1 from Anastasius Focht focht@gmx.net 2008-07-09 15:31:20 --- Hello,
yes, the redrawing behaviour is a bit of pain. I occasionally use that app for converting between exotic ISO image formats.
From a quick glance:
It's a Delphi 6 app, packed with a "customized" version of UPX. Judging from exports and code signatures it seems to make use of the freely available "XP Menu" Delphi component to mimic the Office XP look and feel.
http://www.shagrouni.com/english/software/xpmenu.html
The Delphi source is also available there: http://www.shagrouni.com/download/xpmenu.zip It mainly consists of a 143K XPMenu.pas unit. This should give valuable insights how the owner drawn stuff (menu, toolbar) is realized (subclassing, message hooks, canvas/painting code) and where the actual bottleneck lies.
Regards
http://bugs.winehq.org/show_bug.cgi?id=14391
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
http://bugs.winehq.org/show_bug.cgi?id=14391
Niko Sandschneider nsandschn@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nsandschn@gmx.de
--- Comment #2 from Niko Sandschneider nsandschn@gmx.de 2010-01-17 07:37:42 --- Confirming with git.
http://bugs.winehq.org/show_bug.cgi?id=14391
Wolfram Sang wolfram@the-dreams.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wolfram@the-dreams.de
--- Comment #3 from Wolfram Sang wolfram@the-dreams.de 2010-05-29 02:53:11 --- Still present with wine-1.2-rc2 and MagicISO 5.5(build 281).
http://bugs.winehq.org/show_bug.cgi?id=14391
billstei billstei@hbci.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |billstei@hbci.com
--- Comment #4 from billstei billstei@hbci.com 2010-06-05 18:19:30 --- I have another Delphi app (or two) with a flickering interface. The question is whether this bug #14391 should be changed to "All/Some Delphi Apps Flicker", or whether I should start a new bug for that app. (?)
http://bugs.winehq.org/show_bug.cgi?id=14391
--- Comment #5 from Anastasius Focht focht@gmx.net 2010-06-06 03:50:31 --- Hello,
--- quote --- I have another Delphi app (or two) with a flickering interface. The question is whether this bug #14391 should be changed to "All/Some Delphi Apps Flicker", or whether I should start a new bug for that app. (?) --- quote ---
If they also use the freely available "XP Menu" Delphi component to mimic the Office XP look and feel then we most likely have the culprit.
You could provide download links for these apps so one can have a look at it.
Regards
http://bugs.winehq.org/show_bug.cgi?id=14391
--- Comment #6 from billstei billstei@hbci.com 2010-06-06 14:19:45 --- The program I referred to in Comment #4 above is StreamHijacker 0.7.1.9 from here: http://streamhijacker.thomace.com To see the effect hover/move the mouse pointer over the various buttons on the GUI, which will momentarily/slowly paint the color pink. This can also be seen when capturing a stream as the scrolling marquee shows the current ID3 tag info.
http://bugs.winehq.org/show_bug.cgi?id=14391
--- Comment #7 from billstei billstei@hbci.com 2010-06-07 22:18:54 --- Some additional info/findings:
The StreamHijacker GUI/window is divided into several sections each with transparent areas between them, where graphics from other programs are 100% visible beneath (Vista). In Wine 1.2-rc2 these transparent areas are painted with what I referred to in Comment #6 as a pink color, with no transparency.
Another test, using Ubuntu Karmic and a different video card, an Intel 965GM, shows the pink flicker occurring but noticeably shorter (as opposed to Ubuntu Lucid with a GeForce 6150 video card in Comment #6).
Again I will gladly move this data to a new bug if that seems appropriate at some point in this investigation.
http://bugs.winehq.org/show_bug.cgi?id=14391
--- Comment #8 from billstei billstei@hbci.com 2010-06-12 20:06:41 --- Another test: Run Gnome System Monitor (2.28.0) and watch the CPU History graph, while running StreamHijacker, but not capturing audio. Sweep mouse pointer back and forth (without clicking) over the three window control buttons (About, Minimize, Exit) located in the upper right hand corner, which will be blinking/repainting. CPU History graph stops scrolling until mouse sweeping/hovering stops, then begins scrolling again and shows a CPU spike of 90 to 100% (on one core of a dual core).
http://bugs.winehq.org/show_bug.cgi?id=14391
--- Comment #9 from billstei billstei@hbci.com 2010-06-13 11:29:37 --- In Comment #4 above I hinted that there were other Delphi apps that exhibit this problem, and here is one possibility: In the program FL Studio ( http://www.flstudio.com ) there is a plugin called Harmless, which is obviously written in Delphi (see the object file here: C:/Program Files/Image-Line/FL Studio 9/Plugins/Fruity/Generators/Harmless/Harmless.dll Note that this is not a VST plugin, it is a "fruity" native version of the plugin. In the program FL Studio the plugin can be loaded with menu CHANNELS->Add one->Harmless. Once loaded, click on the Previous Preset/Next Preset buttons in the upper right hand corner of the plugin's GUI, and note the very slow drawing of the GUI controls (several seconds on my machine to paint the entire interface). During this time the plugin will not be able to render audio, which gives the illusion that the preset is blank/broken.
http://bugs.winehq.org/show_bug.cgi?id=14391
--- Comment #10 from billstei billstei@hbci.com 2010-06-13 13:19:32 --- Regarding transparency StreamHijacker produces the following error on stdout:
fixme:x11drv:sync_window_opacity LWA_COLORKEY not supported
The question is whether this is also the source of the slow drawing/CPU spikes, or is just coincidental. Also note Bug #23093 but there is no mention of slow drawing (so far).
http://bugs.winehq.org/show_bug.cgi?id=14391
--- Comment #11 from billstei billstei@hbci.com 2010-06-13 21:11:20 --- Further testing with FL Studio/Harmless, MagicISO ver 5.5, and StreamHijacker:
1) FL Studio itself is also drawing slow, but the Harmless GUI is more noticeable.
2) Comparing FL Studio, Magic ISO, and StreamHijacker, the redraw speeds are very similar. Harmless is much worse.
3) It is not necessary to actually use the GUI on FL Studio, MagicISO, or StreamHijacker, simply put any Linux window in front of them, and then bring-to-front, and watch the repainting. Having the Harmless window open within FL Studio simply makes it more noticeable.
4) FL Studio/Harmless, MagicISO, and StreamHijacker all load gdi32.dll
http://bugs.winehq.org/show_bug.cgi?id=14391
--- Comment #12 from billstei billstei@hbci.com 2010-06-15 20:27:28 --- In an attempt to do a bisect, I tested StreamHijacker with several versions of Wine back to ~1.1.10 and the slow drawing just gets worse the further back I go.
http://bugs.winehq.org/show_bug.cgi?id=14391
--- Comment #13 from billstei billstei@hbci.com 2010-06-16 15:44:11 --- Comparing the Ubuntu open source NVidia driver nv (2.1.15) to the proprietary NVidia driver 195.36.24 on a GeForce 6150, the proprietary driver is significantly faster at painting all the apps mentioned above, with FL/Harmless being the worst.
http://bugs.winehq.org/show_bug.cgi?id=14391
--- Comment #14 from billstei billstei@hbci.com 2010-06-16 15:47:07 --- Correction to Comment #13, apparently the (newer) open source NVidia driver is "nouveau".
http://bugs.winehq.org/show_bug.cgi?id=14391
--- Comment #15 from billstei billstei@hbci.com 2011-09-18 12:45:13 CDT --- Tested Wine 1.3.28 with MagicISO 5.5, using a Radeon 5770 video card. I am not sure what level of "flicker" is acceptable, but the redraw speed of MagicISO seems reasonable to me now. The real test for me was FL Studio's (ver 10.0.8) Harmless synthesizer, and their newer Harmor, and the GUIs on both of these are quite usable now (see my Comments above). StreamHijacker is also showing much faster redraws, although it flickers the most because the transparent regions are being painted with a pink color momentarily. If the original bug reporter does not respond, I would recommend marking this bug "fixed", even if the "fix" is a subjective level of acceptable performance.
http://bugs.winehq.org/show_bug.cgi?id=14391
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |00cpxxx@gmail.com Resolution| |FIXED
--- Comment #16 from Bruno Jesus 00cpxxx@gmail.com 2012-06-19 00:15:20 CDT --- (In reply to comment #15)
... If the original bug reporter does not respond, I would recommend marking this bug "fixed", even if the "fix" is a subjective level of acceptable performance.
Thanks, I tested in wine 1.5.6 and agree this is fixed.
http://bugs.winehq.org/show_bug.cgi?id=14391
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #17 from Alexandre Julliard julliard@winehq.org 2012-06-22 13:31:19 CDT --- Closing bugs fixed in 1.5.7.