[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 720p video on G4?



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


Reply to: