← Back to team overview

sslug-teknik team mailing list archive

Nvidia driver

 

Hej Alle

Mit gamle matrox kort brændte af og jeg har købt et kort baseret på Nvidia MX440 chipsettet istedet. Jeg har downloaded driveren fra nvidia, installeret den og rettet i xorg.conf. glxgears giver 2690 fps så den del virker som den skal.

Det der ikke virker er xv outputet og dermed scalering osv.
Det gør at jeg ikke kan scalere en dvd til fuld skærmstørrelse. SDL outputtet virker også fint.

Her er hvad jeg får ved afspilning af en dvd-film.

Xlib:  extension "XFree86-VidModeExtension" missing on display ":0.0".
vo: X11 running at 1280x1024 with depth 16 and 16 bpp (":0.0" => local display)
Xlib:  extension "XVideo" missing on display ":0.0".
Sorry, Xv not supported by this X11 version/driver
******** Try with  -vo x11  or  -vo sdl  *********
Error opening/initializing the selected video_out (-vo) device.


Og her er output fra lspci
0000:01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a2)

bash-2.05b$ cat /proc/mtrr
reg00: base=0x00000000 (   0MB), size=1024MB: write-back, count=1
(mangler der ikke noget her??)

lsmod:
nvidia               3917436  12
agpgart                30128  1 nvidia


og min /etc/xorg.conf fill
Section "Module"
   Load        "dbe"   # Double buffer extension
   Load        "type1"
   Load        "freetype"
# This loads the GLX module
   Load       "glx"
# This loads the DRI module
#    Load       "dri"
EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"
   RgbPath     "/usr/lib/X11/rgb"
   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/local/"
   FontPath   "/usr/share/fonts/Speedo/"
#    ModulePath "/usr/X11R6/lib/modules"
EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"
EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"
   Identifier  "Keyboard1"
   Driver      "kbd"
   Option "AutoRepeat" "500 30"

   Option "XkbModel"   "pc102"
   Option "XkbLayout"  "dk"
EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver
   Identifier  "Mouse1"
   Driver      "mouse"
   Option "Protocol"    "PS/2"
   Option "Device"      "/dev/psaux"
EndSection

Section "Monitor"
   Identifier  "Philips109B"
   HorizSync   30-97
   VertRefresh 50-160
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Device configured by xorgconfig:

Section "Device"
   Identifier  "Nvidia"
   Driver      "nvidia"
   #VideoRam    131072
   # Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
   Identifier  "Screen 1"
   Device      "Nvidia"
   Monitor     "Philips109B"
   DefaultDepth 16

   Subsection "Display"
       Depth       8
       Modes       "1280x1024" "1024x768" "800x600" "640x480"
       ViewPort    0 0
   EndSubsection
   Subsection "Display"
       Depth       16
       Modes       "1280x1024" "1024x768" "800x600" "640x480"
       ViewPort    0 0
   EndSubsection
   Subsection "Display"
       Depth       24
       Modes       "1280x1024" "1024x768" "800x600" "640x480"
       ViewPort    0 0
   EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"
   Identifier  "Simple Layout"
   Screen "Screen 1"
   InputDevice "Mouse1" "CorePointer"
   InputDevice "Keyboard1" "CoreKeyboard"
EndSection

# Section "DRI"
#    Mode 0666
# EndSection



Follow ups