Announcement

Collapse
No announcement yet.

XORG - xrandr scale traps mouse

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    XORG - xrandr scale traps mouse

    Xrandr reports this;
    Code:
    Screen 0: minimum 320 x 200, current 1360 x 768, maximum 2720 x 1536
    DFP1 disconnected (normal left inverted right x axis y axis)
    DFP2 disconnected (normal left inverted right x axis y axis)
    CRT1 disconnected (normal left inverted right x axis y axis)
    CRT2 connected 1360x768+0+0 (normal left inverted right x axis y axis) 16mm x 9mm
       1360x768       60.0*+
       1280x768       60.0  
       1280x720       60.0  
       1024x768       60.0  
       800x600        60.3  
       640x480        59.9
    When I use this command for my virtual 2720x1536 screen;
    $ xrandr --output CRT2 --scale 2x2

    It traps the mouse in the upper left quad of the screen and is restricted. I did some research on this minor issue. I found most solutions point at the xserver needing to be "upgraded" but I have the latest and greatest according to apt-get. Some solutions suggested rolling back to an earlier version.
    I currently have;
    xrandr program version 1.3.5
    Server reports RandR version 1.3

    Any clues on how to upgrade xrandr or will that just cause more issues?

    #2
    Try:

    xrandr --output CRT2 --panning 2720x1536 --scale 2x2

    Please Read Me

    Comment


      #3
      No same results, but thanks for the support.


      Sorry.

      Comment


        #4
        What version of Kubuntu/xorg are you using? Mine shows "Server reports xrandr 1.4"

        Please Read Me

        Comment


          #5
          Tested it here and got jumbled video, but the mouse traps correctly. I have dual monitors using twinview so the command scrambled the video, but the mouse cursor went over the whole screen and was quite a bit smaller than usual. It appears to have worked - at least as far as the mouse goes.

          Please Read Me

          Comment


            #6
            Kubuntu 12.04 using the kdm manager. My xrandr is 1.3.5 but I understand there is 1.4.0 and 1.4.1 available. No luck in finding a download.

            According to my package manager I have;
            xorg (1:7.6+12ubuntu2) precise-proposed; urgency=low
            x11-xserver-utils (7.6+3) unstable; urgency=low
            xserver-xorg-video-ati (1:6.14.99~git20111219.aacbd629-0ubuntu2) precise; urgency=low

            My GPU is a 1 GB ATI Radeon HD 5450, I know this is an Xrandr problem one only need to search "Xrandr Mouse Restricted" and you will see and read all sorts of info about patching, downgrading or upgrading. I am just looking for the clear path to take.

            Thanks to everyone for their attention on this minor issue.

            Edit: Just found this --> http://cgit.freedesktop.org/xorg/app/xrandr/
            Anygood? Can I eat this? Should I eat this?
            Last edited by Simon; Sep 10, 2013, 07:20 PM.

            Comment


              #7
              Don't mean to be a nuisance, but so far this has lead me to one dead end after another...

              I downloaded both compressed files for 1.4.0 and 1.4.1 ... I am not PC geeky enough to know how to use them. Because they are C source and not the compiled binaries, I ran the autogen bash and came up with an error message telling me not to mess with stuff that is not in my field of expertise.

              This topic (https://bbs.archlinux.org/viewtopic.php?id=118999) came to my attention and was started on May 2011 and ran to Oct 2012 without a real solution in sight.
              This one (http://forums.linuxmint.com/viewtopi...337f793ef4c3f5) for Mint began Dec 2011 and ended March 2012 with the last poster asking how to apply patches.
              Red Hat Bugzilla seems to ignore it all together: (https://bugzilla.redhat.com/show_bug.cgi?id=655212)

              Like I said, this is not very important to me, but it seems to be linked to several unanswered questions. I am still seeking the answer.

              Comment


                #8
                Not much new here.

                But I refreshed my xorg edgers ppa, reinstalled xorg, and made certain everything was updated. Still Xrandr reports the same as before. Highest version available is 1.3.5. I found 1.4.1 for compiler. Currently looking into what else I need to compile the source. "Dammit Jim! I am a doctor not a computer programmer!"

                Other things I have looked into;
                Code:
                [B]Normal 1360x768 mode[/B]
                ~$ wmctrl -lG
                0x01c000fd  0 0    0    1360 768  sysop-G41-M7 plasma-desktop
                0x01c00106  1 0    0    1360 768  sysop-G41-M7 plasma-desktop
                0x01c000f4 -1 0    733  1360 35   sysop-G41-M7 plasma-desktop
                0x01a00012  0 158  202  830  507  sysop-G41-M7 ~ : bash
                ~$ xrandr --output CRT2 --scale 2x2 
                ~$ wmctrl -lG
                0x01c000fd  0 0    0    2720 1536 sysop-G41-M7 plasma-desktop
                0x01c00106  1 0    0    2720 1536 sysop-G41-M7 plasma-desktop
                0x01c000f4 -1 0    1501 2720 35   sysop-G41-M7 plasma-desktop
                0x01a00012  0 158  202  830  507  sysop-G41-M7 ~ : bash
                
                
                [B]After updating and reinstalling xorg.[/B]
                ~$ xrandr
                Screen 0: minimum 320 x 200, current 1360 x 768, maximum 8192 x 8192
                DFP1 disconnected (normal left inverted right x axis y axis)
                DFP2 disconnected (normal left inverted right x axis y axis)
                CRT1 disconnected (normal left inverted right x axis y axis)
                CRT2 connected 1360x768+0+0 (normal left inverted right x axis y axis) 16mm x 9mm
                   1360x768       60.0*+
                   2720x1536      59.9  
                   2048x1536      59.9  
                   1800x1440      59.9  
                   1856x1392      59.9  
                   1792x1344      59.9  
                   1920x1200      59.9  
                   1920x1080      59.9  
                   1600x1200      59.9  
                   1680x1050      59.9  
                   1400x1050      59.9  
                   1280x1024      59.9  
                   1440x900       59.9  
                   1280x960       59.9  
                   1280x768       60.0  
                   1280x720       60.0  
                   1024x768       60.0  
                   800x600        60.3  
                   640x480        59.9
                Most of these modes are not supported by my monitor. The only reason I use Virtual mode is to take higher resolution screen shots. But mouse being able to reach all sections of the screen would be nice too. I also toyed with the notion that the mouse is not set up correctly in the xorg.conf?

                Code:
                Section "InputDevice"
                	Identifier     "Mouse0"
                	Driver         "mouse"
                	Option         "Protocol" "auto"
                	Option         "Device" "/dev/psaux"
                	Option         "Emulate3Buttons" "no"
                	Option         "ZAxisMapping" "4 5"
                EndSection
                
                Section "ServerLayout"
                	Identifier     "Layout0"
                	Screen      0  "Screen0" 0 0
                	InputDevice    "Keyboard0" "CoreKeyboard"
                	InputDevice    "Mouse0" "CorePointer"
                	Option         "Xinerama" "0"
                EndSection
                I am no xorg expert but I don't see anything locking my mouse into the box...
                I suppose I can play with getting 1.4.1 on my system next weekend.

                Comment


                  #9
                  I had a minor break through on this issue...

                  I shut down my AMD Catalyst Control Server, by removing the driver using Addition Drivers option. I don't see this as a victory, it just tell me my "proprietary" driver is most likely to blame. For the time being when I need a bigger (higher resolution) snapshot without the mouse getting trapped, I just need to temporarily knock out the AMD drivers. If any driver guru has a way to turn the drivers on and off without the install/uninstall I would love the help.

                  Oh BTW...
                  This is my most current and up to date xorg.conf

                  Code:
                  Section "ServerLayout"
                  	Identifier     "aticonfig Layout"
                  	Screen      0  "aticonfig-Screen[0]-0" 0 0
                  EndSection
                  
                  Section "Module"
                  	Load  "glx"
                  EndSection
                  
                  Section "Monitor"
                  	Identifier   "aticonfig-Monitor[0]-0"
                  	Option	    "VendorName" "ATI Proprietary Driver"
                  	Option	    "ModelName" "Generic Autodetecting Monitor"
                  	Option	    "DPMS" "true"
                  EndSection
                  
                  Section "Device"
                  	Identifier  "aticonfig-Device[0]-0"
                  	Driver      "fglrx"
                  	BusID       "PCI:1:0:0"
                  EndSection
                  
                  Section "Screen"
                  	Identifier "Default Screen"
                  	DefaultDepth     24
                  EndSection
                  
                  Section "Screen"
                  	Identifier "aticonfig-Screen[0]-0"
                  	Device     "aticonfig-Device[0]-0"
                  	Monitor    "aticonfig-Monitor[0]-0"
                  	DefaultDepth     24
                  	SubSection "Display"
                  		Viewport   0 0
                  		Depth     24
                  		Virtual   2720 1536
                  	EndSubSection
                  EndSection
                  Last edited by Simon; Sep 28, 2013, 08:22 AM. Reason: added the xorg

                  Comment

                  Working...
                  X