PDA

View Full Version : According to glxgears I don't have 3d acceleration?!


aniruddha
06-20-2008, 01:55 PM
I run Gentoo x86. Direct rendering is on and I can play games like ETQW fine. However glxgears shows strange results :confused: What does this mean? And how can it be fixed?

$ glxgears
303 frames in 5.0 seconds = 60.463 FPS
299 frames in 5.0 seconds = 59.795 FPS
299 frames in 5.0 seconds = 59.795 FPS
299 frames in 5.0 seconds = 59.795 FPS
299 frames in 5.0 seconds = 59.796 FPS

$ glxinfo | grep rendering
direct rendering: Yes

cat /etc/X11/xorg.conf
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/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection

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

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Dev Name" "Tempest Habu Mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Buttons" "9"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "false"
Option "ButtonMapping" "1 2 3 6 7 8 9"
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 "NoDRI" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "DRM_nbufs" # <i>
#Option "DRM_bufsize" # <i>
#Option "Capabilities" # <i>
#Option "CapabilitiesEx" # <i>
#Option "ClientDriverName" # [<str>]
#Option "KernelModuleParm" # [<str>]
#Option "AGPMask" # <i>
#Option "AGPv3Mask" # <i>
#Option "BufferTiling" # [<bool>]
#Option "Profile" # <str>
#Option "RingSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
#Option "GammaCorrectionI" # <i>
#Option "GammaCorrectionII" # <i>
#Option "OpenGLOverlay" # [<bool>]
#Option "DefaultVisualTrueColor" # [<bool>]
#Option "VideoOverlay" # [<bool>]
#Option "DesktopSetup" # [<str>]
#Option "MonitorLayout" # [<str>]
#Option "ForceMonitors" # [<str>]
#Option "EnableMonitor" # <str>
#Option "OverlayOnCRTC2" # [<bool>]
#Option "Mode2" # [<str>]
#Option "PairModes" # [<str>]
#Option "HSync2" # [<str>]
#Option "VRefresh2" # [<str>]
#Option "ScreenOverlap" # <i>
#Option "MemClock" # <i>
#Option "ASICClock" # <i>
#Option "UseInternalAGPGART" # [<bool>]
#Option "FastSwap" # [<bool>]
#Option "Stereo" # [<bool>]
#Option "StereoSyncEnable" # <i>
#Option "DisableOvScaler" # [<bool>]
#Option "UseFastTLS" # <i>
#Option "BlockSignalsOnLock" # [<bool>]
#Option "ForceGenericCPU" # [<bool>]
#Option "CenterMode" # [<bool>]
#Option "OffScreenPixmaps" # [<bool>]
#Option "EnableOpaqueOverlayVisual" # [<bool>]
#Option "TMDSCoherentMode" # [<bool>]
#Option "EnablePrivateBackZ" # [<bool>]
#Option "TVFormat" # [<str>]
#Option "TVStandard" # [<str>]
#Option "TVOverscan" # [<bool>]
#Option "TVHSizeAdj" # <i>
#Option "TVVSizeAdj" # <i>
#Option "TVHPosAdj" # <i>
#Option "TVVPosAdj" # <i>
#Option "TVHStartAdj" # <i>
#Option "TVColorAdj" # <i>
#Option "PseudoColorVisuals" # [<bool>]
#Option "PreferredVRefresh" # <i>
#Option "FastStart" # [<bool>]
#Option "ProfileDriver" # [<bool>]
#Option "PPPTforGART" # [<bool>]
Option "TexturedVideo" # [<bool>]
Option "TexturedVideoSync" # [<bool>]
Option "Textured2D" # [<bool>]
Option "TexturedXrender" # [<bool>]
#Option "DPMS" # [<bool>]
#Option "MaxGARTSize" # <i>
#Option "LogoPosX" # <i>
#Option "LogoPosY" # <i>
#Option "LogoColFG" # <i>
#Option "LogoColBG" # <i>
#Option "SwapScreens" # [<bool>]
#Option "FBC" # [<bool>]
#Option "FrontBufferMode" # <i>
#Option "BackBufferMode" # <i>
#Option "DepthBufferMode" # <i>
#Option "OverlayBufferMode" # <i>
#Option "VideoOverlayBufferMode" # <i>
#Option "EnableIrqMgr" # [<bool>]
#Option "EnableMulticard" # [<bool>]
#Option "EnablePPLIB" # [<bool>]
#Option "DefaultOnDC" # [<bool>]
Identifier "Card0"
Driver "fglrx"
VendorName "ATI Technologies Inc"
BoardName "Unknown Board"
BusID "PCI:5:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1680x1050" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1680x1050" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "dri"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

