You are not logged in.
I have a compaq laptop with an ATI xPress 200M graphics card (I know it's crap). I'm trying to get direct rendering to work, and I've hit the strangest problem I've seen with direct rendering:
[arew264@Presarinator ~]$ LIBGL_DEBUG=verbose glxinfo | grep direct
libGL: XF86DRIGetClientDriverName: 5.3.0 r300 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so
libGL error: dlopen /usr/lib/dri/r300_dri.so failed (/usr/lib/dri/r300_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: r300_dri.so
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
[arew264@Presarinator ~]$ sudo LIBGL_DEBUG=verbose glxinfo | grep direct
libGL: XF86DRIGetClientDriverName: 5.3.0 r300 (screen 0)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/r300_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/r300_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:05.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0
Warning, xpress200 detected.
libGL error:
Can't open configuration file /etc/drirc: No such file or directory.
libGL error:
Can't open configuration file /home/arew264/.drirc: No such file or directory.
direct rendering: YesWhy does it work as root but not as arew264? I'm a member of the video group, and my xorg.conf looks like this:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
# Load "GLcore"
Load "glx"
# Load "xtrap"
# Load "dri"
Load "extmod"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "record"
Load "freetype"
# Load "drm"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
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 "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "GARTSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "DMAForXv" # [<bool>]
#Option "FBTexPercent" # <i>
#Option "DepthBits" # <i>
#Option "PCIAPERSize" # <i>
#Option "AccelDFS" # [<bool>]
#Option "DDCMode" # [<bool>]
#Option "IgnoreEDID" # [<bool>]
#Option "DisplayPriority" # [<str>]
#Option "PanelSize" # [<str>]
#Option "ForceMinDotClock" # <freq>
#Option "ColorTiling" # [<bool>]
#Option "VideoKey" # <i>
#Option "RageTheatreCrystal" # <i>
#Option "RageTheatreTunerPort" # <i>
#Option "RageTheatreCompositePort" # <i>
#Option "RageTheatreSVideoPort" # <i>
#Option "TunerType" # <i>
#Option "RageTheatreMicrocPath" # <str>
#Option "RageTheatreMicrocType" # <str>
#Option "ScalerWidth" # <i>
#Option "RenderAccel" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ShowCache" # [<bool>]
#Option "DynamicClocks" # [<bool>]
#Option "VGAAccess" # [<bool>]
#Option "ReverseDDC" # [<bool>]
#Option "LVDSProbePLL" # [<bool>]
#Option "AccelMethod" # <str>
#Option "DRI" # [<bool>]
#Option "ConnectorTable" # <str>
#Option "DefaultConnectorTable" # [<bool>]
#Option "DefaultTMDSPLL" # [<bool>]
#Option "TVDACLoadDetect" # [<bool>]
#Option "ForceTVOut" # [<bool>]
#Option "TVStandard" # <str>
Identifier "Card0"
Driver "radeon"
#Option "EnablePageFlip" "true"
#Option "BackingStore" "true"
Option "XAANoOffscreenPixmaps" "true"
Option "DRI" "true"
#Option "AGPMode" "4"
VendorName "ATI Technologies Inc"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x800"
EndSubSection
EndSection
Section "DRI"
Group "video"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "enable"
EndSectionI'm mostly getting direct rendering to work so i can play tremulous (it's quite addicting, it seems), and as of now I get about 10 fps. Something is also definitely wrong with the rendering because I can't... see anything. It's not a blank screen, there's just a bunch of triangles right in front of the viewport no matter where I turn. It's rendering incorrectly for sure.
Last edited by arew264 (2008-03-20 17:50:37)
Offline
Just try the catalyst driver, its much faster for this kinda stuff anyways...
Also you could try to uncomment Load "dri" and Load "drm" ...
Offline
Oh, I forgot to mention, with the latest update with all the bugfixes, ATI broke 3d in my card. glxgears will say it's drawing but I get a black window, and games like Tremulous just give me a black screen with audio. I had catalyst working and was quite happy with it, but ATI has broken it.
Offline
After not making any headway with the open source drivers, I finally thought to dig out the old PKGBUILD for the catalyst drivers, and build and install the old version. With my old config in place, I have graphics. W00t!
Offline