You are not logged in.
@Vi0L0:
makepkg will automatically extract compressed sources, unless you add a "noextract=(source)" item in PKGBUILD
ooouuu... thanks
philacorns i like your build (i have builded it and running it now), i think its better than mine, so maybe you could post it on aur and make some info for 5xxx users hmm... for example on catalyst 9.9 comments zone @ aur? (i dont know better place)
Last edited by Vi0L0 (2009-10-15 11:56:15)
Offline
Offline
@philacorns: thanks again, good work
BTW the reason why radeons 2xxx / 3xxx don't support OpenCL is that those chips don't have "Local Data Share". Theoretically its possible to handle OpenCL without that but performance would be too low.
Right now im in 99.9% sure that this 8.67 opencl driver doesn't support radeons 2xxx / 3xxx.
Stream SDK 2.0 beta package brings OpenCL support for graphics card: ATI Radeon HD 4000~5000, FirePro, FireStream, Mobility Radeon HD 4000, Mobility FirePro, Radeon Embedded and x86 microprocessors with SSE3 support.
Last edited by Vi0L0 (2009-10-16 01:50:03)
Offline
damn... i can't get opencl work on gpu
everytime i run some opencl application, like ati-stream-sdk-v2.0-beta4-lnx64/samples/opencl/bin/x86_64/DwtHaar1D it says:
Unsupported GPU device; falling back to CPU ...
also ati-stream-sdk-v2.0-beta4-lnx64/samples/cal/bin/x86_64/FindNumDevices
says:
CAL initialized.
Finding out number of devices :-
Device Count = 0
CAL shutdown successful.
I have no idea whats happening... ive got hd 4850 aboard.
Edit: and yes, i have tested it with and without 9.9 signature
Hmm...
Can some owner of hd 4xxx / 5xxx help and
1) install catalyst-beta http://aur.archlinux.org/packages.php?ID=31216
2) download from this site http://developer.amd.com/GPU/ATISTREAMS … fault.aspx file called ati-stream-sdk-v2.0-beta4-lnx(32 or 64).tgz
3) unpack it and then as root run commands:
* ATISTREAMSDKROOT=/path_of_unpacked_downloaded_ati_file/ati-stream-sdk-v2.0-beta4-lnx(64 or 32)
* export LD_LIBRARY_PATH=$ATISTREAMSDKROOT/lib/x86_64:$LD_LIBRARY_PATH #for 64-bit systems
or export LD_LIBRARY_PATH=$ATISTREAMSDKROOT/lib/x86:$LD_LIBRARY_PATH #for 32-bit systems
Edit: 4) also i suggest to copy that files: cp -r ati-stream-sdk-v2.0-beta4-lnx64/include/* /usr/iniclude/
and run this cmd: export DISPLAY=:0
and then run at least two tests I mentioned at the begining of this post?
Edit: i suggest to run those tests from root account and after you run 'xhost +' cmd from your user account (access control disabled, clients can connect from any host) <~~ running 'xhost +' isn't secure (well its not so unsecure either), so when you'll end your tests please run cmd 'xhost -'
Maybe this no opencl problem occurs only in my case, but maybe we need to change something in PKGBUILD.
I don't know how to install ati-driver from their funny script, i have tried to do this, and driver works (without opencl) but i did this in very very dirty (and similar to PKGBUILD) way...
Please help, i'll be greatful
Last edited by Vi0L0 (2009-10-19 16:19:26)
Offline
Hi this driver doesn't work on my PC (ATI 4870 (dvi), + (old) Screen 17" CRT (vga))
I use last kernel, 2.6.31 (on Archlinux i686)
Catalyst 9.9 doesn't work, I've uncomment the following line:
# patch -p0 < 2.6.31.patch
then, added ' !ttm !drm !radeon ' to the modules line in rc.conf (to disable them)
then restart
then > black screen
I try radeonhd, but it's really shit because Teeworld run at 0.5fps.
I try catalyst-beta doestn't work too.
watch my Xorg0.log here : http://forums.archlinux.fr/topic4722.html
Thanks
Offline
Can some owner of hd 4xxx / 5xxx help and
...
2) download from this site http://developer.amd.com/GPU/ATISTREAMS … fault.aspx file called ati-stream-sdk-v2.0-beta4-lnx(32 or 64).tgz
...
Trying to help
(btw catalyst-beta is working great with my new 5770
but when I try to download that file it says
"Login
You must be logged in to download tools from AMD Developer Central
You are currently logged in" <--hilarious
even after I registered and logged in
could you upload the 64-bt version somewhere?
Xyne wrote:
"We've got Pacman. Wacka wacka, bitches!"
Offline
@alecmg:
Heres the file: http://www.mediafire.com/?hjddydwucct md5sum: a1698e8b61b2656f88a917be8f9c05d6
Also i've started to discuss about that on amd forum: http://forums.amd.com/forum/messageview … TMP=Linear
Edit: ive edited my last post and added 2 more stepps (see outlined Edit )
Last edited by Vi0L0 (2009-10-19 16:10:45)
Offline
# ati-stream-sdk-v2.0-beta4-lnx64/samples/opencl/bin/x86_64/DwtHaar1D
Input Signal
3 6 7 5 3 5 6 2 9 1 2 7 0 9 3 6 0 6 2 6 1 8 7 9 2 0 2 3 7 5 9 2 2 8 9 7 3 6 1 2 9 3 1 9 4 7 8 4 5 0 3 6 1 0 6 3 2 0 6 1 5 5 4 7 6 5 6 9 3 7 4 5 2 5 4 7 4 4 3 0 7 8 6 8 8 4 3 1 4 9 2 0 6 8 9 2 6 6 4 9 5 0 4 8 7 1 7 2 7 2 2 6 1 0 6 1 5 9 4 9 0 9 1 7 7 1 1 5 9 7 7 6 7 3 6 5 6 3 9 4 8 1 2 9 3 9 0 8 8 5 0 9 6 3 8 5 6 1 1 5 9 8 4 8 1 0 3 0 4 4 4 4 7 6 3 1 7 5 9 6 2 1 7 8 5 7 4 1 8 5 9 7 5 3 8 8 3 1 8 9 6 4 3 3 3 8 6 0 4 8 8 8 9 7 7 6 4 3 0 3 0 9 2 5 4 0 5 9 4 6 9 2 2 4 7 7 5 4 8 1 2 8 9 3 6 8 0 2 1 0 5 1 1 0 8 5
For test only: Expires on Sun Feb 28 00:00:00 2010
Segmentation fault
# ati-stream-sdk-v2.0-beta4-lnx64/samples/cal/bin/x86_64/FindNumDevices
Supported CAL Runtime Version: 1.3.185
Found CAL Runtime Version: 1.4.467
Use -? for help
Segmentation fault
Xyne wrote:
"We've got Pacman. Wacka wacka, bitches!"
Offline
@alecmg:
thank you very much
Now i know this is not only my particular exception... but i have checked almost everything... heh well looks like gotta speak to ati and wait for the answer, since arch is not supported distro its not gonna be easy
(thinkin... why is it workin good on debian?)
Last edited by Vi0L0 (2009-10-20 03:07:05)
Offline
Hello to all. I have hd4850 card with catalyst-beta installed. Everything works fine eccept that - mouse cursor flickers when i move it (it appears and reappers quickly) - when i enable desktop effects or compiz. According to this site http://forums.fedoraforum.org/showthrea … 3&page=241 i tried disable RandR12 and remove SWCursor option from xorg.conf, but nothing works. The same was already in generic catalyst driver. Anyone has solution for this? It's really annoying. Thanks in advance.
Offline
catalyst-beta in AUR now support HD2xxx and HD3xxx, thanks to Kano.
Offline
@philacorns:
Im wondering could that "control trick" broke opencl sopport , but this doesnt matter cuz till now this driver gave us no such support, so its good, nevermind .
Edit: Do not read whats below, the size of libs is smaller cuz of makepkg is defaulty using 'strip' option to delete debagging info from libs, and it has no consequences on driver work
Btw can anybody tell me why md5 sums of libatical*.so files (placed in /usr/lib/) are different from those placed in original ati archive (archive_files/arch/x86_64/usr/lib64 for x86_64) ? Also their size is soooo different. This is strange... That /etc/ati/control is different too, maybe all that files got different sizes, hmm... Could it be effect of install command?
Examples:
size of original libaticalcl.so = 229566
size of installed libaticalcl.so = 70416
This is soooooo huge different i cant even imagine, and its all cuz of install command which should copy and set atributtes? Gotta be kiddin xD
I dont have time to test that opencl support works with "cp + chmod" (not install) those libraries and files. This is just fast post, maybe i will find time tomorrow for tests.
Greetz
Last edited by Vi0L0 (2009-10-23 00:19:10)
Offline
The catalyst 9.10 are available:
https://a248.e.akamai.net/f/674/9206/0/ … x86_64.run
the realease notes not are ready
Offline
@Cory, kensai :
i can see its a link from official ati page, "Support and Drivers" section
http://support.amd.com/us/gpudownload/l … ng=English
They've putted broken link ahhh.... sweet fail
Last edited by Vi0L0 (2009-10-23 12:26:38)
Offline
edit : worked it out follow the instructions... I'm silly
Now on KDE I don't have any titlebars it's as if kwin isn't running.
I can't type anything either so I can't launch it
Last edited by brendan (2009-10-23 14:22:25)
Offline
9.10 PKGBUILDs:
catalyst:
_kernver=`uname -r`
pkgname=catalyst
pkgver=9.10
pkgrel=1
pkgdesc="AMD/ATI kernel 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")
replaces=('ati-fglrx' 'fglrx') # Yay rebranding
conflicts=('catalyst')
provides=('catalyst')
install=catalyst.install
source=(http://www2.ati.com/drivers/linux/ati-driver-installer-${pkgver/./-}-x86.x86_64.run)
build() {
/bin/sh ./ati-driver-installer-${pkgver/./-}-x86.x86_64.run --extract archive_files
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}"
# License
install -m644 "${srcdir}/archive_files/ATI_LICENSE.TXT" "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/" $startdir/*.install
}
md5sums=('c79bed0ec7e96a11105922a70aea7a9c')
catalyst-utils:
pkgname=catalyst-utils
pkgver=9.10
pkgrel=1
pkgdesc="AMD/ATI kernel drivers for Radeon brand cards."
arch=('i686' 'x86_64')
url="http://www.ati.amd.com"
license=('custom')
#finger required for acpi scripts
depends=("xorg-server<1.7.0" 'netkit-bsd-finger' \
'libstdc++5' 'libxrandr' 'libsm' 'fontconfig' 'libxcursor' 'libxi' 'gcc-libs')
replaces=('ati-drivers' 'ati-fglrx-utils' 'fglrx-utils')
conflicts=('libgl' 'ati-drivers-module' 'ati-drivers' 'nvidia' 'catalyst-utils')
provides=('libgl' 'catalyst-utils')
options=('!strip')
install=catalyst-utils.install
source=(http://www2.ati.com/drivers/linux/ati-driver-installer-${pkgver/./-}-x86.x86_64.run catalyst.sh amdcccle.desktop atieventsd.sh)
md5sums=('c79bed0ec7e96a11105922a70aea7a9c'
'bdafe749e046bfddee2d1c5e90eabd83'
'4efa8414a8fe9eeb50da38b5522ef81d'
'f729bf913613f49b0b9759c246058a87')
build() {
# Extract it
/bin/sh ./ati-driver-installer-${pkgver/./-}-x86.x86_64.run --extract archive_files
# 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 removed catalyst-utils from catalyst build depends...
Edit: works like catalyst-leaked (8.660), even number of this catalyst is slightly different - 8.661
Last edited by Vi0L0 (2009-10-23 15:34:18)
Offline
@kensai:
i think that philacorns was right making just one package of both catalyst and catalyst-utils, i dont see sense in catalyst separated to two packages. It maybe has sense if you're installing only catalyst module, and no addictions. It maybe had sense when catalyst was supported, and you could download only module, which is ~800kB fat, and it should worki if you had builded xorg.conf before (just geussing, i dont think catalyst works good in that way). But now when you must download ~80-90MB of ati driver it dont make sense, i even think that theres people which download this ati driver twicely, for catalyst and catalyst-utils .
So maybe it good idea to use 1 package? I may try to build 1 package (that wont be hard since philacorns do it for catalyst-beta)
Hmm... or if still wanna have 2 packages - use split package ( /usr/share/pacman/PKGBUILD-split.proto ), i may try to build split package.
I just need to find time for building those builds (maybe tomorrow, or later).
Offline
eum Vi0L0 whats is "catalyst.sh amdcccle.desktop atieventsd.sh" in the catalyst-utils pkgbuild ?
and where I can download there please ?
EDIT : eum finaly I find on AUR
Last edited by mum1989 (2009-10-23 18:40:40)
Offline
@kensai:
i think that philacorns was right making just one package of both catalyst and catalyst-utils, i dont see sense in catalyst separated to two packages. It maybe has sense if you're installing only catalyst module, and no addictions. It maybe had sense when catalyst was supported, and you could download only module, which is ~800kB fat, and it should worki if you had builded xorg.conf before (just geussing, i dont think catalyst works good in that way). But now when you must download ~80-90MB of ati driver it dont make sense, i even think that theres people which download this ati driver twicely, for catalyst and catalyst-utils .
So maybe it good idea to use 1 package? I may try to build 1 package (that wont be hard since philacorns do it for catalyst-beta)
Hmm... or if still wanna have 2 packages - use split package ( /usr/share/pacman/PKGBUILD-split.proto ), i may try to build split package.
I just need to find time for building those builds (maybe tomorrow, or later).
It should be one package then. Can you make a it and send it to me? Later I will pass it on to you, since I might not have the time to update it at all.
Offline
kensai's AUR-package for catalyst 9.10 works fine here with kernel 2.6.31.
/me happy
Offline
thanks
but catalyst 9.10 doesn't work too on my computer
Offline
2.6.31 and 9.10 are a no go for me - black screen of death is all I get
Checked rc.conf, reinstalled catalyst-utils and catalyst, recreated xorg.conf, deleted /etc/ati/amd... and whatnot. Man, I really, really hate this AMD crap so much, woar I think I will kick out this damn stupid card and fetch a NVidia card tomorrow. No more money for AMD from me.
Offline
@woeye
I'm planning on releasing a new livecd this weekend that will give you a option to test out the 3d open source drivers for ati. I have test mesa-full with drm 3d drivers and everything works fine so far. Nexiuz is the only program that i have tried with open source 3d drivers that may crash X. Everything else works fine and shouldn't crash X.
I hope this will help.
I'm working on a live cds based on Archlinux. http://godane.wordpress.com/
Offline
This party is over for me.
I installed the opensource drivers with 3d support for r600/r700 and they are rally good - best performance
i have ever seen on amd cards.
Offline