PDA

View Full Version : Arch Linux install latest xserver,mesa,ati


Execute_Method
07-28-2008, 09:10 AM
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. :)

TechMage89
07-28-2008, 03:57 PM
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.

Execute_Method
07-28-2008, 04:10 PM
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!;)

Execute_Method
07-28-2008, 10:06 PM
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:

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?

[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

Execute_Method
07-28-2008, 10:11 PM
is this right?

[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 ~]$

Execute_Method
07-28-2008, 10:16 PM
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.

TechMage89
07-29-2008, 12:16 PM
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.

Execute_Method
07-29-2008, 05:58 PM
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!

Execute_Method
07-29-2008, 06:03 PM
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?

Execute_Method
07-30-2008, 10:04 PM
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:
[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)

[stephen@ephraim ~]$ pacman -Q mesa
mesa 7.1-3


but glxinfo still shows:
[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.

[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:
[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

stargeizer
07-30-2008, 11:30 PM
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.

[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)

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.

TechMage89
08-05-2008, 01:33 PM
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.

TechMage89
08-05-2008, 10:18 PM
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:

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.

Execute_Method
08-07-2008, 06:29 PM
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.php?pid=403695#p403695

and:

http://repos.archlinux.org/viewvc.cgi/xorg-server/trunk/PKGBUILD?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)?

TechMage89
08-07-2008, 09:05 PM
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:

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
}


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
}


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.

Execute_Method
08-08-2008, 03:57 PM
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.

Execute_Method
08-08-2008, 04:24 PM
here's my info:

[stephen@ephraim ~]$ 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

[stephen@ephraim ~]$ 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)


[stephen@ephraim ~]$ 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

[stephen@ephraim ~]$ lsmod | grep evdev
evdev 9472 3

TechMage89
08-08-2008, 07:16 PM
No, I never installed evdev... what is it?

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

Execute_Method
08-08-2008, 09:52 PM
nothing strange in xorg.conf. Although I could trim it up a little, I just slightly modified the one from skel.

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

Execute_Method
08-08-2008, 10:08 PM
this seems like a mesa problem.

[stephen@ephraim ~]$ 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:

# $Id$
# Maintainer: Alexander Baldeck <kth5@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
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
}

# $Id$
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

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
}

Execute_Method
08-09-2008, 10:14 AM
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:

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

TechMage89
08-09-2008, 10:39 AM
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.

Execute_Method
08-09-2008, 11:36 AM
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.

Here's one from git I just found:

#Maintainer: Matt Parnell/ilikenwf <parwok@gmail.com>

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
}


and here is one from SVN (3days ago):

# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
#Maintainer: Jan de Groot <jgc@archlinux.org>

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?

Execute_Method
08-09-2008, 11:44 AM
well, the one from SVN didn't do anthing....Trying the one from GIT, but I don't think it's gonna help.....

Execute_Method
08-09-2008, 12:20 PM
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.

wojak
08-09-2008, 01:52 PM
hi
can you paste all pkgbuilds which you use?