mtippett
06-20-2008, 02:25 PM
I run Gentoo x86. Direct rendering is on and I can play games like ETQW fine. However glxgears shows strange results :confused: What does this mean? And how can it be fixed?
...


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 "NoDRI" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "DRM_nbufs" # <i>
#Option "DRM_bufsize" # <i>
#Option "Capabilities" # <i>
#Option "CapabilitiesEx" # <i>
#Option "ClientDriverName" # [<str>]
#Option "KernelModuleParm" # [<str>]
#Option "AGPMask" # <i>
#Option "AGPv3Mask" # <i>
#Option "BufferTiling" # [<bool>]
#Option "Profile" # <str>
#Option "RingSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
#Option "GammaCorrectionI" # <i>
#Option "GammaCorrectionII" # <i>
#Option "OpenGLOverlay" # [<bool>]
#Option "DefaultVisualTrueColor" # [<bool>]
#Option "VideoOverlay" # [<bool>]
#Option "DesktopSetup" # [<str>]
#Option "MonitorLayout" # [<str>]
#Option "ForceMonitors" # [<str>]
#Option "EnableMonitor" # <str>
#Option "OverlayOnCRTC2" # [<bool>]
#Option "Mode2" # [<str>]
#Option "PairModes" # [<str>]
#Option "HSync2" # [<str>]
#Option "VRefresh2" # [<str>]
#Option "ScreenOverlap" # <i>
#Option "MemClock" # <i>
#Option "ASICClock" # <i>
#Option "UseInternalAGPGART" # [<bool>]
#Option "FastSwap" # [<bool>]
#Option "Stereo" # [<bool>]
#Option "StereoSyncEnable" # <i>
#Option "DisableOvScaler" # [<bool>]
#Option "UseFastTLS" # <i>
#Option "BlockSignalsOnLock" # [<bool>]
#Option "ForceGenericCPU" # [<bool>]
#Option "CenterMode" # [<bool>]
#Option "OffScreenPixmaps" # [<bool>]
#Option "EnableOpaqueOverlayVisual" # [<bool>]
#Option "TMDSCoherentMode" # [<bool>]
#Option "EnablePrivateBackZ" # [<bool>]
#Option "TVFormat" # [<str>]
#Option "TVStandard" # [<str>]
#Option "TVOverscan" # [<bool>]
#Option "TVHSizeAdj" # <i>
#Option "TVVSizeAdj" # <i>
#Option "TVHPosAdj" # <i>
#Option "TVVPosAdj" # <i>
#Option "TVHStartAdj" # <i>
#Option "TVColorAdj" # <i>
#Option "PseudoColorVisuals" # [<bool>]
#Option "PreferredVRefresh" # <i>
#Option "FastStart" # [<bool>]
#Option "ProfileDriver" # [<bool>]
#Option "PPPTforGART" # [<bool>]
Option "TexturedVideo" # [<bool>]
Option "TexturedVideoSync" # [<bool>]
Option "Textured2D" # [<bool>]
Option "TexturedXrender" # [<bool>]
#Option "DPMS" # [<bool>]
#Option "MaxGARTSize" # <i>
#Option "LogoPosX" # <i>
#Option "LogoPosY" # <i>
#Option "LogoColFG" # <i>
#Option "LogoColBG" # <i>
#Option "SwapScreens" # [<bool>]
#Option "FBC" # [<bool>]
#Option "FrontBufferMode" # <i>
#Option "BackBufferMode" # <i>
#Option "DepthBufferMode" # <i>
#Option "OverlayBufferMode" # <i>
#Option "VideoOverlayBufferMode" # <i>
#Option "EnableIrqMgr" # [<bool>]
#Option "EnableMulticard" # [<bool>]
#Option "EnablePPLIB" # [<bool>]
#Option "DefaultOnDC" # [<bool>]
Identifier "Card0"
Driver "fglrx"
VendorName "ATI Technologies Inc"
BoardName "Unknown Board"
BusID "PCI:5:0:0"
EndSection

First, ensure that you do not have sync-to-vsync forced on (use amdcccle). You can also change your refresh rate to 75 Hz to get a 25% performance increase :).

Finally, try to be less smart (this is looks like gentoo issue than your issue). Options like TexturedXRender are in-development, non-public interfaces. Using the options directly is unsupported. The supported options are configured via the UI - amdcccle/aticonfig.

aniruddha
06-20-2008, 02:32 PM
First, ensure that you do not have sync-to-vsync forced on (use amdcccle). You can also change your refresh rate to 75 Hz to get a 25% performance increase :).

Finally, try to be less smart (this is looks like gentoo issue than your issue). Options like TexturedXRender are in-development, non-public interfaces. Using the options directly is unsupported. The supported options are configured via the UI - amdcccle/aticonfig.


Where can I check the sync-to-vsync settings? And where do I configure my refresh rate? I have those render options enbled because otherwise movies won't play :( Thanks in advance!