Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia and tft problems [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jvlik
n00b
n00b


Joined: 22 Dec 2004
Posts: 35

PostPosted: Tue Dec 28, 2004 3:04 pm    Post subject: nvidia and tft problems [SOLVED] Reply with quote

Hello to everybody.
I've got some problems with nvidia driver and a belinea tft monitor.

Here my system specs
xorg-x11 6.8.0 r3
nvidia-kernel 1.0.6111-r3
nvidia-glx 1.0.6111
monitor: belinea 101715 (tft 17", maximum resolution of 1280x1024 and hsync 31-81, vsync 56-75)
video-card: nvidia geForce FX5200 128 MB

I installed nvidia driver following the online howto and run
Code:
# Xorg -configure

to get a xorg.conf built on my system.
Then I run
Code:
# ddc-knoppix

and cut and paste my monitor modelines to the xorg.conf into the Monitor Device section.
Code:

Section "ServerLayout"
        Identifier     "X.org 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/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/CID/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
        Load  "glx"
        Load  "dbe"
#       Load  "dri"
        Load  "extmod"
        Load  "record"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "it"
        Option      "AutoRepeat" "500 30"

EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "Auto"
        Option      "Device" "/dev/mouse"
        Option      "Buttons" "5"
        Option      "ZAxisMapping" "4 5"
EndSection

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

        ModeLine "1280x1024" 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
        ModeLine "1024x768"  78.75 1024 1040 1136 1312  768  769  772  800 +hsync +vsync
        ModeLine "1024x768"  75.00 1024 1048 1184 1328  768  771  777  806 -hsync -vsync
        ModeLine "1024x768"  113.31  1024 1096 1208 1392  768 769 772 814  -HSync +Vsync
        ModeLine "1280x1024" 190.96  1280 1376 1520 1760  1024 1025 1028 1085  -HSync +Vsync

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     "NoFlip"                    # [<bool>]
        #Option     "Dac8Bit"                   # [<bool>]
        #Option     "NoLogo"                    # [<bool>]
        #Option     "UBB"                       # [<bool>]
        #Option     "Stereo"                    # <i>
        #Option     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "VideoKey"                  # <i>
        Option     "NvAGP" "1"                  # <i>
        #Option     "IgnoreEDID"                # [<bool>]
        #Option     "NoDDC"                     # [<bool>]
        #Option     "ConnectedMonitor"          # <str>
        #Option     "ConnectedMonitors"         # <str>
        #Option     "TVStandard"                # <str>
        #Option     "TVOutFormat"               # <str>
        #Option     "RenderAccel"               # [<bool>]
        #Option     "CursorShadow"              # [<bool>]
        #Option     "RenderAccel"               # [<bool>]
        #Option     "CursorShadow"              # [<bool>]
        #Option     "CursorShadowAlpha"         # <i>
        #Option     "CursorShadowXOffset"       # <i>
        #Option     "CursorShadowYOffset"       # <i>
        #Option     "UseEdidFreqs"              # [<bool>]
        #Option     "FlatPanelProperties"       # <str>
        #Option     "TwinView"                  # [<bool>]
        #Option     "TwinViewOrientation"       # <str>
        #Option     "SecondMonitorHorizSync"    # <str>
        #Option     "SecondMonitorVertRefresh"  # <str>
        #Option     "MetaModes"                 # <str>
        #Option     "UseInt10Module"            # [<bool>]
        #Option     "NoTwinViewXineramaInfo"    # [<bool>]
        #Option     "NoRenderExtension"         # [<bool>]
        #Option     "Overlay"                   # [<bool>]
        #Option     "CIOverlay"                 # [<bool>]
        #Option     "ForceEmulatedOverlay"      # [<bool>]
        #Option     "TransparentIndex"          # <i>
        #Option     "OverlayDefaultVisual"      # [<bool>]
        #Option     "NvEmulate"                 # <i>
        #Option     "NoBandWidthTest"           # [<bool>]
        #Option     "CustomEDID-CRT-0"          # <str>
        #Option     "CustomEDID-CRT-1"          # <str>
        #Option     "CustomEDID-DFP-0"          # <str>
        #Option     "CustomEDID-DFP-1"          # <str>
        #Option     "CustomEDID-TV-0"           # <str>
        #Option     "CustomEDID-TV-1"           # <str>
        #Option     "TVOverScan"                # <f>
        #Option     "IgnoreDisplayDevices"      # <str>
        #Option     "MultisampleCompatibility"  # [<bool>]
        #Option     "RegistryDwords"            # <str>
        #Option     "NoPowerConnectorCheck"     # [<bool>]
        #Option     "AllowDFPStereo"            # [<bool>]
        #Option     "XvMCUsesTextures"          # [<bool>]
        #Option     "HorizSync"                 # <str>
        #Option     "VertRefresh"               # <str>
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "NV34 [GeForce FX 5200]"
        BusID       "PCI:1:0:0"
EndSection

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


When I run the X-server I get no answer. The keyboard still works (caps-lock and num-lock lights turn on and off) but I can't kill X through ctrl-alt-backspace or change tty through ctrl+alt+F*. I can still reboot by ctr+alt+can or kill X by ssh remote connection.

The end of the resultant Xorg.0.log is
Code:

(II) NVIDIA(0): Monitor0: Using default hsync range of 31.00-83.00 kHz
(II) NVIDIA(0): Monitor0: Using default vrefresh range of 56.00-75.00 Hz
(II) NVIDIA(0): Clock range:  12.00 to 400.00 MHz
(II) NVIDIA(0): Not using mode "1024x768" (vrefresh out of range)
(II) NVIDIA(0): Not using mode "1280x1024" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x350" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "320x175" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "640x400" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "320x200" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "720x400" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "360x200" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "640x480" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "320x240" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "800x600" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "400x300" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "512x384" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "512x384" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "1280x960" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x480" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x512" (hsync out of range)
(WW) (1600x1200,Monitor0) mode clock 162MHz exceeds DDC maximum 140MHz
(WW) (1600x1200,Monitor0) mode clock 175.5MHz exceeds DDC maximum 140MHz
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(WW) (1792x1344,Monitor0) mode clock 204.8MHz exceeds DDC maximum 140MHz
(II) NVIDIA(0): Not using default mode "1792x1344" (hsync out of range)
(II) NVIDIA(0): Not using default mode "896x672" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1856x1392" (hsync out of range)
(II) NVIDIA(0): Not using default mode "928x696" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1856x1392" (hsync out of range)
(II) NVIDIA(0): Not using default mode "928x696" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (hsync out of range)
(II) NVIDIA(0): Not using default mode "960x720" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (hsync out of range)
(II) NVIDIA(0): Not using default mode "960x720" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1152x768" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "576x384" (vrefresh out of range)
(WW) (1400x1050,Monitor0) mode clock 155.8MHz exceeds DDC maximum 140MHz
(II) NVIDIA(0): Not using default mode "1920x1440" (hsync out of range)
(II) NVIDIA(0): Not using default mode "960x720" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (hsync out of range)
(WW) NVIDIA(0): Not using mode "1792x1344" (width 1792 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 1280)
(WW) NVIDIA(0): Not using mode "1600x1200" (width 1600 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 1280)
(WW) NVIDIA(0): Not using mode "1600x1200" (width 1600 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 1280)
(WW) NVIDIA(0): Not using mode "1400x1050" (width 1400 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 1280)
(WW) NVIDIA(0): Not using mode "1400x1050" (width 1400 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 1280)
(WW) NVIDIA(0): Not using mode "896x672" (height 1344 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 1024)
(WW) NVIDIA(0): Not using mode "800x600" (height 1200 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 1024)
(WW) NVIDIA(0): Not using mode "800x600" (height 1200 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 1024)
(WW) NVIDIA(0): Not using mode "700x525" (height 1050 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 1024)
(WW) NVIDIA(0): Not using mode "700x525" (height 1050 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 1024)
(**) NVIDIA(0): Validated modes for display device CRT-0:
(**) NVIDIA(0):      Mode "1280x1024": 135.0 MHz, 80.0 kHz, 75.0 Hz
(**) NVIDIA(0):      Default mode "1280x960": 108.0 MHz, 60.0 kHz, 60.0 Hz
(**) NVIDIA(0):      Default mode "1152x864": 108.0 MHz, 67.5 kHz, 75.0 Hz
(**) NVIDIA(0):      Mode "1024x768": 78.8 MHz, 60.0 kHz, 75.0 Hz
(**) NVIDIA(0):      Mode "1024x768": 75.0 MHz, 56.5 kHz, 70.1 Hz
(**) NVIDIA(0):      Default mode "832x624": 57.3 MHz, 49.7 kHz, 74.6 Hz
(**) NVIDIA(0):      Default mode "800x600": 49.5 MHz, 46.9 kHz, 75.0 Hz
(**) NVIDIA(0):      Default mode "800x600": 50.0 MHz, 48.1 kHz, 72.2 Hz
(**) NVIDIA(0):      Default mode "800x600": 40.0 MHz, 37.9 kHz, 60.3 Hz
(**) NVIDIA(0):      Default mode "800x600": 36.0 MHz, 35.2 kHz, 56.2 Hz
(**) NVIDIA(0):      Default mode "640x512": 67.5 MHz, 80.0 kHz, 75.0 Hz (D)
(**) NVIDIA(0):      Default mode "640x512": 54.0 MHz, 64.0 kHz, 60.0 Hz (D)
(**) NVIDIA(0):      Default mode "640x480": 31.5 MHz, 37.5 kHz, 75.0 Hz
(**) NVIDIA(0):      Default mode "640x480": 31.5 MHz, 37.9 kHz, 72.8 Hz
(**) NVIDIA(0):      Default mode "640x480": 25.2 MHz, 31.5 kHz, 60.0 Hz
(**) NVIDIA(0):      Default mode "640x480": 54.0 MHz, 60.0 kHz, 60.0 Hz (D)
(**) NVIDIA(0):      Default mode "576x432": 54.0 MHz, 67.5 kHz, 75.0 Hz (D)
(**) NVIDIA(0):      Default mode "512x384": 39.4 MHz, 60.1 kHz, 75.1 Hz (D)
(**) NVIDIA(0):      Default mode "512x384": 37.5 MHz, 56.5 kHz, 70.1 Hz (D)
(**) NVIDIA(0):      Default mode "512x384": 32.5 MHz, 48.4 kHz, 60.0 Hz (D)
(**) NVIDIA(0):      Default mode "416x312": 28.6 MHz, 49.7 kHz, 74.7 Hz (D)
(**) NVIDIA(0):      Default mode "400x300": 24.8 MHz, 46.9 kHz, 75.1 Hz (D)
(**) NVIDIA(0):      Default mode "400x300": 25.0 MHz, 48.1 kHz, 72.2 Hz (D)
(**) NVIDIA(0):      Default mode "400x300": 20.0 MHz, 37.9 kHz, 60.3 Hz (D)
(**) NVIDIA(0):      Default mode "400x300": 18.0 MHz, 35.2 kHz, 56.3 Hz (D)
(**) NVIDIA(0):      Default mode "320x240": 15.8 MHz, 37.5 kHz, 75.0 Hz (D)
(**) NVIDIA(0):      Default mode "320x240": 15.8 MHz, 37.9 kHz, 72.8 Hz (D)
(**) NVIDIA(0):      Default mode "320x240": 12.6 MHz, 31.5 kHz, 60.1 Hz (D)
(II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(--) NVIDIA(0): Display dimensions: (340, 280) mm
(--) NVIDIA(0): DPI set to (95, 92)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="X.Org Foundation"
   compiled for 6.8.0, module version = 1.0.0
   ABI class: X.Org ANSI C Emulation, version 0.2
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="X.Org Foundation"
   compiled for 6.8.0, module version = 0.1.0
   ABI class: X.Org Video Driver, version 0.7
(WW) NVIDIA(0): OpenGL is only supported in depths 16 and 24
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
   [0] 0   0   0xe8000000 - 0xefffffff (0x8000000) MX[B]
   [1] 0   0   0xfd000000 - 0xfdffffff (0x1000000) MX[B]
   [2] -1   0   0xffe00000 - 0xffffffff (0x200000) MX[B](B)
   [3] -1   0   0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
   [4] -1   0   0x000f0000 - 0x000fffff (0x10000) MX[B]
   [5] -1   0   0x000c0000 - 0x000effff (0x30000) MX[B]
   [6] -1   0   0x00000000 - 0x0009ffff (0xa0000) MX[B]
   [7] -1   0   0xfebfb000 - 0xfebfbfff (0x1000) MX[B]
   [8] -1   0   0xfebff000 - 0xfebfffff (0x1000) MX[B]
   [9] -1   0   0xfebfe000 - 0xfebfefff (0x1000) MX[B]
   [10] -1   0   0xfebfd000 - 0xfebfdfff (0x1000) MX[B]
   [11] -1   0   0xfebfc000 - 0xfebfcfff (0x1000) MX[B]
   [12] -1   0   0xf8000000 - 0xf7ffffff (0x0) MX[B]O
   [13] -1   0   0xe8000000 - 0xefffffff (0x8000000) MX[B](B)
   [14] -1   0   0xfd000000 - 0xfdffffff (0x1000000) MX[B](B)
   [15] 0   0   0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
   [16] 0   0   0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
   [17] 0   0   0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
   [18] -1   0   0x0000ffff - 0x0000ffff (0x1) IX[B]
   [19] -1   0   0x00000000 - 0x000000ff (0x100) IX[B]
   [20] -1   0   0x0000ef90 - 0x0000ef9f (0x10) IX[B]
   [21] -1   0   0x0000efe0 - 0x0000efe3 (0x4) IX[B]
   [22] -1   0   0x0000efa8 - 0x0000efaf (0x8) IX[B]
   [23] -1   0   0x0000efe4 - 0x0000efe7 (0x4) IX[B]
   [24] -1   0   0x0000eff0 - 0x0000eff7 (0x8) IX[B]
   [25] -1   0   0x0000e400 - 0x0000e4ff (0x100) IX[B]
   [26] -1   0   0x0000ec00 - 0x0000ec7f (0x80) IX[B]
   [27] -1   0   0x0000e800 - 0x0000e8ff (0x100) IX[B]
   [28] -1   0   0x0000ffa0 - 0x0000ffaf (0x10) IX[B]
   [29] 0   0   0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
   [30] 0   0   0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(II) NVIDIA(0): Setting mode "1280x1024"

while with the nv generic driver I get
Code:

   [29] 0   0   0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
   [30] 0   0   0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(==) NV(0): Write-combining range (0xe8000000,0x8000000)
(II) NV(0): Using XFree86 Acceleration Architecture (XAA)
   Screen to screen bit blits
   Solid filled rectangles
   8x8 mono pattern filled rectangles
   Indirect CPU to Screen color expansion
   Solid Lines
   Scanline Image Writes
   Offscreen Pixmaps
   Setting up tile and stipple cache:
      32 128x128 slots
      32 256x256 slots
      16 512x512 slots
(==) NV(0): Backing store disabled
(==) NV(0): Silken mouse enabled
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(**) Option "Protocol" "Auto"
(**) Mouse1: Device: "/dev/mouse"
(**) Mouse1: Protocol: "Auto"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/mouse"
(**) Option "Buttons" "5"
(==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse1: ZAxisMapping: buttons 4 and 5
(**) Mouse1: Buttons: 5
(**) Mouse1: SmartScroll: 1
(**) Option "CoreKeyboard"
(**) Keyboard1: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard1: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard1: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Keyboard1: XkbModel: "pc105"
(**) Option "XkbLayout" "it"
(**) Keyboard1: XkbLayout: "it"
(**) Option "CustomKeycodes" "off"
(**) Keyboard1: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(--) Mouse1: PnP-detected protocol: "ExplorerPS/2"
(II) Mouse1: ps2EnableDataReporting: succeeded
Could not init font path element /usr/share/fonts/local/, removing from list!
SetClientVersion: 0 8


Can anyone help me please.
Thank you in advance.
jvlik


Last edited by jvlik on Fri Jun 17, 2005 12:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
hjnenc
Veteran
Veteran


Joined: 15 Aug 2004
Posts: 1599
Location: Vienna, Austria

PostPosted: Tue Dec 28, 2004 5:15 pm    Post subject: Reply with quote

Don't know if this solves your problem, but you don't need to specify the ModeLines with the NVIDIA driver. The only things I have in my Monitor section is
Code:
Section "Monitor"
    Identifier  "SM 171N"
    HorizSync   31.5 - 64.3
    VertRefresh 60
EndSection

You can adapt the values to the specifications of your monitor.
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Tue Dec 28, 2004 5:34 pm    Post subject: Reply with quote

yeah I dont know why you are trying to use modelines, but when I use
Xorg -configure, afterwards I still have to add vertrefresh and horizsync options to the monitor and a default depth to the screen section, then the EDID specified modes should work
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
jvlik
n00b
n00b


Joined: 22 Dec 2004
Posts: 35

PostPosted: Tue Dec 28, 2004 7:06 pm    Post subject: Reply with quote

You are right. I tried to specify only hsync and vref but it didn't work so I thought it was a problem of freq on my monitor and so I wnto through modelines. It still doesn't work.
Which is the problem?
Thanks
jvlik
Back to top
View user's profile Send private message
kenyon
Apprentice
Apprentice


Joined: 23 Dec 2004
Posts: 155
Location: Southern California

PostPosted: Tue Dec 28, 2004 10:06 pm    Post subject: Reply with quote

I've got the same video card and a Samsung SyncMaster 192N 19-inch LCD screen that does 1280x1024 also, so my setup sounds similar to yours. Here is my xorg.conf:
Code:
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   RgbPath      "/usr/lib/X11/rgb"
   ModulePath   "/usr/lib/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/CID/"
   FontPath     "/usr/share/fonts/75dpi/"
   FontPath     "/usr/share/fonts/100dpi/"
   FontPath     "/usr/share/fonts/corefonts/"
   #FontPath     "/usr/share/fonts/fontsfromXP/"
EndSection

Section "Module"
   Load  "dbe"
   #Load  "dri"
   Load  "extmod"
   Load  "glx"
   Load  "record"
   Load  "xtrap"
   Load  "freetype"
   Load  "type1"
EndSection

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

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "ExplorerPS/2"
   #Option       "Protocol" "Auto"
   Option       "Device" "/dev/input/mouse0"
   Option      "Buttons"      "7"
   Option      "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
   #DisplaySize     380   310   # mm
   Identifier   "Monitor0"
   VendorName   "SAM"
   ModelName    "SyncMaster"
   HorizSync    30.0 - 81.0
   #HorizSync    12594.0 - 0.0
   VertRefresh  56.0 - 85.0
   Option       "DPMS"
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     "SWcursor"              # [<bool>]
        #Option     "HWcursor"              # [<bool>]
        #Option     "NoAccel"               # [<bool>]
        #Option     "ShadowFB"              # [<bool>]
        #Option     "UseFBDev"              # [<bool>]
        #Option     "Rotate"                # [<str>]
        #Option     "VideoKey"              # <i>
        #Option     "FlatPanel" "True"            # [<bool>]
        #Option     "FPDither" "True"             # [<bool>]
        #Option     "CrtcNumber"            # <i>
   Identifier  "Card0"
   Driver      "nvidia"
   VideoRam    131072
   VendorName  "nVidia Corporation"
   BoardName   "NV34 [GeForce FX 5200]"
   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth 24
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes   "1280x1024"
   EndSubSection
EndSection


Only thing is that I'm using different (newer) software versions than you. I'm running:
xorg-x11 6.8.1.901
nvidia-kernel 1.0.6629-r1
nvidia-glx 1.0.6629
kernel 2.6.9-cko3

Hope this helps.
Back to top
View user's profile Send private message
jvlik
n00b
n00b


Joined: 22 Dec 2004
Posts: 35

PostPosted: Tue Dec 28, 2004 11:01 pm    Post subject: Reply with quote

Thank you for your kind help. Could you post your Xorg.0.log please?
Thanks again
jvlik
Back to top
View user's profile Send private message
jvlik
n00b
n00b


Joined: 22 Dec 2004
Posts: 35

PostPosted: Tue Dec 28, 2004 11:10 pm    Post subject: Reply with quote

Same problem also copying your xorg.conf.
I don't understand why it stops.
I hope someone can clear it.
Thanks
jvlik
Back to top
View user's profile Send private message
hjnenc
Veteran
Veteran


Joined: 15 Aug 2004
Posts: 1599
Location: Vienna, Austria

PostPosted: Wed Dec 29, 2004 6:04 am    Post subject: Reply with quote

Please double check that nvidia-kernel and nvidia-glx have the same version and that the nvidia kernel module is loaded.
Back to top
View user's profile Send private message
jvlik
n00b
n00b


Joined: 22 Dec 2004
Posts: 35

PostPosted: Wed Dec 29, 2004 10:39 am    Post subject: Reply with quote

Code:

# lsmod | grep nvidia
nvidia               4816020  0


Code:

*  media-video/nvidia-glx
      Latest version available: 1.0.6111
      Latest version installed: 1.0.6111
      Size of downloaded files: 15,138 kB
      Homepage:    http://www.nvidia.com/
      Description: NVIDIA X11 driver and GLX libraries
      License:     NVIDIA

*  media-video/nvidia-kernel
      Latest version available: 1.0.6111-r3
      Latest version installed: 1.0.6111-r3
      Size of downloaded files: 15,138 kB
      Homepage:    http://www.nvidia.com/
      Description: Linux kernel module for the NVIDIA X11 driver
      License:     NVIDIA

*  media-video/nvidia-settings
      Latest version available: 1.0.6111
      Latest version installed: 1.0.6111
      Size of downloaded files: 720 kB
      Homepage:    http://www.nvidia.com/
      Description: NVIDIA Linux X11 Settings Utility
      License:     GPL-2


Is it ok?
I don't know what to do!
Thanks
jvlik
Back to top
View user's profile Send private message
jvlik
n00b
n00b


Joined: 22 Dec 2004
Posts: 35

PostPosted: Wed Dec 29, 2004 9:30 pm    Post subject: Reply with quote

I don't know why but it works.
I've recompiled my kernel (without any change in it), reemerged nvidia-kernel and -glx, modified lilo inserting vga=0x317 and splash=verbose and removing alpic, modified xorg.conf inserting NvAGP 0.
Too many things toghether and now I don't know which solved the problem.
I'm on a remote host but now Xorg.0.log is fine and glxinfo and glxgears seem to work.
Are they ok?
Code:

$ glxinfo
name of display: localhost:11.0
display: localhost:11  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: NVIDIA Corporation
client glx version string: 1.3
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
    GLX_NV_swap_group, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGI_swap_control, GLX_NV_float_buffer
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4
OpenGL extensions:
    GL_EXT_blend_color, GL_ARB_multitexture, GL_EXT_blend_minmax,
    GL_ARB_imaging
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 24 tc  1 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
0x24 24 tc  1 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
0x25 24 tc  1 24  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x26 24 tc  1 24  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x27 24 dc  1 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
0x28 24 dc  1 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
0x29 24 dc  1 24  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x2a 24 dc  1 24  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None


Code:

$ glxgears
2066 frames in 6.0 seconds = 344.333 FPS
585 frames in 5.0 seconds = 117.000 FPS
455 frames in 6.0 seconds = 75.833 FPS
520 frames in 7.0 seconds = 74.286 FPS
520 frames in 5.0 seconds = 104.000 FPS
716 frames in 5.0 seconds = 143.200 FPS
X connection to localhost:11.0 broken (explicit kill or server shutdown).


Thank you. Now I'll try to understand why now it works!
Bye


Last edited by jvlik on Wed Dec 29, 2004 9:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
jvlik
n00b
n00b


Joined: 22 Dec 2004
Posts: 35

PostPosted: Wed Dec 29, 2004 9:35 pm    Post subject: Reply with quote

ok it was NvAGP. What is it? Why it must be set to 0?
Thanks again
jvlik
Back to top
View user's profile Send private message
jvlik
n00b
n00b


Joined: 22 Dec 2004
Posts: 35

PostPosted: Wed Dec 29, 2004 9:52 pm    Post subject: Reply with quote

is it fine?
Code:

 # cat /proc/driver/nvidia/version
NVRM version: NVIDIA Linux x86 NVIDIA Kernel Module  1.0-6111  Tue Jul 27 07:55:38 PDT 2004
GCC version:  gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)

 #  cat /proc/driver/nvidia/cards/0
Model:           GeForce FX 5200
IRQ:             16
Video BIOS:      ??.??.??.??.??
Card Type:       AGP

 # cat /proc/driver/nvidia/agp/card
Fast Writes:     Supported
SBA:             Supported
AGP Rates:       8x 4x
Registers:       0x1f000e1b:0x00000000

 # cat /proc/driver/nvidia/agp/host-bridge
Host Bridge:     Silicon Integrated Systems [SiS] 655 Host
Fast Writes:     Supported
SBA:             Supported
AGP Rates:       8x 4x
Registers:       0x1f004e1b:0x00000000

 # cat /proc/driver/nvidia/agp/status
Status:          Disabled


Why Video BIOS is ??.??.??.??.?? ?
Why agp status is Disabled?
Thanks
jvlik
Back to top
View user's profile Send private message
hjnenc
Veteran
Veteran


Joined: 15 Aug 2004
Posts: 1599
Location: Vienna, Austria

PostPosted: Thu Dec 30, 2004 6:11 am    Post subject: Reply with quote

Quote:
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4

you don't use the NVIDIA glx drivers at the moment. To enable them do
Code:
opengl-update nvidia

This should also increase the FPS rate in glxgears. If that does not work, you can switch back with
Code:
opengl-update xorg-x11
Back to top
View user's profile Send private message
jvlik
n00b
n00b


Joined: 22 Dec 2004
Posts: 35

PostPosted: Tue Jan 04, 2005 8:33 am    Post subject: Reply with quote

Since I was working via ssh, I posted the output of my local pc even if I launched glxinfo, glxgears from the remote host. The right output is:

Code:

$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.3
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
    GLX_ARB_multisample, GLX_NV_float_buffer
client glx vendor string: NVIDIA Corporation
client glx version string: 1.3
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
    GLX_NV_swap_group, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGI_swap_control, GLX_NV_float_buffer
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
    GLX_ARB_multisample, GLX_NV_float_buffer, GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce FX 5200/PCI/SSE2
OpenGL version string: 1.5.1 NVIDIA 61.11
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_fragment_program,
    GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader, GL_ARB_imaging,
    GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query,
    GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
    GL_ARB_shader_objects, GL_ARB_shading_language_100,
    GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
    GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix,
    GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader,
    GL_ARB_window_pos, GL_S3_s3tc, GL_EXT_texture_env_add, GL_EXT_abgr,
    GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array,
    GL_EXT_Cg_shader, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
    GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_paletted_texture,
    GL_EXT_pixel_buffer_object, GL_EXT_point_parameters,
    GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
    GL_EXT_shared_texture_palette, GL_EXT_stencil_two_side,
    GL_EXT_stencil_wrap, GL_EXT_texture3D, GL_EXT_texture_compression_s3tc,
    GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod,
    GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
    GL_HP_occlusion_test, GL_IBM_rasterpos_clip,
    GL_IBM_texture_mirrored_repeat, GL_KTX_buffer_region, GL_NV_blend_square,
    GL_NV_copy_depth_to_color, GL_NV_depth_clamp, GL_NV_fence,
    GL_NV_float_buffer, GL_NV_fog_distance, GL_NV_fragment_program,
    GL_NV_fragment_program_option, GL_NV_half_float, GL_NV_light_max_exponent,
    GL_NV_multisample_filter_hint, GL_NV_occlusion_query,
    GL_NV_packed_depth_stencil, GL_NV_pixel_data_range, GL_NV_point_sprite,
    GL_NV_primitive_restart, GL_NV_register_combiners,
    GL_NV_register_combiners2, GL_NV_texgen_reflection,
    GL_NV_texture_compression_vtc, GL_NV_texture_env_combine4,
    GL_NV_texture_expand_normal, GL_NV_texture_rectangle,
    GL_NV_texture_shader, GL_NV_texture_shader2, GL_NV_texture_shader3,
    GL_NV_vertex_array_range, GL_NV_vertex_array_range2, GL_NV_vertex_program,
    GL_NV_vertex_program1_1, GL_NV_vertex_program2,
    GL_NV_vertex_program2_option, GL_SGIS_generate_mipmap,
    GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
    GL_SUN_slice_accum
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x21 24 tc  0 32  0 r  y  .  8  8  8  0  0 24  8 16 16 16 16  0 0 None
0x22 24 dc  0 32  0 r  y  .  8  8  8  0  0 24  8 16 16 16 16  0 0 None
0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  0  0 24  8 16 16 16 16  0 0 None
0x25 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x26 24 tc  0 32  0 r  y  .  8  8  8  0  0 16  0 16 16 16 16  0 0 None
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  0 16 16 16 16  0 0 None
0x28 24 tc  0 32  0 r  .  .  8  8  8  0  0 16  0 16 16 16 16  0 0 None
0x29 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  0 16 16 16 16  0 0 None
0x2a 24 tc  0 32  0 r  y  .  8  8  8  0  0  0  0 16 16 16 16  0 0 None
0x2b 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 None
0x2c 24 tc  0 32  0 r  .  .  8  8  8  0  0  0  0 16 16 16 16  0 0 None
0x2d 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 None
0x2e 24 tc  0 32  0 r  y  .  8  8  8  0  0 24  8 16 16 16 16  2 1 Ncon
0x2f 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  2 1 Ncon
0x30 24 tc  0 32  0 r  y  .  8  8  8  0  0 24  8 16 16 16 16  4 1 Ncon
0x31 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  4 1 Ncon
0x32 24 tc  0 32  0 r  y  .  8  8  8  0  0 16  0 16 16 16 16  2 1 Ncon
0x33 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  0 16 16 16 16  2 1 Ncon
0x34 24 tc  0 32  0 r  y  .  8  8  8  0  0 16  0 16 16 16 16  4 1 Ncon
0x35 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  0 16 16 16 16  4 1 Ncon
0x36 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x37 24 dc  0 32  0 r  .  .  8  8  8  0  0 24  8 16 16 16 16  0 0 None
0x38 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x39 24 dc  0 32  0 r  y  .  8  8  8  0  0 16  0 16 16 16 16  0 0 None
0x3a 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  0 16 16 16 16  0 0 None
0x3b 24 dc  0 32  0 r  .  .  8  8  8  0  0 16  0 16 16 16 16  0 0 None
0x3c 24 dc  0 32  0 r  .  .  8  8  8  8  0 16  0 16 16 16 16  0 0 None
0x3d 24 dc  0 32  0 r  y  .  8  8  8  0  0  0  0 16 16 16 16  0 0 None
0x3e 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 None
0x3f 24 dc  0 32  0 r  .  .  8  8  8  0  0  0  0 16 16 16 16  0 0 None
0x40 24 dc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 None
0x41 24 dc  0 32  0 r  y  .  8  8  8  0  0 24  8 16 16 16 16  2 1 Ncon
0x42 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  2 1 Ncon
0x43 24 dc  0 32  0 r  y  .  8  8  8  0  0 24  8 16 16 16 16  4 1 Ncon
0x44 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  4 1 Ncon
0x45 24 dc  0 32  0 r  y  .  8  8  8  0  0 16  0 16 16 16 16  2 1 Ncon
0x46 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  0 16 16 16 16  2 1 Ncon
0x47 24 dc  0 32  0 r  y  .  8  8  8  0  0 16  0 16 16 16 16  4 1 Ncon
0x48 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  0 16 16 16 16  4 1 Ncon


and

Code:

$ glxgears
4044 frames in 5.0 seconds = 808.800 FPS
4973 frames in 5.0 seconds = 994.600 FPS
4921 frames in 5.0 seconds = 984.200 FPS
4973 frames in 5.0 seconds = 994.600 FPS
4936 frames in 5.0 seconds = 987.200 FPS


Is it ok, now?
Thanks again.
jvlik
Back to top
View user's profile Send private message
hjnenc
Veteran
Veteran


Joined: 15 Aug 2004
Posts: 1599
Location: Vienna, Austria

PostPosted: Tue Jan 04, 2005 8:45 am    Post subject: Reply with quote

Looks good now!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum