View Single Post
  #1   (View Single Post)  
Old 29th September 2008
PatrickBaer PatrickBaer is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 81
Default direct rendering with nvidia card

Good morning, I just installed my new desktop pc. Bought a new graphics card along as my old hardware was not compatible. I chose a plain cheap MSI NX8400GS card.

So installed a fresh PCBSD 7, which works just fine, except for the graphics output. When I move a window around at the desktop, it seems to "drag" a lot after the mouse cursor, very bumpy indeed. glxgears works but with an average of 80fpm. this is the ouput of glxinfo:

Code:
name of display: :0.0                                                
display: :0  screen: 0                                               
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
server glx vendor string: SGI                                                      
server glx version string: 1.2                                                     
server glx extensions:                                                             
...
And here comes 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/local/share/X11/rgb"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/lib/X11/fonts/misc/"
        FontPath     "/usr/local/lib/X11/fonts/TTF/" 
        FontPath     "/usr/local/lib/X11/fonts/OTF"  
        FontPath     "/usr/local/lib/X11/fonts/Type1/"
        FontPath     "/usr/local/lib/X11/fonts/100dpi/"
        FontPath     "/usr/local/lib/X11/fonts/75dpi/" 
EndSection                                             

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

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"      
        Option "XkbLayout" "de"
EndSection                     

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse" 
        Option      "Protocol" "auto"
        Option      "Device" "/dev/sysmouse"
        Option      "ZAxisMapping" "4 5 6 7"
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     "SWcursor"                  # [<bool>]           
        #Option     "HWcursor"                  # [<bool>]           
        #Option     "NoAccel"                   # [<bool>]           
        #Option     "ShadowFB"                  # [<bool>]           
        #Option     "UseFBDev"                  # [<bool>]           
        #Option     "Rotate"                    # [<str>]            
        #Option     "VideoKey"                  # <i>                
        #Option     "FlatPanel"                 # [<bool>]           
        #Option     "FPDither"                  # [<bool>]
        #Option     "CrtcNumber"                # <i>
        #Option     "FPScale"                   # [<bool>]
        #Option     "FPTweak"                   # <i>
        #Option     "DualHead"                  # [<bool>]
        Identifier  "Card0"
        Driver      "nv"
        VendorName  "nVidia Corporation"
        BoardName   "Unknown Board"
        BusID       "PCI:6:0:0"
        Option "AddARGBGLXVisuals" "True"
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

Section "DRI"
        Mode    0666
    EndSection
If somebody knows why I can't use direct rendering, I'd honestly appreciate it
Reply With Quote