You are not logged in.

#1026 2009-11-11 20:06:40

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

Re: The AMD/ATI Bar & Grill

Right, I've got a Lenovo U330 here with both ATI Radeon Mobility 3450 and Intel 4500MHD (switchable). The open source intel drivers work nice and give me great mobility and I use Catalyst 9.10 when stationary. (BTW. if anyone's interested in my method of switching between the drivers [script-based autodetection] and GL libraries, PM me)

Today I've decided to give it a try with XvBa (http://www.phoronix.com/forums/showthre … 83&page=21) to see how it works. I didn't really have any expectations because all of the guys said there that it's targeted ad Radeon 4xxxs not 3xxx. Nevertheless, I've compiled and installed the following packages from AUR (unfortunately they're x86-64 only):

libva-sds 0.31.0_1_7-2
xvba-video 0.5.1-1
mplayer-vaapi-pulse 20091015-1

And TADAM...:

neuro@hermes:~$ vainfo
libva: libva version 0.31.0-sds3
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA API - 0.5.1
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointIDCT
      VAProfileMPEG2Main              : VAEntrypointIDCT
      VAProfileH264High               : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD

I've tried the mplayer -vo vaapi:gl -va vaapi <uri> mode on a couple of h.264 720p movies I've got and the CPU usage of mplayer rarely exceeded 7%. With non-accelerated decoding it goes around 50-60% spiking up to 90% sometimes.

I'm genuinly shocked... the thing just worked on hardware it wasn't supposed to. The only drawback as far as I can tell, is that you can't display OSD nor the subtitles in mplayer, as vaapi video output doesn't support overlays... yet smile

So, three cheers to AMD/ATI for providing something that works decently smile Hope to improvements in the near future smile

Offline

#1027 2009-11-11 20:15:16

rissajeanne
Member
Registered: 2009-11-10
Posts: 15

Re: The AMD/ATI Bar & Grill

Alright, I've got the catalyst drivers configured and working (I reinstalled catalyst and closely followed the configuration tips here: http://wiki.archlinux.org/index.php/ATI … uration_2)

Here's what I put in pacman.conf:

IgnorePkg   = xorg xorg-server xf86-input-evdev xf86-input-keyboard xf86-input-mouse

I ran pacman -Syu, and here's what it wants to update:

kernel-headers-2.6.31.5-1  glibc-2.11-1  binutils-2.20-2  bzip2-1.0.5-5  dhcpcd-5.1.3-1  fakeroot-1.14.3-1  gcc-4.4.2-3  gcc-libs-4.4.2-3  hal-0.5.13-3  kernel26-2.6.31.6-1  libcups-1.4.2-1  sqlite3-3.6.20-1

Anybody know of any reason I shouldn't update any of these?

Offline

#1028 2009-11-11 20:52:11

Celeblin
Member
Registered: 2008-12-02
Posts: 20

Re: The AMD/ATI Bar & Grill

rissajeanne wrote:

Anybody know of any reason I shouldn't update any of these?

I just updated all that packages with no problems. After installing the kernel, and before rebooting, I reinstalled catalyst and catalyst-utils from AUR and everything is working fine.

Last edited by Celeblin (2009-11-11 20:54:13)

Offline

#1029 2009-11-11 21:01:34

rissajeanne
Member
Registered: 2009-11-10
Posts: 15

Re: The AMD/ATI Bar & Grill

Celeblin wrote:

I just updated all that packages with no problems. After installing the kernel, and before rebooting, I reinstalled catalyst and catalyst-utils from AUR and everything is working fine.

Thanks Celeblin!

Offline

#1030 2009-11-11 21:05:40

rissajeanne
Member
Registered: 2009-11-10
Posts: 15

Re: The AMD/ATI Bar & Grill

Celeblin wrote:

After installing the kernel, and before rebooting, I reinstalled catalyst and catalyst-utils from AUR and everything is working fine.

Do you mean after running pacman -Syu, you had to reinstall catalyst? Or was this after your initial Arch installation? I won't have to reinstall the catalyst drivers every time I update, correct?

Offline

#1031 2009-11-11 21:26:50

Celeblin
Member
Registered: 2008-12-02
Posts: 20

Re: The AMD/ATI Bar & Grill

rissajeanne wrote:

Do you mean after running pacman -Syu, you had to reinstall catalyst? Or was this after your initial Arch installation? I won't have to reinstall the catalyst drivers every time I update, correct?

Mmm, I'm not sure if is necessary, but I always reinstall catalyst and catalyst-utils after a kernel or xorg update. I had a problem of black screen time ago and reinstalling catalyst were solved.

Offline

#1032 2009-11-11 22:47:50

handy
Member
From: Oz
Registered: 2008-03-26
Posts: 719

Re: The AMD/ATI Bar & Grill

@rissajeanne:  You don't need to have xorg in your IgnorePkg = line.

The following works fine for most people:

IgnorePkg  = xf86-video-vesa xorg-server xf86-input-evdev xf86-input-keyboard xf86-input-mouse

Last edited by handy (2009-11-11 22:48:08)


I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!

Offline

#1033 2009-11-11 23:07:16

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,349
Website

Re: The AMD/ATI Bar & Grill

@Neuro:
LOL, thats pretty nice big_smile and working good on my 4850. Thanks
With that i expected to experience some video v-sync (no-flickering), but nooo... amd strategy constant must be  ;P
Edit: v-sync is working! only need to turn it on @ amdcccle ... now thats nice!

Last edited by Vi0L0 (2009-11-11 23:30:24)

Offline

#1034 2009-11-12 04:09:15

ukreator
Member
From: Russia
Registered: 2009-11-12
Posts: 3

Re: The AMD/ATI Bar & Grill

@Neuro:

It's working on my mobile hd3450 too! Thank for this point!

Unfortunately, mplayer crashes on some video files, but i hope they will fix it

Offline

#1035 2009-11-12 06:16:58

Caetel
Member
Registered: 2009-11-09
Posts: 3

Re: The AMD/ATI Bar & Grill

guzz46 wrote:

pacman -Rd libgl

removes packages without checking for dependencies

Thanks. smile I got it installed, but it looks like for whatever reason the catalyst driver doesn't like my system, after starting xorg it loads to a black screen.

Offline

#1036 2009-11-12 06:36:03

handy
Member
From: Oz
Registered: 2008-03-26
Posts: 719

Re: The AMD/ATI Bar & Grill

Caetel wrote:
guzz46 wrote:

pacman -Rd libgl

removes packages without checking for dependencies

Thanks. smile I got it installed, but it looks like for whatever reason the catalyst driver doesn't like my system, after starting xorg it loads to a black screen.

I know, I'm a bit of a broken record lately in this thread, but due to my having the time it is me instead of someone else saying it (I think/hope?).

So:

Have you done the following in /etc/pacman.conf all on one line of course?

IgnorePkg  = xf86-video-vesa xorg-server xf86-input-evdev xf86-input-keyboard xf86-input-mouse

If you have a notebook then you will most likely need to add the following package to the above:  xf86-input-synaptics

Now if you have done that, & you still have problems, quite likely because you had upgraded xorg before trying to get out of this situation.  Have a look at doorknob60's post:

http://bbs.archlinux.org/viewtopic.php? … 01#p652201

as it shows a way that apparently is an easy recovery for those that have already upgraded xorg, & possibly for other (dependency) problems too.

Good luck smile

[Edit:] Also, I'll add, some people have found that reinstalling catalyst solves their Linux black screen of death.

Last edited by handy (2009-11-12 06:37:48)


I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!

Offline

#1037 2009-11-12 06:50:22

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

Re: The AMD/ATI Bar & Grill

ukreator wrote:

@Neuro:

It's working on my mobile hd3450 too! Thank for this point!

Unfortunately, mplayer crashes on some video files, but i hope they will fix it

That's strange. I've tried ~10 files and all of them worked.

The only drawbacks I can see right now:
- no OSB = no subtitles... I hope they introduce overlays soon
- the colours seem to drift into greenish/redish with time (around 1-2 minutes), then suddenly the blue saturation reappears and the colour is correct again. On the phoronix forum someone said that this appears only on 64bit machines and 32bits don't have the problem.

I hope that they keep on the xvba <> va-api wrapper to fix the bugs smile

Offline

#1038 2009-11-12 22:52:30

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: The AMD/ATI Bar & Grill

If find it strage that I can't just put

xorg

in the...

IgnoreGroup = xorg

That shoud work rigt? xorg is the Group with all the Xorg pacages. ? Or why no IgnorePkg = xorg ... If xorg is a meta-package ?


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#1039 2009-11-12 23:25:59

handy
Member
From: Oz
Registered: 2008-03-26
Posts: 719

Re: The AMD/ATI Bar & Grill

I think that in probably his first post on this incompatibility  ViOLO, stated that the group thing doesn't work.

Try it, maybe you can get it to work?


I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!

Offline

#1040 2009-11-12 23:41:44

handy
Member
From: Oz
Registered: 2008-03-26
Posts: 719

Re: The AMD/ATI Bar & Grill

Someone has marked Catalyst 9.10 out of date at AUR?

I just had a look on the ATi driver download page, & it is still 9.10.


I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!

Offline

#1041 2009-11-13 01:44:59

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,349
Website

Re: The AMD/ATI Bar & Grill

handy wrote:

Someone has marked Catalyst 9.10 out of date at AUR?

I just had a look on the ATi driver download page, & it is still 9.10.

I have done some research (google search tongue), and... there is a 9.11, look:
http://news.ati-forum.de/index.php/news … x-exklusiv
http://www.phoronix.com/forums/showthread.php?p=99647
Unfortunetly without xorg 1.7 support sad - im guessing, since its not listed on list of changes

one of comments says: "Well, the site claims this is the final version so I guess this is the same that will be released officially shortly"

BUT there's no official confirmation is it final version, so you may wait, after official release I will check all and post new packages if necessary.
This driver is numbered as 8.672
Working good for me, well actually it's like 9.10... (looks like i need to rebuild files mentioned by Neuro to get XvBA works again, cuz after catalyst update they arent working sad, but i dont have time for this now and i cannot confirm how XvBA working on this driver)
I also have no time to confirm is it really dont support xorg-server 1.7 hmm
Edit: Confirmed. Doesn't work with xorg-server 1.7, still same error:

dlopen: /usr/lib/xorg/modules/drivers/fglrx_drv.so: undefined symbol: resVgaShared
(EE) Failed to load /usr/lib/xorg/modules/drivers/fglrx_drv.so

My kde4 is faster? Strange, ive got to be really sleepy...

Here are packages builded on 2.6.31-ARCH (yes, catalyst and catalyst-utils in one package):
x86_64:   http://www.mediafire.com/?md4nqymjngc   (25.95 MB)  md5sum: e20adeabc75d5ef9a0b33c735e1426d1
i686:        http://www.mediafire.com/?ctzkmnqtyq1    (26.02 MB)  md5sum: 5f30b205c5a23c3cb9e79636c7df99f5


Here's PKGBUILD:

_kernver=`uname -r`

pkgname=catalyst
pkgver=9.11
pkgrel=1
pkgdesc="AMD/ATI beta drivers for Radeon brand cards. Stock kernel"
arch=('i686' 'x86_64')
url="http://www.ati.amd.com"
license=('custom')
depends=('kernel26>=2.6.29' 'kernel26<2.6.32' 'netkit-bsd-finger' \
'libstdc++5' 'libxrandr' 'libsm' 'fontconfig' 'libxcursor' 'libxi' 'gcc-libs')
conflicts=('catalyst' 'catalyst-utils' 'nvidia' 'libgl' 'catalyst-leaked')
provides=('catalyst' 'libgl')
install=catalyst.install
source=(http://www.ati-forum.de/files/Downloads/Driver/ati-driver-installer-9-11-x86.x86_64.zip
    catalyst.sh amdcccle.desktop atieventsd.sh)
md5sums=('32ec9b504165d811459fe4973fd1e9ad'
     'bdafe749e046bfddee2d1c5e90eabd83'
         '4efa8414a8fe9eeb50da38b5522ef81d'
         'f729bf913613f49b0b9759c246058a87')

build() {
/bin/sh ./ati-driver-installer-${pkgver/./-}-x86.x86_64.run --extract archive_files

##Build kernel modules

if [ "${CARCH}" = "x86_64" ]; then
BUILDARCH=x86_64
_archdir=x86_64
fi
if [ "${CARCH}" = "i686" ]; then
BUILDARCH=i386
_archdir=x86
fi

cd "${srcdir}/archive_files/common/lib/modules/fglrx/build_mod"
cp "${srcdir}/archive_files/arch/${_archdir}/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4" . || return 1
cp 2.6.x/Makefile . || return 1

make -C /lib/modules/${_kernver}/build SUBDIRS="`pwd`" ARCH=${BUILDARCH} modules || return 1

install -m755 -d "${pkgdir}/lib/modules/${_kernver}/video/"
install -m644 fglrx.ko "${pkgdir}/lib/modules/${_kernver}/video/" || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"

sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/" $startdir/*.install

##Install catalyst utilities

# Create directories
install -m755 -d "${pkgdir}/etc/ati"
install -m755 -d "${pkgdir}/etc/rc.d"
install -m755 -d "${pkgdir}/etc/profile.d"
install -m755 -d "${pkgdir}/etc/acpi/events"

install -m755 -d "${pkgdir}/usr/lib/xorg/modules/dri"
install -m755 -d "${pkgdir}/usr/lib/xorg/modules/drivers"
install -m755 -d "${pkgdir}/usr/lib/xorg/modules/extensions"
install -m755 -d "${pkgdir}/usr/lib/xorg/modules/linux"

install -m755 -d "${pkgdir}/usr/bin"
install -m755 -d "${pkgdir}/usr/sbin"

install -m755 -d "${pkgdir}/usr/include/X11/extensions"
install -m755 -d "${pkgdir}/usr/include/GL"

install -m755 -d "${pkgdir}/usr/share/applications"
install -m755 -d "${pkgdir}/usr/share/ati/amdcccle"
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m755 -d "${pkgdir}/usr/share/man/man8"
install -m755 -d "${pkgdir}/usr/share/pixmaps"

# X driver installation
if [ "${CARCH}" = "i686" ]; then
cd "${srcdir}/archive_files/x740/usr/X11R6/lib/modules" || return 1
elif [ "${CARCH}" = "x86_64" ]; then
cd "${srcdir}/archive_files/x740_64a/usr/X11R6/lib64/modules" || return 1
fi

install -m644 *.a "${pkgdir}/usr/lib/xorg/modules/" || return 1
install -m755 *.so "${pkgdir}/usr/lib/xorg/modules/" || return 1
install -m755 drivers/*.so "${pkgdir}/usr/lib/xorg/modules/drivers/" || return 1
install -m755 linux/*.so "${pkgdir}/usr/lib/xorg/modules/linux/" || return 1
install -m755 extensions/libglx.so "${pkgdir}/usr/lib/xorg/modules/extensions/" || return 1
install -m755 extensions/libdri.so "${pkgdir}/usr/lib/xorg/modules/extensions/libdri.ati" || return 1

# Controlcenter / library installation
if [ "${CARCH}" = "i686" ]; then
cd "${srcdir}/archive_files/arch/x86/usr" || return 1
_lib=lib
elif [ "${CARCH}" = "x86_64" ]; then
cd "${srcdir}/archive_files/arch/x86_64/usr" || return 1
_lib=lib64
fi

install -m755 X11R6/bin/* "${pkgdir}/usr/bin/" || return 1
install -m755 sbin/* "${pkgdir}/usr/sbin/" || return 1
install -m755 X11R6/${_lib}/*.so* "${pkgdir}/usr/lib/" || return 1
install -m644 X11R6/${_lib}/*.a "${pkgdir}/usr/lib/" || return 1 # really needed?
install -m644 X11R6/${_lib}/*.cap "${pkgdir}/usr/lib/" || return 1
install -m755 X11R6/${_lib}/modules/dri/*.so "${pkgdir}/usr/lib/xorg/modules/dri/" || return 1
install -m755 ${_lib}/*.so "${pkgdir}/usr/lib/" || return 1

ln -sf /usr/lib/xorg/modules/dri ${pkgdir}/usr/lib/dri
ln -sf libfglrx_dm.so.1.0 "${pkgdir}/usr/lib/libfglrx_dm.so.1"
ln -sf libfglrx_pp.so.1.0 "${pkgdir}/usr/lib/libfglrx_pp.so.1"
ln -sf libfglrx_tvout.so.1.0 "${pkgdir}/usr/lib/libfglrx_tvout.so.1"
ln -sf libfglrx_gamma.so.1.0 "${pkgdir}/usr/lib/libfglrx_gamma.so.1"
ln -sf libGL.so.1.2 "${pkgdir}/usr/lib/libGL.so.1"
ln -sf libGL.so.1.2 "${pkgdir}/usr/lib/libGL.so"

cd "${srcdir}"/archive_files/common
install -m644 etc/ati/* "${pkgdir}/etc/ati/" || return 1
chmod 755 "${pkgdir}/etc/ati/authatieventsd.sh" || return 1

install -m644 usr/X11R6/include/X11/extensions/*.h "${pkgdir}/usr/include/X11/extensions/" || return 1
install -m644 usr/X11R6/bin/amdupdaterandrconfig "${pkgdir}/usr/bin/" || return 1
install -m644 usr/include/GL/*.h "${pkgdir}/usr/include/GL/" || return 1
install -m755 usr/sbin/*.sh "${pkgdir}/usr/sbin/" || return 1
install -m644 usr/share/ati/amdcccle/* "${pkgdir}/usr/share/ati/amdcccle/" || return 1 # ? what are these files for?
# install -m644 usr/share/gnome/apps/amdcccle.desktop "${pkgdir}/usr/share/applications/" || return 1
install -m644 usr/share/icons/*.xpm "${pkgdir}/usr/share/pixmaps/" || return 1
install -m644 usr/share/man/man8/*.8 "${pkgdir}/usr/share/man/man8/" || return 1
install -m644 "${srcdir}/amdcccle.desktop" "${pkgdir}/usr/share/applications/" || return 1

# ACPI example files
install -m755 usr/share/doc/fglrx/examples/etc/acpi/*.sh "${pkgdir}/etc/acpi/" || return 1
sed -i -e 's/usr\/X11R6/usr/g' "${pkgdir}/etc/acpi/ati-powermode.sh" || return 1
install -m644 usr/share/doc/fglrx/examples/etc/acpi/events/* "${pkgdir}/etc/acpi/events/" || return 1

# Add ATI Events Daemon launcher
install -m755 "${srcdir}/atieventsd.sh" "${pkgdir}/etc/rc.d/atieventsd" || return 1

# thanks to cerebral, we dont need that damned symlink
install -m755 "${srcdir}/catalyst.sh" "${pkgdir}/etc/profile.d/" || return 1

# License
install -m644 "${srcdir}/archive_files/ATI_LICENSE.TXT" "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}

and here's catalyst.install

KERNEL_VERSION=`uname -r`

pre_install() {
  cp /usr/lib/xorg/modules/extensions/libdri.so /usr/lib/xorg/modules/extensions/libdri.xorg
}

post_install() {
  depmod $KERNEL_VERSION
  rm -f usr/lib/xorg/modules/extensions/libdri.so
  ln -sf libdri.ati usr/lib/xorg/modules/extensions/libdri.so
  echo "--------------------------------------------------------------"
  echo "You can use the tool 'aticonfig' to generate an xorg.conf file."
  echo "Remember to add fglrx to the MODULES list in /etc/rc.conf."
  echo "--------------------------------------------------------------"
}

post_upgrade() {
  depmod $KERNEL_VERSION
  rm -f usr/lib/xorg/modules/extensions/libdri.so
  ln -sf libdri.ati usr/lib/xorg/modules/extensions/libdri.so
}

post_remove() {
  depmod $KERNEL_VERSION
  # If the symlink is dead, remove it
  if [ ! -e usr/lib/xorg/modules/extensions/libdri.so ]; then
    rm -f usr/lib/xorg/modules/extensions/libdri.so
    ln -sf libdri.xorg usr/lib/xorg/modules/extensions/libdri.so
  fi
  echo "NOTE: Don't forget to recover your original xorg.conf file."
}

other files mentioned in PKGBUILD you may download from 9.10 AUR

Last edited by Vi0L0 (2009-11-13 12:20:03)

Offline

#1042 2009-11-15 19:26:18

Caetel
Member
Registered: 2009-11-09
Posts: 3

Re: The AMD/ATI Bar & Grill

handy wrote:

I know, I'm a bit of a broken record lately in this thread, but due to my having the time it is me instead of someone else saying it (I think/hope?).

So:

Have you done the following in /etc/pacman.conf all on one line of course?

IgnorePkg  = xf86-video-vesa xorg-server xf86-input-evdev xf86-input-keyboard xf86-input-mouse

If you have a notebook then you will most likely need to add the following package to the above:  xf86-input-synaptics

Now if you have done that, & you still have problems, quite likely because you had upgraded xorg before trying to get out of this situation.  Have a look at doorknob60's post:

http://bbs.archlinux.org/viewtopic.php? … 01#p652201

as it shows a way that apparently is an easy recovery for those that have already upgraded xorg, & possibly for other (dependency) problems too.

Good luck smile

[Edit:] Also, I'll add, some people have found that reinstalling catalyst solves their Linux black screen of death.

I've added the IgnorePkg line and installed the relevant packages from a fresh install before any xorg has been installed and tried the repository method with no success. sad

I don't have a notebook although, and I don't know if it's at all relevant, lspci lists my card as a Mobility Radeon

I suggested that it's possibly some sort of issue with the system as installing catalyst on Ubuntu lead to the same issue.

Offline

#1043 2009-11-15 23:43:45

handy
Member
From: Oz
Registered: 2008-03-26
Posts: 719

Re: The AMD/ATI Bar & Grill

@Caetel:  I'm sorry to hear that.

I do hope someone else here with more knowledge than me (which isn't much wink) takes up the problem with you & follows it through to hopefully a positive conclusion.

It's such a pain when we get blocked by a hardware issue.


I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!

Offline

#1044 2009-11-16 20:43:26

Felagund
Member
Registered: 2009-08-02
Posts: 3

Re: The AMD/ATI Bar & Grill

Hi guys!!!
I'm running Arch in my laptop with an ati hd 2600 (with catalyst 9.8 whit the kernel 2.6.31... thanks ViOLO!!!) but I have a little problem annoying me, none of the newest drivers (after 9.8) give me 3D effects. I tried with the drivers uploaded by ViOLO, I can install them (with pacman -U .....), but they failed when I tried to activate composite in kwin... any idea?... thanks in advance.

Offline

#1045 2009-11-17 13:57:57

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,349
Website

Re: The AMD/ATI Bar & Grill

Felagund wrote:

Hi guys!!!
I'm running Arch in my laptop with an ati hd 2600 (with catalyst 9.8 whit the kernel 2.6.31... thanks ViOLO!!!) but I have a little problem annoying me, none of the newest drivers (after 9.8) give me 3D effects. I tried with the drivers uploaded by ViOLO, I can install them (with pacman -U .....), but they failed when I tried to activate composite in kwin... any idea?... thanks in advance.

You may always try "control" method - when using catalyst 9.8 make the backup of file /etc/ati/control and restore it after installing new catalyst driver (overwrite newer one with 9.8 one).

Offline

#1046 2009-11-18 00:01:24

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,349
Website

Re: The AMD/ATI Bar & Grill

Catalyst 9.11 has been oficially released, and it's numbered as 8.671, strange... this number is lower than driver from ati-forum:)

Edit: It looks like ati-forum driver really is newer then officially released!
2d driver is in same version (and same as catalyst-opencl-beta), but OpenGL library is older in officiall - 2.1.9116 is in official, 2.1.9117 is in ati-forum smile
XvBa doesn't work for me here sad
Looks like opencl support has been added, but with the same version as it was in catalyst-opencl-beta so it also doesn't work on my 4850 sad

In that facts I don't know is publishing of builded packages necessary?
If anybody want it - i can upload it, just ask.

But i belive it's better to overwrite PKGBUILD on AUR with that official one:

_kernver=`uname -r`

pkgname=catalyst
pkgver=9.11
pkgrel=1
pkgdesc="AMD/ATI beta drivers for Radeon brand cards. Stock kernel"
arch=('i686' 'x86_64')
url="http://www.ati.amd.com"
license=('custom')
depends=('xorg-server<1.7.0' 'kernel26>=2.6.29' 'kernel26<2.6.32' 'netkit-bsd-finger' \
'libstdc++5' 'libxrandr' 'libsm' 'fontconfig' 'libxcursor' 'libxi' 'gcc-libs')
conflicts=('catalyst' 'catalyst-utils' 'nvidia' 'libgl' 'catalyst-leaked')
provides=('catalyst' 'libgl')
install=catalyst.install
source=(http://www2.ati.com/drivers/linux/ati-driver-installer-${pkgver/./-}-x86.x86_64.run
    catalyst.sh amdcccle.desktop atieventsd.sh)
md5sums=('88f2aa9b479b53bf0b550faf9f80f45d'
     'bdafe749e046bfddee2d1c5e90eabd83'
         '4efa8414a8fe9eeb50da38b5522ef81d'
         'f729bf913613f49b0b9759c246058a87')

build() {
/bin/sh ./ati-driver-installer-${pkgver/./-}-x86.x86_64.run --extract archive_files

##Build kernel modules

if [ "${CARCH}" = "x86_64" ]; then
BUILDARCH=x86_64
_archdir=x86_64
fi
if [ "${CARCH}" = "i686" ]; then
BUILDARCH=i386
_archdir=x86
fi

cd "${srcdir}/archive_files/common/lib/modules/fglrx/build_mod"
cp "${srcdir}/archive_files/arch/${_archdir}/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4" . || return 1
cp 2.6.x/Makefile . || return 1

make -C /lib/modules/${_kernver}/build SUBDIRS="`pwd`" ARCH=${BUILDARCH} modules || return 1

install -m755 -d "${pkgdir}/lib/modules/${_kernver}/video/"
install -m644 fglrx.ko "${pkgdir}/lib/modules/${_kernver}/video/" || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"

sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/" $startdir/*.install

##Install catalyst utilities

# Create directories
install -m755 -d "${pkgdir}/etc/ati"
install -m755 -d "${pkgdir}/etc/rc.d"
install -m755 -d "${pkgdir}/etc/profile.d"
install -m755 -d "${pkgdir}/etc/acpi/events"

install -m755 -d "${pkgdir}/usr/lib/xorg/modules/dri"
install -m755 -d "${pkgdir}/usr/lib/xorg/modules/drivers"
install -m755 -d "${pkgdir}/usr/lib/xorg/modules/extensions"
install -m755 -d "${pkgdir}/usr/lib/xorg/modules/linux"

install -m755 -d "${pkgdir}/usr/bin"
install -m755 -d "${pkgdir}/usr/sbin"

install -m755 -d "${pkgdir}/usr/include/X11/extensions"
install -m755 -d "${pkgdir}/usr/include/GL"

install -m755 -d "${pkgdir}/usr/share/applications"
install -m755 -d "${pkgdir}/usr/share/ati/amdcccle"
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m755 -d "${pkgdir}/usr/share/man/man8"
install -m755 -d "${pkgdir}/usr/share/pixmaps"

# X driver installation
if [ "${CARCH}" = "i686" ]; then
cd "${srcdir}/archive_files/x740/usr/X11R6/lib/modules" || return 1
elif [ "${CARCH}" = "x86_64" ]; then
cd "${srcdir}/archive_files/x740_64a/usr/X11R6/lib64/modules" || return 1
fi

install -m644 *.a "${pkgdir}/usr/lib/xorg/modules/" || return 1
install -m755 *.so "${pkgdir}/usr/lib/xorg/modules/" || return 1
install -m755 drivers/*.so "${pkgdir}/usr/lib/xorg/modules/drivers/" || return 1
install -m755 linux/*.so "${pkgdir}/usr/lib/xorg/modules/linux/" || return 1
install -m755 extensions/libglx.so "${pkgdir}/usr/lib/xorg/modules/extensions/" || return 1
install -m755 extensions/libdri.so "${pkgdir}/usr/lib/xorg/modules/extensions/libdri.ati" || return 1

# Controlcenter / library installation
if [ "${CARCH}" = "i686" ]; then
cd "${srcdir}/archive_files/arch/x86/usr" || return 1
_lib=lib
elif [ "${CARCH}" = "x86_64" ]; then
cd "${srcdir}/archive_files/arch/x86_64/usr" || return 1
_lib=lib64
fi

install -m755 X11R6/bin/* "${pkgdir}/usr/bin/" || return 1
install -m755 sbin/* "${pkgdir}/usr/sbin/" || return 1
install -m755 X11R6/${_lib}/*.so* "${pkgdir}/usr/lib/" || return 1
install -m644 X11R6/${_lib}/*.a "${pkgdir}/usr/lib/" || return 1 # really needed?
install -m644 X11R6/${_lib}/*.cap "${pkgdir}/usr/lib/" || return 1
install -m755 X11R6/${_lib}/modules/dri/*.so "${pkgdir}/usr/lib/xorg/modules/dri/" || return 1
install -m755 ${_lib}/*.so "${pkgdir}/usr/lib/" || return 1

ln -sf /usr/lib/xorg/modules/dri ${pkgdir}/usr/lib/dri
ln -sf libfglrx_dm.so.1.0 "${pkgdir}/usr/lib/libfglrx_dm.so.1"
ln -sf libfglrx_pp.so.1.0 "${pkgdir}/usr/lib/libfglrx_pp.so.1"
ln -sf libfglrx_tvout.so.1.0 "${pkgdir}/usr/lib/libfglrx_tvout.so.1"
ln -sf libfglrx_gamma.so.1.0 "${pkgdir}/usr/lib/libfglrx_gamma.so.1"
ln -sf libGL.so.1.2 "${pkgdir}/usr/lib/libGL.so.1"
ln -sf libGL.so.1.2 "${pkgdir}/usr/lib/libGL.so"

cd "${srcdir}"/archive_files/common
install -m644 etc/ati/* "${pkgdir}/etc/ati/" || return 1
chmod 755 "${pkgdir}/etc/ati/authatieventsd.sh" || return 1

install -m644 usr/X11R6/include/X11/extensions/*.h "${pkgdir}/usr/include/X11/extensions/" || return 1
install -m644 usr/X11R6/bin/amdupdaterandrconfig "${pkgdir}/usr/bin/" || return 1
install -m644 usr/include/GL/*.h "${pkgdir}/usr/include/GL/" || return 1
install -m755 usr/sbin/*.sh "${pkgdir}/usr/sbin/" || return 1
install -m644 usr/share/ati/amdcccle/* "${pkgdir}/usr/share/ati/amdcccle/" || return 1 # ? what are these files for?
# install -m644 usr/share/gnome/apps/amdcccle.desktop "${pkgdir}/usr/share/applications/" || return 1
install -m644 usr/share/icons/*.xpm "${pkgdir}/usr/share/pixmaps/" || return 1
install -m644 usr/share/man/man8/*.8 "${pkgdir}/usr/share/man/man8/" || return 1
install -m644 "${srcdir}/amdcccle.desktop" "${pkgdir}/usr/share/applications/" || return 1

# ACPI example files
install -m755 usr/share/doc/fglrx/examples/etc/acpi/*.sh "${pkgdir}/etc/acpi/" || return 1
sed -i -e 's/usr\/X11R6/usr/g' "${pkgdir}/etc/acpi/ati-powermode.sh" || return 1
install -m644 usr/share/doc/fglrx/examples/etc/acpi/events/* "${pkgdir}/etc/acpi/events/" || return 1

# Add ATI Events Daemon launcher
install -m755 "${srcdir}/atieventsd.sh" "${pkgdir}/etc/rc.d/atieventsd" || return 1

# thanks to cerebral, we dont need that damned symlink
install -m755 "${srcdir}/catalyst.sh" "${pkgdir}/etc/profile.d/" || return 1

# License
install -m644 "${srcdir}/archive_files/ATI_LICENSE.TXT" "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}

I have added xorg-server to dependencies again just to avoid more questions about "Does it support" smile

Last edited by Vi0L0 (2009-11-18 00:44:38)

Offline

#1047 2009-11-18 15:41:15

devadittya
Member
From: Bangalore
Registered: 2009-11-16
Posts: 127
Website

Re: The AMD/ATI Bar & Grill

I downloaded the tar that ViOlO posted. What commands do I need to use to install?  I am totally new to the makepkg system, so please excuse the newbie-ness.

Offline

#1048 2009-11-18 16:41:55

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,349
Website

Re: The AMD/ATI Bar & Grill

@devadittya:
for example:
pacman  -U downloads_directory/catalyst-9.11-1-x86_64.pkg.tar.gz

Offline

#1049 2009-11-18 17:43:15

devadittya
Member
From: Bangalore
Registered: 2009-11-16
Posts: 127
Website

Re: The AMD/ATI Bar & Grill

Thanks ViOLO.
So, this is what I am planning to do:
(1)Boot in terminal
(2)Uninstall libgl and radeonhd (Pacman -Rd)
(3)run pacman -U downloads_directory/catalyst-9.11-1-x86_64.pkg.tar.gz
(4)run aticonfig
(5)modprobe flxgl
(5)check xorg.conf
(6)In Pacman.conf do IgnorePkg  = xf86-video-vesa xorg-server xf86-input-evdev xf86-input-keyboard xf86-input-mouse
(7)Reboot.

Am I missing something? I am running xorg 1.7, do I need to uninstall that and install xorg 1.6?

Offline

#1050 2009-11-18 19:03:42

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,349
Website

Re: The AMD/ATI Bar & Grill

devadittya wrote:

Thanks ViOLO.
So, this is what I am planning to do:
(1)Boot in terminal
(2)Uninstall libgl and radeonhd (Pacman -Rd)
(3)run pacman -U downloads_directory/catalyst-9.11-1-x86_64.pkg.tar.gz
(4)run aticonfig
(5)modprobe flxgl
(5)check xorg.conf
(6)In Pacman.conf do IgnorePkg  = xf86-video-vesa xorg-server xf86-input-evdev xf86-input-keyboard xf86-input-mouse
(7)Reboot.

Am I missing something? I am running xorg 1.7, do I need to uninstall that and install xorg 1.6?

You may add fglrx to MODULES in /etc/rc.conf
You need to downgrade not only xorg-server but also this packages: xf86-video-vesa xf86-input-evdev xf86-input-keyboard xf86-input-mouse
and also xf86-input-synaptics if you are running arch on laptop.
Check this post http://bbs.archlinux.org/viewtopic.php? … 01#p652201 if you dont have older packages on your hdd (default pacman's download directory is /var/cache/pacman/pkg )
I recommend using xog-server-catalyst-maximize-fix http://aur.archlinux.org/packages.php?ID=26687 which works faster than not patched xorg-server, but with some artifacts (in fact its not as disturbing as it sounds, not on hd 4850 at least)

Ps. all local (stored locally on your hdd) packages you can
*remove with: pacman -Rd some_package.tar.gz
*add with: pacman -U patch_to_/some_package.tar.gz
But please remember that -d option in pacman -Rd means removing without dependency check, sometimes its better to run pacman -R and check dependencies on yuor own, which gives you knowledge to resolve some messy dependency problems which may happen after such removing  smile -  maybe not in this particular case, but its important. Im not trying to scare you, just be careful and aware

Last edited by Vi0L0 (2009-11-18 19:37:57)

Offline

Board footer

Powered by FluxBB