Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-01-08, 01:01 AM   #1
kburger
Registered User
 
Join Date: Mar 2008
Posts: 7
Default mouse only moves so far in FPS games such as Tremulous

I just recently added a 2nd monitor. I've got them set up with TwinView. Now when I run Tremulous (a FPS game) my mouse will only move so far in either the X axis or the Y axis. The problem seems to be that the mouse is "reaching the boundaries of the screen" like it would for a normal window. But since this is a FPS game, I obviously need to be able to move my mouse infinitely in the X axis. This should cause my character to look to either the left or the right and cause him to "spin around" infinitely. As it is, I can only look to the left so far and then it stops. Same for the right and up and down. Up and down I can understand. It should stop. But it shouldn't stop for left and right. Anybody else experiencing this?

This problem is similar to what is posted in this thread: http://www.nvnews.net/vbulletin/showthread.php?t=108553

For whatever it's worth, here's my xorg.conf file:
Quote:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildmeister@builder3) Thu Feb 14 18:21:33 PST 2008

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (kevin@localhost.localdomain) Mon Feb 4 13:51:28 MST 2008
# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules"
EndSection

Section "Module"
Load "glx"
EndSection

Section "ServerFlags"
Option "AIGLX" "on"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
# generated from data in "/etc/sysconfig/mouse"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "Buttons" "7"
Option "ButtonMapping" "1 2 3 6 7"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung S/M 955DF"
HorizSync 30.0 - 85.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 6800 XT"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "DFP-0"
Option "metamodes" "CRT: 1280x1024 +0+0, DFP: 1680x1050 +1280+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection
Also -- I'm running the game in full screen mode. This problem did not exist until I added the 2nd monitor and employed TwinView. Any ideas?
kburger is offline   Reply With Quote
Old 03-01-08, 11:08 AM   #2
JaXXoN
Registered User
 
Join Date: Jul 2005
Location: Munich
Posts: 910
Default Re: mouse only moves so far in FPS games such as Tremulous

Can you please re-try with separate screens with Xinerama enabled?
http://us.download.nvidia.com/XFree8...hapter-15.html
This works for me, however, i'm experiencing a 10% performance drop.

Please note that i didn't had this problem with 100.14.23!

Can you please try out if Option "TwinViewOrientation" "LeftOf"/"RightOf"
has an influence?

regards

Bernhard
JaXXoN is offline   Reply With Quote
Old 03-01-08, 10:34 PM   #3
kburger
Registered User
 
Join Date: Mar 2008
Posts: 7
Default Re: mouse only moves so far in FPS games such as Tremulous

Thanks for your reply. I really appreciate your help. I tried your first suggestion of using separate screens with Xinerama enabled and I ran into problems. I used the GUI nvidia-settings to configure it. Here's the xorg.conf it generated:
Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder3)  Fri Jan 11 15:06:57 PST 2008

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (kevin@localhost.localdomain)  Mon Feb  4 13:51:28 MST 2008
# Xorg configuration created by system-config-display

Section "ServerLayout"
    Identifier     "single head configuration"
    Screen      0  "Screen0" LeftOf "Screen1"
    Screen      1  "Screen1" 1280 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath      "/usr/lib/xorg/modules"
EndSection

Section "Module"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "AIGLX" "on"
    Option         "Xinerama" "1"
EndSection

Section "InputDevice"

    # generated from data in "/etc/sysconfig/mouse"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "IMPS/2"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "Buttons" "7"
    Option         "ButtonMapping" "1 2 3 6 7"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung S/M 955DF"
    HorizSync       30.0 - 85.0
    VertRefresh     50.0 - 160.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "CMO CMC 22 W"
    HorizSync       30.0 - 82.0
    VertRefresh     56.0 - 76.0
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6800 XT"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6800 XT"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "TwinView" "0"
    Option         "metamodes" "CRT: 1280x1024_75 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DFP: 1680x1050 +0+0"
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection
X wouldn't start. Here are the last few lines from /var/log/Xorg.0.log:
Code:
Backtrace:
0: /usr/bin/Xorg(xf86SigHandler+0x81) [0x80bc151]
1: [0x110420]
2: /usr/bin/Xorg(PanoramiXConsolidate+0x165) [0x81362e5]
3: /usr/bin/Xorg(main+0x6d8) [0x806fcb8]
4: /lib/libc.so.6(__libc_start_main+0xdc) [0x4f23cdec]
5: /usr/bin/Xorg(FontFileCompleteXLFD+0x1e9) [0x806eda1]

