Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iBook Clamshell G3 300MHz - mach64 DRM fails :(
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Marctraider
Guru
Guru


Joined: 24 Dec 2003
Posts: 387

PostPosted: Tue May 30, 2006 8:12 pm    Post subject: iBook Clamshell G3 300MHz - mach64 DRM fails :( Reply with quote

Hello!

I have this iBook clamshell G3 300MHz for about two weeks now, and installed Gentoo on it.
Everything works well, IDE, Sound, Network, anything.

__EXCEPT for 3D acceleration.__

I've been trying to get it working for over a week now.
the laptop contains a ATI Rage Mobility L AGP 2x (rev 64) based on the mach64.
2D acceleration seems to work great, but 3D fails on me.
First i wasn't sure if the videocard was supported, but I'm positive it is, freedesktop website tells:

All mach64 chips with a triangle setup engine are supported. This includes the 3D Rage Pro, 3D Rage LT Pro, 3D Rage XL, 3D Rage XC, and 3D Rage Mobility.

And i know its not one of the none-supported cards...



Ok thats that... I've tried the following stuff:

kernel-2.6.16-gentoo-r7 (current) and
kernel-2.6.10-vanilla

Absolutely NO effect, same errors.

Xorg 6.8.2 from portage and
Xorg 7.0.0 modular

Absolutely NO effect, same errors.


I enabled AGPGART in kernel, and the MAC AGP support that both loads fine, first i tried as modules but now they are built in the kernel.
I disabled DRM in the kernel, because I want to build them from CVS or from the portage version.

I tried lastest CVS, all works fine, modules drm.ko and mach64.ko gets loaded fine...
Same errors

I tried the oldest and lastest versions from portage, x11-drm-20050502 and x11-drm-20051223
Same errors

So could someone PLEASE tell me WHAT the hell is going on?
I'm totally lost...


So finally here comes the errors i have when i do startx and then exit

Code:

(WW) ****INVALID IO ALLOCATION**** b: 0xf0000400 e: 0xf00004ff correcting
(EE) end of block range 0xefffffff < begin 0x40000000
(EE) ATI(0): [drm] Failed to map DMA buffers list


Errors in xorg.log

Code:

(EE) ATI(0): [drm] Failed to map DMA buffers list


These are the ONLY errors I got...
I cant find about anything about that error, and especially not in combination with a mach64... only i can find some stuff about it with an mga card...

I tried various options in xorg.conf like Option "DMAMode" "mmio" or "async" or "sync" but no avail... also i tried setting apenture size to 64 and 8 but no luck...


dmesg gives no errors what-so-ever...
just simple putting devicein agp 2x mode... and
[drm] Used old pci detect: framebuffer loaded and
[drm] forcing pseudo-DMA mode, which is obviously "DMAMode" "mmio"

Please help!!!
Im beginng to think, is this the problem with the laptop? Because I dont see ANY other people have problems with this...
should i do a firmware upgrade or whatever?
Should i switch to old Xfree?
Does it conflict with the atyfb?
_________________
MOBO: Maximus II Gene
RAM: DDR2 OCZ 4GB
CPU: E6400 Conroe
GPU: HD2600XT
SATA: 3x 250GB.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue May 30, 2006 11:26 pm    Post subject: Reply with quote

For the first bit:
http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml#xorgerror

Second, I'm pretty sure the DRM drivers included in the kernel do not support the Mach64 because as they're written now, they're horribly insecure. I can't really tell you more since I don't have one of those cards any more.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Marctraider
Guru
Guru


Joined: 24 Dec 2003
Posts: 387

PostPosted: Wed May 31, 2006 7:13 am    Post subject: Reply with quote

Thanks for the answer.

But I'm not using the DRM from the kernel at all, but I'm mostly trying to get it to work with the CVS DRM.
Is there a way to get an older version of the DRM and MESA CVS by specifying it somewhere? Or get a list of versions.

Normally I do:

Code:

cvs -d:pserver:anonymous@anoncvs.freedesktop.org:/cvs/dri login
cvs -z3 -d:pserver:anonymous@anoncvs.freedesktop.org:/cvs/dri co drm


But I'd like to try older versions.
If that doesnt work I can try going back to old Xfree86 because what else choice do I have?
No-one here has my problem, it seems I'm the only one... :(
_________________
MOBO: Maximus II Gene
RAM: DDR2 OCZ 4GB
CPU: E6400 Conroe
GPU: HD2600XT
SATA: 3x 250GB.
Back to top
View user's profile Send private message
Marctraider
Guru
Guru


Joined: 24 Dec 2003
Posts: 387

PostPosted: Wed May 31, 2006 1:33 pm    Post subject: Reply with quote

OK! I've made SOME PROGRESS!!! :)

Direct Rendering is now ENABLED!!!

You know what I did? I disabled agpgart and uninorth support in the kernel...
Well at least its some progress i've made... but I'd really like to have AGP support...



edit: when i start glxgears i get distorted graphics and X hangs, i can only reset linux then...
_________________
MOBO: Maximus II Gene
RAM: DDR2 OCZ 4GB
CPU: E6400 Conroe
GPU: HD2600XT
SATA: 3x 250GB.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum