Working Raspberry Pi Installer!

  • 9
  • Idea
  • Updated 2 years ago
  • Not Planned
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members.

Greetings Everyone, as promised here is my recently developed installer script for the Raspberry Pi board.
This was tested using the stock "2013-05-25-wheezy-raspbian" image for the Pi board. I ran into a few bizarre snags with variables in this code so keep in mind this script uses some static components and assumes your username for the Raspbian install is the default "pi" user, I dont know why one would change this but fyi, it needs be to left as the default user of "pi" for this to work properly.

Moving on, to use this installer mod you need to save the following code as an executable shell script, if any of you are not familiar with this concept. Simply copy and paste the code below into a new text file and save it on your Pi desktop named pirvinstaller.sh and set the file to executable by typing sudo chmod +x pirvinstaller.sh in a terminal.

Next run the script buy typing ./pirvinstaller.sh into a terminal from your Pi desktop.

This script installs the Raspbian Chromium binary along with Java, Unclutter and the Xscreensaver control panel. Then it does various mods to the stock Rise Linux player config files and startup to make everything work.



#!/bin/sh
#Raspberry Pi Rise Vision Player installer mod script by Ryan
sudo apt-get update
wget "https://rvaserver2.appspot.com/player/download?os=lnx" -O rvpiplayer.sh
sudo chmod +x rvpiplayer.sh
./rvpiplayer.sh
#Should be finished with stock RVplayer download and installation - resuming Pi mod script and deleting stock rvplayer script
rm rvpiplayer.sh
#installing additional components
sudo apt-get install openjdk-7-jre chromium-browser unclutter xscreensaver
#Modification of chrome component path, the rest of the chrome rise plugins are ok, except flash, we just need to use the ARM chromium binary
rm ~/rvplayer/chrome-linux/chrome
sudo cp /usr/bin/chromium ~/rvplayer/chrome-linux/chrome
sudo chown pi:pi ~/rvplayer/chrome-linux/chrome
#New launcher script construction
sudo echo "java -jar ~/rvplayer/RisePlayer.jar
unclutter" > ~/rvplayer/newstartupscript.sh
sudo chmod +x ~/rvplayer/newstartupscript.sh
sudo chown pi:pi ~/rvplayer/newstartupscript.sh
#Desktop autostart section fixes
sudo rm ~/.config/autostart/rvplayer.desktop
sudo echo "[Desktop Entry]
Type=Application
Exec=/home/pi/rvplayer/newstartupscript.sh
Name=Ryan's RVplayer mod for Raspberry Pi" > ~/.config/autostart/pirvplayer.desktop
sudo chown pi:pi ~/.config/autostart/pirvplayer.desktop
sudo chmod +x ~/.config/autostart/pirvplayer.desktop
echo ..................
echo done!
echo Modifications for RVplayer for use on the Raspberry Pi should now be complete.
echo
echo Upon boot to desktop your Rise display should start as a blank display and ask for your display ID
echo
echo Please Reboot Now...
echo Enter your display ID when prompted after startup.


I realize this mod script is rather crude but it seems to work well from my experience and testing so far. Ideally this script would mod the rvplayer install script to make it not download the x86 chromium files but this adds great complexity to the process and it's not really that much wasted space or bandwidth and this stuff is just a hobby for me.

I hope everyone enjoys this and finds it useful in giving you the ability to make a digital display out of a cheap Raspberry Pi board.
My advise to you all in using the Pi board for a Rise player is...

-Dont use cheap SD cards, only Class 10 in your Pi boards, Sandisk are the best brand I have found so far, having no issues with Sandisk cards.

-Beware if you overclock your Pi to the +.6v levels, I have experienced random SD card corruption with anything but Sandisk cards if overclocked and system instability and heat issues in doing this.

-Keep in mind the current Pi board only does 1360x768 resolution so build your presentations accordingly.

-There is no flash player for Raspbian so you cant use the flash player or youtube gadgets, and there is nothing I can do about it.

-The Pi board has no hardware clock, so be sure to use NTP sync and be aware that the Rise clock gadget references the system time so set your time zone and clock accordingly.

-Never say never or that it cant be done, push the limits and dare to boldly go where no man has gone before.

