Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Macromedia Flash Player 6 on Linux PPC with Qemu
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
mimac
n00b
n00b


Joined: 27 Sep 2004
Posts: 4

PostPosted: Tue Sep 28, 2004 12:47 pm    Post subject: Reply with quote

this is my "PC" pkg list:

ldconfig-2.3.2-14mdk
bash-2.05b-14mdk
grep-2.5.1-3mdk
glibc-2.3.2-14mdk
zlib1-1.1.4-8mdk
libfontconfig1-2.2.1-6mdk
libglib1.2-1.2.10-11mdk
libxfree86-4.3-23mdk
libstdc++2.10-2.96-0.83mdk
libtermcap2-2.0.8-35mdk
libpcre0-4.3-5mdk
sash-3.5-6mdk
libexpat0-1.95.6-4mdk
libfreetype6-2.1.4-6mdk
fontconfig-2.2.1-6mdk
libxpm4-3.4k-26mdk
libgtk+1.2-1.2.10-37mdk
Back to top
View user's profile Send private message
BetterUnborn
n00b
n00b


Joined: 28 Sep 2004
Posts: 57
Location: Germany

PostPosted: Tue Sep 28, 2004 3:10 pm    Post subject: Reply with quote

Hi.

I got it running and (nearly) everything is fine...
BUT:

Mozilla sometimes dies when closing a tab with an instance of flashplayer running. This seems to be a problem with mozplugger, but it only happens with qemu/flash. Very annoying though, cause many pages do use small flashes.

The colors are strange ... I've made a screenshot http://www.ttg-bm.de/flash_ppc.jpg
The colors should be what you would expect the traffic signs to look like.
SDL manages the graphic out, so could this be a problem with SDL??
Is there any way to force a certain color palette?

THX
Back to top
View user's profile Send private message
iTux
Guru
Guru


Joined: 07 Sep 2004
Posts: 586
Location: Toronto

PostPosted: Tue Sep 28, 2004 7:46 pm    Post subject: Reply with quote

BetterUnborn wrote:

Mozilla sometimes dies when closing a tab with an instance of flashplayer running. This seems to be a problem with mozplugger, but it only happens with qemu/flash. Very annoying though, cause many pages do use small flashes.


There is the FlashBlock extension. No flash played until you click on it. In case the "small flashes" are useless to the page.

iTux
Back to top
View user's profile Send private message
BetterUnborn
n00b
n00b


Joined: 28 Sep 2004
Posts: 57
Location: Germany

PostPosted: Thu Sep 30, 2004 2:13 pm    Post subject: Reply with quote

Coooool ... I like flashblock plugin 8)
Installed it on x86, too.

The thing about sdl: I was wrong, sdl doesn't seem responsible for this, because qemu-0.6 does exactly the same when compiled with USE="-sdl".
Only thought so because I saw nothing with an older version of qemu when compiled without sdl...
I've read that qemu does support only 256 colors. Could this be the problem?
I use xorg-x11-6.7.0-r1, maybe that could be somewhat responsible. But I want to wait until 6.8.x is stable before upgrading (that takes pretty long on my iBook G3).
I use kde-3.2.2, but it looks the same under xfce, too.

Doesn't anybody else have weird colors??
Back to top
View user's profile Send private message
mimac
n00b
n00b


Joined: 27 Sep 2004
Posts: 4

PostPosted: Thu Sep 30, 2004 5:41 pm    Post subject: Reply with quote

Quote:
Doesn't anybody else have weird colors??


You should ask if anyone has good colors :)

i'm thinking on rewrite the gfla.pl in C++ and maybe try to change the color depth of the gflashplayer window...

maybe the qemu-devel forum can help
Back to top
View user's profile Send private message
linuxopjemac
n00b
n00b


Joined: 23 Aug 2004
Posts: 35
Location: The Hague, The Netherlands

PostPosted: Thu Oct 28, 2004 9:02 pm    Post subject: Reply with quote

Could anyone be so kind to host the x86 flash player 7? I have player 6 working but it would be nice to have the newest player...Thanks!
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 630
Location: New Zealand

PostPosted: Thu Oct 28, 2004 9:55 pm    Post subject: Reply with quote

Actually, what we have working under qemu is the gflashplayer.
It is a player not a plugin. I am not sure I am correct about its
origin, but I believe it was bundled with older versions of the
flash plugin. There is no such player in the files distributed by
macromedia anymore. If the flash file format has not changed
since then, there is not really a problem except may be some
reliability.
In fact I just looked at the file given by macromedia for the
flash plugin v7, none of the files in there match any I have
for my qemu emulation.

Sorry about that.
fb
Back to top
View user's profile Send private message
linuxopjemac
n00b
n00b


Joined: 23 Aug 2004
Posts: 35
Location: The Hague, The Netherlands

PostPosted: Fri Oct 29, 2004 7:52 am    Post subject: Reply with quote

What about emulating a complete browser and its plugins? Or is this masochism?
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 630
Location: New Zealand

PostPosted: Fri Oct 29, 2004 10:43 am    Post subject: Reply with quote

It certainly sounds masochistic to me, but that's not a reason not to
try :lol: !
Seriously if you want to go that far and you still have OS X either
use it directly or with mol. Off course that involve running or
virtualizing an OS while what you suggest is only some applications
with their libraries, hum....
I should try to make a dump of my x86 install on CD or DVD and
see if I can run stuff with qemu on ppc... I don't guaranty I will
give it a go anytime soon though.
Back to top
View user's profile Send private message
ang
n00b
n00b


Joined: 30 Jan 2003
Posts: 29

PostPosted: Sat Oct 30, 2004 9:54 am    Post subject: swfdec for ppc flash playback in moz Reply with quote

emerge swfdec

it works just fine for flash playback on my machine... dun expect flash7 support and the like, but basic flash files play ok
Back to top
View user's profile Send private message
BetterUnborn
n00b
n00b


Joined: 28 Sep 2004
Posts: 57
Location: Germany

PostPosted: Sun Oct 31, 2004 11:55 am    Post subject: Reply with quote

swfdec is nice!
Performance is good, this really was an issue on my G3 iBook!

But I have probs with sound:
mostly no sound, on some flashes only noise.

