LinuxMCE Forums

General => Users => Topic started by: ardirtbiker on March 31, 2012, 03:11:14 am

Title: hulu player non-functional on MD [workaround]
Post by: ardirtbiker on March 31, 2012, 03:11:14 am
Recent install of LMCE-1004-201203211118.iso  and then an update today.   Then created MD, however trying to launch Hulu Player results in this in dmesg:

[ 1024.248009] huludesktop[9590]: segfault at 4d0 ip 005f6a0a sp bfcdad30 error 4 in libX11.so.6.3.0[5e2000+119000]
[ 1029.454668] huludesktop[9838]: segfault at 4d0 ip 00fd4a0a sp bfa37c90 error 4 in libX11.so.6.3.0[fc0000+119000]
[ 1034.618813] huludesktop[10149]: segfault at 4d0 ip 00d3ba0a sp bfc11e10 error 4 in libX11.so.6.3.0[d27000+119000]
[ 1038.960698] huludesktop[10345]: segfault at 4d0 ip 00687a0a sp bf8ead20 error 4 in libX11.so.6.3.0[673000+119000]

This is all that is reporting in the xx_Hulu_Player.log:
01      03/30/12 19:48:09.588           LIRCD_Thread: Listening for Hulu Desktop <0xb637ab70>
01      03/30/12 19:48:12.493           LIRCD_Thread: Accepted Socket Connection: 8 <0xb637ab70>
01      03/30/12 19:48:13.920           LIRCD_Thread: Closing Socket connection: 8 <0xb637ab70>
01      03/30/12 19:48:13.920           LIRCD_Thread: Listening for Hulu Desktop <0xb637ab70>

and this is the only item in pluto.log:
1       03/30/12 19:47:23       67 (spawning-device)    Found ./Hulu_Player

NOTE:  all logs are from the MD (there is no information for Hulu in the same logs on the core).

Anyone else having same issue or have any suggestions?

Dennis
Title: Re: hulu player non-functional on MD
Post by: l3mce on March 31, 2012, 07:11:38 am
uhhhhhhhhhhhhhh


apt-get install flashplugin-installer? Maybe?
Title: Re: hulu player non-functional on MD
Post by: ardirtbiker on March 31, 2012, 03:21:53 pm
hmmmm...   

checked that!!!!    ;D

even re-installed and even tried flashplugin-nonfree...

