Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PowerBook 12" 2d acceleration.
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
sktrdie
Apprentice
Apprentice


Joined: 13 Mar 2005
Posts: 153

PostPosted: Mon May 23, 2005 6:36 am    Post subject: PowerBook 12" 2d acceleration. Reply with quote

Ok im pretty positive i have 2d acceleration enabled on my powerbook 12" with an nVidia ge force.
Stuff on the desktop iis pretty slow though.... and movies play "kinda" nice in mplayer, but as soon as i get full screen or resize the movie just a bit, it starts lagging so much, and it makes it impossible to watch the movie.
In os X movies used to play soooo fast, and desktop features, like moving a window around, or scrolling, were also much faster.

let me know, maybe i dont have 2d acceleration on, or something else.
i also dont think 3d acceleration is needed for desktops operations.
Back to top
View user's profile Send private message
DrZoidberg
Tux's lil' helper
Tux's lil' helper


Joined: 03 May 2003
Posts: 119
Location: New Port Richey, Florida

PostPosted: Mon May 23, 2005 1:35 pm    Post subject: Reply with quote

What video output driver are you using? On my system, mplayer defaults to xv which is slow as crap but less likely to mess up your screen or crash your X server.

I use mplayer -vo gl whatever.avi and it runs smooth and doesn't use too much CPU.

However, I don't have any DVDs (I'm pissed about the way MPAA/RIAA treats people and won't buy them.) to test. But even my old VCD/mpeg1 stuff skips a bit using the cruddy xv driver.

If you're playing from a CD/DVD disk, make sure the drive isn't the bottleneck. Check whether DMA is enabled using hdparm.

Read the mplayer manpage to find out more about different video output drivers. There are lots of them.

Also, you may want to check out VLC. Some people say good things about it in these forums. If you want a GUI make sure wxwindows is in your USE flags.

Did you get good results playing video on OS X? I have had problems. For some strange reason VLC works smoothly, but the Apple player always skipped and refused to play some files. I have a ATI radeon 9200 iBook.
Back to top
View user's profile Send private message
sktrdie
Apprentice
Apprentice


Joined: 13 Mar 2005
Posts: 153

PostPosted: Mon May 23, 2005 3:38 pm    Post subject: Reply with quote

DrZoidberg wrote:
What video output driver are you using? On my system, mplayer defaults to xv which is slow as crap but less likely to mess up your screen or crash your X server.

I use mplayer -vo gl whatever.avi and it runs smooth and doesn't use too much CPU.

However, I don't have any DVDs (I'm pissed about the way MPAA/RIAA treats people and won't buy them.) to test. But even my old VCD/mpeg1 stuff skips a bit using the cruddy xv driver.

If you're playing from a CD/DVD disk, make sure the drive isn't the bottleneck. Check whether DMA is enabled using hdparm.

Read the mplayer manpage to find out more about different video output drivers. There are lots of them.

Also, you may want to check out VLC. Some people say good things about it in these forums. If you want a GUI make sure wxwindows is in your USE flags.

Did you get good results playing video on OS X? I have had problems. For some strange reason VLC works smoothly, but the Apple player always skipped and refused to play some files. I have a ATI radeon 9200 iBook.

On OS X movies played very smoothly... i mean, even if i dragged the window around, while playing, stilll goood and smooth, no skipping at all...

If i try the mplayer -vo gl its even slower....
as i told you movies arent laggy at all as they open with their regular size, but as soon as i resize just a bit the video, or i pupt full-screen, it starts lagging a lot!...

The movies is watchable, but only as its standard size, i cant resize or full-screen, cuz it lags a lot.

Also i wanted to try VLC, got it to working, but while emerging i get this error, maybe u can help:
Code:
depfile='.deps/libdeinterlace_plugin_a-deinterlace.Po' tmpdepfile='.deps/libdein terlace_plugin_a-deinterlace.TPo' \
depmode=gcc3 /bin/sh ../../autotools/depcomp \
powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..   -DSYS_LINUX -I.. /../include `top_builddir="../.." ../../vlc-config --cflags plugin deinterlace` -Wsign-compare -Wall -mcpu=powerpc -pipe -O2 -pipe -c -o libdeinterlace_plugin_a -deinterlace.o `test -f 'deinterlace.c' || echo './'`deinterlace.c
deinterlace.c: In function `MergeAltivec':
deinterlace.c:962: error: `vector' undeclared (first use in this function)
deinterlace.c:962: error: (Each undeclared identifier is reported only once
deinterlace.c:962: error: for each function it appears in.)
deinterlace.c:962: error: parse error before "unsigned"
deinterlace.c:966: error: `perm1v' undeclared (first use in this function)
deinterlace.c:966: warning: implicit declaration of function `vec_lvsl'
deinterlace.c:967: error: `perm2v' undeclared (first use in this function)
deinterlace.c:968: error: `s1oldv' undeclared (first use in this function)
deinterlace.c:968: warning: implicit declaration of function `vec_ld'
deinterlace.c:969: error: `s2oldv' undeclared (first use in this function)
deinterlace.c:973: error: `s1newv' undeclared (first use in this function)
deinterlace.c:974: error: `s2newv' undeclared (first use in this function)
deinterlace.c:975: error: `s1v' undeclared (first use in this function)
deinterlace.c:975: warning: implicit declaration of function `vec_perm'
deinterlace.c:976: error: `s2v' undeclared (first use in this function)
deinterlace.c:979: error: `destv' undeclared (first use in this function)
deinterlace.c:979: warning: implicit declaration of function `vec_avg'
deinterlace.c:980: warning: implicit declaration of function `vec_st'
deinterlace.c:990: error: parse error before "unsigned"
make[4]: *** [libdeinterlace_plugin_a-deinterlace.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r3/work/vlc-0.8.1/modules /video_filter'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r3/work/vlc-0.8.1/modules /video_filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r3/work/vlc-0.8.1/modules '
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r3/work/vlc-0.8.1'
make: *** [all] Error 2

!!! ERROR: media-video/vlc-0.8.1-r3 failed.
!!! Function src_compile, Line 215, Exitcode 2
!!! make of VLC failed
!!! If you need support, post the topmost build error, NOT this status message.
i dont know where it starts exactly... let me know.
Back to top
View user's profile Send private message
sktrdie
Apprentice
Apprentice


Joined: 13 Mar 2005
Posts: 153

PostPosted: Mon May 23, 2005 6:43 pm    Post subject: Reply with quote

i got it to work...
still its pretty much laggy...
the FIX is to add "-maltivec -mabi=altivec" to your CFLAGS.
that will fix the VLC thing.
abt the laggy thing i still dont know... i cant watch movies.. most of them are slow... it sux :(
Back to top
View user's profile Send private message
Tuna
Guru
Guru


Joined: 19 Jul 2002
Posts: 485
Location: Berlin

PostPosted: Tue May 24, 2005 8:47 am    Post subject: Reply with quote

add altivec to your use flags if you havnt yet and try different -vo with mplayer (mplayer -vo help to get a list of available modes). -vo xv gave me a nice performance in the past. also keep an eye on the cpu usage with the different vo's. if resizing a bit increases cpu usage drammatically i suppose it is software rendered and not hardware overlay.
Back to top
View user's profile Send private message
sktrdie
Apprentice
Apprentice


Joined: 13 Mar 2005
Posts: 153

PostPosted: Wed May 25, 2005 2:09 pm    Post subject: Reply with quote

go do you xorg.conf
in the section "Device" instead of fbdev put "nv"
this will drammatically change the speed of your computer... scrolling and movie playback will be flawless!!
thnx to JoseJX
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