You are not logged in.

#226 2009-11-22 17:03:27

Pik
Member
Registered: 2009-11-15
Posts: 14

Re: Discussion: the ati/radeon open source drivers & radeon repository

dan.boff wrote:

is it just me, or is kde compositing broken since about 2-3 days:
my windows only get redrawn after I move them, and everything with transparent effects look odd...
(kernel26-git variant for drm stuff, and mesa,libgl, etc. from git)

Well, I get only software rendering since I updated the radeon driver two days ago. I recompiled all packages, but still the same result. I don't use the kde compositing, but a little test provided a very slow and choppy result.

Offline

#227 2009-11-22 22:24:53

dan.boff
Member
Registered: 2009-04-07
Posts: 42

Re: Discussion: the ati/radeon open source drivers & radeon repository

damn, opengl worked so good until now
xrender works fine for me too. guess I have to stay with this for a while now. I probably shouldn't update so often big_smile

Offline

#228 2009-11-22 23:23:06

arti74
Member
From: Poland
Registered: 2009-10-21
Posts: 27

Re: Discussion: the ati/radeon open source drivers & radeon repository

Hello to all again. I'm stuck now with install newest version of kernel26-drm-next package - tried modify tke PKBUILD according to earlier Perry3D suggestion, but during making these errors appears:

==> Starting make...                                                               
patching file Makefile                                                             
Hunk #1 FAILED at 1.                                                               
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej                       
==> ERROR: Build Failed.                                                           
    Aborting...                                                                     
Error: Makepkg was unable to build kernel26-drm-next package.

I want to try new versions because I have problem with big cpu usage by KDE4 composite extension, still searching for solusions for that - any ideas? Thanks in advance.

Offline

#229 2009-11-23 08:11:35

libercv
Member
Registered: 2009-11-19
Posts: 8

Re: Discussion: the ati/radeon open source drivers & radeon repository

libercv wrote:
Perry3D wrote:

I think radeon-firmware is not necessary, the firmware drivers are in kernel26-firmware-git.

I've just tried with both kernel26-firmware-git and radeon-firmware and i get the same error.
insanemal: I use kms late start. It starts in module loading step.

Following library dependencies and symbolic links i've found a /usr/libdrm_radeon.so.1.0.0b that no package owned. I've deleted it and now xorg starts!

Offline

#230 2009-11-23 15:20:20

aaahaaap
Member
Registered: 2009-11-09
Posts: 18

Re: Discussion: the ati/radeon open source drivers & radeon repository

yimm wrote:
aaahaaap wrote:

2weeks ago it still worked, now using kernel26-git and can't compile xf86-video-ati, see errormessage: http://pastebin.com/m69c47d6c

Suggested on #radeon irc that I need x11proto headers?
Couldn't find those though, and wondering why no one else needs them...

Perry3D wrote:

Looks like there is something wrong with a header file. Try reinstalling libxext.

You must update your xorg server. I have the same problem with 1.6 xorg version, code compile only with 1.7 xorg version oO. I don't know why. I have the same problem with 2-3 install of Archlinux.

Yeah, I forgot that at first (was on 1.6 because of fglrx ).
Updating xorg and libxext made it work.

Thanks!

Offline

#231 2009-11-23 16:02:16

delerious010
Member
From: Montreal
Registered: 2008-10-07
Posts: 72

Re: Discussion: the ati/radeon open source drivers & radeon repository

arti74 :

I'm at work so the following will be very brief ..
If you open fix-version.patch you'll see what the patch is trying to do.

--- Makefile 
+++ Makefile
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 31
-EXTRAVERSION = -rc9
+EXTRAVERSION = 
 NAME = Man-Eating Seals of Antiquity
 
 # *DOCUMENTATION*

If you then check the top of the Makefile file, you'll see that the SUBLEVEL and EXTRAVERSION don't match. You'll want to :
1. Modify the patch for, I believe, SUBLEVEL = 32 and -EXTRAVERSION = -rc6
2. Get the new md5sum for the patch file : md5sum <file>
3. Modify the md5sum in the PKGFILE for that file.

Offline

#232 2009-11-23 16:22:47

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

Re: Discussion: the ati/radeon open source drivers & radeon repository

I would propose to use the kernel-26 git packages. I had some problems with kernel26-drm-next.

Offline

#233 2009-11-23 16:59:36

arti74
Member
From: Poland
Registered: 2009-10-21
Posts: 27

Re: Discussion: the ati/radeon open source drivers & radeon repository

Perry3D wrote:

I would propose to use the kernel-26 git packages. I had some problems with kernel26-drm-next.