Still no go  >:(

Update again last night... no affect!

bummer!!!!


Dennis

Title: Re: hulu player non-functional on MD
Post by: JaseP on April 01, 2012, 02:42:36 am
I'm not getting the Hulu player either...

Haven't really dived into that yet though... Web based features are a secondary concern for me at the moment.

I did notice the thing on the boards about it not working,... the flash-player being over-written... But I will also note that the downloaded Huludesktop app (from Hulu Labs) is not working in a straight Kubuntu 10.04 install either. There is apparently something wrong with the most recent update to the flash player versus the Huludesktop app. I saw something about people having success by retrograding their flashplayer install back down a few versions.

Title: Re: hulu player non-functional on MD
Post by: ardirtbiker on April 01, 2012, 06:16:19 am
hmm.. I'll try that... I know it WAS working on my linux desktop (11.04 kubuntu), but i just tried it and it complains about flashplugin. it was working not long ago.

Dennis
Title: [Resolved- however not ideally] Re: hulu player non-functional on MD
Post by: ardirtbiker on June 03, 2012, 09:48:17 pm
I had time to install prior versions of flashplugin-installer AND firefox (latest firefox requires newer flash)

What I downloaded is 10.0.45.2ubuntu1 of flashplugin installer from here: http://www.ubuntuupdates.org/package/core/lucid/multiverse/updates/flashplugin-installer (http://www.ubuntuupdates.org/package/core/lucid/multiverse/updates/flashplugin-installer)

and 9.0.1+build1-0ubuntu0.10.04.1 of firefox from here: http://www.ubuntuupdates.org/package/mozilla_team_firefox_stable/lucid/main/base/firefox (http://www.ubuntuupdates.org/package/mozilla_team_firefox_stable/lucid/main/base/firefox)

Hulu is working now (however the newer firefox and flashplugin were to improve video playback)

I tried re-installing just the latest flashplugin, but hulu quit working again.  It is strange because on my linux desktop (Kubuntu 12) I am running the latest firefox and flashplugin and hulu works fine there.   


Dennis

Title: Re: hulu player non-functional on MD [workaround]
Post by: l3mce on June 05, 2012, 01:33:48 am
I can confirm this behavior.


The last ever flash player (they have discontinued support for linux) breaks hulu.

Thanks adobe.

@#$#$@#!
Title: Re: hulu player non-functional on MD [workaround]
Post by: ardirtbiker on June 05, 2012, 03:36:43 am
also verified this on hulu forums.  look under the topic 'huludesktop linux fail' at this site: http://www.hulu.com/discussions/19 (http://www.hulu.com/discussions/19)

Dennis
Title: Re: hulu player non-functional on MD [workaround]
Post by: JaseP on June 05, 2012, 03:38:39 pm
Methinks we need a replacement package of the old flash in the repositories,... or a LINK to an old one... if hosting the old working adobe one is not "kosher."
Title: Re: hulu player non-functional on MD [workaround]
Post by: l3mce on June 06, 2012, 02:13:34 am
Assuming they leave a link available, the package flashplayer-installer just sets up a weird wget like download from adobe. Should be kosher to hold. The problem would only occur if they dumped the availability.

What needs to happen, is hulu needs to update their desktop... but the feeling seems to be that they gave too much freedom in hulu desktop, esp to linux. I dunno if that is going to happen.
Title: Re: hulu player non-functional on MD [workaround]
Post by: JaseP on June 06, 2012, 08:40:14 pm
Does anyone know what the changes in the flash plugin entailed? I seem to recall something about not permitting someone to copy the temp files in order to save the video stream permanently. If that was the change, it's a safe bet that it'll be hard to find the old, working version of flash,... if not right now,... then soon.
Title: Re: hulu player non-functional on MD [workaround]
Post by: ardirtbiker on June 07, 2012, 03:45:54 am
The thing that is itching at me is that on my day-to-day PC (Running Kubuntu Precise, 12.04) I was unable to get huludesktop to work with the normal flashplugin-installer. I did however find a Firefox utility (Flash-Aid) that downloaded flash from another location: wget http://fpdownload.macromedia.com/get/flashplayer/pdc//install_flash_player_11_linux.x86_64.tar.gz11.2.202.235/install_flash_player_11_linux.x86_64.tar.gz (http://wget http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.235) and it installed flash to /usr/lib/firefox/plugins/libflashplayer.so

and huludesktop was working.

I tried running flash-aid on my MD, however it didnt seem to fix the issue either.  

And I did read somewhere that in /etc/adobe/mms.cfg, there is a entry for the newer flashplugin "EnableLinuxHWVideoDecode=1"  that is default, and should be changed to =0... however that didnt make any difference either.

Im using the older flashplugin-installer mentioned in prior post, as well as an earlier firefox to get huludesktop to work for now.  

Dennis

Title: Re: hulu player non-functional on MD [workaround]
Post by: l3mce on June 07, 2012, 04:31:32 am
wget http://fpdownload.macromedia.com/get/flashplayer/pdc//install_flash_player_11_linux.x86_64.tar.gz11.2.202.235/install_flash_player_11_linux.x86_64.tar.gz

That looks 64 bit to me... and a weird address I cannot resolve.

* this resolves:
wget http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.235/install_flash_player_11_linux.x86_64.tar.gz

However:
flashplugin-installer:
  Installed: 11.2.202.235ubuntu0.10.04.1

I do not expect a lick of difference from that. I will poke around.

* try this instead
wget http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.63/install_flash_player_11_linux.x86_64.tar.gz
Title: Re: hulu player non-functional on MD [workaround]
Post by: ardirtbiker on June 07, 2012, 05:29:52 am
oops.. sorry.. messed up on the pasting of the address.   the 64 bit one is because my 'desktop' computer is 64 bit Kubuntu.  
There is an i386 version that would be run on my MD, however the 'flash-aid'' script wants to un-install flashplugin-installer (which would break many things)... ive been trying to run the script manually step by step excluding the removal of flashplugin-installer, and linking /etc/alternatives/mozilla-flashplayer to the new libflashplugin.so located in /usr/lib/mozilla/plugins.  

here is the script generated by 'flash-aid' that would be run on my 32bit MD:
Code: [Select]
#!/bin/bash
echo "***************************************************************************
*****************PLEASE WAIT...DON'T CLOSE THIS TERMINAL!******************
***************************************************************************
***************************************************************************"
sudo -k
echo '***************************************************************************
*************************Starting removal commands*************************
***************************************************************************
***************************************************************************'
sudo apt-get --yes purge flashplugin.*installer
sudo apt-get --yes purge flashplugin-downloader
echo '***************************************************************************
*************************Starting update commands**************************
***************************************************************************
***************************************************************************'
echo '***************************************************************************
*************************Starting install commands*************************
***************************************************************************
***************************************************************************'
cd "/root/.mozilla/firefox/p2ejri39.default/extensions/flashaid@lovinglinux.megabyet.net/chrome/content/tmp" && rm -f *flash* && wget http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.233/install_flash_player_11_linux.i386.tar.gz
NEWHASH32=$(md5sum *flash* | sed 's/ .*//g')
if [ "${NEWHASH32}" == '1ad1d399e95e452b6f85fe20003f3846' ];then
tar xvf *flash* libflashplayer.so && sudo chown root:root libflashplayer.so && sudo chmod 0644 libflashplayer.so && sudo mv libflashplayer.so /usr/lib/mozilla/plugins/ && sudo ln -s /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/libflashplayer.so && rm -f *flash*
else
echo 'Flash 32bit installation aborted, due to md5 checksum mismatch!'
rm -f *flash*
fi
echo '***************************************************************************
*************************Starting tweaking commands************************
***************************************************************************
***************************************************************************'
TWEAK=$(cat /etc/adobe/mms.cfg | grep 'OverrideGPUValidation')
if test -z "${TWEAK}";then
echo 'OverrideGPUValidation=true' | sudo tee -a /etc/adobe/mms.cfg
fi
cat /etc/adobe/mms.cfg | sed '/EnableLinuxHWVideoDecode=1/d' | sudo tee /etc/adobe/mms.cfg
NPVIEWER=/usr/lib/nspluginwrapper/i386/linux/npviewer
if test -f "${NPVIEWER}";then
cat /usr/lib/nspluginwrapper/i386/linux/npviewer | sed '/export GDK_NATIVE_WINDOWS=1/d' | sudo tee /usr/lib/nspluginwrapper/i386/linux/npviewer
fi
echo -n "************************************************************************
wget http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.63/install_flash_player_11_linux.x86_64.tar.gz***
******FINISHED! You can close this terminal and restart Firefox now.*******
************************************************************code***************
***************************************************************************" && read


The file i would need for my MD would be
wget http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.63/install_flash_player_11_linux.i386.tar.gz (http://wget http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.63/install_flash_player_11_linux.i386.tar.gz)
and I am working on applying it now to see what it resolves

Dennis
Title: Re: hulu player non-functional on MD [workaround]
Post by: l3mce on June 07, 2012, 03:29:43 pm
Thanks for that :)

I am also giving it a whack :)
Title: Re: hulu player non-functional on MD [workaround]
Post by: ardirtbiker on June 08, 2012, 02:10:15 am
Im curious to see if it works for you... just in case I have something else causing my problem.   

It just seems strange that the latest Kubuntu amd64 can run the latest firefox and flashplayer allowing hulu to work... I just cant seem to find what the differences are.

Dennis
Title: Re: hulu player non-functional on MD [workaround]
Post by: l3mce on June 12, 2012, 05:22:47 am
Replacing /usr/lib/flashplugin-installer/libflashplayer.so
with the libflashplayer.so from that package works. Catching up on The Daily show on Hulu now. :)
Title: Re: hulu player non-functional on MD [workaround]
Post by: JaseP on June 12, 2012, 04:56:44 pm
I had an issue where Hulu wouldn't maximize (would start windowed in KDE desktop, but crash on maximize & not run at all from the LinuxMCE menu)... Would this solve that too, or is it a separate issue?
Title: Re: hulu player non-functional on MD [workaround]
Post by: l3mce on June 12, 2012, 08:10:16 pm
That was solved for me by manually downloading the newest huludesktop*.deb from hulu.com (hulu labs link at bottom)
Title: Re: hulu player non-functional on MD [workaround]
Post by: JaseP on June 12, 2012, 08:27:08 pm
Good,... .the WAF will go way up if I get back Hulu for the Mrs...
Title: Re: hulu player non-functional on MD [workaround]
Post by: ardirtbiker on June 13, 2012, 03:51:20 am
I must have something else wrong... Ive not been able to get it to work... will try on a test MD.

Dennis
Title: Re: hulu player non-functional on MD [workaround]
Post by: l3mce on June 13, 2012, 04:13:00 am
I clicked the hulu check on the software section of the MD in web admin. Huludesktop failed, but I replace it anyway... so I downloaded the deb from hulu labs.
wget http://download.hulu.com/huludesktop_i386.deb
Then: dpkg -i huludesktop_i386.deb; apt-get install lmce-hulu-player (as it failed with a depends on huludsektop).
I extracted the libflashplayer.so from the tar you linked. I moved the original as a backup, and moved the extracted one into its place at /usr/lib/flashplugin-installer.

I did not screw with the conf or any of the symlinks that get from /root/.huludesktop > firefox > randomlibIcan'tremember > /usr/lib/flashplugin-installer
Title: Re: hulu player non-functional on MD [workaround]
Post by: ardirtbiker on June 14, 2012, 03:24:22 am
i did the same as well.. but ive been installing other .deb packages from time to time trying things... I may have garbled things up somewhere when it comes to flash...  I'll try some other things... but work got busy again.. ugghhh.


Dennis
Title: Re: hulu player non-functional on MD [workaround]
Post by: JaseP on June 25, 2012, 06:04:39 pm
Do you have it working?  I haven't tried fixing it on my system... but wanted to know what kind of success you're getting.
Title: Re: hulu player non-functional on MD [workaround]
Post by: l3mce on June 25, 2012, 06:15:16 pm
Testing my poorly written scripts I blew up my prod system... so I reinstalled yesterday.

Worked again as detailed.
Title: Re: hulu player non-functional on MD [workaround]
Post by: JaseP on June 25, 2012, 08:04:00 pm
As per reply #21, above?
Title: Re: hulu player non-functional on MD [workaround]
Post by: l3mce on August 21, 2012, 07:37:41 pm
Hi guys.

I have created a source package which installs the latest huludesktop package and reverts flash to the last version working with VDPAU/GPU accelleration 10.3.183.20.

Once a build happens, you should be able to just run an apt-get update... and there will be an install candidate for huludesktop (apt-cache policy huludesktop).

You don't have to do anything at all special for this. Just click hulu player in software for the MD, and it will find the package it is looking for. This should work for 810 as well... but I don't know when that might be changed, or what version of flash 810 is using/can use. So... until I get some testing done... consider this 1004 only.

Enjoy.
Title: Re: hulu player non-functional on MD [workaround]
Post by: ardirtbiker on August 22, 2012, 03:22:15 am
awesomeness!   anxiously awaiting!

