Click to See Complete Forum and Search --> : nvidia mouse problems NOT NO SCREENS FOUND


mercyful fate
10-25-2002, 04:34 PM
ok, i installed the nvidia drivers (got version with nvchooser.sh) and all seems fine (i can load the drivers with /sbin/insmod NVdriver) the problem is that my usb mouse doesn't want to work in x now. i really have tried doing my homework on this, and the only other post i've seen about this was on the nvidia boards, and that suggested running yast2, which i'm assuming only works with suse because i can't find it in red hat.

oh yeah, i don't get an nvidia splash screen when i start x. could this mean that i have to manually start the drivers when i boot, or does the splash screen stop coming up automatically?

i've attached a file with my /etc/X11/XF86Config-4 and my /var/log/XFree86.0.log (i'm not sure how it looks because i'm stuck posting this from windows, but it's readable in windows, which doesn't really say much.)

additional info:
-i'm running red hat 7.3
-my video card is nvidia riva tnt2 pro
-my monitor is a packard bell (doesn't have anything else on it, and i lost the manual. all i know is that it came with an old packard bell pentium 133mhz)

the main reason i'm subjecting myself to this driver upgrade is to run linux in 1024x768 instead of the default 800x600. once i get my mouse working, would i just use XConfigurator to change my resolution, or is there a separate utility that i should use now? any suggestions on a good depth for 1024x768 and my monitor would be helpful too. thank you in advance.

-mercyful fate

indiegeek
10-25-2002, 04:39 PM
you need to edit your /etc/X11/XF86Config-4 so that its using the nvidia drivers. Editing that file will be how you change your resolution too. Read the README file that came w/ the nvidia stuff.

mercyful fate
10-25-2002, 05:38 PM
as for editing /etc/X11/XF86Config-4, this is what i have done so far:

removed 'GLCore' from module section
removed 'dri' from module section
'glx' was already set to load so i left it as it was

i've also replaced 'nv' as my driver with 'nvidia'

maybe i have missed something?

my old XF86Config-4 had a place to replace my resolution (which was listed as 1024x768, but showed at 800x600,) but this XF86Config file (which i generated using the command "XFree86 -configure") doesn't seem to have a place for it (or at least i can't find it). none-the-less, i'm still loading in 800x600 and now i have no mouse.

sorry if i sound like a fool, but i've only been using linux for 2 weeks =)

thank you,

-mercyful fate

ashoksagar
10-25-2002, 06:02 PM
Edit your XF86Config-4 file and change the mouse protocol from 'auto' to 'USB'.

mercyful fate
10-25-2002, 08:59 PM
changing 'auto' to 'USB' doesn't seem to work. for the sake of case-sensitivity, i replaced 'auto' with 'usb','USB','Usb'... nothing works. unless i keep it on auto, my screen just flickers endlessly when i try and start x.

Hayl
10-25-2002, 09:16 PM
what kind of mouse are you using?

post your /etc/X11/XF86Config-4 file.

mercyful fate
10-25-2002, 09:45 PM
my mouse is a compaq optical scroll mouse. i already posted my XF86Config-4 but i'll just post it again because i don't think anyone noticed that i attached it in my original post =)

--------------------

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load "glx"
Load "dbe"
Load "extmod"
Load "record"
Load "xtrap"
Load "speedo"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "DigitalVibrance" # <i>
#Option "PageFlip" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "NoLogo" # [<bool>]
#Option "Overlay" # [<bool>]
#Option "UBB" # [<bool>]
#Option "Stereo" # [<bool>]
#Option "BlueLine" # [<bool>]
#Option "WindowFlip" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "VideoKey" # <i>
#Option "NvAGP" # <i>
#Option "PixmapCacheLines" # <i>
#Option "IgnoreEDID" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ConnectedMonitor" # <str>
#Option "ConnectedMonitors" # <str>
#Option "TVStandard" # <str>
#Option "TVOutFormat" # <str>
#Option "NoRenderAccel" # [<bool>]
#Option "CursorShadow" # [<bool>]
#Option "CursorShadowAlpha" # <i>
#Option "CursorShadowXOffset" # <i>
#Option "CursorShadowYOffset" # <i>
#Option "UseEdidFreqs" # [<bool>]
#Option "FlatPanelProperties" # <str>
#Option "UseInt10Module" # [<bool>]
#Option "SwapReady" # [<bool>]
#Option "NoTwinViewXineramaInfo" # [<bool>]
#Option "NoRenderExtension" # [<bool>]
Identifier "Card0"
Driver "nvidia"
VendorName "NVidia"
BoardName "RIVA TNT2/TNT2 Pro"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Depth 1
EndSubSection
SubSection "Display"
Depth 4
EndSubSection
SubSection "Display"
Depth 8
EndSubSection
SubSection "Display"
Depth 15
EndSubSection
SubSection "Display"
Depth 16
EndSubSection
SubSection "Display"
Depth 24
EndSubSection
EndSection

