You are not logged in.

#626 2009-08-04 02:59:38

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: The AMD/ATI Bar & Grill

if someone could make a repository for this bleeding edge driver..it would be great...it is just a wish..;)


Acer Aspire V5-573P Antergos KDE

Offline

#627 2009-08-04 03:43:43

javum
Member
Registered: 2009-07-31
Posts: 21

Re: The AMD/ATI Bar & Grill

flamelab wrote:

Actually, you can install 1)mesa-kms (with --with-dri-drivers=radeon,r600. I think that --enable-gallium-radeon should be enabled, but I'm not sure ) which replaces --> mesa, libgl, ati-dri, 2)xf86-video-ati-git, 2) kernel26-git. The R5xx cards (and older) with CONFIG_DRM_RADEON_KMS=y in config, can have then KMS. I don't think that KMS will work for the R6xx-R7xx.

I have xf86-video-ati-git already installed.
Can I now install mesa-kms (with needed options) and kernel26-git from AUR? No any specific patch is needed?

Offline

#628 2009-08-04 03:48:51

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: The AMD/ATI Bar & Grill

javum wrote:

Can I now install mesa-kms (with needed options) and kernel26-git from AUR?

Yes. If you have a <R500, you will have KMS as well. But you also would need: libdrm with --with-radeon-experimental-api and xf86-video-ati-git with kms support. If you have >R500 (thus R600/R700), you may not need these special options (just libdrm and xf86-video-ati-git).

No any specific patch is needed?

I don't think so.

Last edited by flamelab (2009-08-04 03:55:38)

Offline

#629 2009-08-04 09:16:36

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: The AMD/ATI Bar & Grill

Does anybody get compiz working with a r6xx/r7xx card?

At the moment i have no success. The drm modules build fine. But mesa in arch is split in different parts. So i don't know which i have to update? All?

Offline

#630 2009-08-04 16:15:21

javum
Member
Registered: 2009-07-31
Posts: 21

Re: The AMD/ATI Bar & Grill

flamelab wrote:

If you have >R500 (thus R600/R700), you may not need these special options (just libdrm and xf86-video-ati-git).

I've installed kernel26-git but mesa-kms seems to have no r600 support...

configure: error: DRI driver directory 'r600' doesn't exist
==> ОШИбКА: Сборка завершилась неудачно.
    Преждевременный выход...
Error: Makepkg was unable to build mesa-kms package.

Offline

#631 2009-08-04 19:48:32

ChemBro
Member
Registered: 2008-10-22
Posts: 704

Re: The AMD/ATI Bar & Grill

javum wrote:

I've installed kernel26-git but mesa-kms seems to have no r600 support...

KMS-support for r600/700 will be in kernel 2.6.32, afaik.

Offline

#632 2009-08-05 11:46:07

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: The AMD/ATI Bar & Grill

Ok, compiz is running with my HD4850 and xf86-video-ati-git. But it is really slow. At the moment not usable.
But if i disable compiz, everything works fine (XV, EXA...).

Just install the ati-dri-r6xx-r7xx package from AUR.
Maybe you have to remove the old packages: mesa, libgl, ati-dri, dri2proto and glproto. (with pacman -Rd). They will be replaced by the git-packages.
After that you have to recompile xf86-video-ati-git (edit PKGBUILD and remove version checks).

Offline

#633 2009-08-06 01:48:50

javum
Member
Registered: 2009-07-31
Posts: 21

Re: The AMD/ATI Bar & Grill

I've installed ati-dri-r6xx-r7xx package from AUR. And having such error in Xorg.0.log :

(EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/r600_dri.so failed (libdricore.so: cannot open shared object file: No such file or directory)

I've got libdricore.so from libgl 7.5-1 and error disappears (r600_dri.so loaded successful). But glxinfo shows:

OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.6-devel
OpenGL shading language version string: 1.20

I am using kernel 2.6.30, mesa-git, libgl-git, xf86-video-ati-git, libdrm-git

What I am doing wrong?

Offline

#634 2009-08-06 05:23:55

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: The AMD/ATI Bar & Grill

Try this (in xorg.conf)

Section "Device"
    Identifier  "My Graphics Card"
    Driver      "radeon"
EndSection

Also, mesa-git doesn't build the r600 module you need.

You need this

http://adslgr64.tiven.org/temporary/Ker … /mesa-kms/

and add r600 where you see --with-dri-drivers

and see if it can be built or not.

Mesa-kms will replace libgl, ati-dri, mesa.

Last edited by flamelab (2009-08-06 05:26:09)

Offline

#635 2009-08-06 07:12:22

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: The AMD/ATI Bar & Grill

Hmm...what is the output of:

pacman -Ql ati-dri-r6xx-r7xx

Offline

#636 2009-08-06 10:11:34

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: The AMD/ATI Bar & Grill

I'll try to make a modularized PKGBUILD in order to build at once -> mesa-git, libgl-git, ati-dri-git (i'll use the new mesa PKGBUILD)

-------

First attempt:

pkgbase="mesa-kms-git"
pkgname=('mesa-kms-git' 'libgl-kms-git' 'ati-dri-kms-git')
pkgver=20090806
_realver=7.6
pkgrel=1
pkgdesc="libGLU, libGLw, libGL and the radeon DRI drivers"
arch=(i686 x86_64)
license=('custom')
depends=('libx11>=1.2' 'libxt' 'gcc-libs>=4.3.3' 'libdrm-radeon-git')
makedepends=('glproto' 'pkgconfig' 'libdrm>=2.4.12' 'libxxf86vm' 'libxdamage' 'expat>=2.0.1' \
             'libx11>=1.2.2' 'libxt' 'gcc-libs' 'dri2proto-git')
options=('!makeflags')
url="http://cgit.freedesktop.org/mesa/mesa/"
sources=('')
md5sums=('9eddc02e23ec08295822911e726ae89a')

_gitroot="git://anongit.freedesktop.org/mesa/mesa"
_gitname="mesa"

build() {
  cd ${srcdir}/

    msg "Connecting to the Freedesktop.org GIT server...."
    if [[ -d ${srcdir}/${_gitname} ]] ; then
        cd ${_gitname}
        git pull origin
        msg "The local files are updated..."
    else
        git clone ${_gitroot}
    fi
    
    msg "GIT checkout done."

    msg "Starting make for: ${pkgname}"
    
    if [[ -d ${srcdir}/${_gitname}-build ]]; then
       msg "Cleaning the previous build directory..." 
       rm -rf ${srcdir}/${_gitname}-build
    fi

    cp -pR ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
    
    cd ${srcdir}/${_gitname}-build

    autoreconf -v --install || return 1  
    
    msg "Starting configure..."

  msg2 "add patch..."
 # patch -Np1 -i "${startdir}/mesa-7.1-link-shared.patch" || return 1
  ./configure --prefix=/usr \
    --enable-glx-tls \
    --with-driver=dri \
    --with-dri-drivers=radeon,r200,r300 \
    --with-dri-driverdir=/usr/lib/xorg/modules/dri \
    --enable-xcb \
    --disable-glut \
    --enable-gallium \
    --enable-gallium-radeon \
    --disable-gallium-intel || return 1

   make || return 1

}

package_libgl-kms-git()
{
  depends=('libdrm>=2.4.12' 'libxxf86vm' 'libxdamage' 'expat>=2.0.1')
  pkgdesc="Mesa 3-D graphics library and DRI software rasterizer"
  provides=("libgl=${_realver}")
  conflicts=("libgl")

  cd "${srcdir}/${_gitname}-build" || return 1
  install -m755 -d "${pkgdir}/usr/lib" || return 1
  install -m755 -d "${pkgdir}/usr/lib/xorg/modules/extensions"

  bin/minstall lib/libGL.so* "${pkgdir}/usr/lib/" || return 1

  cd src/mesa/drivers/dri
  #make -C swrast DESTDIR="${pkgdir}" install || return 1
  mkdir -p "${pkgdir}/usr/lib/xorg/modules/dri/"
  install -m755 libdricore.so "${pkgdir}/usr/lib/xorg/modules/dri/" || return 1
  ln -s libglx.xorg "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" || return 1

  install -m755 -d "${pkgdir}/usr/share/licenses/libgl"
  install -m755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/libgl/" || return 1
}

package_mesa-kms-git() {
  depends=('libgl' 'libx11>=1.2.2' 'libxt' 'gcc-libs>=4.4.1' 'dri2proto=2.1' 'libdrm>=2.4.12')
  pkgdesc="Mesa 3-D graphics libraries and include files"
  provides=("mesa=${_realver}")
  conflicts=("mesa")

  cd "${srcdir}/${_gitname}-build" || 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/xorg"

}

package_ati-dri-kms-git() 

{
  depends=("libgl=${pkgver}")
  pkgdesc="Mesa DRI drivers for AMD/ATI Radeon"
  conflicts=('xf86-video-ati<6.9.0-6' 'ati-dri')

  cd "${srcdir}/${_gitname}-build/src/mesa/src/drivers/dri" || return 1
  make -C radeon DESTDIR="${pkgdir}" install || return 1
  make -C r200 DESTDIR="${pkgdir}" install || return 1
  make -C r300 DESTDIR="${pkgdir}" install || return 1
}

Βut it seems like libdricore.so isn't built hmm

(libdrm-radeon-git --> http://adslgr64.tiven.org/abs/list-of-s … deon-git/)

r600-r700 users, add r600 in --with-dri-drivers array.

Last edited by flamelab (2009-08-06 10:35:43)

Offline

#637 2009-08-06 12:22:45

javum
Member
Registered: 2009-07-31
Posts: 21

Re: The AMD/ATI Bar & Grill

Perry3D wrote:

Hmm...what is the output of:

pacman -Ql ati-dri-r6xx-r7xx
[javum@archie ~]$ pacman -Ql ati-dri-r6xx-r7xx
ati-dri-r6xx-r7xx /usr/
ati-dri-r6xx-r7xx /usr/lib/
ati-dri-r6xx-r7xx /usr/lib/xorg/
ati-dri-r6xx-r7xx /usr/lib/xorg/modules/
ati-dri-r6xx-r7xx /usr/lib/xorg/modules/dri/
ati-dri-r6xx-r7xx /usr/lib/xorg/modules/dri/r600_dri.so
ati-dri-r6xx-r7xx /usr/lib/xorg/modules/dri/radeon_dri.so
ati-dri-r6xx-r7xx /usr/share/
ati-dri-r6xx-r7xx /usr/share/licenses/
ati-dri-r6xx-r7xx /usr/share/licenses/ati-dri-r6xx-r7xx/
ati-dri-r6xx-r7xx /usr/share/licenses/ati-dri-r6xx-r7xx/LICENSE

Offline

#638 2009-08-06 19:07:05

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: The AMD/ATI Bar & Grill

flamelab wrote:

Βut it seems like libdricore.so isn't built hmm

Same problem here while trying to compile latest mesa.

Guys, just for you to know, for KMS you don't need anything from AUR except xf86-video-ati-git compiled with --enable-kms. Of course, you also have to have patched kernel or kernel 2.6.31-rc... smile

Offline

#639 2009-08-06 19:17:02

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: The AMD/ATI Bar & Grill

libdricore.so must be in the libgl package.

Try this one: http://www.file-upload.net/download-181 … ar.gz.html

Offline

#640 2009-08-06 19:30:58

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: The AMD/ATI Bar & Grill

Perry3D wrote:

libdricore.so must be in the libgl package.

Try this one: http://www.file-upload.net/download-181 … ar.gz.html

It is better I think to make a modularized PKGBUILD like the new mesa one ( I posted an edited PKGBUILD above), instead of having different PKGBUILDs for: mesa-git, libdrm-git, libgl-git, libdrm-git.
-------
Kernel 2.6.31 needs a

CONFIG_DRM_RADEON_KMS=y

in config for KMS.

Last edited by flamelab (2009-08-06 19:32:36)

Offline

#641 2009-08-06 19:54:23

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: The AMD/ATI Bar & Grill

flamelab wrote:

It is better I think to make a modularized PKGBUILD like the new mesa one ( I posted an edited PKGBUILD above), instead of having different PKGBUILDs for: mesa-git, libdrm-git, libgl-git, libdrm-git.

Agreed, but how to solve this problem with libdricore.so?

Offline

#642 2009-08-06 20:04:41

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: The AMD/ATI Bar & Grill

I have no idea. That's why I posted the PKGBUILD, so that we find what the problem is wink

Offline

#643 2009-08-06 20:12:47

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: The AMD/ATI Bar & Grill

I don't see the problem. Either you choose the solutione with the all-in-one package from demon or you use the method from the extra repo and build different packages. But libgl-git from AUR is missing the libdricore.so. Maybe wo should contact the maintainer wink

Offline

#644 2009-08-06 20:21:00

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: The AMD/ATI Bar & Grill

Perry3D wrote:

I don't see the problem. Either you choose the solutione with the all-in-one package from demon or you use the method from the extra repo and build different packages. But libgl-git from AUR is missing the libdricore.so. Maybe wo should contact the maintainer wink

My point was that, if you are using the latest packages from official Arch repo (mesa, libgl, ati-dri, libdrm, xorg-server), you only need to install xf86-video-ati-git from AUR and you will have KMS, if you are using latest kernel (2.6.31).

"all-in-one package" isn't "from demon" nor flamelab, it's the standard Arch Linux PKGBUILD which defines how to make multiple packages (http://repos.archlinux.org/viewvc.cgi/m … iew=markup). Flamelab just customized it for the "kms-git" version of packages. It's better to use this PKGBUILD - why? Simply because it's easier. smile

However, as you've noticed, the problem (with libdricore.so) remains in both cases, so we should ask for devs' help. smile

Offline

#645 2009-08-06 20:32:33

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: The AMD/ATI Bar & Grill

Oh, sorry. I don't read your PKGBUILD.
I agree to you. This would be the best way.

Why did you comment out the mesa-7.1-link-shared.patch?

Offline

#646 2009-08-06 20:39:43

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: The AMD/ATI Bar & Grill

Perry3D wrote:

Oh, sorry. I don't read your PKGBUILD.
I agree to you. This would be the best way.

Why did you comment out the mesa-7.1-link-shared.patch?

I contacted a dev from freedesktop and told me that there was a problem with that patch. I didn't really understand they way he told me to fix it, so I don't use it.

@Demon: Mesa 7.6 provides the new gallium drivers though big_smile

Last edited by flamelab (2009-08-06 20:45:18)

Offline

#647 2009-08-06 21:25:45

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: The AMD/ATI Bar & Grill

flamelab wrote:

@Demon: Mesa 7.6 provides the new gallium drivers though big_smile

Well, true, that's why I wont give up on this so easily. smile AND YEAH!!! Success!!

Edit: As I wrote this, compilation successfuly finished. I'll post the PKGBUILD I used here, just to test will these packages work. smile

Funny thing I've noticed, using latest xextproto breaks mesa from git, but it's absolutely required for xorg-server from git. I havent't yet managed to compile xorg from git...

Last edited by Demon (2009-08-06 21:29:00)

Offline

#648 2009-08-06 21:46:08

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: The AMD/ATI Bar & Grill

Whoooohoooooooooooo!!!!!! Finaly! AIGLX is okay!

(II) AIGLX: enabled GLX_MESA_copy_sub_buffer                                                         
(II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control                                   
(II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects                                     
(II) AIGLX: Loaded and initialized /usr/lib/xorg/modules/dri/r300_dri.so                             
(II) GLX: Initialized DRI2 GL provider for screen 0

glxgears running fine! Before it always crashed with segmentation fault... smile
Wow, the Stellarium also runing perfect! big_smile

OK, now, apparently it was all about the patch you talked about! smile
Here's my PKGBUILD:

# $Id$
# Contributor: Mladen Pejakovic <pejakm@gmail.com>

pkgbase="mesa-git"
# pkgname=('mesa-git' 'libgl-git' 'ati-dri-git' 'intel-dri-git' 'unichrome-dri-git' 'mach64-dri-git' 'mga-dri-git' 'r128-dri-git' 'savage-dri-git' 'sis-dri-git' 'tdfx-dri-git' 'trident-dri-git')
pkgname=('mesa-git' 'libgl-git' 'ati-dri-git')
pkgver=20090806
_realver=7.6
pkgrel=1
arch=(i686 x86_64)
depends=('libx11>=1.2' 'libxt' 'gcc-libs>=4.3.3' 'libdrm>=2.4.12')
makedepends=('glproto' 'pkgconfig' 'libdrm>=2.4.12' 'libxxf86vm' 'libxdamage' 'expat>=2.0.1' 'libx11>=1.2.2' 'libxt' 'gcc-libs' 'dri2proto-git')
url="http://mesa3d.sourceforge.net"
license=('custom')
options=(!makeflags)
source=(ftp://ftp.archlinux.org/other/mesa/gl-manpages-1.0.1.tar.bz2
    mesa-7.1-link-shared.patch
        LICENSE)
md5sums=('6ae05158e678f4594343f32c2ca50515'
     '9eddc02e23ec08295822911e726ae89a'
         '5c65a0fe315dd347e09b1f2826a1df5a')

_gitroot="git://anongit.freedesktop.org/git/mesa/mesa"
_gitname="mesa"

build() {

 msg "Connecting to git.freedesktop.org GIT server...."

  if [ -d ${srcdir}/$_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..."

    if [[ -d ${srcdir}/${_gitname}-build ]]; then
       msg "Cleaning the previous build directory..." 
       rm -rf ${srcdir}/${_gitname}-build
    fi

    cp -pR ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
    
    cd ${srcdir}/${_gitname}-build
    msg "Starting configure..."

    msg "Applying patches..."
      patch -Np1 -i "${startdir}/mesa-7.1-link-shared.patch" || return 1

  ./autogen.sh --prefix=/usr \
    --with-dri-driverdir=/usr/lib/xorg/modules/dri \
    --with-dri-drivers=swrast,radeon,r200,r300,i810,i915,i965,unichrome,mach64,mga,r128,savage,sis,tdfx,trident \
    --enable-glx-tls \
    --with-driver=dri \
    --enable-xcb \
    --disable-glut \
    --enable-gallium \
    --enable-gallium-radeon || return 1

  make || return 1

  cd "${srcdir}/gl-manpages-1.0.1"
  ./configure --prefix=/usr || return 1
  make || return 1
}

package_mesa-git() {
  depends=('libgl-git' 'libx11>=1.2.2' 'libxt' 'gcc-libs>=4.4.1' 'dri2proto-git' 'libdrm>=2.4.12')
  pkgdesc="Mesa 3-D graphics libraries and include files"
  provides=("mesa=${_realver}")
  conflicts=("mesa")

  cd "${srcdir}/${_gitname}-build" || 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/xorg"

  cd "${srcdir}/gl-manpages-1.0.1" || return 1
  make DESTDIR="${pkgdir}" install || return 1

  install -m755 -d "${pkgdir}/usr/share/licenses/mesa"
  install -m755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa/" || return 1
}

package_libgl-git() {
  depends=('libdrm>=2.4.12' 'libxxf86vm' 'libxdamage' 'expat>=2.0.1')
  pkgdesc="Mesa 3-D graphics library and DRI software rasterizer"
  provides=("libgl=${_realver}")
  conflicts=("libgl")

  cd "${srcdir}/${_gitname}-build" || return 1
  install -m755 -d "${pkgdir}/usr/lib" || return 1
  install -m755 -d "${pkgdir}/usr/lib/xorg/modules/extensions"

  bin/minstall lib/libGL.so* "${pkgdir}/usr/lib/" || return 1

  cd src/mesa/drivers/dri
  make -C swrast DESTDIR="${pkgdir}" install || return 1
  install -m755 libdricore.so "${pkgdir}/usr/lib/xorg/modules/dri/" || return 1
  ln -s libglx.xorg "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" || return 1

  install -m755 -d "${pkgdir}/usr/share/licenses/libgl"
  install -m755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/libgl/" || return 1
}

package_ati-dri-git() {
  depends=("libgl-git=${pkgver}")
  pkgdesc="Mesa DRI drivers for AMD/ATI Radeon"
  conflicts=('xf86-video-ati<6.9.0-6')

  cd "${srcdir}/${_gitname}-build/src/mesa/drivers/dri" || return 1
  make -C radeon DESTDIR="${pkgdir}" install || return 1
  make -C r200 DESTDIR="${pkgdir}" install || return 1
  make -C r300 DESTDIR="${pkgdir}" install || return 1
}

package_intel-dri-git() {
  depends=("libgl-git=${pkgver}")
  pkgdesc="Mesa DRI drivers for Intel"

  cd "${srcdir}/${_gitname}-build/src/mesa/drivers/dri" || return 1
  make -C i810 DESTDIR="${pkgdir}" install || return 1
  make -C i915 DESTDIR="${pkgdir}" install || return 1
  make -C i965 DESTDIR="${pkgdir}" install || return 1

  cd "${srcdir}/${_gitname}-build/src/gallium/winsys/drm/intel/egl"
  make DESTDIR="${pkgdir}" install || return 1
}

package_unichrome-dri-git() {
  depends=("libgl-git=${pkgver}")
  pkgdesc="Mesa DRI drivers for S3 Graphics/VIA Unichrome"

  cd "${srcdir}/${_gitname}-build/src/mesa/drivers/dri" || return 1
  make -C unichrome DESTDIR="${pkgdir}" install || return 1
}

package_mach64-dri-git() {
  depends=("libgl-git=${pkgver}")
  pkgdesc="Mesa DRI drivers for ATI Mach64"
  conflicts=('xf86-video-mach64<6.8.2')

  cd "${srcdir}/${_gitname}-build/src/mesa/drivers/dri" || return 1
  make -C mach64 DESTDIR="${pkgdir}" install || return 1
}

package_mga-dri-git() {
  depends=("libgl-git=${pkgver}")
  pkgdesc="Mesa DRI drivers for Matrox"
  conflicts=('xf86-video-mga<1.4.11')

  cd "${srcdir}/${_gitname}-build/src/mesa/drivers/dri" || return 1
  make -C mga DESTDIR="${pkgdir}" install || return 1
}

package_r128-dri-git() {
  depends=("libgl-git=${pkgver}")
  pkgdesc="Mesa DRI drivers for ATI Rage128"
  conflicts=('xf86-video-r128<6.8.1')

  cd "${srcdir}/${_gitname}-build/src/mesa/drivers/dri" || return 1
  make -C r128 DESTDIR="${pkgdir}" install || return 1
}

package_savage-dri-git() {
  depends=("libgl-git=${pkgver}")
  pkgdesc="Mesa DRI drivers for S3 Sraphics/VIA Savage"
  conflicts=('xf86-video-savage<2.3.1')

  cd "${srcdir}/${_gitname}-build/src/mesa/drivers/dri" || return 1
  make -C savage DESTDIR="${pkgdir}" install || return 1
}

package_sis-dri-git() {
  depends=("libgl-git=${pkgver}")
  pkgdesc="Mesa DRI drivers for SiS"
  conflicts=('xf86-video-sis<0.10.2')

  cd "${srcdir}/${_gitname}-build/src/mesa/drivers/dri" || return 1
  make -C sis DESTDIR="${pkgdir}" install || return 1
}

package_tdfx-dri-git() {
  depends=("libgl-git=${pkgver}")
  pkgdesc="Mesa DRI drivers for 3dfx"
  conflicts=('xf86-video-tdfx<1.4.3')

  cd "${srcdir}/${_gitname}-build/src/mesa/drivers/dri" || return 1
  make -C tdfx DESTDIR="${pkgdir}" install || return 1
}

package_trident-dri-git() {
  depends=("libgl-git=${pkgver}")
  pkgdesc="Mesa DRI drivers for Trident"
  conflicts=('xf86-video-trident<1.3.2-3')

  cd "${srcdir}/${_gitname}-build/src/mesa/drivers/dri" || return 1
  make -C trident DESTDIR="${pkgdir}" install || return 1
}

I've included all of the drivers, in case someone needs them. Just add your desired driver to first (uncommented) pkgname string.

You will also gonna need these files:
http://repos.archlinux.org/viewvc.cgi/m … h?view=log
http://repos.archlinux.org/viewvc.cgi/m … SE?view=co
as well as dri2proto from AUR.

And that's all! Enjoy!

Last edited by Demon (2009-08-06 21:48:28)

Offline

#649 2009-08-06 23:25:33

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: The AMD/ATI Bar & Grill

anyone is planning to make a repository. for git ati drivers.....kensai??  I have mobility HD3670


Acer Aspire V5-573P Antergos KDE

Offline

#650 2009-08-06 23:37:36

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: The AMD/ATI Bar & Grill

mesa-git also needs --> libxext-git and xextproto-git (on AUR both of them). I'm building it now smile

Offline

Board footer

Powered by FluxBB