PDA

View Full Version : Can not get Direct Rendering with onboard VIA graphics


WalmartSniperLX
10-09-2007, 06:30 AM
I just installed PCBSD 1.4 a few nights ago. While setting up a few things, I did a glxinfo to find this:

name of display: :0.0
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual

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
----------------------------------------------------------------------
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x21 24 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None


My xorg.conf looks like :

# Xorg.conf file generated for PC-BSD

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Clone" "off"
EndSection

Section "Files"
RgbPath "/usr/local/lib/X11/rgb"
ModulePath "/usr/local/lib/xorg/modules"
FontPath "/Programs/fonts/"
FontPath "/usr/local/lib/X11/fonts/cyrillic/"
FontPath "/usr/local/lib/X11/fonts/TrueType/"
FontPath "/usr/local/lib/X11/fonts/webfonts/"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/CID/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/dejavu/"
FontPath "/usr/local/lib/X11/fonts/local/"
EndSection

Section "Module"
Load "dri"
Load "ddc"
Load "dbe"
Load "extmod"
Load "xtrap"
Load "freetype"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "Buttons" "6"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Generic Monitor"
ModelName "Generic"


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" "True" # [<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 "via"
VendorName "Generic via Driver"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection

I believe I added the 'dri' option under the module list. Originally It was not listed. However that did not help :x
Does anyone know how I can get direct rendering? My computer runs really slow without it and will appreciate any help. Thanks in advance.

angryfirelord
11-11-2007, 02:09 AM
Could be missing a few libraries. Try installing libgl & glproto from ports.

I did a search for "glx" and got this:
http://www.freebsd.org/cgi/ports.cgi?query=glx&stype=all&sektion=all