You are not logged in.

#1101 2009-12-08 16:50:25

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 866

Re: The AMD/ATI Bar & Grill

acmps wrote:

I've left the awful world of Catalyst for good. Now I'm using opensource drivers with kernel 2.6.32 and KMS enabled. One word description: AWESOME! HD videos - flawless... 3D games - no problems...

Using ATI Mobility HD3450.

Yes, but what about battery life? I care much more about that than about 3D and KMS, which are pretty useless if my laptop dies after one hour. I will switch to open drivers only when they will deliver a battery life comparable to that of Catalyst.

Last edited by snack (2009-12-08 16:50:48)

Offline

#1102 2009-12-08 19:19:20

Intrepid
Member
Registered: 2008-06-11
Posts: 254

Re: The AMD/ATI Bar & Grill

I'm using kernel 2.6.31 and have unfortunately switched to the radeonhd driver with xorg-server 1.7.1, with which 3d support doesn't work.  How did you guys get the 3D to work well?  Does upgrading the kernel to 2.6.32 help?  Does KMS even matter?

Last edited by Intrepid (2009-12-08 19:20:03)


Intrepid (adj.): Resolutely courageous; fearless.

Offline

#1103 2009-12-08 19:24:42

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

Re: The AMD/ATI Bar & Grill

Intrepid wrote:

I'm using kernel 2.6.31 and have unfortunately switched to the radeonhd driver with xorg-server 1.7.1, with which 3d support doesn't work.  How did you guys get the 3D to work well?  Does upgrading the kernel to 2.6.32 help?  Does KMS even matter?

Forget radeonhd.

Read the first post here http://bbs.archlinux.org/viewtopic.php?id=79509 and the last pages wink

Offline

#1104 2009-12-08 19:36:18

Intrepid
Member
Registered: 2008-06-11
Posts: 254

Re: The AMD/ATI Bar & Grill

@flamelab: thanks, I understand most of what I must do, but how do I get kernel 2.6.32?  Can I just abs core/kernel26 and change the basekernel to 2.6.32?  Or is there a specific kernel from the AUR I should use?  Thanks.

[edit] nevermind, I see the old post.  Thanks for your help.
[edit2] I'm using r600, is it ok for me to use xf86-video-ati-git?

Last edited by Intrepid (2009-12-08 19:51:18)


Intrepid (adj.): Resolutely courageous; fearless.

Offline

#1105 2009-12-08 20:34:55

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

Re: The AMD/ATI Bar & Grill

Intrepid wrote:

@flamelab: thanks, I understand most of what I must do, but how do I get kernel 2.6.32?  Can I just abs core/kernel26 and change the basekernel to 2.6.32?  Or is there a specific kernel from the AUR I should use?  Thanks.

[edit] nevermind, I see the old post.  Thanks for your help.
[edit2] I'm using r600, is it ok for me to use xf86-video-ati-git?

1) You get kernel 2.6.32 from testing.
2) The development from radeonhd is nearly standing still. Xf86-video-ati is for all radeon cards, provides more features (KMS for example) and is still under development: http://wiki.x.org/wiki/RadeonFeature vs. http://wiki.x.org/wiki/radeonhd%3Afeature

Offline

#1106 2009-12-09 03:14:37

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

Re: The AMD/ATI Bar & Grill

acmps wrote:

I've left the awful world of Catalyst for good. Now I'm using opensource drivers with kernel 2.6.32 and KMS enabled. One word description: AWESOME! HD videos - flawless... 3D games - no problems...

Using ATI Mobility HD3450.

Wow, glad to here it is coming along. I don't care about battery life. I only care about 3D and security. Anyone, know how well it is working on a

HD3650 ?

If I could get   ~50FPS in OpenArea or Nexuiz and be able to use Kwin. I'd switch.

Last edited by hunterthomson (2009-12-09 03:23:20)


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

Offline

#1107 2009-12-09 05:48:45

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

Re: The AMD/ATI Bar & Grill

Question, If you were going to build a new gaming system right now.

Would you buy an ATI graphics card again ?

-------

I vote No,   not now maybe in a year or so when the OpenDriver has full 3D support for new cards.

Last edited by hunterthomson (2009-12-09 05:49:27)


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

Offline

#1108 2009-12-09 06:12:37

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

Re: The AMD/ATI Bar & Grill

I turned around from recommending nVidia (I own both) about 4 or 5 months ago when I became aware that these big changes in open-source support were being implemented.

It is only just now, starting to sink in over at the Ubuntu forums that these changes are really happening.  Faster than I thought they would too. 

