Need help getting DRI to work with ATI and Slackware 11.0
I have an ATI Radeon Mobility X600 graphics card and I am trying to get DRI to work with KDE in Slackware 11.0. As you will see below, when I print glxinfo it says that DRI is not enabled. Also, glxgears only gives me ~120fps. Below is a bunch of stuff that I hope will be helpful.
My lspci: root@chris:~# lspci 00:00.0 Host bridge: Intel Corporation 915G/P/GV/GL/PL/910GL Express Memory Controller Hub (rev 0e) 00:01.0 PCI bridge: Intel Corporation 915G/P/GV/GL/PL/910GL Express PCI Express Root Port (rev 0e) 00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03) 00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03) 00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03) 00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03) 00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03) 00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3) 00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03) 00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03) 00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03) 00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03) 00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03) 01:00.0 VGA compatible controller: ATI Technologies Inc M24 1P [Radeon Mobility X600] 0b:00.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller 0b:00.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller 0b:00.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller 0b:00.4 Class 0805: Texas Instruments PCI6411, PCI6421, PCI6611, PCI6621, PCI7411, PCI7421, PCI7611, PCI7621 Secure Digital (SD) Controller 0b:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 0b:03.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02) root@chris:~# |
My xorg.conf:
root@chris:~# cat /etc/X11/xorg.conf # File: xorg.conf # File generated by fglrxconfig (C) ATI Technologies, a substitute for xf86config. # Note by ATI: the below copyright notice is there for servicing possibly # pending third party rights on the file format and the instance of this file. # # Copyright (c) 1999 by The XFree86 Project, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. # # Except as contained in this notice, the name of the XFree86 Project shall # not be used in advertising or otherwise to promote the sale, use or other # dealings in this Software without prior written authorization from the # XFree86 Project. # # ************************************************** ******************** # Refer to the XF86Config(4/5) man page for details about the format of # this file. # ************************************************** ******************** # ************************************************** ******************** # DRI Section # ************************************************** ******************** Section "dri" # Access to OpenGL ICD is allowed for all users: Mode 0666 # Access to OpenGL ICD is restricted to a specific user group: # Group 100 # users # Mode 0660 EndSection # ************************************************** ******************** # Module section -- this section is used to specify # which dynamically loadable modules to load. # ************************************************** ******************** # Section "Module" # This loads the DBE extension module. Load "dbe" # Double buffer extension # This loads the miscellaneous extensions module, and disables # initialisation of the XFree86-DGA extension within that module. SubSection "extmod" Option "omit xfree86-dga" EndSubSection # This loads the Type1 and FreeType font modules Load "type1" Load "freetype" # This loads the GLX module Load "glx" # libglx.a Load "dri" # libdri.a EndSection # ************************************************** ******************** # Files section. This allows default font and rgb paths to be set # ************************************************** ******************** Section "Files" # The location of the RGB database. Note, this is the name of the # file minus the extension (like ".txt" or ".db"). There is normally # no need to change the default. RgbPath "/usr/X11R6/lib/X11/rgb" # Multiple FontPath entries are allowed (which are concatenated together), # as well as specifying multiple comma-separated entries in one FontPath # command (or a combination of both methods) # # If you don't have a floating point coprocessor and emacs, Mosaic or other # programs take long to start up, try moving the Type1 and Speedo directory # to the end of this list (or comment them out). # FontPath "/usr/X11R6/lib/X11/fonts/local/" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" # The module search path. The default path is shown here. # ModulePath "/usr/X11R6/lib/modules" EndSection # ************************************************** ******************** # Server flags section. # ************************************************** ******************** Section "ServerFlags" # Uncomment this to cause a core dump at the spot where a signal is # received. This may leave the console in an unusable state, but may # provide a better stack trace in the core dump to aid in debugging # Option "NoTrapSignals" # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence # This allows clients to receive this key event. # Option "DontZap" # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching # sequences. This allows clients to receive these key events. # Option "Dont Zoom" # Uncomment this to disable tuning with the xvidtune client. With # it the client can still run and fetch card and monitor attributes, # but it will not be allowed to change them. If it tries it will # receive a protocol error. # Option "DisableVidModeExtension" # Uncomment this to enable the use of a non-local xvidtune client. # Option "AllowNonLocalXvidtune" # Uncomment this to disable dynamically modifying the input device # (mouse and keyboard) settings. # Option "DisableModInDev" # Uncomment this to enable the use of a non-local client to # change the keyboard or mouse settings (currently only xset). # Option "AllowNonLocalModInDev" EndSection # ************************************************** ******************** # Input devices # ************************************************** ******************** # ************************************************** ******************** # Core keyboard's InputDevice section # ************************************************** ******************** Section "InputDevice" Identifier "Keyboard1" Driver "kbd" # For most OSs the protocol can be omitted (it defaults to "Standard"). # When using XQUEUE (only for SVR3 and SVR4, but not Solaris), # uncomment the following line. # Option "Protocol" "Xqueue" Option "AutoRepeat" "500 30" # Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) # Option "Xleds" "1 2 3" # Option "LeftAlt" "Meta" # Option "RightAlt" "ModeShift" # To customise the XKB settings to suit your keyboard, modify the # lines below (which are the defaults). For example, for a non-U.S. # keyboard, you will probably want to use: # Option "XkbModel" "pc102" # If you have a US Microsoft Natural keyboard, you can use: # Option "XkbModel" "microsoft" # # Then to change the language, change the Layout setting. # For example, a german layout can be obtained with: # Option "XkbLayout" "de" # or: # Option "XkbLayout" "de" # Option "XkbVariant" "nodeadkeys" # # If you'd like to switch the positions of your capslock and # control keys, use: # Option "XkbOptions" "ctrl:swapcaps" # These are the default XKB settings for XFree86 # Option "XkbRules" "xfree86" # Option "XkbModel" "pc101" # Option "XkbLayout" "us" # Option "XkbVariant" "" # Option "XkbOptions" "" # Option "XkbDisable" Option "XkbRules" "xfree86" Option "XkbModel" "pc101" Option "XkbLayout" "us" EndSection # ************************************************** ******************** # Core Pointer's InputDevice section # ************************************************** ******************** Section "InputDevice" # Identifier and driver Identifier "Mouse1" Driver "mouse" Option "Protocol" "ImPS/2" Option "ZAxisMapping" "4 5" Option "Device" "/dev/mouse" # When using XQUEUE, comment out the above two lines, and uncomment # the following line. # Option "Protocol" "Xqueue" # Baudrate and SampleRate are only for some Logitech mice. In # almost every case these lines should be omitted. # Option "BaudRate" "9600" # Option "SampleRate" "150" # Emulate3Buttons is an option for 2-button Microsoft mice # Emulate3Timeout is the timeout in milliseconds (default is 50ms) # Option "Emulate3Buttons" # Option "Emulate3Timeout" "50" # ChordMiddle is an option for some 3-button Logitech mice # Option "ChordMiddle" EndSection # |
xorg.conf (continued)
************************************************** ******************** # Other input device sections # this is optional and is required only if you # are using extended input devices. This is for example only. Refer # to the XF86Config man page for a description of the options. # ************************************************** ******************** # # Section "InputDevice" # Identifier "Mouse2" # Driver "mouse" # Option "Protocol" "MouseMan" # Option "Device" "/dev/mouse2" # EndSection # # Section "InputDevice" # Identifier "spaceball" # Driver "magellan" # Option "Device" "/dev/cua0" # EndSection # # Section "InputDevice" # Identifier "spaceball2" # Driver "spaceorb" # Option "Device" "/dev/cua0" # EndSection # # Section "InputDevice" # Identifier "touchscreen0" # Driver "microtouch" # Option "Device" "/dev/ttyS0" # Option "MinX" "1412" # Option "MaxX" "15184" # Option "MinY" "15372" # Option "MaxY" "1230" # Option "ScreenNumber" "0" # Option "ReportingMode" "Scaled" # Option "ButtonNumber" "1" # Option "SendCoreEvents" # EndSection # # Section "InputDevice" # Identifier "touchscreen1" # Driver "elo2300" # Option "Device" "/dev/ttyS0" # Option "MinX" "231" # Option "MaxX" "3868" # Option "MinY" "3858" # Option "MaxY" "272" # Option "ScreenNumber" "0" # Option "ReportingMode" "Scaled" # Option "ButtonThreshold" "17" # Option "ButtonNumber" "1" # Option "SendCoreEvents" # EndSection # ************************************************** ******************** # Monitor section # ************************************************** ******************** # Any number of monitor sections may be present Section "Monitor" Identifier "Monitor0" # === mode lines based on GTF === # VGA @ 100Hz # Modeline "640x480@100" 43.163 640 680 744 848 480 481 484 509 +hsync +vsync # SVGA @ 100Hz # Modeline "800x600@100" 68.179 800 848 936 1072 600 601 604 636 +hsync +vsync # XVGA @ 100Hz # Modeline "1024x768@100" 113.309 1024 1096 1208 1392 768 769 772 814 +hsync +vsync # 1152x864 @ 60Hz # Modeline "1152x864@60" 81.642 1152 1216 1336 1520 864 865 868 895 +hsync +vsync # 1152x864 @ 85Hz # Modeline "1152x864@85" 119.651 1152 1224 1352 1552 864 865 868 907 +hsync +vsync # 1152x864 @ 100Hz # Modeline "1152x864@100" 143.472 1152 1232 1360 1568 864 865 868 915 +hsync +vsync # 1280x960 @ 75Hz # Modeline "1280x960@75" 129.859 1280 1368 1504 1728 960 961 964 1002 +hsync +vsync # 1280x960 @ 100Hz # Modeline "1280x960@100" 178.992 1280 1376 1520 1760 960 961 964 1017 +hsync +vsync # SXGA @ 100Hz # Modeline "1280x1024@100" 190.960 1280 1376 1520 1760 1024 1025 1028 1085 +hsync +vsync # SPEA GDM-1950 (60Hz,64kHz,110MHz,-,-): 1280x1024 @ V-freq: 60.00 Hz, H-freq: 63.73 KHz # Modeline "GDM-1950" 109.62 1280 1336 1472 1720 1024 1024 1026 1062 -hsync -vsync # 1600x1000 @ 60Hz # Modeline "1600x1000" 133.142 1600 1704 1872 2144 1000 1001 1004 1035 +hsync +vsync # 1600x1000 @ 75Hz # Modeline "1600x1000" 169.128 1600 1704 1880 2160 1000 1001 1004 1044 +hsync +vsync # 1600x1000 @ 85Hz # Modeline "1600x1000" 194.202 1600 1712 1888 2176 1000 1001 1004 1050 +hsync +vsync # 1600x1000 @ 100Hz # Modeline "1600x1000" 232.133 1600 1720 1896 2192 1000 1001 1004 1059 +hsync +vsync # 1600x1024 @ 60Hz # Modeline "1600x1024" 136.385 1600 1704 1872 2144 1024 1027 1030 1060 +hsync +vsync # 1600x1024 @ 75Hz # Modeline "1600x1024" 174.416 1600 1712 1888 2176 1024 1025 1028 1069 +hsync +vsync # 1600x1024 @ 76Hz # Modeline "1600x1024" 170.450 1600 1632 1792 2096 1024 1027 1030 1070 +hsync +vsync # 1600x1024 @ 85Hz # Modeline "1600x1024" 198.832 1600 1712 1888 2176 1024 1027 1030 1075 +hsync +vsync # 1920x1080 @ 60Hz # Modeline "1920x1080" 172.798 1920 2040 2248 2576 1080 1081 1084 1118 -hsync -vsync # 1920x1080 @ 75Hz # Modeline "1920x1080" 211.436 1920 2056 2264 2608 1080 1081 1084 1126 +hsync +vsync # 1920x1200 @ 60Hz # Modeline "1920x1200" 193.156 1920 2048 2256 2592 1200 1201 1203 1242 +hsync +vsync # 1920x1200 @ 75Hz # Modeline "1920x1200" 246.590 1920 2064 2272 2624 1200 1201 1203 1253 +hsync +vsync # 2048x1536 @ 60 # Modeline "2048x1536" 266.952 2048 2200 2424 2800 1536 1537 1540 1589 +hsync +vsync # 2048x1536 @ 60 # Modeline "2048x1536" 266.952 2048 2200 2424 2800 1536 1537 1540 1589 +hsync +vsync # 1400x1050 @ 60Hz M9 Laptop mode # ModeLine "1400x1050" 122.000 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync # 1920x2400 @ 25Hz for IBM T221, VS VP2290 and compatible display devices # Modeline "1920x2400@25" 124.620 1920 1928 1980 2048 2400 2401 2403 2434 +hsync +vsync # 1920x2400 @ 30Hz for IBM T221, VS VP2290 and compatible display devices # Modeline "1920x2400@30" 149.250 1920 1928 1982 2044 2400 2402 2404 2434 +hsync +vsync EndSection # |
xorg.conf (continued)
************************************************** ******************** # Graphics device section # ************************************************** ******************** # Any number of graphics device sections may be present # Standard VGA Device: Section "Device" Identifier "Standard VGA" VendorName "Unknown" BoardName "Unknown" # The chipset line is optional in most cases. It can be used to override # the driver's chipset detection, and should not normally be specified. # Chipset "generic" # The Driver line must be present. When using run-time loadable driver # modules, this line instructs the server to load the specified driver # module. Even when not using loadable driver modules, this line # indicates which driver should interpret the information in this section. Driver "vga" # The BusID line is used to specify which of possibly multiple devices # this section is intended for. When this line isn't present, a device # section can only match up with the primary video device. For PCI # devices a line like the following could be used. This line should not # normally be included unless there is more than one video device # installed. # BusID "PCI:0:10:0" # VideoRam 256 # Clocks 25.2 28.3 EndSection # === ATI device section === Section "Device" Identifier "ATI Graphics Adapter" Driver "fglrx" # ### generic DRI settings ### # === disable PnP Monitor === #Option "NoDDC" # === disable/enable XAA/DRI === Option "no_accel" "no" Option "no_dri" "no" # === misc DRI settings === Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr # ### FireGL DDX driver module specific settings ### # === Screen Management === Option "DesktopSetup" "(null)" Option "ScreenOverlap" "0" Option "GammaCorrectionI" "0x00000000" Option "GammaCorrectionII" "0x00000000" # === OpenGL specific profiles/settings === Option "Capabilities" "0x00000000" Option "CapabilitiesEx" "0x00000000" # === Video Overlay for the Xv extension === Option "VideoOverlay" "on" # === OpenGL Overlay === # Note: When OpenGL Overlay is enabled, Video Overlay # will be disabled automatically Option "OpenGLOverlay" "off" # === Center Mode (Laptops only) === Option "CenterMode" "off" # === Pseudo Color Visuals (8-bit visuals) === Option "PseudoColorVisuals" "off" # === QBS Management === Option "Stereo" "off" Option "StereoSyncEnable" "1" # === FSAA Management === Option "FSAAEnable" "yes" Option "FSAAScale" "6" Option "FSAADisableGamma" "no" Option "FSAACustomizeMSPos" "no" Option "FSAAMSPosX0" "0.000000" Option "FSAAMSPosY0" "0.000000" Option "FSAAMSPosX1" "0.000000" Option "FSAAMSPosY1" "0.000000" Option "FSAAMSPosX2" "0.000000" Option "FSAAMSPosY2" "0.000000" Option "FSAAMSPosX3" "0.000000" Option "FSAAMSPosY3" "0.000000" Option "FSAAMSPosX4" "0.000000" Option "FSAAMSPosY4" "0.000000" Option "FSAAMSPosX5" "0.000000" Option "FSAAMSPosY5" "0.000000" # === Misc Options === Option "UseFastTLS" "0" Option "BlockSignalsOnLock" "on" Option "UseInternalAGPGART" "yes" Option "ForceGenericCPU" "no" BusID "PCI:1:0:0" # vendor=1002, device=3150 Screen 0 EndSection # ************************************************** ******************** # Screen sections # ************************************************** ******************** # Any number of screen sections may be present. Each describes # the configuration of a single screen. A single specific screen section # may be specified from the X server command line with the "-screen" # option. Section "Screen" Identifier "Screen0" Device "ATI Graphics Adapter" Monitor "Monitor0" DefaultDepth 24 #Option "backingstore" Subsection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 # initial origin if mode is smaller than desktop # Virtual 1280 1024 EndSubsection EndSection # ************************************************** ******************** # ServerLayout sections. # ************************************************** ******************** # Any number of ServerLayout sections may be present. Each describes # the way multiple screens are organised. A specific ServerLayout # section may be specified from the X server command line with the # "-layout" option. In the absence of this, the first section is used. # When now ServerLayout section is present, the first Screen section # is used alone. Section "ServerLayout" # The Identifier line must be present Identifier "Server Layout" # Each Screen line specifies a Screen section name, and optionally # the relative position of other screens. The four names after # primary screen name are the screens to the top, bottom, left and right # of the primary screen. Screen "Screen0" # Each InputDevice line specifies an InputDevice section name and # optionally some options to specify the way the device is to be # used. Those options include "CorePointer", "CoreKeyboard" and # "SendCoreEvents". InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection Section "DRI" Group 18 # video # Group "dri" Mode 0660 EndSection ### EOF ### root@chris:~# The output of glxinfo: chris@chris:~$ glxinfo name of display: :0.0 display: :0 screen: 0 direct rendering: No server glx vendor string: SGI server glx version string: 1.2 server glx extensions: GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig client glx vendor string: ATI client glx version string: 1.3 client glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample, GLX_ATI_pixel_format_float, GLX_ATI_render_texture GLX extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_ARB_multisample OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.2 (1.5 Mesa 6.4.1) OpenGL extensions: GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp, GL_ARB_texture_cube_map, GL_ARB_texture_env_add, GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3, GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add, GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias glu version: 1.3 glu extensions: GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess 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 ---------------------------------------------------------------------- 0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 1 0 None 0x24 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 1 0 None 0x25 24 tc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 1 0 None 0x26 24 tc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 1 0 None 0x27 24 dc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 1 0 None 0x28 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 1 0 None 0x29 24 dc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 1 0 None 0x2a 24 dc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 1 0 None chris@chris:~$ glxgears; chris@chris:~$ glxgears 612 frames in 5.0 seconds = 122.266 FPS fglrxinfo: chris@chris:~$ fglrxinfo display: :0.0 screen: 0 OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.2 (1.5 Mesa 6.4.1) chris@chris:~$ And fgl_glxgears: chris@chris:~$ fgl_glxgears Using GLX_SGIX_pbuffer X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 142 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 32 Current serial number in output stream: 32 chris@chris:~$ Please let me know if you need any other information. I would like to get DRI working so that I can try to get xgl to work with KDE. Thanks, ganooch |
ganooch,
When you post that much stuff, use vbCodes so it's in one post, and easy to read. Just put [*code] without the * before your output, and [*/code] without the * after your output. Check this thread and if that doesn't help, post back what you did and what you have accomplished and where you still have problems. |
Oh, great Bruce. Refer another one to my thread about DRI....J/K
Sometimes, 'search' the forums will turn up much faster results,don't you agree? |
I have to say that getting Direct Rendering enabled on my Slack box has got to be the biggest "pita" I have ever messed with.
I dowloaded the ATI driver and installed it. That wasn't enough. Somehow in the process I wound up with a /lib/modules/fglrx/build_mod directory. There, I ran the "sh ./make.sh" and found out not only did I not have a /usr/src/linux symlink, but I was also missing the /usr/src/linux/include/linux/version.h file. So I had to create it using "cd /usr/src/linux" "make include/linux/version.h" After that I was able to go back to /lib/modules/fglrx/build_mod and run "sh ./make.sh" successfully. After that compiled, I went back to the /lib/modules/fglrx/ directory and ran "sh ./make_install.sh" that put the module into the kernel. Most of this I didn't know how to do ant it took me about 30 hours of Googling, and system reconstruction to figure out. |
mpyusko,
These are some reasons most of us buy Nvidia chipset cards. |
yeah, well, whenever I ask about anything HCL related, I'm told to look in the HCL. The answer "yes it works" is very rarely followed by a "but it'll take 30 hours and an Emu".
|
Sorry for your pain. Perhaps this will give you incentive to write better documentation for OSS for the guys coming after you.
|
In your xorg.conf:
Code:
Section "DRI" Code:
Section "DRI" |
I made that change to the DRI section and it didn't help. I also commented out the section with the VESA driver. glxinfo still shows no DRI and glxgears only gives ~120fps. I am open to any suggestions at this point. Also, just to rule out permissions, I checked and glxinfo shows no DRI, even while logged into the Xserver as root. Thanks in advance for any help.
|
# === disable/enable XAA/DRI ===
Option "no_accel" "no" Option "no_dri" "no" Try commenting out those two options and put in Option "DRI" "True" |
Do you have tmpfs (POSIX Shared Memory (/dev/shm) to quote installation instruction at www.atitech.com) enabled? It's required for the ATI fglrx driver to function properly.
Add this line to your /etc/fstab file as root Code:
tmpfs /dev/shm tmpfs defaults 0 0 then as root Code:
mount tmpfs |
Quote:
|
Quote:
|
ganooch,
Where did you get ATI drivers from? I checked ATI's webside a minute ago and there was the driver for Xorg 6.8. In Slack11 it is 6.9 and the driver seem to be incompatible with it. Is there other places for ATI's drivers? |
Quote:
|
If you keep at it long enough you'll get the ATI drivers working. It took me 2 years, maybe the emu will speed thing up :).
|
Hi masonm,
so may be I am not doing things right. Will you please help me solve this? I downloaded driver from ATI site -> rpm2tgz -> installpkg -> /.make.sh in /lib/modules/fglrx/build_mod -> ./make_install.sh in /lib/modules/fglrx -> add the "tmpfs /dev/shm tmpfs defaults 0 0" line to fstab (but not sure what for?) -> aticonfig --initial (everything in xorg.conf seem fine). When I restart X I get that error: X Window System Version 6.9.0 Release Date: 21 December 2005 X Protocol Version 11, Revision 0, Release 6.9 Build Operating System: Linux 2.4.33.3 i686 [ELF] Current Operating System: Linux anelia 2.6.17.13-smp #1 SMP Sat Sep 30 17:13:16 CDT 2006 i686 Build Date: 16 September 2006 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Sat Nov 11 17:34:29 2006 (==) Using config file: "/etc/X11/xorg.conf" [R200Setup] X version mismatch - detected X.org 7.0.0.0, required X.org 6.8.0.0 (EE) Failed to load module "fglrx" (module requirement mismatch, 0) (EE) No drivers available. Fatal server error: no screens found Please consult the The X.Org Foundation support at http://wiki.X.Org for help. Please also check the log file at "/var/log/Xorg.0.log" for additional information. What is wrong? It seem to me driver is incompatible with 6.9. I used 2.6.13 source to build fglrx because in 2.6.17.13 there was no .configure file - I don't know why. |
I think you need the 55MB large .run file ("ATI driver installer"), not the .rpm file. I never had any luck with the RPM releases.
Eric |
Now all seem to work fine.
fglrxinfo display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: RADEON X600 PRO Generic OpenGL version string: 2.0.6119 (8.30.3) Is that meens DRI is enabled? If so here is how I did it ( in case someone needs it ) I downloaded driver & installer from ATI site. I checked my kernel source - it had no .config file so I copied the one from /boot and run make oldconfig. That was I am running 2.6.17.13 kernel with "smp" support and the source was not configured with it. I run installer (very dull program for me - but necessary ) and started reading the log file. It said .../include/version.h not correct. In that file I add "-smp" at the end of kernel version. Then there were no problems. Add /sbin/modprobe fglrx to modules and reboot. dmesg said: fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' tain [fglrx] Maximum main memory to use for locked dma buffers: 431 MBytes. [fglrx] module loaded - fglrx 8.30.3 [Oct 26 2006] on minor 0 Capability LSM initialized The odd thing is I have to use previously generated xorg.conf and modified with aticonfig because now xorgsetup breaks. So actually I used rpm2tgz first and installed driver and generate xorg.conf with xorgsetup and aticonfig --initial. Then remove driver and use installer to make the real module and driver. to use dri as user add this to xorg,conf: Section "dri" # Access to OpenGL ICD is allowed for all users: Mode 0666 EndSection then you add The Line in fstab and that is all. Some of my problems were because of gcc version. If the kernel is compiled with older version then the one you use to compile fglrx the kernel will not load the module. The past few days I tried to use 2.6.13 from slack10.2 compiled with gcc 3.3 on Slack11 box running gcc 3.4. I could not find fglrxconf- thing. What is that? |
Using the smp kernel is the actual culprit here, and affects Nvidia too, not just ATI.
The actual issue with the gcc thing is going to be explained a bit better in my DRI thread in the next few days or so. It has nothing to do with compiler versions or anythiung like that, it has to do with kernel names between the kernel version and the smp version. You fixed it, kinda, with the 'make oldconfig' command. As I said, more to be posted later. I'm in San Antonio TX at the moment, and should be home within the week to make edits on the main post. Until then, glad you got it up/running... |
I've spent several hours trying to get 3d on my ati radeon 9600xt and still no luck. I've been recompiling the kernel for about 10 times misled by lots of different howtos ..
Anyways, I have the latest 8.30.3 drivers from ati's (amd's) site, but still no luck with dri. I have glx and dri modules enabled in xorg.conf, device section is using fglrx module, with or without dri/internal agp, still can't get direct rendering. Here is the relevant output form Xorg.0.log : Code:
II) fglrx(0): [drm] DRM interface version 1.0 dmesg: [fglrx] Internal AGP is not supported in 2.6 kernel. [fglrx:firegl_unlock] *ERROR* Process 6070 using kernel context 0 lsmod: Module Size Used by fglrx 402252 0 agpgart 33608 1 fglrx usbhid 39136 0 i2c_nforce2 7936 0 i2c_core 21376 1 i2c_nforce2 ehci_hcd 29064 0 ohci_hcd 20228 0 usbcore 118020 4 usbhid,ehci_hcd,ohci_hcd ne2k_pci 11616 0 8390 10240 1 ne2k_pci I've tried with dri enabled/disabled in kernel (according to some, it should be enabled/disabled) and still no luck. Kernel is 2.6.18 (i didn't have luck with 2.6.17.13 neither), and Xorg is 6.9 Any help on this will be much appreciated. |
Quote:
Code:
Option "UseInternalAGPGART" "no" |
Quote:
|
@glussier
Already tried that, with or without "UseInternalAgp", I get the same. No direct rendering. |
DRI is still not working. I changed my xorg.conf file because the original one I posted is created by fglrxconfig and has tons of unneeded stuff in it. My current xorg.conf file is below:
Code:
bash-3.1$ cat xorg.conf bash-3.1$ fgl_glxgears Using GLX_SGIX_pbuffer X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 131 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 32 Current serial number in output stream: 32 bash-3.1$ Also, my lspci is below: Code:
root@chris:~# lspci |
I finally got it working. You can see the results here img390.imageshack.us/img390/7624/atifn2.png
@ganooch Can you give the output of "lsmod" and "dmesg | grep fglrx" |
Well, I finally got DRI enabled. I found that there is a newer version of the ATI driver available on the ATI site. I had an older one. Now glxinfo shows Direct rendering: Yes.
Here is the problem. glxgears only gives me ~250fps. I would like to use xgl, so glxgears needs to be 700 - 1000fps. I have an ATI Radeon Mobility X600 card in my laptop. Is this 250fps a limitation of the card, or is there something else that I need to do to achieve 3D acceleration? Thanks in advance for any help! --ganooch |
The simplest way is to :
1. Install the kernel sources or the kernel headers package. 2. Download the latest driver from ATi website. 3. Run the installation and run ati-config 4. Reboot once (or) just load the fglrx module using modprobe. That's it. It's simple and no longer a pain. Also about the glxgears output -- I would no longer rely on it as with the new driver that program seems not to report correct results. Try fgl_glxgears program instead (it will report a lower fps generally than glxgears, so don't worry if it's not too high) |
That is the weird thing. fgl_glxgears gives me 900fps! Which one should I put me faith in, or is there a better measure of rendering speed?
|
Quote:
|
Quote:
Code:
Direct rendering: Yes |
Great. Thanks for the information. Now, as for xgl, what should I do next (I am using KDE). Should I use beryl, and if so, has anyone successfully used xgl with an ATI card, KDE and Slackware?
Thanks, ganooch |
glxgears w/Newer ATI and some other newer drivers reports wrong.
If dri is working, you've got all you need. |
I have successfully installed 3desktop (after resolving several dependency issues). This 3D desktop implementation is impressive, but is not real xgl. From my searches for answers I have come to the conclusion that in order to get xgl to work with KDE and Slack 11.0, I will need to upgrade my xorg to at least 7.1. Is this recommended? Has anyone done it? Is it worth attempting? I can't find any instructions for upgrading xorg to 7.1 that I have faith in.
Is there anyone here that has successfully gotten xgl to work with KDE and Slackware 11.0? --ganooch |
Quote:
Code:
ATI module generator V 2.0 How did you include the version.h as you specify above by typing the command "make include/linux/version.h" or compiling the kernel in a appropriate way regards |
Hi
i've got a ati 9200 se for the record I have found a solution entry for the kernel 2.6.18 and ati 8.28.8 here Code:
In case it's of any use, this worked: regards |
[Solved]
Unfortunately those who own the ATI 9200 graphic card cannot use ati drivers higher than ati-driver-installer-8.28.8.run version. On top of that the 8.28.8 does not support the latest kernels ( in my case 2.6.18). Now there is a patch out there but i couldn't find it, so what i did was to degrade to 2.6.12 kernel which i am happy to use.
I have successfully built the fglrx module and i have 3d accelaration on at 1200 fps. Don't forget to load the 1) agpgart module, 2) agp-specific module(mine intel_agp) and 3) fglrx module have fun ps who ever knows something about patching the ati drivers please post in this thread. regards |
All times are GMT -5. The time now is 11:59 PM. |