http://bugs.winehq.org/show_bug.cgi?id=21043
Summary: Sluggishness in cursor moves Product: Wine Version: 1.1.34 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: meho_r@yahoo.com
Created an attachment (id=25239) --> (http://bugs.winehq.org/attachment.cgi?id=25239) Output of terminal when running ArtRage 2.5
There is a noticeable regression in performance of ArtRage 2.5 with wine 1.1.3.4 comparing to that of wine 1.0.1.
Cursor moves are laggy even if one isn't drawing but just moving the mouse through the artwork area.
This sluggishness was/is not present when using wine 1.0.1.
Also, ArtRage 3 Studio Pro suffers from the same, just in a larger extent.
http://bugs.winehq.org/show_bug.cgi?id=21043
--- Comment #1 from Meho R. meho_r@yahoo.com 2009-12-16 17:49:13 --- Tested on Ubuntu Linux, 64bit, wine 1.0.1 from Ubuntu repos and 1.1.3.4 from wineHQ repo.
http://bugs.winehq.org/show_bug.cgi?id=21043
Meho R. meho_r@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Sluggishness in cursor |Sluggishness in cursor |moves |moves (ArtRage 2.5)
http://bugs.winehq.org/show_bug.cgi?id=21043
Meho R. meho_r@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Alias|Sluggishness |
http://bugs.winehq.org/show_bug.cgi?id=21043
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Severity|normal |trivial
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2009-12-16 20:42:12 --- Regression test? http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=21043
Meho R. meho_r@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Sluggishness in cursor |ArtRage 2.5 : Sluggishness |moves (ArtRage 2.5) |in cursor moves
http://bugs.winehq.org/show_bug.cgi?id=21043
--- Comment #3 from Meho R. meho_r@yahoo.com 2009-12-20 19:15:19 --- I just finished regression test (took me almost all day :) and I tested both ArtRage 2.5.20 and ArtRage3 Studio Pro Demo. I tested from wine-1.1.0 to wine-1.1.34 and at the end I came to two versions:
1. wine-1.1.30-193-g0c70291 which is working fine, no lags.
2. wine-1.1.30-195-gce4d490 which is working with lags.
Last message I got was:
Bisecting: 0 revisions left to test after this (roughly 0 steps) [6b8753185f30197047773af6a26eafd34d45367c] winex11: Add support for 16-bit/32-bit DIB sections.
Since the first bad commit wasn't identified, I have no idea what to do next. Suggestions?
P.S. It is clear that the patch which is causing sluggishness in ArtRage 2.5.20 do the same to ArtRage3 Studio Pro Demo, so should I open a new bug report or rename this one and include both versions?
http://bugs.winehq.org/show_bug.cgi?id=21043
--- Comment #4 from Austin English austinenglish@gmail.com 2009-12-20 20:03:23 --- (In reply to comment #3)
I just finished regression test (took me almost all day :) and I tested both ArtRage 2.5.20 and ArtRage3 Studio Pro Demo. I tested from wine-1.1.0 to wine-1.1.34 and at the end I came to two versions:
wine-1.1.30-193-g0c70291 which is working fine, no lags.
wine-1.1.30-195-gce4d490 which is working with lags.
Last message I got was:
Bisecting: 0 revisions left to test after this (roughly 0 steps) [6b8753185f30197047773af6a26eafd34d45367c] winex11: Add support for 16-bit/32-bit DIB sections.
Since the first bad commit wasn't identified, I have no idea what to do next. Suggestions?
You still have one more compile to do. Compile wine there, and report it as good/bad.
http://bugs.winehq.org/show_bug.cgi?id=21043
--- Comment #5 from Meho R. meho_r@yahoo.com 2009-12-21 06:16:02 --- Created an attachment (id=25330) --> (http://bugs.winehq.org/attachment.cgi?id=25330) Regression Test Result
OK, done. Here's the result of regression tests.
http://bugs.winehq.org/show_bug.cgi?id=21043
Meho R. meho_r@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thunderbird2k@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=21043
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #25330|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=21043
--- Comment #6 from Dmitry Timoshkov dmitry@codeweavers.com 2009-12-21 06:31:39 --- There is no need to attach this info:
6b8753185f30197047773af6a26eafd34d45367c is 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.
http://bugs.winehq.org/show_bug.cgi?id=21043
--- Comment #7 from Meho R. meho_r@yahoo.com 2009-12-21 07:07:09 --- I'm sorry, but, what should I report then? Or you meant I should post that info in comment, not as an attachment? (Please, be patient with me, this is my first regression testing and I'm still not acquainted with all details).
http://bugs.winehq.org/show_bug.cgi?id=21043
--- Comment #8 from Meho R. meho_r@yahoo.com 2009-12-21 07:12:56 --- BTW, I just finished compiling wine without the problematic part (git show 6b8753185f30197047773af6a26eafd34d45367c | patch -p1 -R) and it works fine, no sluggishness anymore, not in ArtRage 2.5.20, not in ArtRage3 Studio Pro Demo.
http://bugs.winehq.org/show_bug.cgi?id=21043
--- Comment #9 from Roderick Colenbrander thunderbird2k@gmail.com 2009-12-21 07:20:58 --- What display drivers are you using?
http://bugs.winehq.org/show_bug.cgi?id=21043
--- Comment #10 from Meho R. meho_r@yahoo.com 2009-12-21 08:29:09 --- nVidia's proprietary driver which ships with Ubuntu 9.10, version 185.18.36-ubuntu9 (nVidia GeForce 9500 GT grahpic card). Haven't change any settings in winecfg.
Additional note: enabling or disabling desktop effects (CompizFusion) doesn't have any impact on ArtRage's performance.
http://bugs.winehq.org/show_bug.cgi?id=21043
--- Comment #11 from Meho R. meho_r@yahoo.com 2009-12-21 08:31:22 --- A correction: the driver doesn't actually ship with Ubuntu, but is available for installation through "Hardware Drivers". So, just to be clear, it is not OpenSource graphic driver, but nVidia's binary one.
http://bugs.winehq.org/show_bug.cgi?id=21043
--- Comment #12 from Roderick Colenbrander thunderbird2k@gmail.com 2009-12-21 09:58:41 --- What happens if you set ClientSideWithRender to N (see http://wiki.winehq.org/UsefulRegistryKeys). If that fixes the performance drop then bug 21070 is a duplicate of this one.
http://bugs.winehq.org/show_bug.cgi?id=21043
--- Comment #13 from Meho R. meho_r@yahoo.com 2009-12-21 10:35:58 --- (In reply to comment #12)
What happens if you set ClientSideWithRender to N (see http://wiki.winehq.org/UsefulRegistryKeys). If that fixes the performance drop then bug 21070 is a duplicate of this one.
Since I couldn't find that registry key, I created it (HKEY_CURRENT_USER > Software > Wine > X11 Driver) and yes, you were right, the problem disappeared when I created under "X11 Driver" a new string value "ClientSideWithRender" and set it to N. Thank you for the quick response.
http://bugs.winehq.org/show_bug.cgi?id=21043
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lukasz.wojnilowicz@gmail.co | |m
--- Comment #14 from Roderick Colenbrander thunderbird2k@gmail.com 2009-12-21 10:37:54 --- *** Bug 21070 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=21043
--- Comment #15 from Roderick Colenbrander thunderbird2k@gmail.com 2009-12-22 04:20:21 --- I checked the code again and the documentation on ClientSideWithRender is not correct as it seems to disable all XRender code in Wine. There is no real way to test whether it is the font or the other code which is the problem.
http://bugs.winehq.org/show_bug.cgi?id=21043
--- Comment #16 from NSLW lukasz.wojnilowicz@gmail.com 2009-12-22 12:03:15 --- Reply for Roderick from bug #21070:
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).
PP2003 works fast on wine-1.1.35-105-gd4a7a9d after doing as you described.
Does the issue also occur on Powerpoint 2003 viewer?
No it doesn't.
http://bugs.winehq.org/show_bug.cgi?id=21043
--- Comment #17 from Roderick Colenbrander thunderbird2k@gmail.com 2009-12-22 12:16:51 --- There is one easy way to test where the problem is. The Nvidia drivers try to accelerate big parts of XRender using the GPU. If you add the line: Option "RenderAccel" "0" to the screen / device section of your xorg.conf the drivers will fall back to software XRender (which is also used by ATI and other drivers). I suspect the issue won't occur in that mode.
http://bugs.winehq.org/show_bug.cgi?id=21043
--- Comment #18 from NSLW lukasz.wojnilowicz@gmail.com 2009-12-23 04:41:33 --- (In reply to comment #17)
If you add the line: Option "RenderAccel" "0" to the screen / device section of your xorg.conf the drivers will fall back to software XRender (which is also used by ATI and other drivers). I suspect the issue won't occur in that mode.
Setting RenderAccel to False won't help. On metacity my desktop is very slow and when I open PP2003 it's still very very slow so after your advice it doesn't speed up even a bit.
BTW. Shouldn't version be changed to 1.1.31 as this is the first version on which this bug occurred? Shouldn't this bug be confirmed already? Shouldn't component be set to winex11.drv?
http://bugs.winehq.org/show_bug.cgi?id=21043
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |winex11.drv
--- Comment #19 from Roderick Colenbrander thunderbird2k@gmail.com 2009-12-23 06:34:49 --- Sure the desktop can be slow after this change. Strange that power point is still slow. On my AMD drivers it isn't and both should be using the same software rendering code. Perhaps it is also related to the fonts.
http://bugs.winehq.org/show_bug.cgi?id=21043
--- Comment #20 from NSLW lukasz.wojnilowicz@gmail.com 2009-12-23 11:45:32 --- (In reply to comment #19)
Perhaps it is also related to the fonts.
How can this be checked or do you need me to check anything else?
http://bugs.winehq.org/show_bug.cgi?id=21043
--- Comment #21 from Roderick Colenbrander thunderbird2k@gmail.com 2009-12-23 12:27:40 --- Perhaps you could try the latest 195.30 beta drivers those accelerate more parts of XRender.
http://bugs.winehq.org/show_bug.cgi?id=21043
--- Comment #22 from NSLW lukasz.wojnilowicz@gmail.com 2009-12-23 12:50:18 --- (In reply to comment #21)
Perhaps you could try the latest 195.30 beta drivers those accelerate more parts of XRender.
Lates 195.30 beta drivers don't help.
http://bugs.winehq.org/show_bug.cgi?id=21043
--- Comment #23 from Roderick Colenbrander thunderbird2k@gmail.com 2009-12-23 14:23:07 --- It would be useful to find some small (and free) apps which show the same issue. I want to report it to Nvidia and it shouldn't take much effort from their side to reproduce it.
http://bugs.winehq.org/show_bug.cgi?id=21043
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |mstefani@redhat.com Ever Confirmed|0 |1
--- Comment #24 from Michael Stefaniuc mstefani@redhat.com 2010-11-24 16:06:18 CST --- Confirming as per comment #16.
Can somebody please retest this one with a newer Nvidia drivers (version 260.19.21 seems to be out) and newer Wine (1.2.1 or 1.3.7 or later). Thanks!
http://bugs.winehq.org/show_bug.cgi?id=21043
Alan Jones skyphyr@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |skyphyr@gmail.com
--- Comment #25 from Alan Jones skyphyr@gmail.com 2010-11-28 12:38:42 CST --- Hi Michael,
Using the following
cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 260.19.12 Fri Oct 8 11:17:08 PDT 2010 GCC version: gcc version 4.5.0 20100604 [gcc-4_5-branch revision 160292] (SUSE Linux)
wine --version
wine-1.3.8
I have lag with standard settings adding the registry key ClientSideWithRender set to N and the lag is gone.
I didn't try compiling from source with the details from comment 16 - Did you want that or (presumably - didn't check if the repo added any patches) vanilla wine?
Cheers,
Alan.
http://bugs.winehq.org/show_bug.cgi?id=21043
--- Comment #26 from Michael Stefaniuc mstefani@redhat.com 2010-11-28 12:41:46 CST --- Thanks, just wanted to know if the problem still persists.
http://bugs.winehq.org/show_bug.cgi?id=21043
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |6b8753185f30197047773af6a26 | |eafd34d45367c
http://bugs.winehq.org/show_bug.cgi?id=21043
--- Comment #27 from Austin English austinenglish@gmail.com 2011-10-17 19:00:50 CDT --- http://www2.ambientdesign.com/files/install_artrage_2.6.0_starter.exe
from http://www.artrage.com/artrage-demos.html
seems fast enough to me in wine-1.3.30-205-g472a8f7, on nvidia 295/285.05 drivers. Not sure if it's the new DIB engine stuff or if was fixed on Nvidia's end. Meho, can you please retest?
http://bugs.winehq.org/show_bug.cgi?id=21043
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #28 from Michael Stefaniuc mstefani@redhat.com 2013-07-01 18:37:14 CDT --- Assuming fixed as it works for me too on wine-1.6-rc4-23-g695fb6c and wine-1.5.29. I'm using the radeon driver on Fedora 17.
1.1.40 (oldest Wine version I have) shows the main window which never refreshes. I don't even see the cursor in the main window.
1.3.31, 1.4 and 1.5.10 don't even show the main window for me.
http://bugs.winehq.org/show_bug.cgi?id=21043
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #29 from Alexandre Julliard julliard@winehq.org 2013-07-12 13:47:29 CDT --- Closing bugs fixed in 1.6-rc5.