Announcement

Collapse
No announcement yet.

Arch Linux install latest xserver,mesa,ati

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

  • Arch Linux install latest xserver,mesa,ati

    I have moved to Arch from Ubuntu, and I am unsure of the process to get everything installed. I am going to try this later today (when I get home from work). I am posting now, so if anyone has any pointers for me I might have a fighting chance when I do.

    I am aware that the easy-drm-modules-installer is made for Ubuntu, so I'm not sure how to get the right modules installed.

    What about mesa?

    As well, would I (make install) the xserver updates(from the orig. tarballs) from the edgers repo, or use packagebuild (or something else)?

    I am running 2.6.25 kernel, w/ rv535 ati.

    Thank You in advance.

  • #2
    Use PKGBUILDS for drm, mesa, and Xorg drivers. Unfortunately, I have been unable to locate a PKGBUILD for the Xserver 1.4.99 series, or to build it from git. I'm attempting to modify an older one to build the new Xserver, but I've still got some problems to iron out.

    Comment


    • #3
      can you please elaborate on this process for me. where do I get the source & package builds from? I looked in ABS, and didn't see anything.

      Your help is appreciated!

      Comment


      • #4
        Getting there

        I got drm and ati loaded, I still can't find a package build that'll work with mesa 7.1 or the x-server. Any Ideas?

        BTW I get this in my Xorg.0.log:

        Code:
         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.
        (II) Loading extension MIT-SCREEN-SAVER
        (EE) AIGLX error: Calling driver entry point failed(EE) AIGLX: reverting to software rendering

        Is this because of the mesa library being 7.0.3, or is it another issue?

        Code:
        [stephen@ephraim ~]$ glxinfo
        name of display: :0.0
        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
        display: :0  screen: 0
        direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
        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_MESA_copy_sub_buffer, 
            GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample, 
            GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
        OpenGL vendor string: Mesa project: www.mesa3d.org
        OpenGL renderer string: Mesa GLX Indirect
        OpenGL version string: 1.4 (2.1 Mesa 7.0.3)
        OpenGL extensions:
            GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program, 
            GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture, 
            GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_point_sprite, 
            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_program, 
            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_copy_texture, GL_EXT_draw_range_elements, 
            GL_EXT_fog_coord, GL_EXT_framebuffer_object, GL_EXT_multi_draw_arrays, 
            GL_EXT_packed_pixels, GL_EXT_paletted_texture, 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_vertex_array, GL_APPLE_packed_pixels, 
            GL_ATI_draw_buffers, GL_ATI_texture_env_combine3, 
            GL_ATI_texture_mirror_once, GL_ATIX_texture_env_combine3, 
            GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate, 
            GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_NV_blend_square, 
            GL_NV_fragment_program, GL_NV_light_max_exponent, GL_NV_point_sprite, 
            GL_NV_texgen_reflection, GL_NV_texture_rectangle, GL_NV_vertex_program, 
            GL_NV_vertex_program1_1, GL_SGI_color_matrix, GL_SGI_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
        
           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 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
        0x24 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
        0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
        0x26 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
        0x27 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
        0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
        0x29 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
        0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
        0x2b 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
        0x2c 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
        0x2d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
        0x2e 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
        0x2f 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
        0x30 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
        0x31 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
        0x32 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
        0x71 32 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 Ncon

        Comment


        • #5
          is this right?

          Code:
          [stephen@ephraim ~]$ locate libGL.so
          /usr/lib/libGL.so
          /usr/lib/libGL.so.1
          /usr/lib/libGL.so.1.2
          [stephen@ephraim ~]$ ldd /usr/bin/glxinfo
          	linux-gate.so.1 =>  (0xb80de000)
          	libGL.so.1 => /usr/lib/libGL.so.1 (0xb8067000)
          	libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb7fe9000)
          	libc.so.6 => /lib/libc.so.6 (0xb7ea7000)
          	libX11.so.6 => /usr/lib/libX11.so.6 (0xb7db8000)
          	libXext.so.6 => /usr/lib/libXext.so.6 (0xb7daa000)
          	libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb7da5000)
          	libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb7da1000)
          	libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb7d9c000)
          	libm.so.6 => /lib/libm.so.6 (0xb7d76000)
          	libpthread.so.0 => /lib/libpthread.so.0 (0xb7d5e000)
          	libdl.so.2 => /lib/libdl.so.2 (0xb7d5a000)
          	libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb7d52000)
          	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7c61000)
          	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7c54000)
          	/lib/ld-linux.so.2 (0xb80df000)
          	libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb7c52000)
          	libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7c3a000)
          	libXau.so.6 => /usr/lib/libXau.so.6 (0xb7c37000)
          	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7c31000)
          [stephen@ephraim ~]$

          Comment


          • #6
            Here's my answer, I definitely need mesa 7.1... any Arch help with a PKGBUILD for it?

            On Wed, May 7, 2008 at 4:01 AM, Alex Rades <[EMAIL PROTECTED]> wrote:
            > Hi,
            > I'm having this error during X startup on my x1250:
            >
            > (EE) AIGLX error: Calling driver entry point failed(EE) AIGLX: reverting to
            > software rendering
            >
            > I'm using:
            >
            > xserver 1.4
            > Mesa 7.0.3
            > drm (lib and radeon module) from git master (I've also tried r345-cleanup
            > but makes no difference)
            >
            > do you have ideas?
            >

            yes 7.0.3 doesn't support the rs cards.

            Dave.

            Comment


            • #7
              I have a mesa 7.1 PKGBUILD that I made by modifying the older 7.03 PKGBUILD. It isn't very pretty, but I'll post it when I get home.

              Comment


              • #8
                Originally posted by TechMage89 View Post
                I have a mesa 7.1 PKGBUILD that I made by modifying the older 7.03 PKGBUILD. It isn't very pretty, but I'll post it when I get home.
                Thank You, that would be so helpful!

                Comment


                • #9
                  BTW
                  Tech, do you have direct rendering with your setup, or do you still need the xserver upgrade to get it?... Which card are you running?

                  Comment


                  • #10
                    Here's an update!

                    I am now running the 2.6.26-zenmm rc8 kernel (which, by the way, is a bit faster and is running very stable...so far). <-That means I don't have to load the DRM, right?

                    I did load libdrm before the kernel update:
                    Code:
                    [stephen@ephraim ~]$ pacman -Q libdrm
                    libdrm 2.3.1-1
                    Do I need to load it again?

                    I installed mesa 7.1 (via a modified PKGBUILD. src came from: http://www.mesa3d.org/beta/. and the build and install finished without error)

                    Code:
                    [stephen@ephraim ~]$ pacman -Q mesa
                    mesa 7.1-3
                    but glxinfo still shows:
                    Code:
                    [stephen@ephraim ~]$ 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)
                    The hex is showing different here than before, which makes me think it installed properly, but I'm not sure.

                    Code:
                    [stephen@ephraim ~]$ ldd /usr/bin/glxinfo
                    	linux-gate.so.1 =>  (0xb7f5b000)
                    	libGL.so.1 => /usr/lib/libGL.so.1 (0xb7ee0000)
                    	libm.so.6 => /lib/libm.so.6 (0xb7eba000)
                    	libc.so.6 => /lib/libc.so.6 (0xb7d78000)
                    	libX11.so.6 => /usr/lib/libX11.so.6 (0xb7c89000)
                    	libXext.so.6 => /usr/lib/libXext.so.6 (0xb7c7b000)
                    	libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb7c76000)
                    	libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb7c72000)
                    	libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb7c6d000)
                    	libpthread.so.0 => /lib/libpthread.so.0 (0xb7c55000)
                    	libdl.so.2 => /lib/libdl.so.2 (0xb7c51000)
                    	libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb7c49000)
                    	/lib/ld-linux.so.2 (0xb7f5c000)
                    	libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb7c46000)
                    	libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7c2e000)
                    	libXau.so.6 => /usr/lib/libXau.so.6 (0xb7c2b000)
                    	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7c26000)
                    xserver is still 1.4.2, do I need to update that now that I'm using the custom kernel?

                    I am still getting this error though:
                    Code:
                    [stephen@ephraim ~]$ cat /var/log/Xorg.0.log |grep EE
                    Current Operating System: Linux ephraim 2.6.26-rc8-zenmm3-20080730 #1 SMP PREEMPT Wed Jul 30 03:00:44 EDT 2008 i686
                    	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
                    (II) Loading extension MIT-SCREEN-SAVER
                    (EE) AIGLX error: Calling driver entry point failed(EE) AIGLX: reverting to software rendering
                    I could really use some guidance here.
                    Thanks in advance,
                    -Stephen

                    Comment

                    Working...
                    X