Bug 21288 - Problems with cursor when rotate with xrandr
Summary: Problems with cursor when rotate with xrandr
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-19 20:43 UTC by Andrew P. Falaleev
Modified: 2010-10-19 17:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
My xorg.conf (2.69 KB, application/octet-stream)
2009-04-19 22:40 UTC, Andrew P. Falaleev
no flags Details
Xorg log file (153.73 KB, patch)
2009-04-19 22:41 UTC, Andrew P. Falaleev
no flags Details | Splinter Review

Description Andrew P. Falaleev 2009-04-19 20:43:13 UTC
System:

RV635
Core2 Quad 6600
Debian testing.
xserver-xorg-video-radeon 6.12.2
xserver-xorg 7.4.
xrandr 1.3
kernel 2.6.29 with radeon drm module from git.

Display 20" LCD (1680x1050)

Problem:
Change orientation via "xrandr -o left".
All is ok until I press mouse button - cursor corrupt. It restored when I move
mouse to some place, where cursor must change (to link in web-browser for
example).
When I enter some text I see artefacts on previos place of blinking cursor.
If I enable SWcursor and enter command "xrandr -o left" - xserver fail and
itself restarted.

xserver-xorg-video-radeonhd 1.2.5 fail on command "xrandr -o left" - my
computer is locked - keyboard doesn't response, but mouse work.

This is my first bug report. Please ask me, if need more information.

Thanks.
Comment 1 Alex Deucher 2009-04-19 21:34:55 UTC
Please attach your xorg log and config.
Comment 2 Andrew P. Falaleev 2009-04-19 22:40:05 UTC
Created attachment 24956 [details]
My xorg.conf
Comment 3 Andrew P. Falaleev 2009-04-19 22:41:27 UTC
Created attachment 24957 [details] [review]
Xorg log file
Comment 4 Andrew P. Falaleev 2009-04-21 02:11:34 UTC
I try fglrx driver on the same configuration - all work fine. 
Comment 5 Andrew P. Falaleev 2009-05-15 02:49:14 UTC
I try last version from the git.


Problems with mouse cursor is fixed.
Problems with traces from windows (when windows is moved or change size) is fixed.

Stay problem with blinking cursor - traces when it type some text.


Thnx for current fixes.
Comment 6 Alex Deucher 2009-05-15 08:13:44 UTC
Does:
Option "EXANoDownloadFromScreen"
in the device section of your config fix the cursor corruption?
Comment 7 Andrew P. Falaleev 2009-05-17 23:43:27 UTC
Option "EXANoDownloadFromScreen" doesn't help.
 

Additional observations: there are some problems with fonts. 
When I lock screen with xscreensaver - unlock dialog by password has problems with text - all letter is shifted to left-top corner.

When I type text in some editor (emacs for example) - and blinking cursor change color (from red to yellow, for example) - I see old color (red, in example case) on left and top side of blinking cursor. Width of old color is about 1 pixel (may be 2 pixels).

  

Comment 8 Michel Dänzer 2009-05-18 04:00:17 UTC
Does it work better if you use something like

xrandr --output DVI-1 --rotate left

rather than xrandr -o left?
Comment 9 Andrew P. Falaleev 2009-05-18 06:20:30 UTC
xrandr --output DVI-0 --rotate left
xrandr -o left

Both work identically.

Comment 10 Andrew P. Falaleev 2009-05-19 02:56:48 UTC
With Option "EXANoDownloadFromScreen" defects with fonts became more.
Comment 11 Andrew P. Falaleev 2009-05-19 23:47:09 UTC
I wrote that defects on left and top sides. This is not true. Only on left side. And not only with fonts. With all small changed zones - highlight selected menu item, highlight selected toolbar buttons, fonts, and other. There are doesn't draw left (about 1 pxl width) of the changed picture.
Comment 12 Andrew P. Falaleev 2009-06-08 07:00:35 UTC
Additional observations: from rotation type depend which part has defects:

1. Rotate left. Only left part is not redrawing
2. Rotate right. Only top part is not redrawing.
3. Rotate inverted. In some times top is not redrawing, in some times left part is not redrawing, in some times both (top and left) parts are not redrawing.


Comment 13 Alex Deucher 2009-06-08 07:36:54 UTC
this is probably related to bug 21963.  Does the workaround posted there help?
Comment 14 Andrew P. Falaleev 2009-06-08 22:15:24 UTC
Workaround from 21963 is help. 

But now I have new problem. I have two monitors. XRandr command line is:

xrandr --output DVI-0 --mode 1280x1024 --output DVI-1 --mode 1680x1050 --right-of DVI-0 --rotate left

On left part of second monitor I see one vertical line from right part of first monitor. 

If DVI-1 rotate normal all is good.
If DVI-1 rotate right I see on top of second monitor one horizontal line from first monitor.
If DVI-1 rotate inverted I see one vertical line and one horizontal line on second monitor.
Comment 15 Andrew P. Falaleev 2009-06-08 22:19:18 UTC
Lines from other monitors are appeared only after applying workaround from 21963.
Comment 16 Alex Deucher 2009-11-11 11:03:50 UTC
Is this still an issue with xf86-video-ati from git master?
Comment 17 Andrew P. Falaleev 2009-11-11 23:40:35 UTC
Today I get last version from git master.

No picture corruption as described in the ticket. But still problem described in comment #14 ( http://bugs.freedesktop.org/show_bug.cgi?id=21288#c14 ).

I have two monitors, both connected via DVI. On both 1680x1050.
Command line for xrandr:

xrandr --output DVI-0 --mode 1680x1050 --rotate normal --output DVI-1 --mode 1680x1050 --right-of DVI-0  --rotate left --dpi 96

After that I see one artefact vertical line on left side on the second monitor (DVI-1). This line is copy of one vertical line from right side from first monitor (DVI-0).

Everything else is very good.
Comment 18 Alex Deucher 2010-10-19 17:15:08 UTC
(In reply to comment #17)
> After that I see one artefact vertical line on left side on the second monitor
> (DVI-1). This line is copy of one vertical line from right side from first
> monitor (DVI-0).

This is an xserver issue.  This should be fixed in xserver 1.9.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.