Enjoy! I look forward to your feedback and results.

~Ryan
Photo of Orion TG

Orion TG

  • 332 Points 250 badge 2x thumb
  • Thrilled

Posted 5 years ago

  • 9
Photo of Robb

Robb, Official Rep

  • 76,676 Points 50k badge 2x thumb
This is fantastic. Thank you very much for this!
Photo of Marco Primus

Marco Primus

  • 82 Points 75 badge 2x thumb
by mine raspberry Pi2 with ubuntu mate it dosnt works with distri is in the undergrund???
Photo of Clampon CR

Clampon CR

  • 370 Points 250 badge 2x thumb
So the pi cannot support 1920 x 1080?
Photo of Biologyben

Biologyben

  • 3,558 Points 3k badge 2x thumb
Yes it can - up to 1920x1200 actually. See the following link if you need to set yours manually.

http://weblogs.asp.net/bleroy/archive...
Photo of Scott Lawyer

Scott Lawyer

  • 444 Points 250 badge 2x thumb
I created the installer script as directed and when I rebooted nothing happened. I navigated into the rvplayer and ran ./newstartupscript.sh and the pi is now alternating with INFO: Exec: [killall,chrome] startViewer and INFO: Exec: [bash, -c, /home/pi/rvplayer/chrome-linux/chrome ...] Chrome started messages.
Photo of Orion TG

Orion TG

  • 332 Points 250 badge 2x thumb
Hey Scott, it sounds like you have clutter from the old pre-Java RV player on your Pi I believe what you need to do is first a clean uninstall of the rvplayer folders on your pi, these are ~/rvplayer, ~/.config/rvplayer and ~/,config/.autostart/Rise Vision Player.desktop

Once these files are gone, run my script again and that should work
Also make sure you are using the 2013-05-25-wheezy-raspbian sd card image as I have not tested this with anything other then that.

thanks
Ryan
Photo of Simon

Simon

  • 232 Points 100 badge 2x thumb
I have the same issue as Scott. Used a clean image of the 2013-05-25-wheezy-raspbian, copied your script and ran it.
I notice there is no ~/,config/.autostart/Rise Vision Player.desktop but a ~/,config/.autostart/pirvplayer.desktop instead. Is this significant?

When I crt-c on the newstartupscript.sh it gives me:
^Cunclutter: could not open display

Any ideas?
Photo of Simon

Simon

  • 232 Points 100 badge 2x thumb
OK, so I missed a few steps...
1) From the wheezy boot menu first expand image to fit card size
2) second set timezone
3) **IMPORTANT** set boot option to boot to desktop
4) then open a shell window & run the install script

then it works!!
Photo of Douglas Hitchcock

Douglas Hitchcock

  • 1,016 Points 1k badge 2x thumb
Is the Raspberry pi the 'suggested" player hardware for a simple digital signage application? I have read a lot on Android player platforms, but the RV player application is only downloadable to a PC or Linux O/S appliance? We're using an old PC as the digital sign platform hardware but seeking another off-the-shelf player solution.
Photo of Neal

Neal

  • 61,252 Points 50k badge 2x thumb
The only recommendations we have made can be found here.

We don't discourage the use of the Raspberry Pi, but it does have some limitations regarding the level of content it can handle, as others have pointed out in this and other threads.
Photo of Orion TG

Orion TG

  • 332 Points 250 badge 2x thumb
Pi board notes - the $100 player

After a few weeks of testing and playing around with the Raspberry Pi board and it's chromium player I thought I would share my results and feelings about this compact and affordable device as a player.

First off it's not a $25/30 computer as hyped... but you can get just the board for around $45. http://www.amazon.com/Raspberry-Pi-Mo...

Next youll need a SD card or micro SD card and adapter, a 4 gig card is plenty and I have found that class 4 cards do work fine in this unit so long as it's not over-clocked heavenly. I recommended using Sandisk cards which you can get for about $5.

If you desire wireless network connectivity, use this adapter, dont buy some junk at the local "technology store", just order this one as it works seamlessly with the Pi, no driver or tinkering needed and it's power use is super low compared to others.
http://www.amazon.com/gp/product/B005...

