Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 559964

Summary: Pointer confined to one monitor with r500 in zaphod mode
Product: Red Hat Enterprise Linux 5 Reporter: Olivier Fourdan <ofourdan>
Component: xorg-x11-serverAssignee: Dave Airlie <airlied>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: high    
Version: 5.4CC: airlied, cmeadors, dmair, kem, mgordon, rdassen, rkhadgar, tpelka, vbenes
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-21 03:10:30 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:
Bug Depends On:    
Bug Blocks: 668575, 694728    
Attachments:
Description Flags
xorg.conf
none
proposed patch none

Description Olivier Fourdan 2010-01-29 13:52:14 UTC
Description of problem:

Dual head on HP dc5850 desktop, using the "r500" driver in zaphod mode, the mouse pointer is confined to one of the monitor and cannot move to the other monitor.

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

xorg-x11-drv-ati-6.6.3-3.27.el5-x86_64

How reproducible:

Always with customer's hardware

Steps to Reproduce:
1. Configure dual head, with individual desktop in system-config-desktop
2. Restart X
  
Actual results:

The two monitors are detected, screen :0 and :1 and available, but the mouse pointer remains on one monitor.

Moving the mouse to the opposite side can move it around freely on the 2nd screen, but cannot move back to the 1st screen.

Changing "LeftOf" to "RightOf" in the xorg.conf cause the mouse to be trapped on the first screen, ie. can move it around freely on the 1st screen, but cannot move it to the 2nd screen.

Expected results:

The mouse pointer can move between monitors

Additional info:

Initially thought it could have been related to upstream commit 18a611f3cc7f5eea95cd73a9dcc7913c922fcbc:

    http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=718a611f3cc7f5eea95cd73a9dcc7913c922fcbc

But that is not the case, a test package with this patch included does not fix the issue.

Additional tests include changing the initial layout created by s-c-display:

    Section "ServerLayout"
            Identifier     "Multihead layout"
            Screen      0  "Screen0" LeftOf "Screen1"
            Screen      1  "Screen1" 0 0
            InputDevice    "Keyboard0" "CoreKeyboard"
            Option      "Xinerama" "off"
            Option      "Clone" "on"
    EndSection

to

    Section "ServerLayout"
           Identifier     "Multihead layout"
           Screen      0  "Screen0" LeftOf "Screen1"
           Screen      1  "Screen1" 0 0
           InputDevice    "Keyboard0" "CoreKeyboard"
    EndSection

    Section "ServerFlags"
           Option       "Xinerama" "off"
    EndSection
    
But that did not make any difference.

Comment 1 Olivier Fourdan 2010-01-29 13:53:16 UTC
Created attachment 387569 [details]
xorg.conf

Comment 4 Dave Airlie 2011-01-23 07:48:53 UTC
this may be a server bug, should be reproducible and fixable.

Comment 5 J.H.M. Dassen (Ray) 2011-01-28 16:36:29 UTC
This problem was reported on a system that was the same as, or very similar to that of bug #529717. Test packages produced for that bug have been tested successfully by a customer.

Perhaps these two issues share a root cause or can be addressed together?

Comment 7 Dave Airlie 2011-03-09 03:56:17 UTC
Created attachment 483097 [details]
proposed patch

Comment 8 Dave Airlie 2011-03-09 04:27:53 UTC
MODIFIED

xorg-x11-server-1.1.1-48.79.el5 is built in brew, please test.

Comment 17 errata-xmlrpc 2012-02-21 03:10:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-0303.html