Fatal server error:
Caught signal 11.  Server aborting

(II) Screen 0 shares mem & io resources
(II) Screen 1 shares mem & io resources
Does this mean anything to you? Do you see what needs to be changed in xorg.conf to get it working with separate screens and Xinerama enabled?

Thanks again for your time!
kburger is offline   Reply With Quote
Old 03-02-08, 03:42 AM   #4
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: mouse only moves so far in FPS games such as Tremulous

That looks a lot like freedesktop.org bug #6501. Please try disabling Composite.
AaronP is offline   Reply With Quote
Old 03-02-08, 06:55 AM   #5
JaXXoN
Registered User
 
Join Date: Jul 2005
Location: Munich
Posts: 910
Default Re: mouse only moves so far in FPS games such as Tremulous

Hi!

I tried out your xorg.conf and get the same error. Disabling Composite
(as AaronP suggested) made the X-Server working, again. However,
interesstingly, i have Xinerama and Composite enabled for my triple
head xorg.conf, so i was wondering why the X-Server doesn't crash for my
setup. So i played around a little bit and figured out that the X-Server works
with your xorg.conf when adding Option "AddARGBGLXVisuals" "True"
to each screen section:

Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder3)  Fri Jan 11 15:06:57 PST 2008

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (kevin@localhost.localdomain)  Mon Feb  4 13:51:28 MST 2008
# Xorg configuration created by system-config-display

Section "ServerLayout"
    Identifier     "single head configuration"
    Screen      0  "Screen0" LeftOf "Screen1"
    Screen      1  "Screen1" 1280 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath      "/usr/lib/xorg/modules"
EndSection

Section "Module"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "AIGLX" "on"
    Option         "Xinerama" "1"
EndSection

Section "InputDevice"

    # generated from data in "/etc/sysconfig/mouse"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "IMPS/2"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "Buttons" "7"
    Option         "ButtonMapping" "1 2 3 6 7"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung S/M 955DF"
    HorizSync       30.0 - 85.0
    VertRefresh     50.0 - 160.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "CMO CMC 22 W"
    HorizSync       30.0 - 82.0
    VertRefresh     56.0 - 76.0
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6800 XT"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6800 XT"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "TwinView" "0"
    Option         "metamodes" "CRT: 1280x1024_75 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DFP: 1680x1050 +0+0"
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection
BTW.: can you please post a full nvidia-bug-report.log for reference?

regards

Bernhard
JaXXoN is offline   Reply With Quote
Old 03-02-08, 10:38 PM   #6
kburger
Registered User
 
Join Date: Mar 2008
Posts: 7
Default Re: mouse only moves so far in FPS games such as Tremulous

Hey! We're getting somewhere. The Option "AddARGBGLXVisuals" "True" got it working for me also. But that X config file had my primary monitor being the monitor on the left. Like this:
Code:
Section "ServerLayout"
    Identifier     "single head configuration"
    Screen      0  "Screen0" LeftOf "Screen1"
    Screen      1  "Screen1" 1280 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
That worked fine running the FPS game. The mouse acted perfectly. But that server layout is actually wrong. My primary monitor should be on the right. So I changed that section to read:
Code:
Section "ServerLayout"
    Identifier     "single head configuration"
    Screen      0  "Screen1" RightOf "Screen0"
    Screen      1  "Screen0" 1280 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
That got my layout correct, but my original mouse problem in the FPS game cropped up again. That is, I can only move the mouse so far either left or right before it stops moving in that direction. Any ideas?

I've attached my nvidia-bug-report.log. Thanks again for all your help.
Attached Files
File Type: gz nvidia-bug-report.log.gz (25.9 KB, 91 views)
kburger is offline   Reply With Quote
Old 03-02-08, 11:08 PM   #7
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: mouse only moves so far in FPS games such as Tremulous

X.org 7.1.1. and xf86-input-mouse 1.1.1 are pretty old. I would try upgrading xf86-input-mouse or giving xf86-input-evdev a try and if that doesn't work, upgrading to X.org 7.2.