Penrich
10-25-2002, 11:06 PM
You do not seem to have any settings for your screen! See the modes section in my XF86Config below.... Try rerunning xf86config and adding your monitor settings (assuming you know you settings...)


Section "Monitor"
Option "CalcAlgorithm" "IteratePrecisely"
HorizSync 30-70
Identifier "Monitor[0]"
ModelName "AutoDetected"
Option "DPMS"
VendorName "AutoDetected"
VertRefresh 50-75
UseModes "Modes[0]"
EndSection

Section "Modes"
Identifier "Modes[0]"
Modeline "640x480" 27.96 640 656 720 864 480 480 485 501
Modeline "800x600" 43.68 800 816 928 1072 600 600 606 626
Modeline "1024x768" 79.55 1024 1040 1216 1312 768 768 777 802
EndSection

Section "Screen"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "640x480" "800x600"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection

Section "Device"
BoardName "AutoDetected"
Driver "nvidia"
Identifier "Device[0]"
Option "dpms"
VendorName "AutoDetected"
EndSection

Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Screen "Screen[0]"
EndSection



Hey - why is my VertRefresh only 50-75? It should be 50-120....

Hayl
10-25-2002, 11:15 PM
change
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
EndSection

to:

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
EndSection

mercyful fate
10-26-2002, 02:19 AM
ah, thank you cybr, that seemed to do the trick. it disabled my scroll wheel, but i'm just happy to be able to log into a gui. i still feel a bit lost in a command console =X. as for my display, "something" has definately happened. everything looks grainy like it's in 256 colors and instead of 800x600, it looks more like 640x480(eek!).nothing even fits on screen. something seems to be wrong with my xf86config (lucky me, eh?) and won't let me save my settings. so i dug up my XF86Config (not Config-4) and loaded my original monitor settings from that. restarted x, and surprise! error.
-------------
here's the error:
-------------
_XSERVTransSocketINETCreateListener:...SocketCreat eListener() failed
_XSERVTransMakAllCOTSServerListeners: server already running
Fatal server error:
Cannot establish any listening sockets - make sure an x server isn't lready running
XIO: fatal IO error 104(connection reset by peer) on X server ":0:0"
INIT: ID 'x' respawing to fast: disabled for 5 minutes.
-------------
here's what i replaced the monitor section with in /etc/X11/XF86Config-4:
-------------
Section "Monitor"

Identifier "Packard Bell Monitor"
VendorName "Unknown"
ModelName "Unknown"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

HorizSync 30.0-40.0

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

VertRefresh 50.0-62.0

# Modes can be specified in two formats. A compact one-line format, or
# a multi-line format.

# These two are equivalent

# ModeLine "1024x768i" 45 1024 1048 1208 1264 768 776 784 817 Interlace

# Mode "1024x768i"
# DotClock 45
# HTimings 1024 1048 1208 1264
# VTimings 768 776 784 817
# Flags "Interlace"
# EndMode

# This is a set of standard mode timings. Modes that are out of monitor spec
# are automatically deleted by the server (provided the HorizSync and
# VertRefresh lines are correct), so there's no immediate need to
# delete mode timings (unless particular mode timings don't work on your
# monitor). With these modes, the best standard mode that your monitor
# and video card can support for a given resolution is automatically
# used.

# 512x384 @ 78 Hz, 31.50 kHz hsync
Modeline "512x384" 20.160 512 528 592 640 384 385 388 404 -HSync -VSync
# 512x384 @ 85 Hz, 34.38 kHz hsync
Modeline "512x384" 22 512 528 592 640 384 385 388 404 -HSync -VSync

# 640x400 @ 70 Hz, 31.5 kHz hsync
Modeline "640x400" 25.175 640 664 760 800 400 409 411 450
# 640x400 @ 85 Hz, 37.86 kHz hsync
Modeline "640x400" 31.5 640 672 736 832 400 401 404 445 -HSync +VSync

# 640x480 @ 100 Hz, 53.01 kHz hsync
Modeline "640x480" 45.8 640 672 768 864 480 488 494 530 -HSync -VSync
# 640x480 @ 60 Hz, 31.5 kHz hsync
Modeline "640x480" 25.175 640 664 760 800 480 491 493 525
# 640x480 @ 72 Hz, 36.5 kHz hsync
Modeline "640x480" 31.5 640 680 720 864 480 488 491 521
# 640x480 @ 75 Hz, 37.50 kHz hsync
ModeLine "640x480" 31.5 640 656 720 840 480 481 484 500 -HSync -VSync
# 640x480 @ 85 Hz, 43.27 kHz hsync

Modeline "640x480" 36 640 696 752 832 480 481 484 509 -HSync -VSync
# 800x600 @ 100 Hz, 64.02 kHz hsync
Modeline "800x600" 69.65 800 864 928 1088 600 604 610 640 -HSync -VSync
# 800x600 @ 56 Hz, 35.15 kHz hsync
ModeLine "800x600" 36 800 824 896 1024 600 601 603 625
# 800x600 @ 60 Hz, 37.8 kHz hsync
Modeline "800x600" 40 800 840 968 1056 600 601 605 628 +hsync +vsync
# 800x600 @ 72 Hz, 48.0 kHz hsync
Modeline "800x600" 50 800 856 976 1040 600 637 643 666 +hsync +vsync
# 800x600 @ 85 Hz, 55.84 kHz hsync
Modeline "800x600" 60.75 800 864 928 1088 600 616 621 657 -HSync -VSync

# 1024x480 for certain Vaios
Modeline "1024x480" 65 1024 1032 1176 1344 480 491 493 525 -HSync -VSync

# 1024x768 @ 100Hz, 80.21 kHz hsync
Modeline "1024x768" 115.5 1024 1056 1248 1440 768 771 781 802 -HSync -VSync
# 1024x768 @ 60 Hz, 48.4 kHz hsync
Modeline "1024x768" 65 1024 1032 1176 1344 768 771 777 806 -hsync -vsync
# 1024x768 @ 70 Hz, 56.5 kHz hsync
Modeline "1024x768" 75 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
# 1024x768 @ 76 Hz, 62.5 kHz hsync
Modeline "1024x768" 85 1024 1032 1152 1360 768 784 787 823
# 1024x768 @ 85 Hz, 70.24 kHz hsync
Modeline "1024x768" 98.9 1024 1056 1216 1408 768 782 788 822 -HSync -VSync

# 1152x864 @ 100 Hz, 89.62 kHz hsync
Modeline "1152x864" 137.65 1152 1184 1312 1536 864 866 885 902 -HSync -VSync
# 1152x864 @ 60 Hz, 53.5 kHz hsync
Modeline "1152x864" 89.9 1152 1216 1472 1680 864 868 876 892 -HSync -VSync
# 1152x864 @ 70 Hz, 62.4 kHz hsync
Modeline "1152x864" 92 1152 1208 1368 1474 864 865 875 895
# 1152x864 @ 78 Hz, 70.8 kHz hsync
Modeline "1152x864" 110 1152 1240 1324 1552 864 864 876 908
# 1152x864 @ 84 Hz, 76.0 kHz hsync
Modeline "1152x864" 135 1152 1464 1592 1776 864 864 876 908

# 1280x960 @ 60 HzModeline "1280x960" 108 1280 1376 1488 1800 960 961 964 1000 +HSync +VSync
# 1280x960 @ 85 HzModeline "1280x960" 148.5 1280 1344 1504 1728 960 961 964 1011 +HSync +VSync

# 1280x1024 @ 100 Hz, 107.16 kHz hsync
Modeline "1280x1024" 181.75 1280 1312 1440 1696 1024 1031 1046 1072 -HSync -VSync
# 1280x1024 @ 61 Hz, 64.2 kHz hsync
Modeline "1280x1024" 110 1280 1328 1512 1712 1024 1025 1028 1054
# 1280x1024 @ 70 Hz, 74.59 kHz hsync
Modeline "1280x1024" 126.5 1280 1312 1472 1696 1024 1032 1040 1068 -HSync -VSync
# 1280x1024 @ 74 Hz, 78.85 kHz hsync
Modeline "1280x1024" 135 1280 1312 1456 1712 1024 1027 1030 1064
# 1280x1024 @ 76 Hz, 81.13 kHz hsync
Modeline "1280x1024" 135 1280 1312 1416 1664 1024 1027 1030 1064
# 1280x1024 @ 85 Hz, 91.15 kHz hsync
Modeline "1280x1024" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +HSync +VSync

# 1400x1050 @ 60Hz, 65.8 kHz hsync
Modeline "1400x1050" 129 1400 1464 1656 1960 1050 1051 1054 1100 +HSync +VSync
# 1400x1050 @ 70Hz, 76.8 kHz hsync
Modeline "1400x1050" 151 1400 1464 1656 1960 1050 1051 1054 1100 +HSync +VSync
# 1400x1050 @ 75Hz, 82.3 kHz hsync
Modeline "1400x1050" 162 1400 1464 1656 1960 1050 1051 1054 1100 +HSync +VSync
# 1400x1050 @ 85Hz, 93.2 kHz hsync
Modeline "1400x1050" 184 1400 1464 1656 1960 1050 1051 1054 1100 +HSync +VSync

# 1600x1200 @ 60Hz, 75.00 kHz hsync
Modeline "1600x1200" 162 1600 1664 1856 2160 1200 1201 1204 1250 +HSync +VSync
# 1600x1200 @ 70 Hz, 87.50 kHz hsync
Modeline "1600x1200" 189 1600 1664 1856 2160 1200 1201 1204 1250 -HSync -VSync
# 1600x1200 @ 75 Hz, 93.75 kHz hsync
Modeline "1600x1200" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +HSync +VSync
# 1600x1200 @ 85 Hz, 105.77 kHz hsync
Modeline "1600x1200" 220 1600 1616 1808 2080 1200 1204 1207 1244 +HSync +VSync

# 1800x1440 @ 64Hz, 96.15 kHz hsync
ModeLine "1800X1440" 230 1800 1896 2088 2392 1440 1441 1444 1490 +HSync +VSync
# 1800x1440 @ 70Hz, 104.52 kHz hsync
ModeLine "1800X1440" 250 1800 1896 2088 2392 1440 1441 1444 1490 +HSync +VSync

# Low-res Doublescan modes
# If your chipset does not support doublescan, you get a 'squashed'
# resolution like 320x400.

# 320x200 @ 70 Hz, 31.5 kHz hsync, 8:5 aspect ratio
Modeline "320x200" 12.588 320 336 384 400 200 204 205 225 Doublescan
# 320x240 @ 60 Hz, 31.5 kHz hsync, 4:3 aspect ratio
Modeline "320x240" 12.588 320 336 384 400 240 245 246 262 Doublescan
# 320x240 @ 72 Hz, 36.5 kHz hsync
Modeline "320x240" 15.750 320 336 384 400 240 244 246 262 Doublescan
# 400x300 @ 56 Hz, 35.2 kHz hsync, 4:3 aspect ratio
ModeLine "400x300" 18 400 416 448 512 300 301 302 312 Doublescan
# 400x300 @ 60 Hz, 37.8 kHz hsync
Modeline "400x300" 20 400 416 480 528 300 301 303 314 Doublescan
# 400x300 @ 72 Hz, 48.0 kHz hsync
Modeline "400x300" 25 400 424 488 520 300 319 322 333 Doublescan
# 480x300 @ 56 Hz, 35.2 kHz hsync, 8:5 aspect ratio
ModeLine "480x300" 21.656 480 496 536 616 300 301 302 312 Doublescan
# 480x300 @ 60 Hz, 37.8 kHz hsync
Modeline "480x300" 23.890 480 496 576 632 300 301 303 314 Doublescan
# 480x300 @ 63 Hz, 39.6 kHz hsync
Modeline "480x300" 25 480 496 576 632 300 301 303 314 Doublescan
# 480x300 @ 72 Hz, 48.0 kHz hsync
Modeline "480x300" 29.952 480 504 584 624 300 319 322 333 Doublescan

EndSection
--------------
also, whatever resolution i'm in now doesn't display my user account very well. when i login with my user account there are no titlebars (for lack of a linux-y word for it) and my transparent konsole just freezes. my guess is that i don't have a enough colors to display my customization options. any other ideas? all i really want is to be able to run in something higher than 800x600 and maybe get my scroll wheel back but that doesn't seem really important right now. thank you all for bringing me this far.

-mercyful fate

mercyful fate
10-26-2002, 02:38 AM
oh yeah, i'm not sure if it matters, but my monitor is a 15"

mdwatts
10-26-2002, 09:40 AM
Add the following to the InputDevice section.

5 button

Option "Buttons" "5"
Option "ZAxisMapping" "4 5 6 7"

3 button

Option "Buttons" "3"
Option "ZAxisMapping" "4 5"

Accoring to your latest error, X is already running.