Bug 201027 - www/nspluginwrapper does not work
Summary: www/nspluginwrapper does not work
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Jung-uk Kim
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-21 22:34 UTC by Anton Shterenlikht
Modified: 2018-02-03 05:59 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (jkim)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Shterenlikht 2015-06-21 22:34:28 UTC
I've installed, reinstalled, deinstalled rebuit and reinstalled
again www/nspluginwrapper and www/linux-c6-flashplugin11
on an amd64 laptop. I followed the handbook explicitly,
checked and re-checked. It just does not work.

I've had this problem since the beginning of 2015,
It did work before. I cannot understand what's going on.

Currently this is on 10.2-PRERELEASE #35 r284676, with:

# pkg info -xo flash nsplug firef
linux-c6-flashplugin-11.2r202.466 www/linux-c6-flashplugin11
nspluginwrapper-1.4.4_4        www/nspluginwrapper
firefox-38.0.6,1               www/firefox
#

firefox about:plugins shows:


OpenH264 Video Codec provided by Cisco Systems, Inc.

    File: 
    Path: 
    Version: null
    State: Enabled
    Play back web video and use video chats.

MIME Type	Description	Suffixes
Shockwave Flash

    File: npwrapper.libflashplayer.so
    Path: /usr/home/mexas/.mozilla/plugins/npwrapper.libflashplayer.so
    Version: 
    State: Enabled
    Shockwave Flash 11.2 r202

MIME Type	Description	Suffixes
application/x-shockwave-flash	Shockwave Flash	swf
application/futuresplash	FutureSplash Player	spl
Shockwave Flash

    File: libswfdecmozilla.so
    Path: /usr/local/lib/browser_plugins/swfdec-plugin/libswfdecmozilla.so
    Version: 
    State: Enabled
    Shockwave Flash 9.0 r999

MIME Type	Description	Suffixes
application/x-shockwave-flash	Adobe Flash movie	swf
application/futuresplash	FutureSplash movie	spl


# sysctl compat.linux.osrelease
compat.linux.osrelease: 2.6.18

$ ls -al .mozilla/plugins/
total 264
drwxr-xr-x  2 mexas  wheel     512 Jun 21 23:10 .
drwx------  5 mexas  wheel     512 Jun 21 23:10 ..
-rwx------  1 mexas  wheel  124456 Jun 21 23:10 npwrapper.libflashplayer.so
$ file .mozilla/plugins/npwrapper.libflashplayer.so 
.mozilla/plugins/npwrapper.libflashplayer.so: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, stripped


Thanks

Anton
Comment 1 Jung-uk Kim freebsd_committer freebsd_triage 2015-06-22 15:54:11 UTC
www/swfdec-plugin is installed.  You should remove one of them.
Comment 2 Anton Shterenlikht 2015-06-28 11:14:44 UTC
ok, removed.
Anyway, the problem existed before I installed the second plugin.
I only installed it in desperation.

flash still does not work - just a black screen.

about:plugins shows


OpenH264 Video Codec provided by Cisco Systems, Inc.

    File: 
    Path: 
    Version: null
    State: Enabled
    Play back web video and use video chats.

MIME Type	Description	Suffixes
Shockwave Flash

    File: npwrapper.libflashplayer.so
    Path: /usr/home/mexas/.mozilla/plugins/npwrapper.libflashplayer.so
    Version: 
    State: Enabled
    Shockwave Flash 11.2 r202

MIME Type	Description	Suffixes
application/x-shockwave-flash	Shockwave Flash	swf
application/futuresplash	FutureSplash Player	spl

Perhaps something is wrong with paths?
Comment 3 Anton Shterenlikht 2015-06-28 11:39:49 UTC
some more weirdness - if I remove ~/.mozilla/plugins/npwrapper.libflashplayer.so
then I get get youtube.com to work.
about:plugins shows then

OpenH264 Video Codec provided by Cisco Systems, Inc.

    File: 
    Path: 
    Version: null
    State: Enabled
    Play back web video and use video chats.

MIME Type	Description	Suffixes

However, I still cannot get flash on other sites, e.g. friv.com.

What's going on?
Comment 4 Anton Shterenlikht 2015-07-19 16:16:28 UTC
I'm desparing...

I've another amd64 laptop running 10.1-STABLE #56 r280350: Sun Mar 22
where flash does work!
However on this laptop running 10.2-PRERELEASE #35 r284676: Sun Jun 21
flash does not work!

Both laptops have:

 pkg info -xo flash nsplug
linux-c6-flashplugin-11.2r202.491 www/linux-c6-flashplugin11
nspluginwrapper-1.4.4_4        www/nspluginwrapper
firefox-39.0,1

Both laptops give identical information from "about:plugins"

Both laptops return:
 nspluginwrapper -l
/home/mexas/.mozilla/plugins/npwrapper.libflashplayer.so
  Original plugin: /usr/local/lib/browser_plugins/symlinks/linux-firefox/libflashplayer.so
  Plugin viewer: /usr/local/lib/nspluginwrapper/i386/linux/npviewer
  Wrapper version string: 1.4.4-1

Both laptops have the ports trees at r392509.
I deinstalled/reinstalled both ports many times on both boxes -
no difference - works on one, does not work on the other.

pkg info -xl shows the same files installed by the
two ports above on both laptops.

I just can't see any difference between the setups,
except the OS version. I'm reluctant to update
the working laptop to 10.2-prerelease in case
I loose flash there too.

Please give me a hint - what else might be involved
in my problem - ports? libraries?
Comment 5 Jung-uk Kim freebsd_committer freebsd_triage 2015-07-20 23:27:18 UTC
(In reply to mexas from comment #4)
I can only assume there is a misconfiguration, e.g., "sysctl compat.linux.osrelease", linprocfs(5), linsysfs(5), etc. or GPU acceleration is causing trouble.
Comment 6 Walter Schwarzenfeld freebsd_triage 2018-01-12 09:45:05 UTC
10.2-PRERELEASE is gone. nspluginwrapper works as far I know on all RELEASE versions.
I think this could be closed.