Dennis
Title: Re: hulu player non-functional on MD [workaround]
Post by: l3mce on August 22, 2012, 10:31:24 pm
Code: [Select]
# apt-cache policy huludesktop
huludesktop:
  Installed: 0.9.8-1
  Candidate: 0.9.8-1
  Version table:
 *** 0.9.8-1 0
        500 file:/usr/pluto/deb-cache/ ./ Packages
        500 http://deb.linuxmce.org/ubuntu/ lucid/beta2 Packages
        100 /var/lib/dpkg/status

Is there :) Please report back.

I clicked the player in software in web admin and hit save... it installed, I reloaded the router, I tried to play it, it crashed, I reloaded the router again, and it was working.

So just apt-get update, then go to software and click hulu player and save.

A side note... when a new flash player is dropped into the repos it will overwrite our flash. It is as easy as opening software again, unchecking hulu player, save, wait a minute, click hulu player again, and save.
Title: Re: hulu player non-functional on MD [workaround]
Post by: ardirtbiker on August 23, 2012, 01:57:13 am
thanks,

I have to go back to work this evening... so I'll have to try it out later this week.

Dennis
Title: Re: hulu player non-functional on MD [workaround]
Post by: Armor Gnome on August 27, 2012, 08:01:21 am
I now have an orbiter other than the screen I use for IRC so am able to help you test this again.  Hulu is still not working in my install.  On your recommendation I last attempted several uncheck, save, reload.  Today while I worked on other things I waited with full screen ui2 running for 3 hours and was never prompted to reload.  You were pretty clear that the reload request must come from linuxmce and not to reload before it prompts me to.

Willing to bet here that I may have a non-typical Hulu problem that would be seperate from what you are troubleshooting.  I can't use Hulu because of my bandwidth anyways so let me know if you ever want to look into this one.
Title: Re: hulu player non-functional on MD [workaround]
Post by: JaseP on August 28, 2012, 04:38:33 am
I think I have the same issue here... Net installed LinuxMCE 1004 with recent apt-get update/apt-get upgrade...
Title: Re: hulu player non-functional on MD [workaround]
Post by: l3mce on August 28, 2012, 06:27:18 am
Keep checking.

It took me 3 reloads/ 1 reboot each time. I don't fully understand why.
Title: Re: hulu player non-functional on MD [workaround]
Post by: JaseP on August 28, 2012, 04:28:04 pm
Will try... Probably in a few days...

Quick question,... I once had the Hulu desktop app running under the KDE desktop, but it would run not through LinuxMCE's wrapper (since uninstalled the wrapper and app several times and ran a recent apt-get upgrade, I might've even done a full re-install)... When it ran in a window, it worked fine at some lower windowed resolution. When I tried to full-screen it, it crashed. My resolution is 1080p (native) on the machine I tried (VGA connection to a Sanyo 42" LCD TV).

Do you know if this is related to the Flashplayer issue (same thing)?? Or have I stumbled on some different problem??
Title: Re: hulu player non-functional on MD [workaround]
Post by: l3mce on August 28, 2012, 04:56:54 pm
It is a compatability issue between the flash player and hulu desktop.

The versions I have, work. I am not really sure why it takes so many reloads/attempts/reboots to begin working... but it works on all of my media directors... and even has acceleration on the ion. I use it every other day. It was installed from the package I created in the repos.
Title: Re: hulu player non-functional on MD [workaround]
Post by: joerod on March 30, 2013, 04:54:26 am
just an update.  I just install 1004 final from iso downloaded yesterday (3/29/2013).  I went to the MD in the web admin and installed the hulu software (like we are all suppose to).  Unfortunately it did not work, I was getting a segfault.  so after reading this I did the following to get it to work.


downloaded:

http://hacktolive.org/repo/archive/pool/main/f/flashplugin-nonfree/flashplugin-installer_10.3.183.7ubuntu0.11.04.1-hacktolive1_i386.deb
https://launchpad.net/~ubuntu-security-proposed/+archive/ppa/+build/3030668/+files/firefox_9.0.1%2Bbuild1-0ubuntu0.10.04.1_i386.deb

then uninstalled current firefox and installed the download debs, and now I'm watching daily show.