http://bugs.winehq.org/show_bug.cgi?id=21070
Summary: PowerPoint 2003 slows down dramatically. Product: Wine Version: 1.1.31 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: lukasz.wojnilowicz@gmail.com
The problem is that on Wine 1.1.31 PowerPoint 2003 works very very slow. I start application and see how all elements on the main screen of PP2003 are slowly drawn.
When I use Compiz, my computer hangs so I need to reset or wait for long time so my computer unlocks for a second.
The same happens for all AutoCADs 2008 when I'm in "2D Drafting & Annotation" mode. I see that all small icons from toolbox are drawn but it's very very slow.
No problem at all on Wine 1.1.30. Regression test did give:
6b8753185f30197047773af6a26eafd34d45367c is the first bad commit commit 6b8753185f30197047773af6a26eafd34d45367c Author: Roderick Colenbrander thunderbird2k@gmail.com Date: Sat Sep 26 14:52:46 2009 +0200
winex11: Add support for 16-bit/32-bit DIB sections.
:040000 040000 f2d2821909d152a1d37ae2932bf6017d7b622344 74221a3bdd0b8be716ed4c7900a58fddc93a2f08 M dlls
http://bugs.winehq.org/show_bug.cgi?id=21070
NSLW lukasz.wojnilowicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression CC| |thunderbird2k@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=21070
--- Comment #1 from Roderick Colenbrander thunderbird2k@gmail.com 2009-12-19 05:16:56 --- That patch in combination with previous patches moves 2D rendering over to XRender. This is needed to fix some major 2D rendering issues and in general it also improves performance a lot. I'm not sure what display drivers you are using but I fear that they don't accelerate some parts of XRender which results in software rendering. What happens if you don't use compiz?
http://bugs.winehq.org/show_bug.cgi?id=21070
--- Comment #2 from NSLW lukasz.wojnilowicz@gmail.com 2009-12-19 07:31:09 --- Created an attachment (id=25276) --> (http://bugs.winehq.org/attachment.cgi?id=25276) Power Point slowly draws white sheet
(In reply to comment #1)
I'm not sure what display drivers you are using
I'm using 195.22 downloaded from vendor site on NVIDIA 9xxx. All that on 32 bit Fedora 12.
What happens if you don't use compiz?
When I don't use compiz I use metacity. The best is to explain it on screenshot. I start PP2003, the window appears immediately. Then applications starts to draw on white sheet in centre of the screen. Two frames with dotted lines are drawn. I easily took screenshot of that because dot after dot was draw very very slowly. This takes more than 15 seconds. Every time white sheet needs to be redrawn I must wait more than 15 second.
http://bugs.winehq.org/show_bug.cgi?id=21070
--- Comment #3 from Roderick Colenbrander thunderbird2k@gmail.com 2009-12-19 09:20:31 --- Nvidia drivers should be solid. I just tried powerpoint 2003 on my laptop (uses an ati radeon hd3450) and it works well even though ati doesn't accelerate xrender yet. Perhaps it has something to do with font rendering or so. There are some registry keys to disable font rendering using xrender. (see http://wiki.winehq.org/UsefulRegistryKeys) Could you check if disabling client side font rendering helps? It might also have to do with the fonts you have installed.
http://bugs.winehq.org/show_bug.cgi?id=21070
--- Comment #4 from NSLW lukasz.wojnilowicz@gmail.com 2009-12-19 09:54:53 --- Created an attachment (id=25279) --> (http://bugs.winehq.org/attachment.cgi?id=25279) ClientSideWithRender=N on Wine 1.1.35
(In reply to comment #3)
Could you check if disabling client side font rendering helps? It might also have to do with the fonts you have installed.
Setting ClientSideWithRender to N helps on Wine 1.1.31 and 1.1.32.
On higher Wines like e.g. 1.1.35 PP2003 wants to send bug report to Microsoft and fails to start. Setting ClientSideWithRender to Y solves that issue, but again it's unbelievable slow. I'm attaching terminal output.
http://bugs.winehq.org/show_bug.cgi?id=21070
--- Comment #5 from Roderick Colenbrander thunderbird2k@gmail.com 2009-12-19 09:59:33 --- I think I know what will help. By default we have font smoothing disabled. Try to set it to enabled (e.g. using winetricks). With smoothing enabled, font rendering is a LOT faster on nvidia.
http://bugs.winehq.org/show_bug.cgi?id=21070
--- Comment #6 from NSLW lukasz.wojnilowicz@gmail.com 2009-12-19 10:05:26 --- (In reply to comment #5)
I think I know what will help. By default we have font smoothing disabled. Try to set it to enabled (e.g. using winetricks). With smoothing enabled, font rendering is a LOT faster on nvidia.
ClientSideWithRender=Y, fontsmooth-gray, fontsmooth-rgb, Wine-1.1.31 and I've got still the same problem, PP2003 is still very slow.
http://bugs.winehq.org/show_bug.cgi?id=21070
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dimesio@earthlink.net
--- Comment #7 from Rosanne DiMesio dimesio@earthlink.net 2009-12-19 10:14:44 --- Isn't this a duplicate of bug 20882?
http://bugs.winehq.org/show_bug.cgi?id=21070
--- Comment #8 from NSLW lukasz.wojnilowicz@gmail.com 2009-12-19 10:19:55 --- (In reply to comment #7)
Isn't this a duplicate of bug 20882?
That bug isn't a regression. It's for Wine 1.1.33. It seems to me like it renders quite faster than in my case.
http://bugs.winehq.org/show_bug.cgi?id=21070
--- Comment #9 from Rosanne DiMesio dimesio@earthlink.net 2009-12-19 11:21:47 --- (In reply to comment #8)
(In reply to comment #7)
Isn't this a duplicate of bug 20882?
That bug isn't a regression. It's for Wine 1.1.33. It seems to me like it renders quite faster than in my case.
Well, it was first reported for 1.1.33. But I just did a check in 1.1.24, and bug 20882 was already there.
What you describe does sound much slower than what I'm seeing, and I have no problem with fonts, just graphics. This is on an nVidia 7600GS, 185.18.14 driver.
Isn't the 195.22 driver beta? Have you tried the stable release?
http://bugs.winehq.org/show_bug.cgi?id=21070
--- Comment #10 from NSLW lukasz.wojnilowicz@gmail.com 2009-12-19 11:34:44 --- (In reply to comment #9)
Isn't the 195.22 driver beta? Have you tried the stable release?
I don't suspect any deficiency in drivers because all works flawlessly on earlier Wine. I think that ClientSideWithRender is a clue which we should stick with.
It may be so that there is no problems for NVIDIA 7xxx and there is problem for NVIDIA 9xxx despite the same graphic drivers. This is the case for Test Drive Unlimited or Fallout 3 (gfxs inverted)
http://bugs.winehq.org/show_bug.cgi?id=21070
--- Comment #11 from Roderick Colenbrander thunderbird2k@gmail.com 2009-12-21 06:47:15 --- (In reply to comment #10)
(In reply to comment #9)
Isn't the 195.22 driver beta? Have you tried the stable release?
I don't suspect any deficiency in drivers because all works flawlessly on earlier Wine. I think that ClientSideWithRender is a clue which we should stick with.
It may be so that there is no problems for NVIDIA 7xxx and there is problem for NVIDIA 9xxx despite the same graphic drivers. This is the case for Test Drive Unlimited or Fallout 3 (gfxs inverted)
Not everything a driver does is accelerated. They tend to accelerate common scenarios. It is just that as of Wine 1.1.31 we delegate more tasks to XRender and likely hit some stuff which the Nvidia drivers don't accelerate.
Open dlls/winex11.drv/xrender.c and look for 'BOOL X11DRV_XRender_SetPhysBitmapDepth(X_PHYSBITMAP *physBitmap, const DIBSECTION *dib) ' add the following line (below 'ColorShifts shifts;'): return FALSE;
Then recompile and try again. Likely it is fast again then (it just disables the new code).
Does the issue also occur on Powerpoint 2003 viewer?
Roderick
http://bugs.winehq.org/show_bug.cgi?id=21070
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #12 from Roderick Colenbrander thunderbird2k@gmail.com 2009-12-21 10:37:54 --- This bug is a duplicate of 21043 which is about slowdowns in some ArtRage. Disabling XRender font rendering also makes that app fast again.
*** This bug has been marked as a duplicate of bug 21043 ***
http://bugs.winehq.org/show_bug.cgi?id=21070
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Dmitry Timoshkov dmitry@codeweavers.com 2009-12-21 11:35:26 --- Closing duplicate.