You are not logged in.

#1 2007-02-14 20:52:01

Mhyrraner
Member
From: South Germany
Registered: 2007-02-14
Posts: 33

ATI Rage Mobility - dri

Hey to each and everyone!

I'm trying to get 3D-Acceleration working on my old Laptop now for about 2 days ... without success.

Card is a ATI Rage Mobility P/M AGP 2x (rev64) (lspci). I tried using old snapshots of drm and mesa, with 2.6.19-ARCH and with 2.6.20 (one ARCH and one self-compiled), but they won't compile.
I tried git-versions from freedesktop, (as described in ubuntu-forum) and they worked. I could load mach64-kernel-modul without a problem. I edited xorg.conf. But when X starts it disables "dri" because of version problems. i therefore recompiled xf86-video-ati as well (git). With the new xserver from testing i could load the ati-driver with mach64-extension etc., but X locked up, i had to power off. (No errors in Xorg.0.log!)

Probably the the solution would be to rebuild the complete xserver from git, since now the important modules are compiled for Xorg 7.2 , but keyboard, input etc. and xserver are the old ones.

Any Ideas, hints ... solutions? Is there a easy way to compile the (git-)xserver?
Shall I simply wait until X11R7.2 is in testing ... ?

Thanks ...
Mhyrraner
(and do not ask what i could do with enabled 3d! ... i kown.. nothing... but i WANT it!;))

Offline

#2 2007-02-14 23:36:26

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: ATI Rage Mobility - dri

I have it running here, built from freedesktop.org's git repo. You need the kernel modules and the ati driver from git, but you can use the Arch xorg-server package - I've had success with both 7.1 and 7.2 (which has been in testing for two weeks now, btw. smile ).

I have PKGBUILDS here, let me know if you want them, or if there's anything else I can tell you.

Offline

#3 2007-02-15 18:39:55

Mhyrraner
Member
From: South Germany
Registered: 2007-02-14
Posts: 33

Re: ATI Rage Mobility - dri

Did you only build the kernel modules and the ati-driver (xf86-video-ati)? nothing else?
My Xorg is in fact 7.0-1, although i'm on testing. Does pacman hold the package? pacman.conf doesn't say so ...
Sorry, ... i am not too used to Arch.
Yes i would be greatly interested in your PKGBUILDs.
Thanks
Mhyrraner (.. by the way, fps? wink)

Edit: X11R7.0-1 ... there no meta-packages for 7.1/7.2 in testing?

Last edited by Mhyrraner (2007-02-15 18:54:41)

Offline

#4 2007-02-15 19:29:49

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: ATI Rage Mobility - dri

Mhyrraner wrote:

Did you only build the kernel modules and the ati-driver (xf86-video-ati)? nothing else?

Yes

Mhyrraner wrote:

My Xorg is in fact 7.0-1, although i'm on testing.

You should have the xorg-server 1.2.0-1 package - if you don't, you're not running testing. 1.2.0 is xorg 7.2.

Mhyrraner wrote:

Yes i would be greatly interested in your PKGBUILDs.

http://www.archlinux.org/~tom/packages/mach64-dri-git/
http://www.archlinux.org/~tom/packages/ … o-ati-git/

Mhyrraner wrote:

by the way, fps?

280

Offline

#5 2007-02-15 21:06:03

Mhyrraner
Member
From: South Germany
Registered: 2007-02-14
Posts: 33

Re: ATI Rage Mobility - dri

Thanks. Works now!

2 things: a) the ati-PKGBUILD wanted two patches, but didn't  find them ... i just removed this part ...
                  b) the glx-extension could not be loaded after i installed both of your PKGBUILDs ... it simply wasn't there. I installed libgl fom aur ...

now it works ... GREAT!
i get 274 fps ...
admit, you've done some tweaks, no? wink

Offline

#6 2007-02-15 21:46:17

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: ATI Rage Mobility - dri

Mhyrraner wrote:

Thanks. Works now!

You're welcome smile

Mhyrraner wrote:

the ati-PKGBUILD wanted two patches, but didn't  find them

The patches are from the official build - I've added them to the dir above if you want them

Mhyrraner wrote:

the glx-extension could not be loaded after i installed both of your PKGBUILDs ... it simply wasn't there.

You need the libgl-dri package from current.

Mhyrraner wrote:

admit, you've done some tweaks, no? wink

Yes, you're right - I've spent days working on it to make sure I got that extra 6 FPS. tongue

Offline

#7 2008-02-03 05:02:17

danpos
Member
Registered: 2008-01-30
Posts: 10

Re: ATI Rage Mobility - dri

@tomk

First all sorry for bumb this thread up but this one is exactly what was looking for.

I've played a bit with Arch Linux on my old Acer TravelMate 521TE and I'm impressed how this GNU/Linux version fit so good in this machine.
I used to use yours PKGBUILDs to build the kernel modules (drm.ko and mach64.ko) and the xorg-driver (xf86-video-ati). I got success to modify and build the package with kernel modules, but when I tried to build the xorg-driver, I got an error: "xf86-video-ati isn't available for 'i686' architecture. ...". So the questions are:

1. How do I must to modify the PKGBUILD in order to fix the arch issue?
2. The xorg-driver available on repository is compatible with the kernel modules compiled using the PKGBUILD of you?

Thanks in advance,

Danpos.

Offline

#8 2008-02-03 07:44:18

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: ATI Rage Mobility - dri

That PKGBUILD is way out of date. Get the current xf86-video-ati PKGBUILD from our CVS and add mach64 to the DRI_DIRS line as follows:

echo "DRI_DIRS = mach64 r128 radeon r200 r300" >> ${CONFIG}

Offline

#9 2008-02-05 22:41:40

danpos
Member
Registered: 2008-01-30
Posts: 10

Re: ATI Rage Mobility - dri

@tomk

Thanks for your reaction and support, appreciated! smile The package built on my machine - using the PKGBUILD suggested for you - worked out without a flaws.

I think that this information should be available on ati's wiki, shouldn't it?

Regards,

Danpos.

Offline

#10 2008-02-06 14:25:55

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: ATI Rage Mobility - dri

So what are you waiting for? The wiki is this way. smile

Offline

#11 2008-02-06 19:00:04

danpos
Member
Registered: 2008-01-30
Posts: 10

Re: ATI Rage Mobility - dri

tomk wrote:

So what are you waiting for? The wiki is this way. smile

You're right, mate! Thanks for your encouragement. smile I will do asap. wink

Regards,

Danpos.

Offline

#12 2008-04-13 00:25:28

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 671
Website

Re: ATI Rage Mobility - dri

tomk thank you for those updated advices smile
May you guys share your relevant xorg.conf?

have an old nice litle Latitude l400 laptop with a 'ATI Technologies Inc Rage Mobility P/M AGP 2x (rev 64)' like Mhyrraner. Followed tomk's latest advice on this topic, in the hope i can get *some* hardware acceleration on this device: i'd like to demo 3D desktop or Metisse @ whatever resolution (not looking for an everyday workin one wink.

Added the line to xf86-video-ati PKGBUILD, built it and installed succesfully. But glxgears gives a rather disapointing ~90 FPS max (when its ~110 FPS on Mandriva Cooker with stock ati / xorg drivers).


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

Board footer

Powered by FluxBB