You are not logged in.

#1 2007-12-26 18:32:07

lunchbox
Member
Registered: 2005-03-14
Posts: 28

Mouse problems in full screen apps under X.org running compiz

I just got a new mouse for Christmas, the Logitech MX Revolution.  Since it has so many buttons and what not I decided to start using the evdev driver in xorg.  I'm not sure what is causing this, but now anytime I enter a fullscreen application such as a game or emulator, the mouse automatically gets sucked down the the bottom right hand corner of the screen.  Whenever I move the cursor up and to the left I can see it move for about a second then it disappears and reappears at the bottom right again.

The mouse works great on my normal desktop when browsing the web and doing rudimentary activities.  I noted that I am running compiz, but I tried metacity and openbox to see if they did it too and it was more of the same.  So I'm thinking it's something to do with the evdev driver or xorg in general.

Any ideas?

Offline

#2 2007-12-26 20:10:50

mezoko
Member
Registered: 2005-03-26
Posts: 310
Website

Re: Mouse problems in full screen apps under X.org running compiz

Do you have an xorg.conf file you can post for us?


"The only thing we have to fear is fear itself." - Franklin D. Roosevelt

Offline

#3 2007-12-26 20:42:04

lunchbox
Member
Registered: 2005-03-14
Posts: 28

Re: Mouse problems in full screen apps under X.org running compiz

Nope, I decided I was going to run it without one wink

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "SendCoreEvents"
EndSection

Section "Files"
    RgbPath         "/usr/lib/X11/rgb"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "evdev"
    Option         "Device" "/dev/input/by-id/usb-Logitech_USB_Receiver-event-mouse"
    Option         "SendCoreEvents" "true"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Acer AL1716"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    ModeLine       "1280x1024" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
    ModeLine       "1024x768" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
    ModeLine       "800x600" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
    ModeLine       "640x480" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
    ModeLine       "1280x960" 129.9 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
    ModeLine       "1152x864" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
    ModeLine       "768x576" 45.5 768 808 888 1008 576 577 580 602 -hsync +vsync
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "TV-0"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7600 GT"
    Option         "AddARGBGLXVisuals" "True"
    Option         "RenderAccel" "True"
    Option         "AllowGLXWithComposite" "True"
    BusID          "PCI:4:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7600 GT"
    BusID          "PCI:4:0:0"
    Screen          1
EndSection

Section "Screen"
# Removed Option "metamodes" "1280x1024_75 +0+0; 1024x768 +0+0; 800x600 +0+0; 640x480 +0+0"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "CRT: 1280x1024_75 +0+0; CRT: 1024x768 +0+0; CRT: 800x600 +0+0; CRT: 640x480 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "TV: 640x480 +0+0"
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

Offline

#4 2007-12-28 17:45:59

lunchbox
Member
Registered: 2005-03-14
Posts: 28

Re: Mouse problems in full screen apps under X.org running compiz

Just thought I might update to see if this maybe sparks some thoughts.  It seems that the mouse may be suffering from a sensitivity issue in fullscreen apps.  I've noticed that after a long while of trying to get the mouse out of the corner it will eventually start traveling up and down the x,y axis from the bottom right hand corner of the screen.  It moves at a snails pace, but as long as I don't move the mouse REALLY fast then it will move along the bottom and right hand side of the screen.  Once or twice I've been able to dislodge the cursor from the side of the screen by constant upward movement.  If I do this then I can move it around the screen incredibly slowly for as long as I want, but most of the time it seems to read my movements completely incorrectly.  It hold perfectly still if I don't move the mouse, but if I move the mouse up it may go up or down or left or right.  It seems sort of arbitrary.  If I stop, it stops.  Then if I start moving it again it will start going in a different direction.

This is just mind boggling.  Does anyone have any similar experiences or suggestions?

Thanks,
lunchbox

Offline

#5 2007-12-30 18:13:24

mrB
Member
Registered: 2007-05-16
Posts: 28

Re: Mouse problems in full screen apps under X.org running compiz

I have the same problem as soon as I use evdev. I'm currently looking into it.

Offline

#6 2007-12-31 09:32:06

mrB
Member
Registered: 2007-05-16
Posts: 28

Re: Mouse problems in full screen apps under X.org running compiz

I've tried many things but I still get the bug; in other distributions fullscreen apps work fine with evdev.

Offline

#7 2008-01-01 21:37:38

lunchbox
Member
Registered: 2005-03-14
Posts: 28

Re: Mouse problems in full screen apps under X.org running compiz

Very curious... Have you tried building evdev from source by any chance?

I'm thinking about doing it, but I'm really busy with stuff right now and don't want to locate the source.

*Edit*
Actually it appears that there aren't any updates to the sources and judging from the PKGBUILD it's a vanilla compile (ie. no patches; no flags).  I might just try compiling and inserting the module and see what happens.

Last edited by lunchbox (2008-01-01 21:43:00)

Offline

#8 2008-01-02 09:05:27

mrB
Member
Registered: 2007-05-16
Posts: 28

Re: Mouse problems in full screen apps under X.org running compiz

No I haven't. By the way the issue is not related to compiz since I haven't installed it wink

Offline

#9 2008-01-03 22:33:18

lunchbox
Member
Registered: 2005-03-14
Posts: 28

Re: Mouse problems in full screen apps under X.org running compiz

This is just so weird.  If I run a program windowed the mouse works just fine.  The second I hit the fullscreen button, BOOM down in the bottom right.

As a fix I've just been running games in windowed mode and making the window resolution high enough to fill the screen.

This fix sucks for obvious reasons, so I hope someone can figure this out.

Offline

Board footer

Powered by FluxBB