Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
does hardware acceleration work on ibook2
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
mightygerm
n00b
n00b


Joined: 01 Sep 2002
Posts: 22

PostPosted: Tue Oct 15, 2002 5:54 pm    Post subject: does hardware acceleration work on ibook2 Reply with quote

I was wondering if you can get the mobility radeon to do hardware accel on the ibook2 (dual usb,700mhz 12") also if someone has a complete XF86config for the ibook2, can they post it. Thanks.

Also has anyone tried the videolan client (videolan.org) under the ibook? How is the preformance?
Back to top
View user's profile Send private message
gogor
n00b
n00b


Joined: 21 Jun 2002
Posts: 11

PostPosted: Wed Oct 16, 2002 6:52 pm    Post subject: Reply with quote

until recently i though this wasn't possible at the moment because of the a radeon frame buffer problem with the mobility M6 LY, that why i suppose you get this message in your X log :

(==) RADEON(0): Backing store disabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Indirect CPU to Screen color expansion
Solid Lines
Dashed Lines
Scanline Image Writes
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
18 256x256 slots
6 512x512 slots
(II) RADEON(0): Acceleration enabled
(II) RADEON(0): Using hardware cursor (scanline 3080)
(II) RADEON(0): Largest offscreen area available: 1024 x 3324
(II) RADEON(0): Direct rendering disabled
(II) Setting vga for screen 0.
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(**) Option "Protocol" "IMPS/2"
(**) Mouse0: Protocol: "IMPS/2"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/input/mice"
(==) Mouse0: Buttons: 3
(II) Keyboard "Keyboard0" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
Couldn't load XKB keymap, falling back to pre-XKB keymap
GetModeLine - scrn: 0 clock: 65003
GetModeLine - hdsp: 1024 hbeg: 1048 hend: 1184 httl: 1344
vdsp: 768 vbeg: 771 vend: 777 vttl: 806 flags: 10
(II) Open APM successful(II) RADEON(0): X context handle = 0x00000001

but today using the latest kernel from benr i had this :


(II) RADEON(0): [drm] installed DRM signal handler
(II) RADEON(0): [DRI] installation complete
(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(0): Direct rendering enabled
(II) Setting vga for screen 0.
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(**) Option "Protocol" "IMPS/2"
(**) Mouse0: Protocol: "IMPS/2"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/input/mice"
(==) Mouse0: Buttons: 3
(II) Keyboard "Keyboard0" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
Couldn't load XKB keymap, falling back to pre-XKB keymap

the good line is the one whith direct rendering enabled, the only problem is that with the disabled acceleration i can use X, but with the enabled config i just get a awfull screen absolutly unusable...
the only difference between the two situation is the kernel, i didn't touch the X config. i don't have time to dig this right now but if someone wants to
try...

gogor
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Oct 16, 2002 10:14 pm    Post subject: Reply with quote

gogor wrote:
with the enabled config i just get a awfull screen absolutly unusable...

I get purple horizontal lines spaced approx 8 pixels apart, and the "X" cursor takes up about a 64x64 pixel area of confusion. Does this sound similar? If I take the radeon DRI driver out of the kernel, X works normally, but without DRI. Put radeon DRI in, and set to 16 bits color, and purple sideways jail cell. This is with 2.4.20-pre9-ben0 on a TiBook Gen III.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
gogor
n00b
n00b


Joined: 21 Jun 2002
Posts: 11

PostPosted: Thu Oct 17, 2002 6:10 am    Post subject: Reply with quote

yeah you actually describe it way better than i do but that just the picture i've got.
Note that trying as small resolution (something like 640*400 and 16 bits i don't recall exactly) i was able to get something that was looking like a very flickering and messed xterm and this "thing" was actually responding to keyboard input i was even able to kill X to get back to console prompt.
i think the solution is close to us...

gogor
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Sat Oct 19, 2002 3:52 am    Post subject: Re: does hardware acceleration work on ibook2 Reply with quote

I got vlc working. it will play encrypted dvds, but a bit jerky. I tried out the latest benh kernel tonight, and got similar results to those above. It claimed DRI was on!

check out http://www.desertsol.com/~kevin/ppc

I've posted my XF86Config-4 there and just about everything else, too.

mightygerm wrote:
I was wondering if you can get the mobility radeon to do hardware accel on the ibook2 (dual usb,700mhz 12") also if someone has a complete XF86config for the ibook2, can they post it. Thanks.

Also has anyone tried the videolan client (videolan.org) under the ibook? How is the preformance?
Back to top
View user's profile Send private message
marks
n00b
n00b


Joined: 20 Oct 2002
Posts: 5

PostPosted: Sun Oct 20, 2002 3:37 pm    Post subject: my XF86 and kernel config Reply with quote

Here you can find my XFree86 and kernel config files, for completion's sake: http://spanbroek.net/mark/laptop/ibook/

DRI has been disabled for now, because of the 'interesting' display effects, but XVideo (and therefore playing movies) works. I have a 600Mhz model without DVD, so I couldn't test playing DVD's, but playing divx movies with Xine works perfectly.

You will need the latest benh kernel for now (I use 2.4.20-pre9-benh0), because the sound driver in the latest gentoo ppc kernel sources doesn't work properly. More info about the benh kernel can be found at http://penguinppc.org/~benh/
Back to top
View user's profile Send private message
mightygerm
n00b
n00b


Joined: 01 Sep 2002
Posts: 22

PostPosted: Mon Oct 21, 2002 2:52 am    Post subject: Reply with quote

Thanks for all your help, I'll wait for benh to release a new kernel
Back to top
View user's profile Send private message
Gerk
Retired Dev
Retired Dev


Joined: 07 May 2002
Posts: 434

PostPosted: Mon Oct 21, 2002 4:23 pm    Post subject: Reply with quote

your mileage may vary with recent benh kernels... my quicksilver refuses to boot at all with anything in benh tree in last month or so, also there were some _huge_ memory leaks for the ones i did manage to boot before that. Word of caution for anyone that might be trying this on production machines :)
Back to top
View user's profile Send private message
gogor
n00b
n00b


Joined: 21 Jun 2002
Posts: 11

PostPosted: Mon Oct 21, 2002 10:01 pm    Post subject: about benr kernel stability Reply with quote

i would like to share my experience with benr kernel vs gentoo kernel on the ibook. until 2 weeks ago i was using the r6 gentoo kernel on a new ibook2. I've had a hand full of crash (about 2 time out of 3) when resuming after going to sleep mode.
With the latest benr tree i haven't got a single crash in 2 weeks of intensive use...
am i the only one finding that benr kernel is more stable on the ibook than the ppc-kernel ???
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Tue Oct 22, 2002 1:49 am    Post subject: Reply with quote

strange. I've been using ppc-sources r6 for a month, and I've never had a crash or any problems at all.

I just switched to the 2.4.20-pre9-ben0 kernel
on friday, and after disabling the dri it has worked well for me too.

only problem is that both kernels give jerky dvd
playback. xine is quite bad in both kernels, vlc is much better in the benh kernel but still drops at least a couple frames every second.

my machine is the 700mhz ibook
Back to top
View user's profile Send private message
edub
n00b
n00b


Joined: 01 Jul 2002
Posts: 17

PostPosted: Tue Oct 22, 2002 5:20 pm    Post subject: Reply with quote

hi :)

just picked up 2.4.20-pre11-ben0 and installed from ppckernel.org and threw it in the iBook2 500, with great results, incl. hw accl. got the sound working using the install instructions linked to on the "special kernel" page referenced on ppckernel. still haven't tested networking or dvd playback.

my 2c. Keep up the good work benh and gentoo ppc folks!
e
Back to top
View user's profile Send private message
edub
n00b
n00b


Joined: 01 Jul 2002
Posts: 17

PostPosted: Tue Oct 22, 2002 8:33 pm    Post subject: Reply with quote

hmmm...networking not up on the kernel mentioned above, even with provided tweak from the ppckernel site.
:(

e
Back to top
View user's profile Send private message
edub
n00b
n00b


Joined: 01 Jul 2002
Posts: 17

PostPosted: Wed Oct 23, 2002 2:29 am    Post subject: Reply with quote

last post I promise.

modprobe gmac <-- brings up net
modprobe dmasound_pmac <--brings up sound

all set! (very quick video too!)
Back to top
View user's profile Send private message
gogor
n00b
n00b


Joined: 21 Jun 2002
Posts: 11

PostPosted: Wed Oct 23, 2002 2:33 pm    Post subject: Reply with quote

the ibook2 500Mhz doesn't have a RADEON M6 LY as a video card am i right ? :(
Back to top
View user's profile Send private message
edub
n00b
n00b


Joined: 01 Jul 2002
Posts: 17

PostPosted: Wed Oct 23, 2002 4:22 pm    Post subject: Reply with quote

video on mine is ATI Rage Mobility M3.
hope this helps.
E
Back to top
View user's profile Send private message
Bobbus
n00b
n00b


Joined: 13 Oct 2002
Posts: 12
Location: Paris, France

PostPosted: Thu Oct 24, 2002 11:17 am    Post subject: Reply with quote

gogor wrote:
the ibook2 500Mhz doesn't have a RADEON M6 LY as a video card am i right ? :(


I'm not sure about that, but I managed to have a Radeon M6 LY working under Gentoo, using the previous address http://spanbroek.net/mark/laptop/ibook/ .

I'm not sure it's XFree 4.2.1 or the last benh kernel or the XFree86Config-4 file... But it's working ! without DRI but without the FB driver too !

Bob
Back to top
View user's profile Send private message
gogor
n00b
n00b


Joined: 21 Jun 2002
Posts: 11

PostPosted: Thu Oct 24, 2002 3:30 pm    Post subject: Reply with quote

Me too (and a lot of other i think) have the radeon working under gentoo. But the real problem is getting hardware accelerated video. And i haven't heard of anyone succeeding in doing this, even on a X86 laptop running linux and sporting a RADEON mobility M6 LY...
regards.

Gogor
Back to top
View user's profile Send private message
marks
n00b
n00b


Joined: 20 Oct 2002
Posts: 5

PostPosted: Fri Oct 25, 2002 11:48 am    Post subject: Reply with quote

Quote:
But the real problem is getting hardware accelerated video. And i haven't heard of anyone succeeding in doing this, even on a X86 laptop running linux and sporting a RADEON mobility M6 LY...


I don't know what exactly you mean by hardware accelerated video, but on my system 2D hardware acceleration (the DGA, XAA and XVideo extentions) works flawlessy. The only thing that doesn't work yet is 3D hardware acceleration (the DRI extention).
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