Bug 538866

Summary: Rotated cursor when displays have different orientation
Product: [Fedora] Fedora Reporter: Tom Hughes <tom>
Component: xorg-x11-drv-nouveauAssignee: Ben Skeggs <bskeggs>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 12CC: airlied, ajax, awilliam, bskeggs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: card_NV84
Fixed In Version: xorg-x11-drv-nouveau-0.0.15-21.20091105gite1c2efd.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-30 02:08:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
xorg.conf
none
Xorg.0.log
none
Test program none

Description Tom Hughes 2009-11-19 15:46:38 UTC
Description of problem:

I have two monitors, one of which is rotated through 90 degrees. Both are driven from a single NVidia graphics card using nouveau and they are composited into a single desktop using xrandr. The xrandr configuration is:

Screen 0: minimum 320 x 200, current 3760 x 1600, maximum 8192 x 8192
DVI-I-0 connected 2560x1600+0+0 (normal left inverted right x axis y axis) 646mm x 406mm
DVI-I-1 connected 1200x1600+2560+0 right (normal left inverted right x axis y axis) 408mm x 306mm

When using certain progams on the left hand (non-rotated) screen the cursor gets rotated through 90 degrees. This does not happen on the right hand (rotated) screen.

Version-Release number of selected component (if applicable):

xorg-x11-drv-nouveau-0.0.15-17.20091105gite1c2efd.fc12.x86_64

How reproducible:

Every time.

Steps to Reproduce:

The simplest way I've found to reproduce it is to start an Xvnc instance running a simple xterm and twm and then connect to that vnc instance with tigervnc and move the viewer between screens.
  
Actual results:

Cursor gets rotated. It also seems to get displaced a bit to the right.

Expected results:

Cursor does not get rotated.

Additional info:

Comment 1 Tom Hughes 2009-11-19 15:47:37 UTC
Created attachment 370381 [details]
xorg.conf

This is my xorg.conf file.

Comment 2 Tom Hughes 2009-11-19 15:48:08 UTC
Created attachment 370382 [details]
Xorg.0.log

This is my X log file.

Comment 3 Tom Hughes 2009-11-20 10:34:26 UTC
Created attachment 372458 [details]
Test program

This is a simple test program to save faffing about with Xvnc. Just compile this and run it and a small window will appear. When over that window the cursor should have horizontal lines but with the setup I described they are vertical on one monitor and horizontal on the other.

Comment 4 Tom Hughes 2010-01-11 08:38:23 UTC
Is there anything I can do to help diagnose this?

Comment 5 Ben Skeggs 2010-02-09 05:02:33 UTC
I attempted to reproduce this (with the same hw) and couldn't manage to trigger the issue.  Any chance you can update to at least xorg-x11-server-1.7.3-1 (the version in use on the machine I tested on, feel free to use newer if available) and retry to rule out the X server?

Comment 6 Tom Hughes 2010-02-09 08:38:44 UTC
I'm fully up to date and as it happens I rebooted yesterday so I'm already running 1.7.4-1 and it is still happening. My current package versions are:

kernel-2.6.31.12-174.2.3.fc12.x86_64
xorg-x11-server-Xorg-1.7.4-1.fc12.x86_64
xorg-x11-drv-nouveau-0.0.15-19.20091105gite1c2efd.fc12.x86_64

Comment 7 Ben Skeggs 2010-02-22 05:22:04 UTC
Ok.  Are you able to give the build at http://koji.fedoraproject.org/scratch/bskeggs/task_2004261/ a try and report if it helps?

Thank you :)

Comment 8 Tom Hughes 2010-02-22 09:31:15 UTC
That seems to fix it, yes.

Comment 9 Fedora Update System 2010-03-14 22:50:29 UTC
xorg-x11-drv-nouveau-0.0.15-21.20091105gite1c2efd.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/xorg-x11-drv-nouveau-0.0.15-21.20091105gite1c2efd.fc12

Comment 10 Fedora Update System 2010-03-16 00:33:14 UTC
xorg-x11-drv-nouveau-0.0.15-21.20091105gite1c2efd.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update xorg-x11-drv-nouveau'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/xorg-x11-drv-nouveau-0.0.15-21.20091105gite1c2efd.fc12

Comment 11 Fedora Update System 2010-03-30 02:08:09 UTC
xorg-x11-drv-nouveau-0.0.15-21.20091105gite1c2efd.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.