From owner-freebsd-stable@FreeBSD.ORG Sun May 2 08:10:10 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF38F16A4CF; Sun, 2 May 2004 08:10:09 -0700 (PDT) Received: from mta01-svc.ntlworld.com (mta01-svc.ntlworld.com [62.253.162.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id E505C43D45; Sun, 2 May 2004 08:10:08 -0700 (PDT) (envelope-from scott@tuatara.fishballoon.org) Received: from llama.fishballoon.org ([81.104.195.124]) by mta01-svc.ntlworld.comESMTP <20040502150944.XMKL10497.mta01-svc.ntlworld.com@llama.fishballoon.org>; Sun, 2 May 2004 16:09:44 +0100 Received: from tuatara.fishballoon.org ([192.168.1.6]) by llama.fishballoon.org with esmtp (Exim 4.32; FreeBSD) id 1BKIbX-000GkD-7A; Sun, 02 May 2004 16:10:07 +0100 Received: (from scott@localhost) by tuatara.fishballoon.org (8.12.11/8.12.11/Submit) id i42FA6d1018242; Sun, 2 May 2004 16:10:06 +0100 (BST) (envelope-from scott) Date: Sun, 2 May 2004 16:10:06 +0100 From: Scott Mitchell To: nork@FreeBSD.ORG Message-ID: <20040502151006.GC14823@tuatara.fishballoon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 4.10-PRERELEASE i386 cc: freebsd-stable@FreeBSD.ORG Subject: Experiences with linuxpluginwrapper and -STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 May 2004 15:10:10 -0000 Hi, I've just spent a fun couple of hours with the linuxpluginwrapper and a bunch of browsers on a 4.10-PRERELEASE box, trying to figure out exactly what does and doesn't work. Apologies if this is all old news, or I've done something stupid, or the answer to all my problems is 'upgrade to 5.x' - that will happen eventually, but in the meantime maybe there's something here that can help improve the performance of the plugin wrapper. Anyway - on with the results: Konqueror 3.2.2: Flash - Runs perfectly, at full speed, but with no sound Acrobat - 'Unable to load plugin', although it's listed on the plugin configuration page. The native KGhostView plugin works pretty well though, so this isn't such a big deal. Mozilla 1.6: Flash - Runs very slowly (guessing ~ 50% of Konqueror speed), no sound Acrobat - Acroread process starts but immediately hangs, apparently stuck sleeping waiting for something that never happens. I also get three instances of: 'linux: syscall mmap2 is obsoleted or not implemented' on the console. Killing the stuck acroread process allows the browser to continue. FireFox 0.8: Flash - as for Mozilla Acrobat - as for Mozilla Opera 7.23: Flash - Numerous instances of: '/usr/libexec/ld-elf.so.1: /usr/local/lib/pluginwrapper/flash6.so: Undefined symbol "pthread_mutexattr_init"' sent to stdout. No activity from the plugin, browser hangs for ~10s, presumably while plugin fails to initialise. Acrobat - Works perfectly, as long as I don't have the FreeBSD native JVM configured in Opera. If I do, I get: '/usr/local/Acrobat5/Reader/intellinux/bin/acroread: error while loading shared libraries: /usr/local/jdk1.4.2/jre/lib/i386/libawt.so: ELF file OS ABI invalid' on stdout and a blank page instead of the PDF. Opera seems to have issues with the native JVM anyway, so this is not a total surprise. All tested on a 4.10-PRERELEASE box as of last Tuesday, with KDE 3.2.2 and other relevant ports: linuxpluginwrapper-20040310_1 linux-flashplugin-6.0r79_1 acroread-5.08 linux_base-8-8.0_4 opera-7.23.20031119_1 mozilla-1.6_4,2 firefox-0.8_5 My /etc/libmap.conf is as shipped with the linuxpluginwrapper, but with all the Java3D and JAI stuff at the end commented out. I believe there's a PR open to add mmap2() to the Linux emulator, but the web interface seems to be down today so I can't say what number it is. The lack of sound from Flash is a bit odd. Java applets are able to make noise, not sure what Flash is looking for that it can't find. I would be totally happy if I could get one browser (ideally Opera, but any one would do) to be happy with Flash and Acrobat, so I'm happy to test/debug anything or agitate for PRs to be committed... In the meantime Linux Opera and Konqueror+kghostview do a good job. Anyway, hope this is useful to you, or someone else out there... Cheers, Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon