Announcement

Collapse
No announcement yet.

Arch Linux install latest xserver,mesa,ati

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    For what i can see you need to install libdrm from git, then mesa, and then xorg (in that order) to get acceleration with your radeon card if it's supported by the radeon-git. I think you need to build the lastest xorg-git to make things work.

    Be aware that right now, the mesa-git repository is somewhat broken, since they removed a package from the dependency list.

    Other users in the Arch forum are trying to get the package xorg-server-git working but they have found some problems also. Maybe you should get in touch with them. The link is http://bbs.archlinux.org/viewtopic.php?id=50873

    I think they can help you better.

    Anyway to answer your questions:

    Do I need to load it again?
    No. Once you installed it, it should load automatically from X.

    [[email protected] ~]$ glxinfo |grep version
    unknown chip id 0x71c1, can't guess.
    libGL warning: 3D driver returned no fbconfigs.
    libGL error: InitDriver failed
    libGL error: reverting to (slow) indirect rendering
    server glx version string: 1.2
    client glx version string: 1.4
    GLX version: 1.2
    OpenGL version string: 1.4 (2.1 Mesa 7.0.3)
    Hmmm.. seems something is broken. Do you uninstalled the whole X system before you compilled it?? (eg. pacman -Rc xorg) If not probably there are some leftovers that are interfering... If you installed/compilled the custom packages using ABS (MAKEPKG and Co.) then you can uninstall them and try again.

    xserver is still 1.4.2, do I need to update that now that I'm using the custom kernel?
    AFAIK, the kernel has little to do with the mesa system. But if you are using the latest libdrm/mesa & Co. you should also use the latest xorg code to make full use of it.

    I am still getting this error though:
    Sure, you will have errors since glxinfo reports that you don't have hardware acceleration. In fact, glxinfo is showing you that mesa doesn't know what hardware you have. AIGLX only works when mesa report hardware acceleration (this is "Direct Rendering") otherwise, will fallback to software rendering.

    Again, go to the link i provided and try to ask the guy that are trying to get the xorg-server-git working. Probably hin can help you better that i can.

    Best regards

    J.

    Comment


    • #12
      Sorry for taking so long to get back. My computer isn't in a usable state right now (Blasted XP drive labeling scheme!), but once it is, I'll get back into this.

      Comment


      • #13
        Sorry for the double post :P.

        I have gotten back into the flow of things, and now I can't get DRI to work. I'm using the radeonhd driver (I think it is now better for r500), but for some reason, it doesn't recognize that DRI is installed on the config and it disables it in the driver. glxinfo also gives me this:

        Code:
        name of 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
        ----------------------------------------------------------------------
        0x23 24 tc  0 24  0 r  y  .  0  8  8  0  0 16  0  0  0  0  0  0 0 None
        0x24 24 tc  0 24  0 r  y  .  0  8  8  0  0 16  8 16 16 16  0  0 0 None
        0x25 24 tc  0 32  0 r  y  .  0  8  8  8  0 16  8 16 16 16 16  0 0 None
        0x26 24 tc  0 32  0 r  .  .  0  8  8  8  0 16  8 16 16 16 16  0 0 None
        0x27 24 dc  0 24  0 r  y  .  0  8  8  0  0 16  0  0  0  0  0  0 0 None
        0x28 24 dc  0 24  0 r  y  .  0  8  8  0  0 16  8 16 16 16  0  0 0 None
        0x29 24 dc  0 32  0 r  y  .  0  8  8  8  0 16  8 16 16 16 16  0 0 None
        0x2a 24 dc  0 32  0 r  .  .  0  8  8  8  0 16  8 16 16 16 16  0 0 None
        0x5c 32 tc  0 32  0 r  .  .  0  8  8  8  0  0  0  0  0  0  0  0 0 Ncon
        Now that looks like an xserver compatibilty issue, which means I need Xserver 1.5 to build from git. Does anyone know the deps of xserver 1.5? I'm missing something, but I can't figure out what it is.

        Comment


        • #14
          Originally posted by TechMage89 View Post
          Now that looks like an xserver compatibilty issue, which means I need Xserver 1.5 to build from git. Does anyone know the deps of xserver 1.5? I'm missing something, but I can't figure out what it is.
          See here:
          http://bbs.archlinux.org/viewtopic.p...403695#p403695

          and:

          http://repos.archlinux.org/viewvc.cg...?revision=8099


          Think you might want to help me with this?...For instance, do I need to uninstall the old xserver before installing this one, and it seems like a lot of dependencies (tree)?

          Comment


          • #15
            I got it working, but it's a pretty ugly (har, har) solution.

            I created PKGBUILDS for dri2proto and libpciaccess (dependencies for the xorg-server 1.5), and there are existing PKGBUILDS in AUR for libdrm that works with minor modifications. There are also several other packages you need (don't remember them off the top of my head) that you can install from regular pacman repositories.

            However, I ran into two problems. The first is that the xorg-server needs some header files to build that the mesa PKGBUILD doesn't package for some reason. The second is that the libgl PKGBUILD doesn't appear to build the drivers!

            My ugly solution was to copy the header files from an unpacked mesa tree (root of the mesa tree)/include/GL/internal/* to /usr/include/GL/internal
            and to build the mesa drivers manually from the tree and install them without the package manager. I'm searching for a better solution, but I needed my computer working in the mean time.

            As for replacing existing packages, you can remove them without ripping out dependancies using pacman -Rd package_name and install the package files with pacman -A. Mind you, I think you could have found that in the pacman manual if you'd dug a little.

            For anyone interested, here are my (imperfectly modified) PKGBUILDS. Like I said, libgl and mesa don't work quite right yet, but everything else should be nice and shiny:

            Code:
            pkgname=dri2proto
            pkgver=1.1
            pkgrel=1
            pkgdesc="X11 DRI2 extension wire protocol"
            arch=('i686' 'x86_64')
            license=('MIT')
            url="http://xorg.freedesktop.org/"
            source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.gz)
            md5sums=('3cd2d57dd34698ab8f76af6aab57dab1')
            
            build() {
              cd ${startdir}/src/${pkgname}-${pkgver}
              ./configure --prefix=/usr
              make || return 1
              make DESTDIR=${startdir}/pkg install || return 1
            }

            Code:
            arch=('i686', 'x86_64')
            pkgname=libpciaccess
            pkgver=0.10.3
            pkgrel=1
            pkgdesc="Generic pci access library for x"
            url="http://xorg.freedesktop.org/"
            license="MIT"
            depends=('glibc')
            provides=('libpciaccess')
            source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.gz)
            md5sums=('3c4a7578cb63c63ccb1ebca87e10407f')
            
            build() {
            	cd ${startdir}/src/${pkgname}-${pkgver}
            	./configure --prefix=/usr
            	make || return 1
            	make DESTDIR=${startdir}/pkg install || return 1
             }
            Code:
            pkgname=mesa-git
            pkgver=20080806
            pkgrel=1
            pkgdesc="Mesa OpenGL Library from GIT repository"
            url="http://www.mesa3d.org"
            license=""
            arch=('i686' 'x86_64')
            depends=('libgl' 'glproto' 'gcc' 'libxt')
            makedepends=('imake' 'git')
            conflicts=('mesa-apps' 'mesa')
            replaces=('mesa-apps' 'mesa')
            provides=('mesa')
            backup=()
            install=
            _gitroot="git://anongit.freedesktop.org/git/mesa/mesa"
            _gitname="mesa"
            
            build() {
              mkdir -p $startdir/pkg/usr/lib/xorg/modules/
              cd $startdir/src
              msg "Connecting to git.freedesktop.org GIT server...."
            
              if [ -d $startdir/src/$_gitname ] ; then
              cd $_gitname && git-pull origin
              msg "The local files are updated."
              else
              git clone $_gitroot
              fi
            
              msg "GIT checkout done or server timeout"
              msg "Starting make..."
            
              cd $startdir/src
              cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
              cd $startdir/src/$_gitname-build
            
              CONFIG="linux-dri-x86"
              if [ "${CARCH}" = "x86_64" ]; then
                CONFIG="linux-dri-x86-64"
                sed -i -e "s/lib64/lib/g" ${startdir}/src/$_gitname-build/configs/${CONFIG}
              fi
            
              echo "EXTRA_LIB_PATH =" >> configs/${CONFIG}
              echo "OPT_FLAGS = ${CFLAGS}" >> configs/${CONFIG}
              echo "SRC_DIRS = glx/x11 glu glw" >> configs/${CONFIG}
              rm -f include/GL/glut*h
              echo "USING_EGL = 0" >> configs/${CONFIG}
              echo "PROGRAM_DIRS =" >> configs/${CONFIG}
              echo "MKDEP = makedepend" >> configs/${CONFIG}
              echo "DRI_DIRS =" >> configs/${CONFIG}
              echo "DRI_DRIVER_SEARCH_DIR = /usr/lib/xorg/modules/dri" >> configs/${CONFIG}
              echo "ARCH_FLAGS += -DGLX_USE_TLS" >> configs/${CONFIG}
              echo "X11_INCLUDES = `pkg-config --cflags-only-I x11`" >> configs/${CONFIG}
            
              make ${CONFIG} || return 1
              mkdir -p ${startdir}/pkg/usr
              make INSTALL_DIR=${startdir}/pkg/usr install
              install -m644 include/GL/*.h ${startdir}/pkg/usr/include/GL/
            
              rm -f ${startdir}/pkg/usr/lib/libGL.so*
              cd progs/xdemos
              make glxinfo glxgears
              mkdir -p ${startdir}/pkg/usr/bin
              install -m755 glxinfo glxgears ${startdir}/pkg/usr/bin/
            
              cd ${startdir}/src/gl-manpages-1.0.1
              ./configure --prefix=/usr
              make || return 1
              make DESTDIR=${startdir}/pkg install
            
              rm -r $startdir/pkg/usr/lib/xorg/
              rm -r $startdir/src/$_gitname-build
            }

            Please note that the Xserver PKGBUILD requires a separate install script you can find on the archlinux site, but I didn't modify that.

            Comment


            • #16
              well, I broke it! I'm not sure what I broke though. All the builds went OK, I installed all the xserver dependencies, the last to be installed were mesa and libgl, ran the script I found from an old xserver PKGBUILD, and finally installed xserver..... Everything seemed to go fine. I rebooted and lo and behold, no X!!

              I was able to get my desktop back eventually though. As well I looked at the logs, and it seems there is a version mismatch somewhere and 2or3 modules are not loading (evdev and record are 2 of them). I will post the logs a little later.

              Strangely enough, glxinfo says I have direct rendering, which is good I guess, it means some of the install went OK.

              Comment


              • #17
                here's my info:

                Code:
                [[email protected] ~]$ cat /var/log/Xorg.0.log | grep EE
                Current Operating System: Linux ephraim 2.6.25-ARCH #1 SMP PREEMPT Mon Jul 14 15:25:51 UTC 2008 i686
                	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
                (EE) Failed to load module "record" (module does not exist, 0)
                (II) Loading extension MIT-SCREEN-SAVER
                (EE) AIGLX error: r300 exports no extensions (/usr/lib/xorg/modules/dri/r300_dri.so: undefined symbol: __driDriverExtensions)
                (EE) AIGLX: reverting to software rendering
                (EE) Failed to load module "evdev" (module does not exist, 0)
                (EE) No input driver matching `evdev'
                (EE) config/hal: NewInputDeviceRequest failed
                (EE) Failed to load module "evdev" (module does not exist, 0)
                (EE) No input driver matching `evdev'
                (EE) config/hal: NewInputDeviceRequest failed
                (EE) Failed to load module "evdev" (module does not exist, 0)
                (EE) No input driver matching `evdev'
                (EE) config/hal: NewInputDeviceRequest failed
                Code:
                [[email protected] ~]$ cat /var/log/Xorg.0.log | grep 1.4.99
                X.Org X Server 1.4.99.906 (1.5.0 RC 6)
                	compiled for 1.4.99.906, module version = 1.0.0
                	compiled for 1.4.99.906, module version = 1.0.0
                	compiled for 1.4.99.906, module version = 1.0.0
                	compiled for 1.4.99.906, module version = 1.0.0
                	compiled for 1.4.99.906, module version = 1.0.0
                	compiled for 1.4.99.906, module version = 2.1.0
                	compiled for 1.4.99.906, module version = 4.3.0
                	compiled for 1.4.99.906, module version = 0.1.0
                	compiled for 1.4.99.906, module version = 1.0.0
                (II) RADEON(0): Modeline "1152x864"x75.0  104.99  1152 1224 1352 1552  864 865 868 902 -hsync +vsync (67.7 kHz)
                (II) RADEON(0): Modeline "1152x864"x75.0  104.99  1152 1224 1352 1552  864 865 868 902 -hsync +vsync (67.7 kHz)
                	compiled for 1.4.99.906, module version = 1.0.0
                	compiled for 1.4.99.906, module version = 2.4.0
                (II) RADEON(0): Modeline "1152x864"x75.0  104.99  1152 1224 1352 1552  864 865 868 902 -hsync +vsync (67.7 kHz)
                (II) RADEON(0): Modeline "1152x864"x75.0  104.99  1152 1224 1352 1552  864 865 868 902 -hsync +vsync (67.7 kHz)
                Code:
                [[email protected] ~]$ glxinfo
                name of display: :0.0
                display: :0  screen: 0
                direct rendering: Yes
                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_EXT_texture_from_pixmap, GLX_OML_swap_method, 
                    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe, 
                    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
                client glx vendor string: SGI
                client glx version string: 1.4
                client glx extensions:
                    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
                    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory, 
                    GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control, 
                    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control, 
                    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, 
                    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
                    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
                GLX version: 1.2
                GLX extensions:
                    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
                    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method, 
                    GLX_SGIS_multisample, GLX_SGIX_fbconfig
                OpenGL vendor string: Mesa Project
                OpenGL renderer string: Software Rasterizer
                OpenGL version string: 2.1 Mesa 7.1 rc3
                OpenGL extensions:
                    GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program, 
                    GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader, 
                    GL_ARB_half_float_pixel, GL_ARB_imaging, GL_ARB_multisample, 
                    GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_pixel_buffer_object, 
                    GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shader_objects, 
                    GL_ARB_shading_language_100, GL_ARB_shading_language_120, GL_ARB_shadow, 
                    GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp, 
                    GL_ARB_texture_compression, GL_ARB_texture_cube_map, 
                    GL_ARB_texture_env_add, GL_ARB_texture_env_combine, 
                    GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3, 
                    GL_ARB_texture_mirrored_repeat, GL_ARB_texture_non_power_of_two, 
                    GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, 
                    GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader, 
                    GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, 
                    GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate, 
                    GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract, 
                    GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_convolution, 
                    GL_EXT_copy_texture, GL_EXT_depth_bounds_test, GL_EXT_draw_range_elements, 
                    GL_EXT_framebuffer_object, GL_EXT_framebuffer_blit, GL_EXT_fog_coord, 
                    GL_EXT_gpu_program_parameters, GL_EXT_histogram, GL_EXT_multi_draw_arrays, 
                    GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels, 
                    GL_EXT_paletted_texture, GL_EXT_pixel_buffer_object, 
                    GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal, 
                    GL_EXT_secondary_color, GL_EXT_separate_specular_color, 
                    GL_EXT_shadow_funcs, GL_EXT_shared_texture_palette, GL_EXT_stencil_wrap, 
                    GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D, 
                    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, 
                    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, 
                    GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp, 
                    GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_texture_sRGB, 
                    GL_EXT_vertex_array, GL_APPLE_packed_pixels, GL_APPLE_vertex_array_object, 
                    GL_ATI_blend_equation_separate, GL_ATI_texture_env_combine3, 
                    GL_ATI_texture_mirror_once, GL_ATI_fragment_shader, 
                    GL_ATI_separate_stencil, GL_IBM_multimode_draw_arrays, 
                    GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat, 
                    GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_program_debug, 
                    GL_MESA_resize_buffers, GL_MESA_texture_array, GL_MESA_ycbcr_texture, 
                    GL_MESA_window_pos, GL_NV_blend_square, GL_NV_fragment_program, 
                    GL_NV_light_max_exponent, GL_NV_point_sprite, GL_NV_texture_rectangle, 
                    GL_NV_texgen_reflection, GL_NV_vertex_program, GL_NV_vertex_program1_1, 
                    GL_OES_read_format, GL_SGI_color_matrix, GL_SGI_color_table, 
                    GL_SGI_texture_color_table, GL_SGIS_generate_mipmap, 
                    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp, 
                    GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow, 
                    GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
                
                3 GLX Visuals
                   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
                ----------------------------------------------------------------------
                0x21 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
                0x22 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
                0x66 32 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
                
                32 GLXFBConfigs:
                   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
                ----------------------------------------------------------------------
                0x67  0 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
                0x68  0 tc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
                0x69  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
                0x6a  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
                0x6b  0 tc  0 32  0 r  .  .  8  8  8  8  0  0  8  0  0  0  0  0 0 None
                0x6c  0 tc  0 32  0 r  .  .  8  8  8  8  0  0  8 16 16 16 16  0 0 Slow
                0x6d  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  8  0  0  0  0  0 0 None
                0x6e  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  8 16 16 16 16  0 0 Slow
                0x6f  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
                0x70  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
                0x71  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
                0x72  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
                0x73  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
                0x74  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
                0x75  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
                0x76  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
                0x77  0 dc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
                0x78  0 dc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
                0x79  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
                0x7a  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
                0x7b  0 dc  0 32  0 r  .  .  8  8  8  8  0  0  8  0  0  0  0  0 0 None
                0x7c  0 dc  0 32  0 r  .  .  8  8  8  8  0  0  8 16 16 16 16  0 0 Slow
                0x7d  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  8  0  0  0  0  0 0 None
                0x7e  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  8 16 16 16 16  0 0 Slow
                0x7f  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
                0x80  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
                0x81  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
                0x82  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
                0x83  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
                0x84  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
                0x85  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
                0x86  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow

                glxinfo is showing mesa 7.1
                xorg log is showing 1.4.99.906 is being used

                What would cause r300 not to have extensions? is that because of "record" not loading?

                ********
                and Tech, did you have to install evdev?
                I modprobed it and it's there, but record isn't

                Code:
                [[email protected] ~]$ lsmod | grep evdev
                evdev                   9472  3

                Comment


                • #18
                  No, I never installed evdev... what is it?

                  Your error is very strange. What does your xorg.conf look like?

                  Comment


                  • #19
                    nothing strange in xorg.conf. Although I could trim it up a little, I just slightly modified the one from skel.

                    Code:
                    Section "ServerFlags"
                    	Option	"AllowEmptyInput"	"false"
                    EndSection
                    Section "ServerLayout"
                    	Identifier     "X.org Configured"
                    	Screen      0  "Screen0" 0 0
                    	InputDevice    "Mouse0" "CorePointer"
                    	InputDevice    "Keyboard0" "CoreKeyboard"
                    EndSection
                    
                    Section "Module"
                    	Load  "dbe"
                    	Load  "dri"
                    	Load  "record"
                    	Load  "glx"
                    	Load  "xtrap"
                    	Load  "GLcore"
                    	Load  "extmod"
                    	Load  "freetype"
                    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"
                    	Driver      "radeon"
                    	VendorName  "ATI Technologies Inc"
                    	BoardName   "Unknown Board"
                    	Identifier	"Card0"
                    	Option          "AccelMethod"   "EXA"
                    	Option 		"AGPMode" "8"
                    	BusID       "PCI:1:0:0"
                    EndSection
                    
                    Section "Screen"
                    	Identifier "Screen0"
                    	Device     "Card0"
                    	Monitor    "Monitor0"
                    	SubSection "Display"
                    		Viewport   0 0
                    		Depth     1
                    	EndSubSection
                    	SubSection "Display"
                    		Viewport   0 0
                    		Depth     4
                    	EndSubSection
                    	SubSection "Display"
                    		Viewport   0 0
                    		Depth     8
                    	EndSubSection
                    	SubSection "Display"
                    		Viewport   0 0
                    		Depth     15
                    	EndSubSection
                    	SubSection "Display"
                    		Viewport   0 0
                    		Depth     16
                    	EndSubSection
                    	SubSection "Display"
                    		Viewport   0 0
                    		Depth     24
                    	EndSubSection
                    EndSection
                    Last edited by Execute_Method; 08 August 2008, 09:55 PM.

                    Comment


                    • #20
                      this seems like a mesa problem.

                      Code:
                      [[email protected] ~]$ LIBGL_DEBUG=verbose glxinfo
                      name of display: :0.0
                      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
                      libGL error: driver exports no extensions (/usr/lib/xorg/modules/dri/r300_dri.so: undefined symbol: __driDriverExtensions)
                      libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/swrast_dri.so
                      libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/swrast_dri.so
                      here are my PKGBUILDS from them:

                      Code:
                      # $Id$
                      # Maintainer: Alexander Baldeck <[email protected]>
                      # Contributor: Jan de Groot <[email protected]>
                      pkgname=libgl
                      pkgver=7.1rc3
                      pkgrel=1
                      pkgdesc="Mesa DRI OpenGL library and drivers"
                      arch=(i686 x86_64)
                      license=('LGPL')
                      url="http://www.mesa3d.org"
                      depends=('libdrm>=2.3.1' 'libxxf86vm' 'libxdamage' 'libxfixes' 'libxext' 'expat>=2.0.1')
                      makedepends=('dri2proto>=1.1' 'glproto>=1.4.9' 'pkgconfig')
                      provides=('libgl-dri')
                      replaces=('libgl-dri' 'libgl-mesa')
                      source=(http://www.mesa3d.org/beta/MesaLib-7.1-rc3.tar.gz)
                      md5sums=('3a3cb6e3f09bf28650483b0d43ab8d88')
                      
                      build() {
                        cd ${startdir}/src/Mesa-7.1-rc3
                        ./configure --prefix=/usr \
                          --with-dri-driverdir=/usr/lib/xorg/modules/dri \
                          --with-dri-drivers=swrast \
                          --enable-glx-tls \
                          --disable-glu \
                          --disable-glut \
                          --disable-glw || return 1
                        make || return 1
                        make DESTDIR=${pkgdir} install || return 1
                        rm -rf ${pkgdir}/usr/include
                        rm -rf ${pkgdir}/usr/lib/pkgconfig
                        install -m755 -d ${pkgdir}/usr/lib/xorg/modules/extensions
                        ln -sf libglx.xorg ${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so || return 1
                      }
                      Code:
                      # $Id$
                      # Maintainer: Alexander Baldeck <[email protected]>
                      # Contributor: Jan de Groot <[email protected]>
                      
                      pkgname=mesa
                      pkgver=7.1rc3
                      pkgrel=1
                      pkgdesc="Mesa OpenGL library"
                      arch=(i686 x86_64)
                      license=('LGPL')
                      url="http://mesa3d.sourceforge.net"
                      depends=('libgl' 'libx11>=1.1.4-3' 'libxt' 'glproto>=1.4.9')
                      makedepends=('pkgconfig' 'dri2proto>=1.1')
                      conflicts=('mesa-apps')
                      replaces=('mesa-apps')
                      source=(http://www.mesa3d.org/beta/MesaLib-7.1-rc3.tar.gz
                              http://www.mesa3d.org/beta/MesaDemos-7.1-rc3.tar.gz
                      	ftp://ftp.archlinux.org/other/mesa/gl-manpages-1.0.1.tar.bz2)
                      md5sums=('3a3cb6e3f09bf28650483b0d43ab8d88'
                               'b4ec33e6167eec33c6857569dedb20a6'
                               '6ae05158e678f4594343f32c2ca50515')
                      
                      build() {
                        cd ${srcdir}/Mesa-7.1-rc3
                        ./configure --prefix=/usr --with-dri-drivers=swrast --enable-glx-tls || return 1
                        make || return 1
                        make DESTDIR=${pkgdir} install || return 1
                      
                        install -m755 -d ${pkgdir}/usr/bin
                        install -m755 progs/xdemos/glx{gears,info} ${pkgdir}/usr/bin/ || return 1
                      
                        rm -f ${pkgdir}/usr/lib/libGL.so*
                        rm -rf ${pkgdir}/usr/lib/dri
                      
                        cd ${srcdir}/gl-manpages-1.0.1
                        ./configure --prefix=/usr || return 1
                        make || return 1
                        make DESTDIR=${pkgdir} install || return 1
                      }
                      Last edited by Execute_Method; 08 August 2008, 10:12 PM.

                      Comment

                      Working...
                      X