You will also need a USB micro cable and some sort of power supply.
Now here is the important and often overlooked part. I have found that in all reality especially if using a USB keyboard receiver and wifi adapter you need more power then a standard USB port provides. I have had great results with cheap USB phone chargers for smartphones that provide at least 2amps@5v out the USB port. These can be found everywhere for $5 or less, or perhaps you have an old smartphone charger laying around that has a USB port, the TV's USB port should work too but barely.

Although the Pi board fully loaded will run stable on less power, like a TV's USB port. I have noticed a significant performance improvement by powering these boards with a 2000ma or greater supply so this is worth mentioning, especially if using a more intensive presentation. I see no immediate harm in powering these devices off the TV USB port but they do appear to behave as if under powered in such a setup.

So there it is, throw in a neat little plastic case for $10 and you have a player device for around $100.

This device is capable of most "Basic" style presentations, using only simple html animations, scrollers, transitions, gadgets etc and static backgrounds.

There is currently no Flash player support for the Raspbian distribution and Pi board. This means no video or multimedia content on the Pi board. The weather, RSS, Sports, News and most other gadgets work fine, just no Flash content.

In closing, my final thoughts on the Pi board for a Rise Player would be. It's cheap and potentially powered off the TV's USB port. The . The SD card makes it nice to quickly swap out a failed unit's card or mass image multiple cards. The Pi board is popular and there are many mounts and cases to choose from. Reliability and stability of the unit seems quite good and Raspbian is a stripped down Debian port and runs nice and clean, better then Ubuntu or windows in many ways.

There is no flash player and likely wont be for some time, so no multimedia content. Performance and graphics are relatively limited compared to a mini PC. There is no hardware clock so if your unit looses power and then network the clock widget may be inaccurate until the unit gets a new NTP sync.

Finally, although the Pi board is a really cool, super small, solid-state and silent not to mention a fairly cheap solution it's not a good fit for the bells and whistles user or someone completely inexperienced with Linux. If you like to tinker and learn things along the way I say GO FOR IT!
Hi Ryan,

This is totally brill! Just playing around with it just now. Can you tell me, is there an easy way to disable this running on startup in command line? Also, I want to change the displayscreen code. How do I do this?

Thanks,

DAvid
Photo of Simon

Simon

  • 232 Points 100 badge 2x thumb
With the ver2 software the ID is in RiseDisplayNetworkII.ini file (at least on my Linux build)
Photo of Niels Göran Blume

Niels Göran Blume

  • 120 Points 100 badge 2x thumb
Hey Ryan,

I tried to disable the autostart, but the method you suggest (changing chmod -x for the autostart file) deosn't seem to work.. It still starts the player and using Strg+Alt+Backspace to kill xServer lets me use the normal desktop for a while, but after a couple of minutes, the player tarts again..

Any ideas what I'm doing wrong?

Thanks!

Regards
Niels Göran
Photo of Ryan S.

Ryan S.

  • 222 Points 100 badge 2x thumb
Hi Niels, I haven't actually tried the -x method of disabling the auto-start, it was purely a theoretical fix and not a tested one as ive had no need to. What should work however, is 1, renaming the file to something other then .autostart, such as pirvplayer.autostart to pirvplayer.autostart.disabled. This should make they system ignore this entry, 2, if all fails, simply move the .autostart file out of the autostart directory and for sure this will keep the player from launching.
Photo of Ryan S.

Ryan S.

  • 222 Points 100 badge 2x thumb
Hi Simon, you are correct, since the Version 2 build of the Rise software as is used on this Pi installer mod, the display ID is no longer controlled by the rvplayer script but rather by the RiseDisplayNetwork.ini file. If one wishes to change the Display ID this needs to be done in the RiseDisplayNetwork.ini file rather then the rvplayer script as it is no longer referenced for the display ID in the latest build and replaced by the .ini file.

Thanks for the good point on this subject.
Ryan
Photo of Niels Göran Blume

Niels Göran Blume

  • 120 Points 100 badge 2x thumb
Hey Ryan,

thanks ! Worked perfectly..
I renamed the file itself, but that didn't work..
Moving it though did...

Sounds a bit weird, but nevertheless..

Regards
Niels Göran
Hi Ryan,

Thanks for all the info, and so promptly too! :o) I will have a play around with this soon. Unfortunately I am off to a conference for the next few days, so will have to pop it on the back burner.
Photo of Samuel Bennett

Samuel Bennett

  • 60 Points
Hello Ryan,

I am getting a "no crontab for root" error on the rise vision install and so it does not create the risevision directory or anything.

I installed the latest NOOB v1.2 and selected Raspbian "Wheezy".

Any ideas?

Thanks!
Photo of Orion TG

Orion TG

  • 332 Points 250 badge 2x thumb
Hi Samuel,

I believe your error is being caused by running the player and installer as the root user rather then the pi user. I haven't played with the NOOB build of raspbian but suspect it's user accounts and system is structured slightly differently. You could try running the installer again as the pi user or what I would recommended is to reflash your card with the 2013-5-25 build of wheezy as thats what my installer was build around and seems to just work.

Good luck!
Photo of Biologyben

Biologyben

  • 3,558 Points 3k badge 2x thumb
Two questions - Has anyone investigated why there is only 1360x786 when the Pi supports 1920x1200? Perhaps one of these fixes is needed:

http://www.endlick.com/changing-the-s... (not this one!)

http://weblogs.asp.net/bleroy/archive...

I'll try when I can...

Also - Does anyone have the scrolling gadget working while using a PI? Everything else I need is fully functional aside from this particular gadget.

Thanks!
Photo of Biologyben

Biologyben

  • 3,558 Points 3k badge 2x thumb
The second link (http://weblogs.asp.net/bleroy/archive...) seems to work for me - careful of the choice made as there are a ton of options, however, grab the best one for your monitor and you're golden.

Now to make a spash screen so we don't see all the loading modules... I hope http://www.edv-huber.com/index.php/pr... will work...
Photo of Aaron Zuercher

Aaron Zuercher

  • 60 Points
Hello,
I'm working on digital signage for my school and I'm hoping to use the Raspberry Pi to save costs (and its a neat project!) I installed using the script provided at the top of this thread into a clean Raspbian install. Everything worked fine and the player launches and connects to management console. However when I do a test presentation I get only text and backgroung color. None of the images or gadgets are loading. I have tried a demo screen and setup my own simple screen with a jpeg and text and the pictures don't show. Is this a raspberry pi limitation or something else? Help!

Aaron
Photo of Simon

Simon

  • 232 Points 100 badge 2x thumb
I don't think it's a Pi limitation, Aaron. Here's a screenshot of my Pi with a test presentation. It's based on one from the library and uses the weather widget, a local RSS news feed, a Google calendar feed for the events and a carousel of images. The Pi seems to handle it all well, I sometimes notice some jumpiness on the image fades (probably need to resize the pics to match the displayed size). It's running on a recently purchased 512M Pi, not the very early 256M one. http://maddox.co.uk/wp-content/upload...
Photo of Biologyben

Biologyben

  • 3,558 Points 3k badge 2x thumb
FYI - for anyone who wants to totally hide the start-up text, the following link works great.

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=26&t=39325

I have used this to show a logo/image during boot, then wiped all icons off the desktop and changed the background image to another logo/image and now when the player starts, it shows two pretty screens, then loads the presentation.

And btw, I'm testing with full 1900x1080 and 1900x1200 presentations with no problems.

Thanks Orion TG!!
Photo of Niels Göran Blume

Niels Göran Blume

  • 120 Points 100 badge 2x thumb
Hey,

quick question: How do set Rise Vision presentations to be 1900x1200 ? I can only select 1920 x 1080 from the settings menu..

Thanks!

Regards
Niels Göran
Photo of Ryan S.

Ryan S.

  • 222 Points 100 badge 2x thumb
Hey Everyone, so the Pi board does support higher resolutions including 1080p and so on, the thing is, unlike tradiotional PCs the Pi is configured in a different manor as it lacks a PC style bios and instead uses the config.txt file for it's hardware parameters.

To "force" the Pi to use the desired resolution as is commonly needed if using a low end cheap TV, you need to first probe the HDMI modes that the TV supports and find the one you want to use from the list of available HDMI modes. This is done with the tvservice command. Once you find the desired resolution aka HDMI mode, you enter these parameters in the /boot/config.txt file. It seems complicated at first but is pretty simple, here is a good primer on how this configuration works and how to probe/find the best mode for your TV and force the Pi to use only this mode. http://forums.debian.net/viewtopic.ph...

FYI the GUI resolution settings configurator is highly limited if not outright broken IMHO, and does not allow for anything close to the potential options that your board and TV can possibly run.

HDMI modes and resolutions need to be set in the /boot/config.txt file according to what your TV can support and what resolution you wish to run.

Here is another good read on how the Pi board uses this config.txt file for video and some of the things you can do with it.
http://www.raspberrypi.org/phpBB3/vie...

I know it's a lot of information that seems foreign but this is how this little board works and it is totally capable of running any resolution you could possible want to use.

Ultimately the process comes down to these three steps,
1. probe the TV using the tvservice command to see what HDMI modes it supports and which mode it Prefers.

2. Edit the config.txt file to force HDMI only and not analog video and only use the HDMI mode you have chosen.

3. See if it works on your TV and outputs the right resolution, if it doesnt you wont see any video and will have to offline or remotely edit the config.txt file to undo your changes and try another mode that might work with your TV in the event your first mode did not work and you loose all video. To do this simply pull the SD card and edit the /boot/config.txt file from another machine, then save it and reboot your Pi.

Hope this information helps everyone, unfortunately there is no one size fits all resolution or HDMI mode silver bullet fix, rather one just has to experiment with what settings look best for the particular TV you are using.

Thanks everyone for your interest, questions and contributions to this project.

Ryan Simpson,
FKA orion technology group
Photo of Niels Göran Blume

Niels Göran Blume

  • 120 Points 100 badge 2x thumb
Hey,

works like a charm ! Thank you very much!

one question regarding the presentations: I'm using 1900 x 1200 on my display. Any change to make the presentation that format?

And another general question: How do I find out the "base url for my display" ? Want to give that approach a try as well... ;-)