I am just on git kernel! wink So assume I don't need drm-next one? When i type:

yaourt -R kernel26-drm-next
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: mesa-full: requires kernel26-drm-next

Hmm without mesa-full this will be still working? (sorry for my noob questions)

Last edited by arti74 (2009-11-23 17:00:23)

Offline

#234 2009-11-23 19:18:19

yimm
Member
From: France
Registered: 2009-10-16
Posts: 106

Re: Discussion: the ati/radeon open source drivers & radeon repository

mesa-full is the equivalent to libgl-git, mesa-git and ati-dri-git. So 2 ways :
libgl-git, mesa-git and ati-dri-git + kernel26-drm-next
or
mesa-full + kernel26-drm-next

Last edited by yimm (2009-11-23 19:18:31)

Offline

#235 2009-11-23 21:16:40

arti74
Member
From: Poland
Registered: 2009-10-21
Posts: 27

Re: Discussion: the ati/radeon open source drivers & radeon repository

yimm wrote:

mesa-full is the equivalent to libgl-git, mesa-git and ati-dri-git. So 2 ways :
libgl-git, mesa-git and ati-dri-git + kernel26-drm-next
or
mesa-full + kernel26-drm-next

OK, thanks for explanation.

Offline

#236 2009-11-23 23:19:10

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

Re: Discussion: the ati/radeon open source drivers & radeon repository

At the moment i use this PKGBUILD for mesa-git, ati-dri-git and libgl-git. It will build these three packages at once and you can combine it with kernel26-git.


pkgbase="mesa-git"
pkgname=('mesa-git' 'libgl-git' 'ati-dri-git')
pkgver=20091124
_realver=7.7
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')
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)

_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,r600 \
    --enable-glx-tls \
    --with-driver=dri \
    --enable-xcb \
    --disable-glut \
    --enable-gallium \
    --enable-gallium-radeon || return 1
    rm -f include/GL/glut*h

  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}")
  provides=("ati-dri=${_realver}")
  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
  make -C r600 DESTDIR="${pkgdir}" install || return 1
  
  cd "${srcdir}/${_gitname}-build/src/gallium/winsys/drm/radeon/egl"
  make DESTDIR="${pkgdir}" install || return 1
}
md5sums=('6ae05158e678f4594343f32c2ca50515'
         '9eddc02e23ec08295822911e726ae89a'
         '7ba429de367a2b3d273d2230cc705771')
md5sums=('6ae05158e678f4594343f32c2ca50515'
         'd892b4fbc37fadc0e07debcd4bdfa109'
         '7ba429de367a2b3d273d2230cc705771')

Offline

#237 2009-11-24 06:40:04

thieste
Member
Registered: 2009-05-28
Posts: 4

Re: Discussion: the ati/radeon open source drivers & radeon repository

Hi,

is there something to keep in mind, building the kernel26-git (special configuration e.g.)?

How can install the git kernel next to the current kernel. I don't want to replace the "stable one".

Offline

#238 2009-11-24 08:32:13

arti74
Member
From: Poland
Registered: 2009-10-21
Posts: 27

Re: Discussion: the ati/radeon open source drivers & radeon repository

Perry3D wrote:

At the moment i use this PKGBUILD for mesa-git, ati-dri-git and libgl-git. It will build these three packages at once and you can combine it with kernel26-git.


pkgbase="mesa-git"
pkgname=('mesa-git' 'libgl-git' 'ati-dri-git')
pkgver=20091124
_realver=7.7
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')
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)

_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,r600 \
    --enable-glx-tls \
    --with-driver=dri \
    --enable-xcb \
    --disable-glut \
    --enable-gallium \
    --enable-gallium-radeon || return 1
    rm -f include/GL/glut*h

  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}")
  provides=("ati-dri=${_realver}")
  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
  make -C r600 DESTDIR="${pkgdir}" install || return 1
  
  cd "${srcdir}/${_gitname}-build/src/gallium/winsys/drm/radeon/egl"
  make DESTDIR="${pkgdir}" install || return 1
}
md5sums=('6ae05158e678f4594343f32c2ca50515'
         '9eddc02e23ec08295822911e726ae89a'
         '7ba429de367a2b3d273d2230cc705771')
md5sums=('6ae05158e678f4594343f32c2ca50515'
         'd892b4fbc37fadc0e07debcd4bdfa109'
         '7ba429de367a2b3d273d2230cc705771')

Unfortunately I've got:

==> ERROR: mesa-7.1-link-shared.patch was not found in the build directory and is not a URL.
Error: Makepkg was unable to build mesa-git package.

Maybe this is some bull$, but I can't get through this...

Offline

#239 2009-11-24 08:36:52

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

Re: Discussion: the ati/radeon open source drivers & radeon repository

thieste wrote:

How can install the git kernel next to the current kernel. I don't want to replace the "stable one".

I don't know if you can replace the git-kernel so easy. It's not replaced here.

Offline

#240 2009-11-24 13:42:46

philacorns
Member
From: Beijing
Registered: 2009-01-25
Posts: 21

Re: Discussion: the ati/radeon open source drivers & radeon repository

I just found it unnecessary to install xf86-video-ati-git and libdrm-git, the packages in extra works, all you have to install from git are ati-dri-git, libgl-git, mesa-git, kernel26-git, and kernel26-firmware-git. Please update the first post. By the way, I built git vesion mesa and kernel26, 3d and kms works on my hd3470, but a lot of screen garbage appears. I remember someone has met this issue but can't find where that post is, does anyone have some idea on this? ( the garbage disappears in the screenshot I took, so I can't give any image of the issue)

And one strange thing, I do have 3d now but the output of glxinfo says it's Software Rasterizer, not opengl:

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

Last edited by philacorns (2009-11-24 14:41:50)

Offline

#241 2009-11-24 15:25:27

jceasless
Member
Registered: 2009-04-20
Posts: 73

Re: Discussion: the ati/radeon open source drivers & radeon repository

arti74 wrote:
Perry3D wrote:

At the moment i use this PKGBUILD for mesa-git, ati-dri-git and libgl-git. It will build these three packages at once and you can combine it with kernel26-git.


pkgbase="mesa-git"
pkgname=('mesa-git' 'libgl-git' 'ati-dri-git')
pkgver=20091124
_realver=7.7
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')
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)

_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,r600 \
    --enable-glx-tls \
    --with-driver=dri \
    --enable-xcb \
    --disable-glut \
    --enable-gallium \
    --enable-gallium-radeon || return 1
    rm -f include/GL/glut*h

  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}")
  provides=("ati-dri=${_realver}")
  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
  make -C r600 DESTDIR="${pkgdir}" install || return 1
  
  cd "${srcdir}/${_gitname}-build/src/gallium/winsys/drm/radeon/egl"
  make DESTDIR="${pkgdir}" install || return 1
}
md5sums=('6ae05158e678f4594343f32c2ca50515'
         '9eddc02e23ec08295822911e726ae89a'
         '7ba429de367a2b3d273d2230cc705771')
md5sums=('6ae05158e678f4594343f32c2ca50515'
         'd892b4fbc37fadc0e07debcd4bdfa109'
         '7ba429de367a2b3d273d2230cc705771')

Unfortunately I've got:

==> ERROR: mesa-7.1-link-shared.patch was not found in the build directory and is not a URL.
Error: Makepkg was unable to build mesa-git package.

Maybe this is some bull$, but I can't get through this...

Confirmed. Mind sharing your patch with us?

Offline

#242 2009-11-24 15:34:08

jceasless
Member
Registered: 2009-04-20
Posts: 73

Re: Discussion: the ati/radeon open source drivers & radeon repository

Nevermind, I found it in the libgl-git AUR package:

http://aur.archlinux.org/packages/libgl … ared.patch

Offline

#243 2009-11-24 17:08:55

jceasless
Member
Registered: 2009-04-20
Posts: 73

Re: Discussion: the ati/radeon open source drivers & radeon repository

Okay, now I'm running into compile errors for xf86-video-ati-git

[...]
mv -f .deps/atombios_crtc.Tpo .deps/atombios_crtc.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I./AtomBios/includes  -Wall -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/drm -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/drm -I/usr/include/X11/dri -DDISABLE_EASF -DENABLE_ALL_SERVICE_FUNCTIONS -DATOM_BIOS -DATOM_BIOS_PARSER -DDRIVER_PARSER -march=x86-64 -mtune=generic -O2 -pipe -MT radeon_dri2.lo -MD -MP -MF .deps/radeon_dri2.Tpo -c -o radeon_dri2.lo radeon_dri2.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./AtomBios/includes -Wall -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/drm -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/drm -I/usr/include/X11/dri -DDISABLE_EASF -DENABLE_ALL_SERVICE_FUNCTIONS -DATOM_BIOS -DATOM_BIOS_PARSER -DDRIVER_PARSER -march=x86-64 -mtune=generic -O2 -pipe -MT radeon_dri2.lo -MD -MP -MF .deps/radeon_dri2.Tpo -c radeon_dri2.c  -fPIC -DPIC -o .libs/radeon_dri2.o
radeon_dri2.c: In function 'radeon_dri2_screen_init':
radeon_dri2.c:349: error: 'DRM_MAX_MINOR' undeclared (first use in this function)
radeon_dri2.c:349: error: (Each undeclared identifier is reported only once
radeon_dri2.c:349: error: for each function it appears in.)
make[2]: *** [radeon_dri2.lo] Error 1
make[2]: Leaving directory `/tmp/libdrm-git/glproto-git/dri2proto-git/libgl-git/mesa-git/ati-dri-git/xf86-video-ati-git/src/xf86-video-ati-build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/libdrm-git/glproto-git/dri2proto-git/libgl-git/mesa-git/ati-dri-git/xf86-video-ati-git/src/xf86-video-ati-build'
make: *** [all] Error 2
==> ERROR: Build Failed.
    Aborting...

Offline

#244 2009-11-24 17:58:10

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

Re: Discussion: the ati/radeon open source drivers & radeon repository

I get the same error. But i think this a known bug. The #define was removed yesterday: http://cgit.freedesktop.org/mesa/drm/co … b4c0a19b75
This bug is already known: http://www.radeonhd.org/?page=archive_d … 2009-11-24
I hope it will fixed soon.

@philacorns: i don't think so. And you are wondering why you get this garbage?

Offline

#245 2009-11-24 19:16:08

jceasless
Member
Registered: 2009-04-20
Posts: 73

Re: Discussion: the ati/radeon open source drivers & radeon repository

Curiously, I have everything installed but the xf86-video-ati-git package (for the obvious reason) and everything still works. So the drivers are "forward compatible" with the mesa, et al. changes to some extent.

glxinfo:

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes

However, I do not have the framebuffer whatsoever sad

I've added the radeon module to /etc/mkinitcpio.conf and regenerated the image but no framebuffer yet. Am I forgetting to do something?

Also, this sucks:

xvinfo:

X-Video Extension version 2.2
screen #0
 no adaptors present

Is this just because my drivers are not from git?

EDIT: DOH! Just found out from glxinfo its using the software rasterizer. The "old" drivers certainly do NOT work. Here's to hoping the git ati driver compiles again soon smile

Last edited by jceasless (2009-11-24 19:18:23)

Offline

#246 2009-11-24 20:05:26

Nuz
Member
From: Latvia
Registered: 2008-11-29
Posts: 50

Re: Discussion: the ati/radeon open source drivers & radeon repository

I have ATI radeon HD 4570 card in my laptop. I switched from catalyst to the drivers mentioned in this guide, yet I can't see any improvement. Performance weirdly has degraded, I can't even watch movies, cause there is some lag.
I tried setting nomodeset but it doesn't help.
Guess I'll get back to catalyst.


Arch64 | some tiling wm

Offline

#247 2009-11-24 23:14:05

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

Re: Discussion: the ati/radeon open source drivers & radeon repository

jceasless wrote:

Here's to hoping the git ati driver compiles again soon smile

There was a commit a few hours ago: http://cgit.freedesktop.org/mesa/drm/co … b3139b0d5f
It should be fixed. Just recompile libdrm-git.

@Nuz: For video rendering with the ati-driver use xv as output. If you have other problems give us some infos as mentioned in the first post.

Offline

#248 2009-11-24 23:50:22

elocal
Member
Registered: 2004-03-18
Posts: 54
Website

Re: Discussion: the ati/radeon open source drivers & radeon repository

scrolling is fast, xv works sweet, kms also works. haven't seen any artifacts yet. this is without compositing, tho.

EDIT:
Without Composite: You can see window trails when you resize a window.  Sometimes very minor artifacts can be seen around some UI components.

With Composite: moving a window leaves a trail, and there are major artifacts around the desktop.  Definitely not ready for a composite desktop yet.

Last edited by elocal (2009-11-25 00:01:39)

Offline

#249 2009-11-25 01:57:02

philacorns
Member
From: Beijing
Registered: 2009-01-25
Posts: 21

Re: Discussion: the ati/radeon open source drivers & radeon repository

@Perry3D: I got the garbage before I removed libdrm-git, glproto-git, and dri2proto-git. And I found xf86-video-ati in extra is already the git version.

Offline

#250 2009-11-25 11:00:26

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

Re: Discussion: the ati/radeon open source drivers & radeon repository

philacorns wrote:

@Perry3D: I got the garbage before I removed libdrm-git, glproto-git, and dri2proto-git. And I found xf86-video-ati in extra is already the git version.

And xf86-video-ati in extra is over a month old. And i don't think it is good to use different versions of the packages. So i don't change the howto in the first post to your proposal.

Offline

Board footer

Powered by FluxBB