I use alsa oss emulation (can't use alsa directly, it distorts sounds), can I force swf_play to use oss?
Back to top
View user's profile Send private message
BetterUnborn
n00b
n00b


Joined: 28 Sep 2004
Posts: 57
Location: Germany

PostPosted: Sun Oct 31, 2004 12:38 pm    Post subject: Reply with quote

uups, I forgot to be a little bit more precise :oops:

I've compiled sdl with alsa and oss.
if I do
export SDL_AUDIODRIVER="alsa"
it doesn't matter what is in AUDIODEV, I get no error and no sound
(YES, alsa is unmuted :wink: )
if I do
export SDL_AUDIODRIVER="oss"
I get a warning
Couldn't open audio: No available audio device, disabling
I dunno what to use exactly for AUDIODEV, but both "default" and "/dev/dsp" fail.
Back to top
View user's profile Send private message
aronchi
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2004
Posts: 94

PostPosted: Wed Dec 01, 2004 2:23 pm    Post subject: Reply with quote

Is it possible to make an ebuild of this procedure?

It's quite difficult... maybe an howto with the results of this thread would be simpler...
_________________
Alessandro Ronchi Home Page
SOASI: Sviluppo Software e Sistemi Open Source Forlì
Back to top
View user's profile Send private message
aronchi
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2004
Posts: 94

PostPosted: Wed Dec 01, 2004 2:41 pm    Post subject: Reply with quote

Code:
 qemu-i386 -L /opt/programs/qemu-i386/ /opt/programs/qemu-i386/usr/bin/gflashplayer
Segmentation fault


How can I solve this problem?
_________________
Alessandro Ronchi Home Page
SOASI: Sviluppo Software e Sistemi Open Source Forlì
Back to top
View user's profile Send private message
BetterUnborn
n00b
n00b


Joined: 28 Sep 2004
Posts: 57
Location: Germany

PostPosted: Wed Dec 08, 2004 5:56 pm    Post subject: Reply with quote

swfdec has gone to version 0.3.2 ... they say to have improved the mozilla-plugin a lot ... and it's little better :(
It still doesn't do everything...and is muted...and consumes all my CPU :?

It's ~ppc, and that for good reason: the stand-alone-player swfplay does behave strange:
if I want it to use oss, it doesn't do anything, just opens an empty window and consumes 100% CPU
on alsa, timing is broken, it plays too fast (and is muted, I can't change that)
CPU usage does jump to 100%, too.

I can't help it, but flash on linux/ppc is still unusable:
This "update" for swfdec took 1.5 years, gplflash crashes more often than it shows anything and the qemu-workaround distorts colours and is too slow for my G3 iBook ... I fear I have to hope for the good-will of macromedia to compile a flash plugin for ppc - I really don't know why they haven't done that yet. Flash works on linux/x86 and MacOSX, so both arch and OS are supported; could there be any reason why it is sooo complicated?
Back to top
View user's profile Send private message
aronchi
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2004
Posts: 94

PostPosted: Wed Dec 08, 2004 7:48 pm    Post subject: Reply with quote

Yes, It has no sense at all.

I think players and plugins should be open source (Acrobat Reader, Flash, Java plugin).
_________________
Alessandro Ronchi Home Page
SOASI: Sviluppo Software e Sistemi Open Source Forlì
Back to top
View user's profile Send private message
BetterUnborn
n00b
n00b


Joined: 28 Sep 2004
Posts: 57
Location: Germany

PostPosted: Wed Dec 08, 2004 10:46 pm    Post subject: Reply with quote

In fact, it would be fine ...

But you can't force it, its the decision of the companies. If macromedia doesn't want to make its flash-plugin (and its the only flash-plugin that's worth using) open source, you have to accept it.
On the other hand, a company should see that it has some kind of responsibility, that if it establishes a quasi-standard and controls the market of apps that support that standard properly, it has to support as many platforms as possible ... or help others to develop better apps. AFAIK macromedia doesn't care about swfdec or gplflash.

You're right about java and pdf, too. But in those cases it isn't as serious, because there are ppc alternatives almost everybody can live with (xpdf/ibm-jdk).
I really use my iBook a lot (in fact more than 10 times more than my x86 PC) and missing flash is the most serious drawback. I don't miss the java plugin so much because blackdown offers a 1.3.x-plugin, and that has been sufficient for me so far.
Back to top
View user's profile Send private message
homar
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2002
Posts: 94

PostPosted: Thu Dec 09, 2004 2:28 am    Post subject: Reply with quote

In the case of the IBM JDK, it seems like they're deliberately not building the mozilla plugin, because the X86 version includes a plugin.
Back to top
View user's profile Send private message
iTux
Guru
Guru


Joined: 07 Sep 2004
Posts: 586
Location: Toronto

PostPosted: Thu Dec 09, 2004 3:06 am    Post subject: Reply with quote

Please correct me if I'm wrong. I think that the Flash format is a closed format whereas pdf / Java are open formats/specifications. Anyone can implement a JVM with the spec (though, it requires a lot of work).

I don't mind that much about closed-source apps, what I don't like is closed formats and companies that then tries to impose these close format as "standards". Anyway, any time soon, I think all "close format" (except the ones from MS or ones that do not have a MS counterpart) are doomed to disappear.


iTux
Back to top
View user's profile Send private message
BetterUnborn
n00b
n00b


Joined: 28 Sep 2004
Posts: 57
Location: Germany

PostPosted: Thu Dec 09, 2004 7:30 am    Post subject: Reply with quote

I think you're right ... flash specs (at least flash >= 5.0) don't seem to be public. Both gplflash and swfdec re-engineer existing plugins. Hasn't there been an open source project developing a flash-4 player on public specs or was that re-engineered, too?

Flash is a standard for internet content, we have to face the facts ... nowadays anyone can establish a new "standard", as long as windows is well-supported. And I fear this won't change for a long time. Perhaps we have to wait for the china and india to show them that M$ isn't everything they have to care about...

I've heard about that ibm-jdk-1.4.1 mozilla plugin for x86 ... cannot understand ibms behaviour, for their quite linux-friendly by now. Maybe there annother petition can help :wink: ... just kidding
Back to top
View user's profile Send private message
iTux
Guru
Guru


Joined: 07 Sep 2004
Posts: 586
Location: Toronto

PostPosted: Thu Dec 09, 2004 9:24 pm    Post subject: Reply with quote

BetterUnborn wrote:

I've heard about that ibm-jdk-1.4.1 mozilla plugin for x86 ... cannot understand ibms behaviour, for their quite linux-friendly by now. Maybe there annother petition can help :wink: ... just kidding


I only signed the Flash petition recently even if I have been aware of it for some time. I guess I got bored. I said in the comments somethings like:
"Without Flash, I cannot see all the ads, not good for web economy!" :)

iTux
Back to top
View user's profile Send private message
iTux
Guru
Guru


Joined: 07 Sep 2004
Posts: 586
Location: Toronto

PostPosted: Fri Dec 10, 2004 7:03 pm    Post subject: Re: swfdec for ppc flash playback in moz Reply with quote

ang wrote:
emerge swfdec

it works just fine for flash playback on my machine... dun expect flash7 support and the like, but basic flash files play ok


Hi,

I see a mozilla USE flags... Is is required to have the plugin? (I have Firefox and the mozilla flag will add the big Mozilla as a dependency...).

I see also a: media-plugins/gst-plugins-swfdec that I attempted to install though it fail with several errors. I will investige a little before posting error message. Is this required for the plugin?

In other words, some info on how to install/configure that plugin would be appreciated.

Thanks,
iTux
Back to top
View user's profile Send private message
aronchi
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2004
Posts: 94

PostPosted: Wed Jan 19, 2005 10:35 pm    Post subject: Reply with quote

Anyone does know why does my qemu segfaults?

qemu-i386 -L /opt/flash_x86/ /opt/flash_x86/usr/bin/gflashplayer
Segmentation fault
_________________
Alessandro Ronchi Home Page
SOASI: Sviluppo Software e Sistemi Open Source Forlì
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 630
Location: New Zealand

PostPosted: Thu Jan 27, 2005 2:11 am    Post subject: Reply with quote

aronchi wrote:
Anyone does know why does my qemu segfaults?

qemu-i386 -L /opt/flash_x86/ /opt/flash_x86/usr/bin/gflashplayer
Segmentation fault


Sorry but no. My installation works fine. Do you have all the
files needed for gflashplayer? Version of qemu? USE flags for
qemu (emerge -pv qemu)? emerge info?
Back to top
View user's profile Send private message
aronchi
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2004
Posts: 94

PostPosted: Mon Mar 07, 2005 1:23 am    Post subject: Reply with quote

I'm using the package with gflashplayer and its dependencies posted on this thread. Do I need some other file? Can you send me the complete directory with the i386 qemu system complete needs?

qemu is app-emulation/qemu-0.6.1-r1, I've compiled it with +sdl +softmmu, this is my emerge info:

Code:
abook ~ # emerge info
Portage 2.0.51.19 (default-linux/ppc/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.11 ppc)
=================================================================
System uname: 2.6.11 ppc 7447A, altivec supported
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 19 2005, 12:19:31)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.90.0.3-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.eliteitminds.com http://pandemonium.tiscali.de/pub/gentoo/"
LANG="it_IT@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa altivec audiofile bitmap-fonts bzip2 bzlib cdr codecs crypt cups curl directfb dvd emboss esd f77 fam fbcon firefox flac font-server fortran freetype gcj ggi gif gimp glut gphoto2 gpm gstreamer gtk imagemagick imlib jabber java joystick jpeg junit kde libwww mad maildir messages mime motif mp3 mpeg mpeg4 ncurses net nls nntp nptl oggvorbis opengl pam pda pdf perl png postgres ppc pwdb python qt radeon readline samba sdl slang softmmu spell ssl svg symlink tcpd tiff truetype truetype-fonts type1-fonts usb xine xml xml2 xmms xv zlib video_cards_radeon linguas_it"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

_________________
Alessandro Ronchi Home Page
SOASI: Sviluppo Software e Sistemi Open Source Forlì
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
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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