Everette Allen 1 month ago
So for the record I just run Screenly OCE on my pi, set the only asset to the base url for my display and go.
http://www.screenlyapp.com/ose.html

Kind regards
Niels Göran
Photo of Angelo Pappano

Angelo Pappano

  • 62 Points
I've been doing the same thing and it's FLAWLESS. Even pulling my Instagram pics dynamically.

However, I would suggest that you set it to auto-reboot each night if it runs 24/7.
Photo of Neal

Neal

  • 61,252 Points 50k badge 2x thumb
Thanks for the praise Angelo.

I agree with the daily restarts.
Photo of Neal

Neal

  • 61,252 Points 50k badge 2x thumb
By default, new Presentations are created at 1920x1080. In order to change the size of the Presentation, while in the Editor, click on the Gears Icon near the top right. In the Resolution dropdown, pick the appropriate resolution you require. If the resolution is not listed, you can select Custom which will allow you to specify the width and height you need.

The URL for a Display is in this format: http://preview.risevision.com/Viewer....
Replace the X at the end with the actual ID of your Display

Thanks!
Photo of Niels Göran Blume

Niels Göran Blume

  • 120 Points 100 badge 2x thumb
Thank you, Neal!

So obvious, but apparently not for me..

Regards
Niels Göran
Photo of Neal

Neal

  • 61,252 Points 50k badge 2x thumb
If the file is truly located there, but you're getting an error saying file/directory not found, I would suggest verifying the path you're typing. Please be aware that paths in Linux are case sensitive. So "This" is not the same as "this".

Hopefully this helps.

Thanks.
Photo of Lee Walker

Lee Walker

  • 380 Points 250 badge 2x thumb
i am a real newbie with both the raspberry pi and linux i have run the script and get the message to reboot and enter the display ID when requested but it does not request one, what am i doing wrong.

thanks for any help in advance
Photo of Lee Walker

Lee Walker

  • 380 Points 250 badge 2x thumb
i have copied it to a excuteable file on the desktop using the internet on the raspberry p but when i try and run it from terminal using your command i get file not found even tho it is clearly on the desktop. i have also tried to double click and it comes i can excute even when i try this it does nothing
Photo of Lee Walker

