Find the answer to your Linux question:
Results 1 to 6 of 6
Ive just installed the freebsd nvidia driver from the tar.gz,but there is no file to configure in /etc/X11 dir ,I can not seem to locate the /etc/X11/XF86Config to edit....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User mactabilis's Avatar
    Join Date
    Apr 2005
    Location
    moon
    Posts
    379

    /etc/X11


    Ive just installed the freebsd nvidia driver from the tar.gz,but there is no file to configure in /etc/X11 dir ,I can not seem to locate the /etc/X11/XF86Config to edit.

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    The file might be called xorg.conf

  3. #3
    Linux User mactabilis's Avatar
    Join Date
    Apr 2005
    Location
    moon
    Posts
    379
    Well the xorg.conf was in the /root, and this is what it looks like,

    Code:
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig:  version 1.0  (buildmeister@builder24.nvidia.com)  Wed Dec 14
    17:27:16 PST 2005
    
    
    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/X11R6/lib/X11/fonts/misc/"
        FontPath        "/usr/X11R6/lib/X11/fonts/TTF/"
        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           "dbe"
        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" "auto"
        Option         "Device" "/dev/psm0"
    EndSection
    
    Section "Monitor"
    
            #DisplaySize      300   230     # mm
     ### Uncomment if you don't want to default to DDC:
    #       HorizSync    30.0 - 69.0
    #       VertRefresh  48.0 - 160.0
        Identifier     "Monitor0"
        VendorName     "DEL"
        ModelName      "DELL M770"
        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"                 # [<bool>]
            #Option     "FPDither"                  # [<bool>]
            #Option     "CrtcNumber"                # <i>
            #Option     "FPScale"                   # [<bool>]
            #Option     "FPTweak"                   # <i>
        Identifier     "Card0"
        Driver         "nvidia"
        VendorName     "nVidia Corporation"
        BoardName      "NV17 [GeForce4 MX 440]"
    EndSection
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "Card0"
        Monitor        "Monitor0"
        SubSection     "Display"
            Viewport    0 0
        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
    That seems ok to me ,But a glxgears output is this,

    Code:
    Xlib:  extension "GLX" missing on display ":0.0".
    glxgears: Error: couldn't get an RGB, Double-buffered visual.


    I had this problem on my gentoo box but i simply just re-emerged the glx driver,I'm not sure how to go about it on freebsd 6.0.

  4. #4
    Linux Engineer
    Join Date
    Aug 2004
    Posts
    826
    All you need to do is
    Code:
    # cp /root/xorg.conf /etc/X11/

  5. #5
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    I know this was posted a while ago, but eh...you may also want to add some default resolutions to your xorg.conf
    Operating System: GNU Emacs

  6. #6
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    You can also install the driver from ports. The nvidia driver and settings packages are in /usr/ports/x11/.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •