Community supported Raspberry Pi 2 instructions -- "RISEBERRY"

Comments

89 comments

  • Avatar
    Blake Freeman
    RISEBERRY ... love it! This is awesome David. Thanks for taking the initiative here!
    0
    Comment actions Permalink
  • Avatar
    Jakub Marciniak
    Hi David

    It's great that You created it. But my question is: does it play the mp4 files without cutting (jams). I've tried it and it has some problems with running smoothly those video files.
    0
    Comment actions Permalink
  • Avatar
    Dave Myers
    So far, I've only tested with one MP4 file streamed from a local lan web server using the video content option.  That was using a usb wifi adapter on the Pi.  Sound played fine but the video stuttered.  

    Some thoughts on video:

    I doubt that RISE player can take advantage of the RaspPi's builtin H264 hardware decoding.  AFAIK, only omxplayer included in those linux distros can do that.  That means all the video decoding is done in software.  (Similarly, RaspPi can hardware decode MPEG2 and VC-1 content, but you have to pay for a license for this and modify the config.txt individually for each Pi).  

    Copying video files to the local sd card and playing from there might be faster.  I haven't checked to see if RISE player even has this capability though.  

    Using a wired connection instead of usb-wifi will likely be much faster.  


    If you run any tests, please report the results here!
    0
    Comment actions Permalink
  • Avatar
    Chaminda Galappaththige
    hello im rise vision presentation had embedded html area and its asking to install flash player can some one please help me how to install flash player.
    thank
    0
    Comment actions Permalink
  • Avatar
    Steve Shankman
    This reply was created from a merged topic originally titled Shutting off my monitors causes my Raspberry Pis to reboot, corrupting their card....

    Hi!

    One of my three Raspberr Pi players continues to have problems. Most common is corrupt disks, forcing me to prepare new SD cards all the time. Recently, I explored the problem further and learned from one fo the employees who opens in the morning that every time he turns on the TVs (they shut them down at night), he sees that the computers are starting up from a power-off condition. I've been lucky with two panels, but the third gets corrupt.

    We have new flat panel TVs and HDMI cables, and apparently it seems that turning them off causes the computers to detect the absence of a monitor, and they somehow decide to shut down (note: their power comes from adapters, not from the TV).

    As a short-term fix, I'm directing the staff to NOT turn off the panels at night. However, it would be nice to figure out a way for the computers to not be able to detect when they're turned off. I have been reading about CEC and adapters that can block pin 13 of the HDMI cable that controls this, but some reviews said that they didn't work.

    Any ideas would be appreciated! Thanks...
    0
    Comment actions Permalink
  • Avatar
    Jeff
    Try disabling hotplug detection... see http://monitordetectkiller.com/

    This stopped all sorts of problems I was having with Windows that freaked when the monitor was shut off.
    0
    Comment actions Permalink
  • Avatar
    Dave Myers
    Unclean shutdowns will definitely corrupt the SD card image.  You might be able to SSH to your PI and look at logs in /var/log to see what time system booted - then look at time of last message to see when Pi halted.  

    I spent a few days trying to get CEC working.  I wanted to use it instead of IR to control the TV.  Tried a few different distributions as well as compiled libcec from source.  I've gotten the library to recognize the Pulse8 CEC hardware in the PI, but it never sees any other devices on the HDMI link.  Ie, I don't think it works.  

    Check /boot/config.txt -- I think there are some notes in there regarding configuration changes you can make in that file to ignore the HDMI signals about TV power.  

    My hunch is that TV powering off isn't the culprit and something else is forcing the Pi to halt and reboot.  

    Not to contradict - but are you *sure* this Pi isn't powered via the TV?  You said the employee reported seeing the boot messages when powering on the TV.  That would seem to imply that the Pi *just* received power.  Or maybe TV power on is causing a voltage spike or brownout on the AC line that is interfering with Pi's separate power adapter?  Plasma TVs might do this....

    Good luck -- post back anything you find that might help others with these type issues!
    0
    Comment actions Permalink
  • Avatar
    Bert Shure
    Minimize writes to the boot microSD card!  This will increase the chance of surviving when the power goes off.

    Do less or no logging.  SD and microSD cards can wear out!
    Google to see how people made their boot drives read only!

    I have a USB stick connected to my PI's.  It holds dynamic data and backups of the microSD card.  On some Pi's I also use a USB adapter that holds a microSD card.  I have a utility that keeps the backup card sync'd to the boot card.

    Wired networks are definitely faster than wireless.  If you had a solid wired network you could boot your Pi's off a server and run them diskless.  That would fix the power problem but might cause other problems, especially if you have to go wireless.
    0
    Comment actions Permalink
  • Avatar
    Steve Shankman
    Hi, thanks so much for the quick response!

    I'm 100% sure I'm powering them with a separate power supply. I know because the unit locked up during startup and I turned the TV on and off many times with no effect on the Pi. The TVs are large LCD panels. they are also 4K (the owner got a deal) so I had to make a manual resolution entry in the config file to force 1080. Given that, I can't figure out what else would cause them to see the startup process happen in the am when they fire up the monitors...

    I think I will explore the config.txt parameters and see if there is anything. But maybe I should find some way of blocking that CEC signal. Either way, turning them off makes the Pi think there's no monitor. For example, before I set the manual resolution entry (with the old 1080p monitors we had), whenever I'd turn on a Pi without the monitor powered up, it would default to 720p resolution. So it must communicate and determine the resolution at least. When the TV gets turned off, something happens where the Pi thinks it should sleep or shut off. I'm confused. For now, the TVs stay on.

    Also, these TVs have RF remotes, so IR won't even work for me.

    I might want to consider switching to RPI 2s. Maybe this will somehow skirt my problem.

    Thanks
    0
    Comment actions Permalink
  • Avatar
    Dave Myers
    Just a hunch - grab an extension cord and plug the Pi's power adapter on a different electrical circuit.  And maybe try with a different Pi power supply too.  And different HDMI cable.  

    Also, have you tried swapping Pi hardware with one of the signs that isn't having this problem?  See if the problem sticks with the TV or follows the Pi to the new TV.  

    Definitely, definitely upgrade to Pi2's!  Huge performance increase with the 4 core cpu.  I've never even tried to run RISE on a Pi1.  
    0
    Comment actions Permalink
  • Avatar
    Steve Shankman
    Thanks David. I will try the swap idea. I'm wondering why it's only happening on that unit as well. 

    My next step will be to try a Pi2. I already have one but there was no player available when I got it.

    Thanks, and I'll report back when I do the test.
    0
    Comment actions Permalink
  • Avatar
    J Juno
    I had a similar problem with a RPi, it turned out to be the power supply.

    In short, many "made in china" power supplies do not sustain the power efficiently (get what you pay for).

    Replaced with a reputable supply and no more problem.

    Worth a try!  If only one RPi is having the issue then simply try swapping the power supply from your other one and see if the problem is now on that tv in the morning.
    0
    Comment actions Permalink
  • Avatar
    Steve Shankman
    This could be an issue as well. One of my tests is to swap hardware around to find out if I can isolate any parts. Thanks...
    0
    Comment actions Permalink
  • Avatar
    Steve Shankman
    I still have not found a way to turn off the CEC properly. This setting was present in the menus of the TV, but it was already set to "off". we have left the TVs on at night and there's been no issue since then. So I'm pretty sure it's related to this CEC signal trying to shut down the RPi when the TV is turned off. Or at least something related to the signalling.

    I have had a hard time finding a cable or adapter that blocks the CEC signal, BUT here is another approach I will try: DVI cables don't have CEC. So, using a DVI cable with HDMI adapters will probably effectively block it. Or, I can just use an HDMI (male) to DVI (female) adapter, connected directly to a DVI (male) to HDMI (female) adapter, in between the RPi and the HDMI cable. This will probably do the trick.

    Best solution might be to figure out a way for them to easily shut down the RPi at night, which, via CEC, should shut down the monitor. But doing this repeatedly, night after night, could also compromise the integrity of the SD card.
    0
    Comment actions Permalink
  • Avatar
    J Juno
    Hi sshank

    Curious if you had a chance to try the DVI concept and if it worked for you?

    figure out a way for them to easily shut down the RPi at night
    Here is a solution we created for a client

    We had an electrician install a 120V power outlet connected to a typical "light switch" on the wall of our client. The RPi was plugged to this outlet.

    Our client has regular hours, so we created a "scheduled task/cron" on the RPi to have it shut down the system about 5 minutes after the store officially closes.

    Yes the CEC works and the TV goes to sleep.

    When the store opens the next day our client simply turns the light switch off and then immediately back on, which of course powers the RPi back on and the TV comes out of sleep.

    Essentially you could use a regular power bar to do the same thing.

    Perhaps this might be useful in your situation or for others?
    0
    Comment actions Permalink
  • Avatar
    Steve Shankman
    This is a great idea. I might try doing this. Since my last update, they have simply been leaving the monitor turned on, which has prevented the problem apparently. It's not an optimal solution of course, since the TVs are on for a lot of unnecessary hours, and your solution sounds pretty interesting. Any quick advice on how you set up your shut down cron would be appreciated. I guess just "sudo halt"? No, I have not tried the HDMI cables and adapters yet as it's been working.

    Thanks
    0
    Comment actions Permalink
  • Avatar
    J Juno
    I should have thought of it earlier. Just use a timer on the electrical outlet!

    Plug the RPi into the timer and have it shut off about an hour after your script has already shut the unit down properly. then have the timer turn on about 5-10 minutes before the business opens and that should take care of everything.

    I can't remember off hand the exact sudo command but easily found online.
    0
    Comment actions Permalink
  • Avatar
    Dave Myers
    Not directly.  While it might be possible to get an original RaspPi working with RISE, I wouldn't recommend it - the core CPU is too slow.  

    Also, until Raspbian is updated to Debian Jesse, the version of Chromium included is too old for the Google Play store to work - so getting the RISE Vision Chrome app is difficult.  
    0
    Comment actions Permalink
  • Avatar
    Marty Langen
    Will these instructions work with an original raspberry pi?  Not a RPi2?
    0
    Comment actions Permalink
  • Avatar
    Marty Langen
    Thanks for the information.  So are you saying that there are issues getting the RiseVision app to run on the RaspberryPi 2 as well?  Or are these issues just on the first version?
    0
    Comment actions Permalink
  • Avatar
    Dave Myers
    Correct.  Last time I checked, Rasbian (on the Pi2 as well) included Chromium v22 which is very old.  I was not able to open the Chrome app store using this old version.  You might be able to compile a newer version of Chromium to use on Rasbian, but I have not tried this.  The Ubuntu / Linaro image for Pi2 referenced in the instructions has a new(er) version of Chromium.  
    0
    Comment actions Permalink
  • Avatar
    J Juno
    We run Raspbian on RPi B+ and RPi2 with rise in 1080p without issue - except no video or fancy transitions. (We have no requirement for rise gadgets/apps at this point)

    We have many units running 24/7 for more than 14 months without a single problem.

    Clients are very happy.

    NOTE: We are not having much long term success with Snappy Ubuntu on RPi2.
    0
    Comment actions Permalink
  • Avatar
    Dave Myers
    Great to hear!  Are you using the RISE Vision player from the Chrome store or the older client?  

    If you could post some instructions on going from fresh Rasbian to your setup, I as well as many other would be interested.  

    Thanks.
    0
    Comment actions Permalink
  • Avatar
    J Juno
    David we are using the older client and followed the original Rise Vision installation on RPi instructions that used to be posted here at Rise.

    Can't seem to find that page on Rise anymore, but have a copy somewhere in the office that I can dig up.

    Will post a quick step by step when I find that document.
    0
    Comment actions Permalink
  • Avatar
    Shea Darlison
    Hi J Juno,

    Can you check out this doc and let me know if it has what you need. 

    https://docs.google.com/document/d/16n8F30eEu0etSmJyOYmvXpOUluSh7JbD_t4bFMOvbzg/edit

    Thanks,
    Shea
    0
    Comment actions Permalink
  • Avatar
    J Juno
    Thanks Shea, that is the document I was referencing!

    We still use this method with great success for RPi.  Works even faster and more efficiently with the RPi2. (We have mixed results/reliability with Ubuntu - The document should be seperated?)

    When I have a moment I will give a quick instruction for everyone who wants to use this solution.
    0
    Comment actions Permalink
  • Avatar
    Dave Myers
    Shea, Juno -- 

    The instructions mention downloading the old client to use (instead of the chrome app store client) but the link gets re-directed to the new player instructions.  Is that old client still available?
    0
    Comment actions Permalink
  • Avatar
    Byron Darlison
    David, check this link and let me know if that helps https://help.risevision.com/user/advanced/display/native-player and BTW, we have a new native player for windows and ubuntu coming out within the next couple of weeks as well. Thanks!
    0
    Comment actions Permalink
  • Avatar
    Dave Myers
    Awesome.  As soon as I get past beginning of year (I work at a school), I'll try a test build.  
    0
    Comment actions Permalink
  • Avatar
    J Juno
    https://help.risevision.com/user/advanced/display/native-player 
    Byron the page now says...
    Where Can I Download Player?
    To download the Native Player software for Ubuntu 14.04, click here.
    The original instructions lead to the RV player download page, but my guess is that the native player is no longer the original, as Ubuntu 14.04 had not been released at that time.

    If I look in RVA my current player version is RisePlayer 2.0.036.rsp.1

    Since we have an excellent image file, it has been a very long time since we downloaded anything new. We use our original image as a template for all RPi's, but being aware that we allow Rise to update the player automatically, I can not be sure of what version is which - current, old, somewhere in between???

    If you or someone at Rise could confirm the version and release date it would be helpful to understand what is working reliably and which player we are using. That would also help with future references to software and what to download for others who are not moving towards Ubuntu but are interested in a reliable Raspian installation.

    Thanks in advance
    0
    Comment actions Permalink

Please sign in to leave a comment.