Lee Walker

  • 380 Points 250 badge 2x thumb
managed to get it running using sudo Desktop/pirvinstaller.sh but get alot of not found error it does seem to be downloaded the rvfiles needed from what i can see. and i get all the echo lines displaied on the im really confused just it is not working
Photo of Simon

Simon

  • 232 Points 100 badge 2x thumb
May be obvious, but it is connected to the internet? (Pi's LAN socket > your broadband router)
Photo of Ryan S.

Ryan S.

  • 222 Points 100 badge 2x thumb
Hey Lee, you mention getting a bunch of errors and having to use sudo to launch the installer mod script. Are you by chance using some other software build for the Raspberry Pi board other then the "2013-05-25-wheezy-raspbian" image? The Pi board can run dozens of different operating systems, from a redhat port to android I believe and there are atleast 3 major release channels that are officially supported by the Raspberry Pi foundation. This script and player have ONLY been written and tested to work with the 5-25-13 build of regular "wheezy raspbian" not the "noob" build image or educational image as they differ radically in some underlying core structuring of user accounts, profiles and software packages. Not sure if this is the issue you are having but it's worth mentioning. As for the Display ID, this is contained the the RiseDisplayNetwork ini file, if the Display ID is blank it will prompt you to key one in upon first run or you can copy paste your display ID into this file from the Rise management platform.

Hope this information is helpful to everyone out there.
Keep the Pi rolling!

Ryan
Photo of Lee Walker

Lee Walker

  • 380 Points 250 badge 2x thumb
Hi simon yes it is connected to LAN port and working fine on the internet this is my I am so puzzled.

Ryan fyi I can confirm i am using 5-25-13 build of wheezy raspbian.

would it be possible for anyone to send and image with this installed that I can restore to the sd card. If I give details ie resolution type on monitor/tv and player id ect.
Photo of Ryan S.

Ryan S.

  • 222 Points 100 badge 2x thumb
Hi Lee, that's great you were still able to get ahold of the 5-25-13 build as it's no longer available from the official RPI site, you must have had a card already flashed with it. For those interested here is a link I found to the 5-25 image still available. Get it while you can or at least save the torrent.

http://mirrors.dotsrc.org/rpi/images/...

http://mirrors.dotsrc.org/rpi/images/...

Regarding the resolution question, it's a bit more complicated then setting value X for your display like with VGA. I would suggest you do some research on this extensive topic, with HDMI, there are what are called modes, every TV supports dozens of modes, some of which work better then others and scale nicer for that TV. The key is to poll the TV for the ideal mode then change your config file to reflect this setting once it is determined. Be careful, a wrong setting will give you no video at all and put you back at square one, so make sure you have found the right mode setting for that bsb TV before modifying the config file or you have to start all over.

Good luck, let us know how it goes
Ryan
Photo of Lee Walker

Lee Walker

  • 380 Points 250 badge 2x thumb
hi Ryan thanks for this advise RE: the resolutions how will i find the best mode of the TV it is a Toshiba 22DV555DB (http://www.expertreviews.co.uk/monito...).

i am going again to redo the image just incase i have messed something up trying to get it to work and fingers crossed i will be able to install the rise vision player.
Photo of Lee Walker

Lee Walker

  • 380 Points 250 badge 2x thumb
Hi Ryan since re doing the image to a new install i can not get the installer to even start. when i use sudo Desktop/pirvinstaller.sh in the terminal the script come displays with errors such as. Desktop/pirvinstaller.sh 3: Desktop/pirvinstaller.sh: sudo apt-get update not found.
right the way down the script with the last item being
it seems like it is not downloading files needed for the rise vision player.

i am unsure how i would take a screen shot to shop this but here is a picture i took with camera hope this helps. (http://tinyurl.com/k3bcgrf)

i am fully connected to the interent and can browers website using the pi so i not it is not connections problems.

i am very greatful for this help. its a real learning curve
Photo of Ryan S.

Ryan S.

  • 222 Points 100 badge 2x thumb
Hey Lee, nice screen shot, I would have to say this is an internet connection or repository issue. Have you tried the obvious troubleshooting like "ping www.google.com" or ping "8.8.8.8", google public DNS to check for IP connectivity in the event you cant ping by name. Verify you have a valid address on the Pi's network card by typing "ifconfig" to show the status of the network adapters, eth0 should have a 192.168.x.x or similar internal IP in most cases. The "route" command will show your default gateway and so on. If all checks out run "sudo apt-get update" to verify your pi is able to access the raspbian repositories and these will be used to download additional software components essential to this installer.

On another note as I noticed from your picture, you shouldn't need to run the pirvinstaller.sh as sudo but rather just the pi user as is shown in the instructions above by typing dotslash+scriptname as in "./pirvinstaller.sh" This shouldn't matter but I know it works using the ./ method without sudo, I have noticed the raspbian terminal syntax seems a little goofy compared to say ubuntu or regular debian so keep that in mind.

I would have to say that most Linux geeks out there consider themselves to be self tough and are continually learning it on their own as it's always changing.

Your making good headway so far, dont give up.

Ryan
Photo of Lee Walker

Lee Walker

  • 380 Points 250 badge 2x thumb
i am 100% sure i can ping www.google.com and surf the web such as www.bbc.co.uk and other sites so am certain it is not that i will try sudo apt-get update tomorrow when i am in front of my pi as i left it at work then report back

altho the script is on the desktop if i use ./pirvinstaller.sh the script does not run it says something like files not found. can not rememember 100% wording of message but have found if i do Desktop/privinstaller.sh i get the same as the screenshot

thanks again

ryan
Photo of Ryan S.

Ryan S.

  • 222 Points 100 badge 2x thumb
Ahh, when you get back to your Pi check these two things on your script, 1, is it owned by the pi user or root, it should be pi, fix this by typing "sudo chown pi:pi pirvinstaller.sh" 2, make sure it's executable as well by typing "sudo chmod +x pirvinstaller.sh"

This should work. In addition here is the information you need on how to poll your TV for it's native,ideal HDMI mode and static the pi to only use that mode. http://www.gilesthomas.com/?p=540
scroll all the way to the bottom for the tvservice command example.

Good luck man
Photo of Lee Walker

Lee Walker

  • 380 Points 250 badge 2x thumb
it is owned by pi and 100% it is executable when i run Desktop/privinstaller.sh i get the same as the screen shot.

seem to be goin round it circles wish i knew what i was doing wrong
Photo of Ryan S.

Ryan S.

  • 222 Points 100 badge 2x thumb
That is odd, I wonder if you are using some sort of funky shell rather then just xterm. Try this, switch from your Xdesktop to a raw terminal by CTRL+ALT+F1 F7 or 8 gets you back to your Xdesktop if you didnt know.

Next do a CD to your Desktop directory, which should just be "cd Desktop" verify the installer script is there and attributes set properly, owned by the pi user and marked x , with "ls -al"

Finally, type exactly as is shown here, starting your line with the dot followed by a forward / slash. " ./pirvinstaller.sh "

Then press enter.

It should just work, my only other thought is, you accidentally pasted it into a text file with word wrap and broke some lines in the script, or you just arnt using the dot slash " ./ " infront of the script which tells the shell to run the script as a shell script that it is onto the terminal rather then attempt to execute it as other program code.

Aside from that, im perplexed, it's gotta be something super simple like this or the image you have on your card is totally different from the regular one people have used this script with..

Let me know how it goes
Ryan
Photo of Lee Walker

Lee Walker

  • 380 Points 250 badge 2x thumb
hi ryan

just for your information i managed to get the rise vision player installed just playing around with what i can do im finding that i can get most gadgets to work but cant seem to get the video working is there certain things i would have to do to get the video to playing on the Pi. i just get a blank screen it is Mp4 formate
Photo of Ryan S.

Ryan S.

  • 222 Points 100 badge 2x thumb
Hey Lee, that's great, would you mind sharing with the forum as to what your root issue was and how you resolved it? Regarding your video issue, as stated earlier in this thread and in my initial instructions. "There is no flash player for Raspbian so you cant use the flash player or youtube gadgets" Although the SOC theoretically supports various hardware decoding of video once the proper codecs are installed, playing flash or other videos through the rise player on a $35 ARM Pi board is pretty much a dream at this point and I don't know when or if it ever will happen. All the same, there are many cool presentations and neat things you can do with html, gifs, and a multitude of other web-code and using the Pi that are much simpler and do not require the chrome flash plugin or a video player.

If you are interested in further development, mods and experimentation with the Raspberry Pi and it's video capabilities, I encourage you to hit up the Raspberry Pi forums as you will find much more information and resources there then you will on this thread which is specifically about my installer script to mod the RVplayer to run on the Raspbian image using the available ARM compiled chromium browser for the Pi. It's not perfect and has some limitations imposed by hardware and software development, but the rvplayer on the Pi seems stable and the price is right.

Best of luck, please share back with the community any ideas tricks or modifications you think contribute to the advancement of the project.

Ryan
Photo of Lee Walker

Lee Walker

  • 380 Points 250 badge 2x thumb
i have kept trying the speeds and reflashed the image i was using and finally got it to work maybe there was some damage on the image when it was restored/flashed.

i am looking and see there is a chrome flash plugin now http://helpx.adobe.com/flash-player/k... it now 100% confident on installing it wouldnt know where to start.

also would purchasing codecs from the store help me with my Mp4 or any other video playback.
Photo of Anders Burkarl

Anders Burkarl

  • 60 Points
Hi, Im having the same isue whit the installer. Tryed 3 times whit a new image. Same result. I can update, but running the file gives ": not found" on any lines as your screeenshot. Remembered what you did Lee?
Photo of mathias schenker

mathias schenker

  • 60 Points
the problem arises if you copy the code from a browser in unicode. instead of the space character you get the unicode nonbreaking-space. use a different editor.
Photo of Lee Walker

Lee Walker

  • 380 Points 250 badge 2x thumb
hi can anyone help i can get a mp4 video to play on the raspberry pi in omxplayer but as soon as i use the same video to a presentation from within rise vision it does not show up or play. what am i doing wrong?
Photo of Neal

Neal

  • 61,252 Points 50k badge 2x thumb
Hi Lee,

Mp4 videos played in a Presentation are called using a Flash based player (jwplayer). As stated above, the Pi doen't support Flash.

Have you considered trying WebM videos? They are called using jwplayer's HTML based player.

Thanks.
Photo of Ryan S.

Ryan S.

  • 222 Points 100 badge 2x thumb
Hey Lee,
Unfortunately one of the shortcomings of the Raspberry Pi is its inability to play any HTML5 videos let alone flash videos on the browser. primarily because nothing in Raspbian is GPU accelerated except OMXPlayer itself and that's only if you buy the codec from the RPI foundation.

Even if one managed to cross compile a flash player plugin for the Pi chromium browser, which, to my knowledge has never been done. The real underlying issue is the fact that the entire desktop/graphical environment has no hardware acceleration support at this point along with everything that runs on top of it, including Chromium and the Rise player.

Speaking from personal experience, I did manage to software render some streaming media content through VLC on the Pi , the performance was sickening and effectively tanked the little Pi's processor trying to software render streaming video.

Long story short, what you are attempting to do simply isn't possible at this stage in the software development for the Pi. Perhaps some day they will rewrite the entire Xserver and GUI to render on the Pi GPU but until then there is no way to make this work.

Keep in mind the Pi is a $35 mini development board computer and has far less power and resources then most smartphones. It seems to work well for most Rise driven content except for videos for the obvious reasons mentioned above.

If you are dead set on playing flash videos, which is a bit of a pain to get setup and timed right in a presentation. I would suggest something like the VB90RI1 AMD E300 unit, which I have successfully ran the Rise player on with Ubuntu 12.04 along with flash videos and youtube content. Youll need to buy RAM, at least 2 gigs, and an SD card or internal HDD so your looking at about $200 to get into a system like this, which is about as cheap of a solution I have been able to find. If you do go this route, do not use ubuntu 12.10, only use the initial 12.04 release as the newer one has some major kernel/graphics issues with this specific unit.

http://www.tigerdirect.com/applicatio...

Ryan