hi
can you paste all pkgbuilds which you use?
Announcement
Collapse
No announcement yet.
Arch Linux install latest xserver,mesa,ati
Collapse
X
-
OMFG!!!!! I got it!!
Stupid newb had to recompile libgl with radeon & r300 modules.
I am now getting 2700fps on glxgears and no errors in Xorg log or glxinfo.
Now to figure out that evdev module.
Leave a comment:
-
well, the one from SVN didn't do anthing....Trying the one from GIT, but I don't think it's gonna help.....
Leave a comment:
-
Originally posted by TechMage89 View PostI would rebuild the dri drivers. It looks like the r300 dri isn't matching up to your libGL for some reason.
Like I said, I can't find a PKGBUILD that successfully builds dri drivers from git, so you may have to do it manually.
Code:#Maintainer: Matt Parnell/ilikenwf <[email protected]> pkgname=xf86driproto-git pkgver=20080807 pkgrel=1 pkgdesc="X11 DRI extension wire protocol" arch=(i686 x86_64) license='custom' url="http://xorg.freedesktop.org/" arch=(i686 x86_64) source=() provides=('xf86driproto' 'xf86driproto-git') replaces=('xf86driproto') conflicts=('xf86driproto') md5sums=() _gitroot="git://git.freedesktop.org/git/xorg/proto/dri2proto" _gitname="dri2proto" build() { 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/$_gitname sh autogen.sh --prefix=/usr make || return 1 make DESTDIR=${startdir}/pkg install || return 1 }
Code:# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ #Maintainer: Jan de Groot <[email protected]> pkgname=dri2proto pkgver=1.1 pkgrel=1 pkgdesc="X11 DRI protocol" arch=(i686 x86_64) license=('custom') url="http://xorg.freedesktop.org/" source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2) md5sums=('1d70f0653b0b3a837853262dc5d34da4') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr || return 1 make || return 1 make DESTDIR=${pkgdir} install || return 1 install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname} install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1 }
would it be better to use the one from GIT or SVN?
Leave a comment:
-
I would rebuild the dri drivers. It looks like the r300 dri isn't matching up to your libGL for some reason.
Like I said, I can't find a PKGBUILD that successfully builds dri drivers from git, so you may have to do it manually.
Leave a comment:
-
Well, I took care of the "record" module..... cut it from xorg.conf, so that's one down.
Here is my cleaned up xorg.conf:
Code:Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" InputDevice "Keyboard0" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Samsung" ModelName "SyncMaster 712N" EndSection Section "Device" Driver "radeon" VendorName "ATI Technologies Inc" 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
Leave a comment:
-
this seems like a mesa problem.
Code:[[email protected]raim ~]$ 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
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.
Leave a comment:
-
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.
Leave a comment:
-
No, I never installed evdev... what is it?
Your error is very strange. What does your xorg.conf look like?
Leave a comment:
-
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
Leave a comment:
Leave a comment: