X11/glx question

Garrett Cooper youshi10 at u.washington.edu
Fri Jul 28 16:36:41 UTC 2006


pete wright wrote:
> On 7/28/06, Robert Huff <roberthuff at rcn.com> wrote:
>>
>> pete wright writes:
>>
>> >  Hmm, I'd like to see your X.org config file.  I am guessing you
>> >  may have the Nvidia glx module or Nvidia graphics driver
>> >  referenced in there.
>>
>>         File is appended.
>>
>
> hmm...that's wierd.  the glx and dri drivers should not be dependant
> upon the nvidia dirivers or blob's.  you are able to load X from this
> config when you comment out the dri and glx lines correct?  did you
> install the dri stuff from ports?  i'm kinda stumped myself.
>
> -pete
>
>>
>>                         Robert Huff
>>
>>
>> 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/100dpi/"
>>         FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
>>         FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
>>         FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
>>         FontPath     "/usr/X11R6/lib/X11/fonts/freefont/"
>>         FontPath     "/usr/X11R6/lib/X11/fonts/nucleus/"
>>         FontPath     "/usr/X11R6/lib/X11/fonts/local/"
>>         FontPath     "/usr/X11R6/lib/X11/fonts/webfonts/"
>>         FontPath           "/usr/X11R6/lib/X11/fonts/code2000/"
>>         FontPath     "/usr/X11R6/lib/X11/fonts/chinese/ukai"
>>         FontPath     "/usr/X11R6/lib/X11/fonts/chinese/uming"
>>         FontPath           
>> "/usr/X11R6/lib/X11/fonts/chinese/urwfonts-ttf"
>>         FontPath           "/usr/X11R6/lib/X11/fonts/chinese/wqy"
>>         FontPath        "/usr/X11R6/lib/X11/fonts/local"
>>         Fontpath        "/usr/X11R6/lib/X11/fonts/ae_fonts1/AAHS"
>>         FontPath        "/usr/X11R6/lib/X11/fonts/ae_fonts1/AGA"
>>         FontPath        "/usr/X11R6/lib/X11/fonts/ae_fonts1/FS"
>>         FontPath        "/usr/X11R6/lib/X11/fonts/ae_fonts1/Kasr"
>>         FontPath        "/usr/X11R6/lib/X11/fonts/ae_fonts1/MCS"
>>         FontPath        "/usr/X11R6/lib/X11/fonts/ae_fonts1/Shmookh"
>>         FontPath        "/usr/X11R6/lib/X11/fonts/ae_fonts_mono"
>>         FontPath  "/usr/X11R6/lib/X11/fonts/Windows"
>>         FontPath  "/usr/X11R6/lib/X11/fonts/scifi"
>>         FontPath  "/usr/local/share/ghostscript/fonts"
>> EndSection
>>
>> Section "Module"
>>         Load  "extmod"
>>         Load  "glx"
>>         Load  "dri"
>>         Load  "dbe"
>>         Load  "record"
>>         Load  "xtrap"
>>         Load  "type1"
>>         Load  "freetype"
>> EndSection
>>
>> Section "InputDevice"
>>         Identifier  "Keyboard0"
>>         Driver      "keyboard"
>>         Option      "XkbRules" "xfree86"
>>         Option      "XkbModel" "pc101"
>>         Option      "XkbLayout" "us"
>> EndSection
>>
>> Section "InputDevice"
>>      Identifier  "Mouse0"
>>      Driver     "mouse"
>>      Option     "Device" "/dev/sysmouse"
>>      Option     "Protocol" "auto"
>>      Option     "ZAxisMapping" "4 5"
>> EndSection
>>
>> Section "Monitor"
>>         Identifier   "Monitor0"
>>         VendorName   "PGS"
>>         ModelName    "EO750"
>>         HorizSync    30.0 - 90.0
>>         VertRefresh  50.0 - 160.0
>>         ModeLine     "1024x768 at 88Hz(VESA)" 94.5 1024 1072 1168 1376 
>> 768 769 772 808 +hsync +vsync
>>         DisplaySize     300 225
>>         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     "PciRetry"                  # [<bool>]
>>         #Option     "SyncOnGreen"               # [<bool>]
>>         #Option     "NoAccel"                   # [<bool>]
>>         #Option     "ShowCache"                 # [<bool>]
>>         #Option     "Overlay"                   # [<str>]
>>         #Option     "MGASDRAM"                  # [<bool>]
>>         #Option     "ShadowFB"                  # [<bool>]
>>         #Option     "UseFBDev"                  # [<bool>]
>>         #Option     "ColorKey"                  # <i>
>>         #Option     "SetMclk"                   # <freq>
>>         #Option     "OverclockMem"              # [<bool>]
>>         #Option     "VideoKey"                  # <i>
>>         #Option     "Rotate"                    # [<str>]
>>         #Option     "TexturedVideo"             # [<bool>]
>>         #Option     "Crtc2Half"                 # [<bool>]
>>         #Option     "Crtc2Ram"                  # <i>
>>         #Option     "Int10"                     # [<bool>]
>>         #Option     "AGPMode"                   # <i>
>>         #Option     "DigitalScreen"             # [<bool>]
>>         #Option     "TV"                        # [<bool>]
>>         #Option     "TVStandard"                # [<str>]
>>         #Option     "CableType"                 # [<str>]
>>         #Option     "NoHal"                     # [<bool>]
>>         Option     "NoHal"                      # [<bool>]
>>         #Option     "SwappedHead"               # [<bool>]
>>         #Option     "DRI"                       # [<bool>]
>>
>>         Identifier  "Card0"
>>         Driver      "mga"
>>         VendorName  "Matrox"
>>         BoardName   "MGA G400 AGP"
>>         ChipSet     "mgag400"
>>         BusID       "PCI:1:0:0"
>>         Option    "NoDDC"
>>         Option     "AGPMode" "4"                # <i>
>> EndSection
>>
>> Section "Screen"
>>         Identifier "Screen0"
>>         Device     "Card0"
>>         Monitor    "Monitor0"
>>         DefaultDepth    24
>>
>>         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
>>         Modes       "1024x768 at 88Hz(VESA)" "800x600" "640x480"
>>         ViewPort    0 0
>>         Virtual     1024 768
>>         EndSubSection
>> EndSection
>>
>> Section "DRI"
>>         Group        0
>> EndSection 
Don't remember how nvidia does their stuff in FreeBSD, but the GL driver 
symlink to Mesa's GL driver is replaced under Linux with the nvidia one.
-Garrett


More information about the freebsd-questions mailing list