720p video on G4?

View: New views
11 Messages — Rating Filter:   Alert me  

720p video on G4?

by Rubén Gómez Antolí :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello all,

First of all, sorry for my very bad english.

I'm trying to play a 1280x720 x264 video:

------------- Video info -------------
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AC3), -aid 0, -alang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO:  [avc1]  1280x720  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using AltiVec optimized IMDCT transform
Checking for AltiVec resampler : 0x0000000a, 2
Using AltiVec optimized resampler
AUDIO: 48000 Hz, 2 ch, s16be, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
---------------- End of video info -----------

and I get frame drops: audio are in normal speed but video is slow and
delay.

This video could play in AMD Athlon 1500+ with 4+ years old, I think my
G4 is powerfull that it.

I try other 1280x720 videos (on WMV) with no luck.

I try with VLC, Kaffeine, Dragonplayer and Mplayer: no luck with none.

I look for in Google for optimize but there are no responses.

In some sites they are people saying that they have success on Mac OS X,
but in most sites they say that there aren't lock with h or x264.

Today I note that Marillat have a mplayer Altivec optimized player but
drops too.

Anyone can play 720p videos on Powerbook G4 or similar?

Do you think that compiling mplayer is a good option? Need a specific
library?

Powerbook data:

processor       : 0
cpu             : 7447A, altivec supported
clock           : 1666.666000MHz
revision        : 1.2 (pvr 8003 0102)
bogomips        : 73.47
timebase        : 18432000
platform        : PowerMac
model           : PowerBook5,7
machine         : PowerBook5,7
motherboard     : PowerBook5,7 MacRISC3 Power Macintosh
detected as     : 287 (PowerBook G4 17")
pmac flags      : 0000001b
L2 cache        : 512K unified
pmac-generation : NewWorld
Memory          : 1024 MB

  lspci
0000:00:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 AGP
0000:00:10.0 VGA compatible controller: ATI Technologies Inc RV350
[Mobility Radeon 9600 M10]
0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 PCI
0001:10:12.0 Network controller: Broadcom Corporation BCM4306 802.11b/g
Wireless LAN Controller (rev 03)
0001:10:13.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus
Controller
0001:10:17.0 Class ff00: Apple Computer Inc. KeyLargo/Intrepid Mac I/O
0001:10:19.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
0001:10:1a.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
0001:10:1b.0 USB Controller: NEC Corporation USB (rev 43)
0001:10:1b.1 USB Controller: NEC Corporation USB (rev 43)
0001:10:1b.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
0002:24:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 Internal PCI
0002:24:0d.0 Class ff00: Apple Computer Inc. UniNorth/Intrepid ATA/100
0002:24:0e.0 FireWire (IEEE 1394): Apple Computer Inc. UniNorth 2
FireWire (rev 81)
0002:24:0f.0 Ethernet controller: Apple Computer Inc. UniNorth 2 GMAC
(Sun GEM) (rev 80)

Packages related:

dpkg -l |grep player |awk '{print $2 $3}'
amarok2.1.1-4
amarok-utils2.1.1-4
dragonplayer4:4.3.0-3
gnash0.8.5-1+b1
gnash-common0.8.5-1+b1
kaffeine0.8.7-1
klash0.8.5-1+b1
konqueror-plugin-gnash0.8.5-1+b1
libvlc00.8.6.h-5
libvlc21.0.1-1
libxine11.1.16.3-1+b1
libxine1-bin1.1.16.3-1+b1
libxine1-plugins1.1.16.3-1
lxmusic0.4.0-1
mcdp0.4-5
mozilla-plugin-gnash0.8.5-1+b1
mplayer1:1.0.rc2svn20090823-0.0
mplayer-g41:1.0.rc2svn20090823-0.0
mplayer-skin-blue1.6-2
vlc1.0.1-1
vlc-nox1.0.1-1

dpkg -l |grep 264 |awk '{print $2 $3}'
libx264-601:0.svn20080712-0.1
libx264-671:0.svn20090516-0.0
libx264-681:0.svn20090730-0.0

Thanks to all.

Salud y Revolución.

Lobo.

Pd: I'm not try to play 1080p video but, is it possible to reproduce?
--
Libertad es poder elegir en cualquier momento. Ahora yo elijo GNU/Linux,
para no atar mis manos con las cadenas del soft propietario.
---------
Desde El Ejido, en Almería, usuario registrado Linux #294013
http://www.counter.li.org


--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: 720p video on G4?

by Michel Dänzer-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 2009-09-05 at 21:49 +0200, Rubén Gómez Antolí wrote:

>
> I'm trying to play a 1280x720 x264 video:
>
> ------------- Video info -------------
> [mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
> [mkv] Track ID 2: audio (A_AC3), -aid 0, -alang eng
> [mkv] Will play video track 1.
> Matroska file format detected.
> VIDEO:  [avc1]  1280x720  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
> open: No such file or directory
> [MGA] Couldn't open: /dev/mga_vid
> open: No such file or directory
> [MGA] Couldn't open: /dev/mga_vid
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [liba52] AC3 decoding with liba52
> Using AltiVec optimized IMDCT transform
> Checking for AltiVec resampler : 0x0000000a, 2
> Using AltiVec optimized resampler
> AUDIO: 48000 Hz, 2 ch, s16be, 384.0 kbit/25.00% (ratio: 48000->192000)
> Selected audio codec: [a52] afm: liba52 (AC3-liba52)
> ---------------- End of video info -----------
>
> and I get frame drops: audio are in normal speed but video is slow and
> delay.
>
> This video could play in AMD Athlon 1500+ with 4+ years old, I think my
> G4 is powerfull that it.

I'm afraid that while in theory the performance of these CPUs may be
about the same, in practise the Athlon machine still has several
advantages:

      * Due to x86 being more popular, its code is probably better
        optimized, in particular but possibly not only for the SIMD
        extensions.
      * It probably has significantly more memory bandwidth, not only
        because it's a desktop vs. a laptop.
      * ...

Also, the X driver version / configuration may also matter. Make sure
you're using xserver-xorg-video-radeon from sid and that the DRI is
enabled.

> Anyone can play 720p videos on Powerbook G4 or similar?

Some 'simpler' 720p videos play mostly fine on my PowerBook5,8 (very
similar to your PowerBook5,7), but not a chance for 'more complex' ones.
I assume 'simpler' vs. 'more complex' is a lot due to the bitrate of the
video, but there may be other factors.

> Do you think that compiling mplayer is a good option? Need a specific
> library?

I doubt there's a lot to gain compared to mplayer-g4. IME sometimes a
video will play better in one player or the other, but it sounds like
you've already tried that.


--
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer


--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: 720p video on G4?

by José Jorge-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A Saturday 5 September 2009 21:49:30, Rubén Gómez Antolí escreveu:
> ---------------- End of video info -----------
This doesn't say if it is outputting to Xv, X11, or GL.... maybe you have a
problem with that.

And also, maybe compositing extension may slow down video output.


--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: 720p video on G4?

by Rubén Gómez Antolí :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello all:

Sorry for delay; I'm away for my e-mail last days.

Michel Dänzer escribió:
> On Sat, 2009-09-05 at 21:49 +0200, Rubén Gómez Antolí wrote:
>> I'm trying to play a 1280x720 x264 video:
>>
>> (...)

>> This video could play in AMD Athlon 1500+ with 4+ years old, I think my
>> G4 is powerfull that it.
>
> I'm afraid that while in theory the performance of these CPUs may be
> about the same, in practise the Athlon machine still has several
> advantages:
>
>       * Due to x86 being more popular, its code is probably better
>         optimized, in particular but possibly not only for the SIMD
>         extensions.
>       * It probably has significantly more memory bandwidth, not only
>         because it's a desktop vs. a laptop.
>       * ...
>

Ok, I'm afraid that a future better optimized code for PowerPC isn't
posible due minor desktop-laptop user since Apple is out; Do you think
about? (I supposed that it's needed a high skill in program and PowerPC)

> Also, the X driver version / configuration may also matter. Make sure
> you're using xserver-xorg-video-radeon from sid and that the DRI is
> enabled.

I'm using:

ii  xserver-xorg-video-radeon               1:6.12.2-3
             X.Org X server -- ATI Radeon display driver
ii  xserver-xorg-video-radeonhd             1.2.5-1
             X.Org X server -- AMD/ATI r5xx, r6xx display driver

Did I need only "xserver-xorg-video-radeon"?

My xorg's conf:

------------- xorg.conf ----------
Section "Files"
        FontPath        "unix/:7100"
         FontPath        "/usr/share/fonts/X11/misc"
         FontPath        "/usr/share/fonts/X11/cyrillic"
         FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
         FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
         FontPath        "/usr/share/fonts/X11/Type1"
         FontPath        "/usr/share/fonts/X11/100dpi"
         FontPath        "/usr/share/fonts/X11/75dpi"
         FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
         Load    "bitmap"
         Load    "dbe"
         Load    "ddc"
         Load    "dri"
         SubSection "extmod"
          Option "omit XFree86-DGA"
         EndSubsection
         Load    "freetype"
         Load    "glx"
         Load    "int10"
         Load    "record"
         Load    "type1"
         Load    "vbe"
EndSection

Section "InputDevice"
         Identifier      "Generic Keyboard"
         Driver          "kbd"
         Option          "CoreKeyboard"
         Option          "XkbRules"      "xorg"
         Option          "XkbModel"      "macintosh"
         Option          "XkbLayout"     "dvorak(es)"
         Option          "XkbVariant"    "es"
         Option          "XkbOptions"    "lv3:rwin_switch,apple:badmap"
EndSection

Section "InputDevice"
         Identifier      "Synaptics Touchpad"
         Driver          "synaptics"
         Option          "SendCoreEvents"        "true"
         Option          "Device"                "/dev/input/mice"
         Option          "Protocol"              "auto-dev"
         Option          "LeftEdge"              "0"
         Option          "RightEdge"             "850"
         Option          "TopEdge"               "0"
         Option          "BottomEdge"            "645"
         Option          "MinSpeed"              "0.4"
         Option          "MaxSpeed"              "1"
         Option          "AccelFactor"           "0.02"
         Option          "FingerLow"             "5"
         Option          "FingerHigh"            "30"
         Option          "MaxTapMove"            "20"
         Option          "MaxTapTime"            "100"
         Option          "HorizScrollDelta"      "0"
         Option          "VertScrollDelta"       "30"
         Option          "SHMConfig"             "on"
         Option          "TapButton1"            "0"
         Option          "TapButton2"            "2"
         Option          "TapButton3"            "3"
         Option          "VertEdgeScroll"        "1"
         Option          "VertTwoFingerScroll"   "0"
EndSection

Section "Device"
         Identifier      "ATI Technologies, Inc. RV350 [Mobility Radeon
9600 M10]"
         Driver          "radeon"

         BusID           "PCI:0:16:0"

         Option          "RandRRotation" "on"
        Option          "DynamicClocks" "on" # increase battery life
         Option          "MacModel" "powerbook-internal"

EndSection


Section "Monitor"
         Identifier      "Monitor gen�rico"
EndSection

Section "Screen"
         Identifier      "Default Screen"
         Device          "ATI Technologies, Inc. RV350 [Mobility Radeon
9600 M10]"
         Monitor         "Monitor gen�rico"
         DefaultDepth    24
         SubSection "Display"
                 Depth           1
                 Modes           "1440x900" "1200x800" "1024x768"
"800x600" "640x480"
                 Virtual         2720 1024
         EndSubSection
         SubSection "Display"
                 Depth           4
                 Modes           "1440x900" "1200x800" "1024x768"
"800x600" "640x480"
                 Virtual         2720 1024
         EndSubSection
         SubSection "Display"
                 Depth           8
                 Modes           "1440x900" "1200x800" "1024x768"
"800x600" "640x480"
                 Virtual         2720 1024
         EndSubSection
         SubSection "Display"
                 Depth           15
                 Modes           "1440x900" "1200x800" "1024x768"
"800x600" "640x480"
                 Virtual         2720 1024
         EndSubSection
         SubSection "Display"
                 Depth           16
                 Modes           "1440x900" "1200x800" "1024x768"
"800x600" "640x480"
                 Virtual         2720 1024
         EndSubSection
         SubSection "Display"
                 Depth           24
                 Modes           "1440x900" "1200x800" "1024x768"
"800x600" "640x480"
                 Virtual         2720 1024
         EndSubSection
EndSection

Section "ServerLayout"
         Identifier      "Default Layout"
         Screen          "Default Screen"
         InputDevice     "Generic Keyboard"
         InputDevice     "Synaptics Touchpad"
EndSection

Section "DRI"
         Mode    0666
EndSection
----------------- end of xorg.conf --------------

Something to adjust better?

I'm using "xv" output in mplayer (in answer to José Jorge).


>> Anyone can play 720p videos on Powerbook G4 or similar?
>
> Some 'simpler' 720p videos play mostly fine on my PowerBook5,8 (very
> similar to your PowerBook5,7), but not a chance for 'more complex' ones.
> I assume 'simpler' vs. 'more complex' is a lot due to the bitrate of the
> video, but there may be other factors.

Do you have a link to some "simpler" video, I want to try in my machine.

>> Do you think that compiling mplayer is a good option? Need a specific
>> library?
>
> I doubt there's a lot to gain compared to mplayer-g4. IME sometimes a
> video will play better in one player or the other, but it sounds like
> you've already tried that.

Yes, I'd tried with Kaffeine, Mplayer, VLC and Dragon Player; Totem
isn't in the list, perhaps I should try with it too...

Thanks for your time and responses.

Salud y Revolución.

Lobo.
--
Libertad es poder elegir en cualquier momento. Ahora yo elijo GNU/Linux,
para no atar mis manos con las cadenas del soft propietario.
---------
Desde El Ejido, en Almería, usuario registrado Linux #294013
http://www.counter.li.org


--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: 720p video on G4?

by Michel Dänzer-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Don, 2009-09-10 at 23:17 +0200, Rubén Gómez Antolí wrote:

>
> Michel Dänzer escribió:
> > On Sat, 2009-09-05 at 21:49 +0200, Rubén Gómez Antolí wrote:
> >> I'm trying to play a 1280x720 x264 video:
> >>
> >> (...)
>
> >> This video could play in AMD Athlon 1500+ with 4+ years old, I think my
> >> G4 is powerfull that it.
> >
> > I'm afraid that while in theory the performance of these CPUs may be
> > about the same, in practise the Athlon machine still has several
> > advantages:
> >
> >       * Due to x86 being more popular, its code is probably better
> >         optimized, in particular but possibly not only for the SIMD
> >         extensions.
> >       * It probably has significantly more memory bandwidth, not only
> >         because it's a desktop vs. a laptop.
> >       * ...
> >
>
> Ok, I'm afraid that a future better optimized code for PowerPC isn't
> posible due minor desktop-laptop user since Apple is out; Do you think
> about? (I supposed that it's needed a high skill in program and PowerPC)

It's possible but unlikely.


> > Also, the X driver version / configuration may also matter. Make sure
> > you're using xserver-xorg-video-radeon from sid and that the DRI is
> > enabled.
>
> I'm using:
>
> ii  xserver-xorg-video-radeon               1:6.12.2-3
>              X.Org X server -- ATI Radeon display driver
> ii  xserver-xorg-video-radeonhd             1.2.5-1
>              X.Org X server -- AMD/ATI r5xx, r6xx display driver
>
> Did I need only "xserver-xorg-video-radeon"?

Yes.

Have you checked that your Xorg.0.log says direct rendering is enabled?


> >> Anyone can play 720p videos on Powerbook G4 or similar?
> >
> > Some 'simpler' 720p videos play mostly fine on my PowerBook5,8 (very
> > similar to your PowerBook5,7), but not a chance for 'more complex' ones.
> > I assume 'simpler' vs. 'more complex' is a lot due to the bitrate of the
> > video, but there may be other factors.
>
> Do you have a link to some "simpler" video, I want to try in my machine.

None offhand, sorry.


--
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer


--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: 720p video on G4?

by Rubén Gómez Antolí :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Michel:

Michel Dänzer escribió:
> On Don, 2009-09-10 at 23:17 +0200, Rubén Gómez Antolí wrote:
>> (...)

>> Ok, I'm afraid that a future better optimized code for PowerPC isn't
>> posible due minor desktop-laptop user since Apple is out; Do you think
>> about? (I supposed that it's needed a high skill in program and PowerPC)
>
> It's possible but unlikely.
>

Ok, I'll be hope. ^_^

>>> Also, the X driver version / configuration may also matter. Make sure
>>> you're using xserver-xorg-video-radeon from sid and that the DRI is
>>> enabled.
>> I'm using:
>>
>> ii  xserver-xorg-video-radeon               1:6.12.2-3
>>              X.Org X server -- ATI Radeon display driver
>> ii  xserver-xorg-video-radeonhd             1.2.5-1
>>              X.Org X server -- AMD/ATI r5xx, r6xx display driver
>>
>> Did I need only "xserver-xorg-video-radeon"?
>
> Yes.
>
> Have you checked that your Xorg.0.log says direct rendering is enabled?
>

You are true! Look at this:

grep -i render /var/log/Xorg.0.log
(WW) RADEON(0): Direct rendering disabled
(II) RADEON(0): XAA Render acceleration unsupported on Radeon 9500/9700
and newer. Please use EXA instead.
(II) RADEON(0): Render acceleration disabled
(II) Initializing built-in extension RENDER
razer@mac-lobo:~$ grep WW /var/log/Xorg.0.log
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or
'vmmouse' will be disabled.
(WW) Disabling Generic Keyboard
(WW) Warning, couldn't open module freetype
(WW) Warning, couldn't open module type1
(WW) RADEON(0): Failed to read PCI ROM!
(WW) RADEON(0): Failed to read PCI ROM!
(WW) RADEON(0): Unrecognized BIOS signature, BIOS data will not be used
(WW) RADEON(0): Video BIOS not detected, using default clock settings!
(WW) RADEON(0): Panel size 1440x900 is derived, this may not be correct.
(WW) RADEON(0): Unknown vendor-specific block 1
(WW) RADEON(0): Unknown vendor-specific block 1
(WW) RADEON(0): Unknown vendor-specific block 1
(WW) RADEON(0): Direct rendering disabled
(WW) RADEON(0): Option "RandRRotation" is not used
(WW) appletouch can't grab event device, errno=16
(WW) RADEON(0): Unknown vendor-specific block 1
(WW) RADEON(0): Unknown vendor-specific block 1
(WW) Apple Computer Apple Internal Keyboard/Trackpad: unable to handle
keycode 464
(WW) RADEON(0): Unknown vendor-specific block 1
(WW) RADEON(0): Unknown vendor-specific block 1
(WW) RADEON(0): Unknown vendor-specific block 1
(WW) RADEON(0): Unknown vendor-specific block 1
(WW) RADEON(0): Unknown vendor-specific block 1
(WW) RADEON(0): Unknown vendor-specific block 1
(WW) RADEON(0): Unknown vendor-specific block 1
(WW) RADEON(0): Unknown vendor-specific block 1
(WW) appletouch can't grab event device, errno=16
razer@mac-lobo:~$ grep EE /var/log/Xorg.0.log
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) Failed to load module "freetype" (module does not exist, 0)
(EE) Failed to load module "type1" (module does not exist, 0)


There are so many warnings at my X conf, and two errors (simply solution).

I'm looking in Google for enable DRI but all I see is for FGLRX drivers,
but I do some extra test and, look:

glxinfo |head
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
     GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
     GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_OML_swap_method,
     GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
     GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
razer@mac-lobo:~$ xdriinfo
Screen 0: not direct rendering capable.

Why Glxinf say that "direct rendering: Yes" and Xdriinfo and X's says no?

Note: At this moment I'm using two monitors (using DVI output), Should
be influenced in this test?

> (...)
>> Do you have a link to some "simpler" video, I want to try in my machine.
>
> None offhand, sorry.

Don't worry about.

Thanks for your time and effort.

Regards.

Salud y Revolución.

Lobo.
--
Libertad es poder elegir en cualquier momento. Ahora yo elijo GNU/Linux,
para no atar mis manos con las cadenas del soft propietario.
---------
Desde El Ejido, en Almería, usuario registrado Linux #294013
http://www.counter.li.org


--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: 720p video on G4?

by Benjamin Cama :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
Just one remark made me tick :

Le dimanche 13 septembre 2009 à 22:52 +0200, Rubén Gómez Antolí a
écrit :
> Note: At this moment I'm using two monitors (using DVI output), Should
> be influenced in this test?

I had problems with direct rendering on multiple-monitor setup because
of the lack of video memory. Try with your laptop's screen only first.
You could also look what exactly caused :
 (WW) RADEON(0): Direct rendering disabled
in the logs, by looking the preceding lines.

Regards,
Benjamin


--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: 720p video on G4?

by Rubén Gómez Antolí :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all:

Benjamin Cama escribió:

> Hi,
> Just one remark made me tick :
>
> Le dimanche 13 septembre 2009 à 22:52 +0200, Rubén Gómez Antolí a
> écrit :
>> Note: At this moment I'm using two monitors (using DVI output), Should
>> be influenced in this test?
>
> I had problems with direct rendering on multiple-monitor setup because
> of the lack of video memory. Try with your laptop's screen only first.
> You could also look what exactly caused :
>  (WW) RADEON(0): Direct rendering disabled
> in the logs, by looking the preceding lines.

Test with only laptop's screen:

----------------- Xorg.log ------------
(II) RADEON(0): [DRI] installation complete
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xf103b000 at 0x48027000
(II) RADEON(0): [drm] Closed DRM master.
(WW) RADEON(0): Direct rendering disabled
(II) RADEON(0): XAA Render acceleration unsupported on Radeon 9500/9700
and newer. Please use EXA instead.
(II) RADEON(0): Render acceleration disabled
(II) RADEON(0): num quad-pipes is 1
(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
         Scanline Image Writes
         Setting up tile and stipple cache:
                 32 128x128 slots
                 32 256x256 slots
                 16 512x512 slots
(II) RADEON(0): Acceleration enabled
------------------- end of Xorg.log ----------

Until this moment I don't know anything about EXA; I'd need to look for
into Wikipedia for "this" EXA architecture.

I try now enabling EXA in xorg.conf (before look for in the net) and now
log show this:

-------------------- Xorg.log before EXA ------------------
II) RADEON(0): [DRI] installation complete
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xf249f000 at 0x48027000
(II) RADEON(0): [drm] Closed DRM master.
(WW) RADEON(0): Direct rendering disabled
(II) RADEON(0): Render acceleration enabled for R300/R400/R500 type cards.
(II) RADEON(0): Setting EXA maxPitchBytes
(II) RADEON(0): num quad-pipes is 1
(II) EXA(0): Offscreen pixmap area of 50561024 bytes
(II) EXA(0): Driver registered support for the following operations:
(II)         Solid
(II)         Copy
(II)         Composite (RENDER acceleration)
(II) RADEON(0): Acceleration enabled
(II) RADEON(0): DPMS enabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): No video input capabilities detected and no information
is provided - disabling multimedia i2c
(II) Loading sub module "theatre_detect"
(II) LoadModule: "theatre_detect"
(II) Loading /usr/lib/xorg/modules/multimedia//theatre_detect_drv.so
(II) Module theatre_detect: vendor="X.Org Foundation"
         compiled for 1.6.3, module version = 1.0.0
         ABI class: X.Org Video Driver, version 5.0
(II) RADEON(0): no multimedia table present, disabling Rage Theatre.
(II) RADEON(0): Set up overlay video
(II) RADEON(0): Set up textured video
-------------------- End of xorg.org before EXA ----------------

I test now 720p video and result is the same. I'm not sure that enabling
EXA is better results. But, at least I have less Warning in X system.

There are anymore to test?

> Regards,
> Benjamin

Thank so much at all.

Salud y Revolución.

Lobo.
--
Libertad es poder elegir en cualquier momento. Ahora yo elijo GNU/Linux,
para no atar mis manos con las cadenas del soft propietario.
---------
Desde El Ejido, en Almería, usuario registrado Linux #294013
http://www.counter.li.org


--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: 720p video on G4?

by drz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Montag 14 September 2009 18:32:04 schrieb Rubén Gómez Antolí:
> Hi all:
Hi

I cant play 720p on a PowerBook G4 5,4 (1,33 Ghz, 15 inch, Radeon 9600/9700
rv350) either.
But I forgot to:

aptitude install firmware-linux

That helped a little regarding performance, I think.
In that package is the Firmware for R3xx ATI cards. Maaaybe this will speed
things up a little, but I dont think it will be enough for 720p.

greetz
drz


--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: 720p video on G4?

by José Jorge-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A Monday 14 September 2009 19:00:08, drz escreveu:
> In that package is the Firmware for R3xx ATI cards. Maaaybe this will speed
> things up a little, but I dont think it will be enough for 720p.

A simple way to check if the CPU can decode the 720p, even with an ideal GPU :

mplayer -vo null movie720.avi


--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: 720p video on G4?

by Rogério Brito :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there,

Sorry for jumping in late here.

On Sep 14 2009, José JORGE wrote:
> A Monday 14 September 2009 19:00:08, drz escreveu:
> > In that package is the Firmware for R3xx ATI cards. Maaaybe this
> > will speed things up a little, but I dont think it will be enough
> > for 720p.
>
> A simple way to check if the CPU can decode the 720p, even with an
> ideal GPU :

Gee, I wish that I had both a fast GPU & CPU like you guys have (I only
have a G3 and Rage 128 here).

> mplayer -vo null movie720.avi

Indeed. Using

$ mplayer -nosound -vo null -benchmark foo.avi

is also a good idea to see how the machine works (if it is not CPU
bound), especially after doing something like:

$ dd if=foo.avi of=/dev/null

to get the file in the cache. Depending on the format of the video (say,
a H.264 video), it takes quite a good amount of CPU to decode the video.
Converting it to a simpler format (say, MPEG-4 Part 2) might be a good
workaround.

To check the memory bandwidth of your machine, one simple-minded tool
that I used in the past is mbw (try: apt-cache show mbw).

And I can report that I got some low-resolution H.264 videos to be
playable on my 600MHz G3 iBook with mplayer and the options:

-vfm ffmpeg -lavdopts fast

This proved to be useful to play even Steve Job's video from this month.

For a source of some short 720p videos, you can try some available on
youtube or on Apple's quicktime section of the site.


Regards,

--
Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...