It looks to me to be happening many months faster than I expected, & I watch this stuff everyday, though not at the deep technical level.

I'm stoked!

Hopefully I'll be able to run my HD 2600 Pro with the best 2D (already available I know smile) & very usable 3D, under Arch, without using [testing] or .git, when kernel .33 hits stable in Arch? smile

Fingers crossed...

As far as buying a new ATi card, I'd research, & usually follow the policy of staying away from the cutting edge anyway, as it is too costly.  We all know that being a step or two behind when buying computer technology will save us a lot of money.

Last edited by handy (2009-12-09 06:15:33)


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

#1109 2009-12-09 10:04:19

acmps
Member
Registered: 2009-09-01
Posts: 44

Re: The AMD/ATI Bar & Grill

snack wrote:
acmps wrote:

I've left the awful world of Catalyst for good. Now I'm using opensource drivers with kernel 2.6.32 and KMS enabled. One word description: AWESOME! HD videos - flawless... 3D games - no problems...

Using ATI Mobility HD3450.

Yes, but what about battery life? I care much more about that than about 3D and KMS, which are pretty useless if my laptop dies after one hour. I will switch to open drivers only when they will deliver a battery life comparable to that of Catalyst.

Usually, with Catalyst and Wifi on my battery lasts about 1h30m. Now, with opensource drivers and with Wifi always on my battery lasts about 1h10m. I've read that there will be support for voltage adjusting in one of the next kernel/xf86-video-ati/mesa/etc... git updates.

Offline

#1110 2009-12-09 10:10:50

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 866

Re: The AMD/ATI Bar & Grill

acmps wrote:

Usually, with Catalyst and Wifi on my battery lasts about 1h30m. Now, with opensource drivers and with Wifi always on my battery lasts about 1h10m. I've read that there will be support for voltage adjusting in one of the next kernel/xf86-video-ati/mesa/etc... git updates.

I tried both radeon and radeonhd, my laptop got very hot with both of them, I couldn't keep it on my legs. Battery life was nearly a half (less than 2 hours instead of more than 3), but the heat was the big problem. It's been a while since I tried, maybe things are better nowadays but in the feature pages at X.org there's no news about powersave for both drivers. I hope things will get better soon, but it seems that Powerplay is hard to implement.

Offline

#1111 2009-12-11 07:01:46

oni5115
Member
Registered: 2009-01-10
Posts: 38

Re: The AMD/ATI Bar & Grill

I can't quite get Catalyst to compile yet. sad

loading package data...
checking dependencies...
error: replacing packages with -U is not supported yet
error: you can replace packages manually using -Rd and -U
error: failed to prepare transaction (conflicting dependencies)
:: catalyst: conflicts with libgl

I managed to downgrade tons of xf86-input-*, xf86-video-*, and xorg-server packages to pre 1.7 levels - basically everything earlier than Oct 2009.

I don't know what to do here though with Libgl, as I can't remove it, and it says it conflicts with the Catalyst driver.  Do I just need an older version of it as well?  Or am I missing something entirely?

For reference, I have an HD 5770, so I am fairly certain it won't work with any open source drivers at this time.  Catalyst is really the only option.

Offline

#1112 2009-12-11 07:32:25

jowilkin
Member
Registered: 2009-05-07
Posts: 243

Re: The AMD/ATI Bar & Grill

hunterthomson wrote:

Question, If you were going to build a new gaming system right now.

Would you buy an ATI graphics card again ?

-------

I vote No,   not now maybe in a year or so when the OpenDriver has full 3D support for new cards.

I'm running Linux computers with Nvidia, ATI, and Intel cards, and no way I would buy ATI right now.  The Nvidia drivers work very well and the ATI drivers are a nightmare.  Maybe the open source drivers will be up to par eventually, but by then it's time to buy a new card anyway.

Offline

#1113 2009-12-11 08:36:31

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 866

Re: The AMD/ATI Bar & Grill

oni5115 wrote:

I can't quite get Catalyst to compile yet. sad

loading package data...
checking dependencies...
error: replacing packages with -U is not supported yet
error: you can replace packages manually using -Rd and -U
error: failed to prepare transaction (conflicting dependencies)
:: catalyst: conflicts with libgl

I managed to downgrade tons of xf86-input-*, xf86-video-*, and xorg-server packages to pre 1.7 levels - basically everything earlier than Oct 2009.

I don't know what to do here though with Libgl, as I can't remove it, and it says it conflicts with the Catalyst driver.  Do I just need an older version of it as well?  Or am I missing something entirely?

For reference, I have an HD 5770, so I am fairly certain it won't work with any open source drivers at this time.  Catalyst is really the only option.

Force the removal of libgl with sudo pacman -Rd libgl before installing Catalyst. Catalyst will provide its own version of libgl, so you won't have any trouble with the packages which depend on libgl.

Offline

#1114 2009-12-11 09:40:38

oni5115
Member
Registered: 2009-01-10
Posts: 38

Re: The AMD/ATI Bar & Grill

I ran sudo pacman -Rd libg successfully.

Then I ran yaourt catalyst, and got the following:

(1/1) installing catalyst                           [#####################] 100%
--------------------------------------------------------------
You can use the tool 'aticonfig' to generate an xorg.conf file.
Remember to add fglrx to the MODULES list in /etc/rc.conf.
--------------------------------------------------------------
If you like this package, please install aurvote
and vote for its inclusion/keeping in [community]

missing dependency for ati-dri : libgl=7.6

Should probably update the notice to say aticonfig --initial, since that's what I had to do.  Regardless, I was able to open up the control center without any problems, and it recognizes my card ok so far.  It seems to be using the correct 1650x1080 resolution of my monitor.  big_smile

When I tried to run fusion-icon it blew up.  Just locked up, will have to see what else I can do.  I haven't touched the xorg.conf at all yet so it could very well be something in there is missing.

Just curious if the above message should be something I am concerned with, or if as mentioned before the catalyst driver will handle it.

Offline

#1115 2009-12-11 10:43:07

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: The AMD/ATI Bar & Grill

jowilkin wrote:

I'm running Linux computers with Nvidia, ATI, and Intel cards, and no way I would buy ATI right now.  The Nvidia drivers work very well and the ATI drivers are a nightmare.  Maybe the open source drivers will be up to par eventually, but by then it's time to buy a new card anyway.

3D is already quite impressive with mesa-git, libgl-git, xf86-video-ati-git and 2.6.32.
I guess they will be as good as catalyst in 2.6.33 which is soon to come.


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#1116 2009-12-11 11:09:16

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 866

Re: The AMD/ATI Bar & Grill

oni5115 wrote:

I ran sudo pacman -Rd libg successfully.

Then I ran yaourt catalyst, and got the following:

(1/1) installing catalyst                           [#####################] 100%
--------------------------------------------------------------
You can use the tool 'aticonfig' to generate an xorg.conf file.
Remember to add fglrx to the MODULES list in /etc/rc.conf.
--------------------------------------------------------------
If you like this package, please install aurvote
and vote for its inclusion/keeping in [community]

missing dependency for ati-dri : libgl=7.6

Should probably update the notice to say aticonfig --initial, since that's what I had to do.  Regardless, I was able to open up the control center without any problems, and it recognizes my card ok so far.  It seems to be using the correct 1650x1080 resolution of my monitor.  big_smile

When I tried to run fusion-icon it blew up.  Just locked up, will have to see what else I can do.  I haven't touched the xorg.conf at all yet so it could very well be something in there is missing.

Just curious if the above message should be something I am concerned with, or if as mentioned before the catalyst driver will handle it.

I'm still with Catalyst 9.10, and I never got that warning. In fact, I don't even have the ati-dri package on my system, and everything works fine, even 3D desktop effects. Maybe it's something related to open drivers?

Offline

#1117 2009-12-11 12:27:33

oni5115
Member
Registered: 2009-01-10
Posts: 38

Re: The AMD/ATI Bar & Grill

Well, I really don't know if that message was is an issue or not, but I was looking at how fusion-icon kept crashing and then it dawned on me to check if I had installed emerald.  Sure enough I had installed Compiz, ccsm, fusion-icon, and all that good stuff... but had forgotten emerald and emerald-themes. lol  Figures.

Everything seems to be ok so far.  Now to find something to replace that nVidia logo on the bottom of my Compiz cube.

Edit: I spoke too soon.  I decided to download and try out the Unigine Tropics benchmark and can't seem to get it working.  When I run it from the command line I get the following error.

---- Render ----
GLRender::GLRender(): Unknown ATI GPU
OpenGL vendor:   ATI Technologies Inc.
OpenGL renderer: ATI Radeon HD 5700 Series
OpenGL version:  1.4 (2.1.9116)

Unigine fatal error
Engine::init(): clear video settings for "ATI Radeon HD 5700 Series 1.4 (2.1.9116)"
GLRender::GLRender(): Unknown ATI GPU
GLRender::require_extension(): required extension GL_ARB_map_buffer_range is not supported

Last edited by oni5115 (2009-12-11 13:22:43)

Offline

#1118 2009-12-14 00:47:47

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

Re: The AMD/ATI Bar & Grill

-oni5115

Ya, you don't need that ati-dri. That is in fact for the Open driver. You can just remove it.

-----
As for the Compiz-Icon. I can only provide some similar situations that I have run into. The information may help you find your way to the answer even though it is not the answer itself.

I don't use Compiz. I use the KWIN effects though. (I have spent far to many hr's pulling my hair out over compiz even on my Intel card) When the Kwin effects are enabled. Some, Icons that show up in the System-Tray will cause my whole system to lock up. The System-Tray Icons for these applications are ones I can't use at all.

Kmail -Icon
KeePassX -Icon
..... Hum, there where some other one's too....

Disabling the Kwin effects solved the problem as well as disabling the System-Tray Icons for the offending Applications. Maybe someone who knows what processes these System-Tray Icons have in common  could say what is the likely reason for the lock up. They would also be able to say if the Compiz-Icon uses the same process. Maybe, I should report this to the Dev's but I can never figure out which Dev's to tell.... They probably already know....

Also, it seems that the "LockUp" did not cause hight CPU nor high RAM usage. It seems that it LockedUp the GPU itself or the Catalyst Driver or the Xserver.

Maybe what I said has nothing at all to do with your problem but I just thought that sometimes hearing other similar problems can give people new ideas.

Last edited by hunterthomson (2009-12-14 02:14:42)


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

Offline

#1119 2009-12-16 00:03:17

P3808
Member
From: Austria
Registered: 2009-11-02
Posts: 28

Re: The AMD/ATI Bar & Grill

hi, i've just a question. Since i have installed catalyst appears: ' /etc/rc.d/functions: line 200: /etc/rc.d/fglrx: No such file or directory ' at starting HAL in the Bootproces
Is this a problem? it doesn't appear a warning or something like that, its just the line under starting HAL [DONE]...
Sometimes also the effects at KDE don't start automaticly, could that be the reason?
thx for help...

Offline

#1120 2009-12-16 14:18:16

acmps
Member
Registered: 2009-09-01
Posts: 44

Re: The AMD/ATI Bar & Grill

P3808 wrote:

hi, i've just a question. Since i have installed catalyst appears: ' /etc/rc.d/functions: line 200: /etc/rc.d/fglrx: No such file or directory ' at starting HAL in the Bootproces
Is this a problem? it doesn't appear a warning or something like that, its just the line under starting HAL [DONE]...
Sometimes also the effects at KDE don't start automaticly, could that be the reason?
thx for help...

You have to add fglrx in MODULES line, not in DAEMONS.

Offline

#1121 2009-12-16 20:18:07

P3808
Member
From: Austria
Registered: 2009-11-02
Posts: 28

Re: The AMD/ATI Bar & Grill

ohhh ok^^ thx

Offline

#1122 2009-12-18 01:18:55

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

Re: The AMD/ATI Bar & Grill

ok,
so here is PKGBUILD for hotfix mentioned by agapito on catalyst AUR:

# Maintainer: Vi0L0 <vi0l093@gmail.com>

_kernver=`uname -r`

pkgname=catalyst
pkgver=9.12
pkgrel=2
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')

[ "${_kernver}" == "2.6.32-ARCH" ] && depends+=('kernel26-headers')

conflicts=('catalyst' 'catalyst-utils' 'nvidia' 'libgl' 'catalyst-leaked')
provides=('catalyst' 'libgl')
install=catalyst.install
source=(http://www2.ati.com/drivers/hotfix/Catalyst_9.12_Hotfix_Linux_8.682.2RC1_Dec15.zip
    catalyst.sh amdcccle.desktop atieventsd.sh patch.kcl_io.c)
md5sums=('c243ff34383d03eed567032dd679b962'
     'bdafe749e046bfddee2d1c5e90eabd83'
         '4efa8414a8fe9eeb50da38b5522ef81d'
         'f729bf913613f49b0b9759c246058a87'
         '8fe0f67e65b05fd484fd1ed30824ca4a')

build() {
cd ./fglrx-8.682.2
/bin/sh ./ati-driver-installer-8.682.2-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

# patching for 2.6.32, thanks m3thodic
if [ ${_kernver%-*} == "2.6.32" ]; then
patch -Np0 -i ${srcdir}/patch.kcl_io.c || return 1
fi

cd "${srcdir}/fglrx-8.682.2/archive_files/common/lib/modules/fglrx/build_mod"
cp "${srcdir}/fglrx-8.682.2/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}/fglrx-8.682.2/archive_files/x740/usr/X11R6/lib/modules" || return 1
elif [ "${CARCH}" = "x86_64" ]; then
cd "${srcdir}/fglrx-8.682.2/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}/fglrx-8.682.2/archive_files/arch/x86/usr" || return 1
_lib=lib
elif [ "${CARCH}" = "x86_64" ]; then
cd "${srcdir}/fglrx-8.682.2/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}/fglrx-8.682.2"/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}/fglrx-8.682.2/archive_files/ATI_LICENSE.TXT" "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}

