View previous topic :: View next topic |
Author |
Message |
Sedrik l33t
Joined: 08 Apr 2005 Posts: 655 Location: Uppsala, Sweden
|
Posted: Sun Aug 17, 2008 5:37 pm Post subject: [SOLVED] glxgears wont run X/ati problem |
|
|
Hi all
So I just finished getting the ati-drivers running on my new computer and when I try to run glxgears I get this error.
Code: | sedrik@cube ~ $ glxgears
XIO: fatal IO error 0 (Success) on X server ":0.0"
after 26 requests (26 known processed) with 0 events remaining. |
Anyone that has a tip on how to solve this? I'm, feeling quite lost here. Tell me if you want to see any configuration file. _________________ From Gentoo with love
Last edited by Sedrik on Sat Aug 23, 2008 12:14 pm; edited 1 time in total |
|
Back to top |
|
|
nordic bro Guru
Joined: 25 Oct 2003 Posts: 585
|
Posted: Sun Aug 17, 2008 10:29 pm Post subject: |
|
|
I use nvidia so aren't sure how it would work for you but for me I'd have to have "glx" loaded in xorg.conf for glx apps to work; look in /var/log/Xorg.0.log and search for "glx" - if there's nothing there it probably means you need to enable it in xorg.conf (or through ati setup or something).
If this is an upgrade for a setup that previously worked, maybe some option is new/changed? Probably good docs/example in /usr/share/doc/<ati driver dir>.
It also occurs to me that I have to run "eselect opengl set nvidia" when installing or re-installing nvidia driver (I use the prop driver, not kernel mod) - maybe you do too? |
|
Back to top |
|
|
Sedrik l33t
Joined: 08 Apr 2005 Posts: 655 Location: Uppsala, Sweden
|
Posted: Mon Aug 18, 2008 9:26 am Post subject: |
|
|
I got the glx module loaded and have set opengl to the ati implementation :/ _________________ From Gentoo with love |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5934
|
Posted: Mon Aug 18, 2008 9:29 am Post subject: |
|
|
does glxinfo work? how about fglrxinfo?
cheers _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
|
Sedrik l33t
Joined: 08 Apr 2005 Posts: 655 Location: Uppsala, Sweden
|
Posted: Mon Aug 18, 2008 4:39 pm Post subject: |
|
|
Nope same problem with all of them. _________________ From Gentoo with love |
|
Back to top |
|
|
Sedrik l33t
Joined: 08 Apr 2005 Posts: 655 Location: Uppsala, Sweden
|
Posted: Tue Aug 19, 2008 12:24 pm Post subject: |
|
|
Here is my xorg.conf if it helps
Code: | Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen "aticonfig-Screen[0]-1" Above "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib64/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 "glx"
Load "dbe"
Load "dri"
Load "xtrap"
Load "GLcore"
Load "extmod"
Load "record"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "se"
Option "XkbOptions" "ctrl:swapcaps"
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 "Monitor"
Identifier "aticonfig-Monitor[0]-1"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
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" False # [<bool>]
#Option "NoDRI" False # [<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 "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>]
#Option "IgnoreEDID" "off"
#Option "HSync2" "unspecified" #"31.5 - 90.0"
#Option "VRefresh2" "unspecified" #"75"
#Option "MonitorLayout" "LVDS,AUTO"
#Option "EnableRandR12" # [<bool>]
#Option "DisableRotation" # [<bool>]
#Option "EnableCrossFire" # [<bool>]
#BusID "PCI:1:5:0"
Identifier "Card0"
Driver "fglrx"
#Driver "radeon"
Option "RenderAccel" "on"
Option "XAANoOffscreenPixmaps" "true"
VendorName "ATI Technologies Inc"
BoardName "Unknown Board"
BusID "PCI:1:5:0"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]-1"
Driver "fglrx"
#Driver "radeon"
Option "RenderAccel" "on"
Option "XAANoOffscreenPixmaps" "true"
BusID "PCI:1:5:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1680x1050" "800x600" "640x400"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1680x1050" "800x600" "640x400"
EndSubSection
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]-1"
Device "aticonfig-Device[0]-1"
Monitor "aticonfig-Monitor[0]-1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1920x1080"#"1366x768"
EndSubSection
EndSection
|
Edit:
I should look here for hints when I get home http://ubuntuforums.org/showthread.php?t=158686 _________________ From Gentoo with love |
|
Back to top |
|
|
Sedrik l33t
Joined: 08 Apr 2005 Posts: 655 Location: Uppsala, Sweden
|
Posted: Sat Aug 23, 2008 12:13 pm Post subject: |
|
|
The latest drivers solved the problem, altough I am now missing direct rendering. :/ _________________ From Gentoo with love |
|
Back to top |
|
|
|