Also, the fact that AddARGBGLXVisuals works around the X server bug is mostly a coincidence. I would really recommend disabling Composite.
AaronP is offline   Reply With Quote
Old 03-02-08, 11:40 PM   #8
kburger
Registered User
 
Join Date: Mar 2008
Posts: 7
Default Re: mouse only moves so far in FPS games such as Tremulous

I've disabled Composite, but that didn't seem to help.

And I don't see that I have xf86-input-mouse 1.1.1
Code:
# rpm -qa | grep -i xf86
pyxf86config-0.3.31-2.fc6
libXxf86vm-devel-1.0.1-3.1
libXxf86dga-1.0.1-3.1
libXxf86misc-1.0.1-3.1
libXxf86dga-devel-1.0.1-3.1
libXxf86misc-devel-1.0.1-3.1
libXxf86vm-1.0.1-3.1

# rpm -qa | grep -i x11
xorg-x11-drv-sis-0.9.1-7
xorg-x11-drv-magellan-1.1.0-1.1
xorg-x11-drv-i128-1.2.0-4
xorg-x11-drv-mga-1.4.5-2.fc6
xorg-x11-drv-apm-1.1.1-2.1
xorg-x11-drv-jamstudio-1.1.0-1.1
xorg-x11-apps-7.1-3.fc6
xorg-x11-drv-tdfx-1.3.0-2.fc6
xorg-x11-drv-siliconmotion-1.4.1-2.1
xorg-x11-drv-cirrus-1.1.0-2.fc6
xorg-x11-drv-vga-4.1.0-2.1
xorg-x11-drv-chips-1.1.1-2.1
xorg-x11-drv-v4l-0.1.1-4
xorg-x11-drv-rendition-4.1.0-3.1
libX11-devel-1.0.3-7.fc6
xorg-x11-filesystem-7.1-2.fc6
xorg-x11-font-utils-7.1-2
xorg-x11-twm-1.0.1-3.1
dbus-x11-1.0.1-12.fc6
xorg-x11-drv-keyboard-1.1.0-2.1
xorg-x11-drv-fpit-1.1.0-1.1
xorg-x11-drv-vmware-10.13.0-2.1
xorg-x11-drv-digitaledge-1.1.0-1.1
xorg-x11-drv-nv-1.2.0-4.fc6
xorg-x11-drv-citron-2.2.0-1.1
xorg-x11-drv-s3virge-1.9.1-2.1
xorg-x11-server-utils-7.1-4.fc6
xorg-x11-xfs-1.0.2-3.1
xorg-x11-drv-void-1.1.0-3.1
xorg-x11-drv-spaceorb-1.1.0-1.1
xorg-x11-fonts-misc-7.1-2
xorg-x11-resutils-7.1-2.fc6
xorg-x11-drv-trident-1.2.3-1.fc6
libX11-1.0.3-7.fc6
xorg-x11-server-Xgl-0-0.9.070104git.fc6
xorg-x11-drv-summa-1.1.0-1.1
xorg-x11-drv-acecad-1.1.0-2.1
xorg-x11-drv-joystick-1.1.0-1.1
xorg-x11-drv-dummy-0.2.0-2.1
xorg-x11-drv-calcomp-1.1.0-1.1
xorg-x11-drv-tseng-1.1.0-3.1
xorg-x11-server-Xorg-1.1.1-47.10.fc6
xorg-x11-xkb-utils-1.0.2-2.1
xorg-x11-fonts-ISO8859-1-75dpi-7.1-2
xorg-x11-xdm-1.0.5-5.fc6
xorg-x11-fonts-ISO8859-1-100dpi-7.1-2
xorg-x11-xinit-1.0.2-15.fc6
xorg-x11-drv-savage-2.1.2-3.fc6
xorg-x11-drv-evdev-1.1.2-2.1
xorg-x11-drv-cyrix-1.1.0-4
xorg-x11-drv-dynapro-1.1.0-2
xorg-x11-drv-mutouch-1.1.0-2
xorg-x11-drv-hyperpen-1.1.0-2
xorg-x11-drv-fbdev-0.3.0-2
xorg-x11-drv-ur98-1.1.0-1.1
xorg-x11-xsm-1.0.2-4.fc6
xorg-x11-server-sdk-1.1.1-47.fc6
xorg-x11-fonts-base-7.1-2
xorg-x11-drv-i740-1.1.0-2.1
xorg-x11-drv-sisusb-0.8.1-4.1
xorg-x11-drv-ark-0.6.0-2.1
xorg-x11-drv-ast-0.81.0-3
xorg-x11-drv-magictouch-1.0.0.5-2.1
xorg-x11-drv-vmmouse-12.4.0-2.1
xorg-x11-drv-microtouch-1.1.0-1.1
xorg-x11-drv-elographics-1.1.0-1.1
xorg-x11-fonts-Type1-7.1-2
xorg-x11-server-Xnest-1.1.1-47.10.fc6
xorg-x11-drv-vesa-1.2.1-4
xorg-x11-drv-dmc-1.1.0-2
xorg-x11-drv-palmax-1.1.0-1.1
xorg-x11-drv-neomagic-1.1.1-2.1
xorg-x11-drv-i810-1.6.5-10.fc6
xorg-x11-drv-s3-0.5.0-1.fc6
xorg-x11-drv-penmount-1.1.0-2.1
xorg-x11-drv-aiptek-1.0.1-2
xorg-x11-drv-glint-1.1.1-4.1
xorg-x11-xfwp-1.0.1-3.1
xorg-x11-xauth-1.0.1-2.1
xorg-x11-utils-7.1-2.fc6
xorg-x11-drv-nsc-2.8.1-2.1
xorg-x11-drv-via-0.2.1-7
xorg-x11-drv-voodoo-1.1.0-3.1
xorg-x11-drv-elo2300-1.1.0-1.1
xorg-x11-fonts-100dpi-7.1-2
xorg-x11-proto-devel-7.1-9.fc6
xorg-x11-fonts-75dpi-7.1-2
xorg-x11-util-macros-1.0.2-4.fc6
xorg-x11-drv-mouse-1.2.1-1.fc6
What should I upgrade?
kburger is offline   Reply With Quote

Old 03-03-08, 12:58 AM   #9
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: mouse only moves so far in FPS games such as Tremulous

That's strange... your RPM log says "xorg-x11-drv-mouse-1.2.1-1.fc6", but your bug report lists
Code:
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 1.1.1
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 0.6
AaronP is offline   Reply With Quote
Old 03-03-08, 02:58 PM   #10
kburger
Registered User
 
Join Date: Mar 2008
Posts: 7
Default Re: mouse only moves so far in FPS games such as Tremulous

Well, I hope I'm not hosing my system. But I've enabled a fedora 8 repository (I'm actually running fedora 6). And I'm in the process of upgrading my X server to xorg-x11-server-Xorg 1.3.0.0-33.fc8. Then I'll also see about upgrading my xorg-x11-drv-mouse package. I'll post what happens tonight when I get a chance to get home to that machine and test X. I'm doing this remotely at the moment.
kburger is offline   Reply With Quote
Old 03-03-08, 09:29 PM   #11
kburger
Registered User
 
Join Date: Mar 2008
Posts: 7
Default Re: mouse only moves so far in FPS games such as Tremulous

OK. I've upgraded them, but the problem persists. Any ideas?
Code:
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules//input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.2.3
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 0.7
kburger is offline   Reply With Quote
Old 03-03-08, 11:42 PM   #12
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: mouse only moves so far in FPS games such as Tremulous

Quote:
Originally Posted by kburger
Any ideas?
You could try xorg@lists.freedesktop.org.
AaronP is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best Games Of 7 Day FPS.. That Don't Have Any Shooting News Gaming Headlines 0 06-19-12 06:30 AM
My UT2003 Tweak Guide DXnfiniteFX Gaming Central 48 10-30-02 11:59 PM
Doh, M$ Optical Intellimouse Explorer not good for games Creole General Hardware 18 09-28-02 09:55 PM
PC Games, CeleronII 566, CeleronA 300, BIOS Savior, Heatsinks, NES & Sega Items +pics TekViper For Sale/Trade 5 08-07-02 10:48 PM

All times are GMT -5. The time now is 01:25 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.