right now for testing only
official site: http://support.amd.com/us/kbarticles/Pa … otfix.aspx

Edit:
This Hotfix should bring OpenCL support.
Theres a watermark on right bottom corner "Testing use only".


ITS ALIVE! ITS ALIVE! big_smile
its finally working! cal and opencl examples works good! With this hotfix driver. Im running kernel2.6.32-bfs x86_64 with own config here but this should work well on every kernel.
You just need to add kernel boot option "nopat" so fglrx's PAT implementation is used rather than linux's.
Thanks goes to dgolden from amd developer forum smile
NICE!

Old trick to remove this funny testing watermark is still working, just overwrite catalyst.install file with this one:

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 'd164ca3e4bda6f7683e01cdf18df15c3:e94afc067af75f4fb2d12eeb79f225fae351fa0608f72e22cac029ed28ed21f7:b45dfe5f2db95f40b4817ae82db921a5b356ae0f79bf0a14b4d97aed2aea73a2b457ff0f2dbb5f40b3d87ae82aba27f1b205a90e79e30a12b1d879bb2aee73f4' > /etc/ati/signature
  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
  echo 'd164ca3e4bda6f7683e01cdf18df15c3:e94afc067af75f4fb2d12eeb79f225fae351fa0608f72e22cac029ed28ed21f7:b45dfe5f2db95f40b4817ae82db921a5b356ae0f79bf0a14b4d97aed2aea73a2b457ff0f2dbb5f40b3d87ae82aba27f1b205a90e79e30a12b1d879bb2aee73f4' > /etc/ati/signature
}

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."
}

Edit: I have prepared some AUR package here http://aur.archlinux.org/packages.php?ID=32968

Last edited by Vi0L0 (2009-12-18 17:40:52)

Offline

#1123 2009-12-18 14:37:14

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 866

Re: The AMD/ATI Bar & Grill

@Vi0l0: could you please reply to posts instead of editing old ones? This way we will get notifications, which are very useful smile
BTW thanks for all the work you're doing on Catalyst!

Offline

#1124 2009-12-18 14:38:29

Kariddi
Member
Registered: 2009-03-12
Posts: 45

Re: The AMD/ATI Bar & Grill

With Catalyst 9.12 I can't run the Control Center  , it says:

[hades@artemis ~]$ amdcccle
Errore di virgola mobile
[hades@artemis ~]$

Translated into english means : "Floating-point error"

Someone else with the problem?

Offline

#1125 2009-12-18 15:15:17

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

Re: The AMD/ATI Bar & Grill

snack wrote:

@Vi0l0: could you please reply to posts instead of editing old ones? This way we will get notifications, which are very useful :)

OK :), that was my last time. But i havent removed any important information, it was just a stream of personal thoughts and tests which wasn't usefull cuz they wasn't working :).

More important is information like this:
If you wanna learn opencl please download sdk from this page http://developer.amd.com/gpu/ATIStreamS … fault.aspx and read installation manual.

To get stream to work i have  simply unpacked downloaded sdk to  /home/Vi0L0/ati-stream-sdk-v2.0-beta4-lnx64 and then edited my /etc/profile.d/custom.sh file and added this lines:

ATISTREAMSDKROOT=/home/Vi0L0/ati-stream-sdk-v2.0-beta4-lnx64
export LD_LIBRARY_PATH=$ATISTREAMSDKROOT/lib/x86_64:$LD_LIBRARY_PATH
export DISPLAY=:0

then just vimed /boot/grub/menu.lst and added "nopat" to kernel boot line so it looks like this:
kernel /boot/vmlinuz26-bfs root=/dev/disk/by-uuid/1234567890qwertyuiop nopat vga=794 quiet splash ro

and rebooted
ps. hope i havent missed something ;)

snack wrote:

BTW thanks for all the work you're doing on Catalyst!

np :)

Offline

Board footer

Powered by FluxBB