How to run and compile movian on Lubuntu on rpi?
Added by I Dove about 7 years ago
How to compile movian on rpi3 on Lubuntu 15.10.3 distro?
I have compiled as for linux using commands:
./configure
make
and start it with:
./build.linux/movian
but is very very slow after start, all four processors 100% all the time?
Starting movian with this command I get this notice:
22:27:10.061: navigator [INFO ]: Opening page:home
Failed to open VDPAU backend libvdpau_nvidia.so: ne mogu otvoriti datoteku dijeljenog objekta: Nema takve datoteke ili direktorija
22:27:10.681: GLW [INFO ]: OpenGL Renderer: 'Gallium 0.4 on llvmpipe (LLVM 3.6, 128 bits)' by 'VMware, Inc.'
If i try to compile as for rpi with command:
/Autobuild.sh -t rpi
i get following error:ccache /var/tmp/showtime-autobuild/stos-host-2.2/host/usr/bin/arm-buildroot-linux-gnueabihf-gcc is unable to create an executable file.
C compiler test failed.
Thank you for your help.
My system is rpi3 with Lubuntu 15.10.3.
Replies (25)
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by Andreas Smas about 7 years ago
Yes, building it with the normal configure will build it for linux desktop and not take rpi specific things into account.
Also building with configure.rpi will build it for a non X server environment and with special things in-place to run it under STOS.
I've been thinking about adding support and binaries for standard rpi dists.
Just a question though, do you run an X server on your system? Is that what people would want?
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by I Dove about 7 years ago
YES, I'm running X server.
rpi3 it's cheap, quiet and it's pretty fast, you can use LibreOffice, gimp, inkscape, browse the web etc...
Raspbian is official rpi distribution whoch use LXDE + Debian, but I'm using Lubuntu (which is LXDE + Ubuntu).
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by Dmitry Petrov about 7 years ago
Andreas Smas wrote:
.....
Just a question though, do you run an X server on your system? Is that what people would want?
Yes, I would like this very much too.
Would be very nice to run Movian on Standard Linux on RPI which can use hardware acceleration of RPI.
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by Dean Kasabow about 7 years ago
I have no issues running Movian on my RPi2/RPi3 (Linux Ubuntu 14.04). I'm using the RPi binary - it works WITH and WITHOUT X-Server installed. It needs few libraries, and if one needs the usb-automount, then couple of scripts from STOS.
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by nikkpap (Nikos) about 7 years ago
make an image Dean Kasabow and put it all together the scripts etc Linux Ubuntu 14.04
i want to test it pls
thanks
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by Dean Kasabow about 7 years ago
You can download the image from this link:
http://deanbg.com/public/rpi/20160514-RPi2-Movian-5.0.177-Ubuntu.7z (422MB)
It is for 8GB card. If it doesn't fit yours you'll have to resize it with gparted or use 16GB card. It can actually fit 1GB, 2GB or 4GB SD card if you disable and delete the swap file (2.5GB occupied - 1.6 swap = 900MB actually used by ubuntu+movian).
User/pass/su: ubuntu
After you log on via ssh you can update movian to the latest by using the script ./update_st.sh.
The image contains hyperion for 'ambilight' and "Start/Stop hyperion" options in Movian's sidebar menu.
It works on RPi2 and RPi3 (personally tested). You may want to check/edit config.txt if you have to change it to your specific environment.
I'm compiling the binary on another Linux system (x86 64bit). I'm using the same system to compile STOS, too:
Linux checkpoint4800a 3.16.0-50-generic #67~14.04.1-Ubuntu SMP Fri Oct 2 22:07:51 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by Dmitry Petrov about 7 years ago
Dean, does it support RPI hw acceleration?
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by Dean Kasabow about 7 years ago
Yes, of course. It works just the same as if you were using the standard STOS.
On the same system I'm using postfix/imap/smtp, apache, mysql, minidlna, perl/php/python, acestream, spamassassin + Movian as a player, while everything else works in the background.
The above image is clean ubuntu 14.04 + ssh server + movian.
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by Dmitry Petrov about 7 years ago
Very cool! Thanks!
BTW, what about 16.04 and work on USB SSD?
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by Dean Kasabow about 7 years ago
I guess Movian will work just fine on 16.04, too. I haven't tested, because 14.04 has everything I need and it occupies less than 4GB on a 16GB SD card, so no need for external SSD for the OS itself. I'm using external SSD only to store movies/music for Movian to play them.
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by Dmitry Petrov about 7 years ago
External USB2 SSD is faster than MicroSD working with small files besides life time of MicroSD is shorter.
It is waste of money to store video content on SSD unless for porno purposes.
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by Dean Kasabow about 7 years ago
Did you test the image?
p.s. Image updated with really clean ubuntu + latest Movian 5.0.177 (422MB 7z).
http://deanbg.com/public/rpi/20160514-RPi2-Movian-5.0.177-Ubuntu.7z
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by Dmitry Petrov about 7 years ago
I am going to test. Why did you not make .img.xz ?
This standard compressed image is known to standard linux disk utils.
Is there any apps which can restore your compressed image without decompressing to disk?
And of course would be nice to have md5sum next to links. :)
Anyway thank you for your work!
.... 5 hours still in progress of uncompressing images... :)
All my libraries(big drives) on busybox(100mb) via smb... and working linux pc work on small SSD... :)
do you have 7z for busybox?
Dean, I still cannot decompress the images
Can you provide checksum please and if possible make img.xz instead of 7z?
7z can proceed with xz but not vice versa.
xz is available everywhere including phones...
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by Dmitry Petrov about 7 years ago
Finally I wrote the image to Micro SD.
RPI 3 even not try to boot.
RPI 2(B+) hangs with the message:
Restore resolver state [OK]
I also tried to re-pack your unpacked image with xz.
It is only 20MB large than 7z but can be directly operated in Linux environment and can be decompressed in any system excluding MustDie which is out of our interest I believe.
Can you describe how to produce Movian on Linux with HW support?
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by Dmitry Petrov about 7 years ago
I succeded to install your first image which you delete on your ftp.
COOOOOOL!
THANKS! YOU ARE MAN!
But... it is working only on RPI 2. RPI 3 even does not start to flash the green light.
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by Dean Kasabow about 7 years ago
You can build your environment from scratch. It takes just 20-30 mins.
I used this:
https://wiki.ubuntu.com/ARM/RaspberryPi
Skip to the section for Ubuntu 14.04 LTS, download the image, write it to your card and you're good to go.
You'll have to recreate /stos on your new installation and launch showtime. It will throw errors for missing libraries - you can get them from here: http://deanbg.com/public/rpi/movian/lib/lib.zip and extract these in /usr/lib/ (only libstdc++.so.6 goes into /usr/lib/arm-linux-gnueabihf/)
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by Dmitry Petrov about 7 years ago
So, if this is just so easy, why Andreas said that his build will not support hardware acceleration on Raspbian?
I thought it must be some tricks with compiling in libraries of omxplayer?
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by Dean Kasabow about 7 years ago
You have to use the binary (showtime) which is compiled for STOS (i.e. the original binary for Raspberry Pi, provided by Andreas)... or you can compile it yourself for RPi (but then you'll need a 64bit host system - you can't compile Movian for RPi on the RPi itself).
If you use Ubuntu + Movian binary taken from STOS (or compiled yourself) you cannot use the build-it update functions, but that's not a big issue, because I compile each new version when it is out.
BTW I haven't tested Movian on RPi+Ubuntu 15.05, but for sure it doesn't work on 16.06 (it crashes - probably because of bad library links). On 14.04 and RPi2 all works fine. The same configuration on my RPi3 is a bit unstable (actually the only issue I have is crashing while fast-forward/rewind).
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by Rob Koni over 6 years ago
Dean Kasabow wrote:
You have to use the binary (showtime) which is compiled for STOS (i.e. the original binary for Raspberry Pi, provided by Andreas)... or you can compile it yourself for RPi (but then you'll need a 64bit host system - you can't compile Movian for RPi on the RPi itself).
If you use Ubuntu + Movian binary taken from STOS (or compiled yourself) you cannot use the build-it update functions, but that's not a big issue, because I compile each new version when it is out.
BTW I haven't tested Movian on RPi+Ubuntu 15.05, but for sure it doesn't work on 16.06 (it crashes - probably because of bad library links). On 14.04 and RPi2 all works fine. The same configuration on my RPi3 is a bit unstable (actually the only issue I have is crashing while fast-forward/rewind).
Can you build it for Pi Zero please?
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by alexey smirnov about 6 years ago
Image movian + jessie_light + acestream + several plug-ins for viewing Russian TV channels.
I did it for myself. I checked only on rpi2, since I do not have another raspberry.
Auto login.
Login: "pi"
Password: "341148"
Version of Movian: 5. *
The version of acestream: 3.1.14.
E-mail: [email protected].
If possible, I will answer questions.
Download link:
https://drive.google.com/file/d/0B88S8HioonZ7ZkZMZWdYUVdwVk0/view?usp=sharing
Dean Kasabow, thanks
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by Robert Nguyen almost 6 years ago
Thank you @Dean Kasabow, your guide is very valuable to someone doesn't have much kernel/C background like me. I plan to run movian binary on an ArchLinux without X server, do you happen to know that your lib will work on ArchLinux?
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by alexey smirnov almost 6 years ago
Dean Kasabov, please answer 2 questions:
1. You tried to use connman in your assembly.
2. If it does not work or it does, why?
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by alexey smirnov almost 6 years ago
Уважаеми Dean, вземам вашия въпрос относно konnman.
Той се разбира.
Благодаря.
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by Dean Kasabow almost 6 years ago
I don't think connman is working. I'm using it with wired ethernet (dhcp ip) and everything works fine.
RE: How to run and compile movian on Lubuntu on rpi?
-
Added by alexey smirnov almost 6 years ago
I did not try on ubuntu, but on jessie the connman got to run
(1-25/25)