[DISCUSSION] Linux on LattePanda

A place to talk about all the Operating Systems, Software & Hardware
Forum rules

- Posts are to be made in the relevant forum. Users are asked to read the forum descriptions before posting.

- Members should post in a way which is consistent with "normal writing". That is users should not post excessive numbers of emoticons, large, small or coloured text, etc. Similarly users should not SHOUT or use excessive punctuation (e.g. ! and ?) in topic titles or posts.

- Members should use an appropriate, descriptive subject when posting a new topic. Examples of bad subjects include; "Help me!", "I'm stuck!", "I've got an error!", etc. Examples of good subjects include; "Getting an TABLE FULL error upon login", "Cannot restore a backup".

- Members are asked to post in English only so that posts can be well received and properly monitored.

- Spam is not tolerated here under any circumstance. This includes offering hosting services (charged and free), installation services, solicitation etc. Recruiting members for your own projects (moderators, designers, professional MOD work, etc.) is not permitted and is also considered spam. Users posting spam will be warned and their post removed.

- Members should post in a way that is respectful of other users. Flaming or abusing users in any way will not be tolerated and will lead to a warning. Vulgar language and inappropriate material is not allowed and will be removed. We try to maintain a family friendly atmosphere whenever it is possible within the main subject matter of this community. Please keep this in mind when participating.

- Each user is allowed to create one account. If you would like to change your username, please contact us and, most likely, we can do it for you while you can keep all of your profile data, posts, and other content.

- If a user violates our guidelines and shows a disregard for them, our staff and our community, they run the risk of losing their account. We reserve the right to deactivate any account and to edit or remove any content without warning. These guidelines are subject to change at any time without notice.

Thank you for visiting LattePanda.com!
User avatar
ED209
Posts: 221
Joined: Tue Apr 19, 2016 3:31 pm

Tue Apr 26, 2016 9:39 am

I'm a newbie on Linux, is there any tutorial or guide for me to install Linux on LattePanda? Would like to play with Linux using this low cost computer.

User avatar
Raymond Day
Posts: 37
Joined: Mon Apr 18, 2016 12:48 pm

Thu Apr 28, 2016 11:55 am

Download Lubuntu 16.04 64 bit desktop here. it is a ISO that you can but to a DVD.

Or easier can just put it on a USB flash stick with something like Rufus.

Plug that in the USB 3.0 port of the Lattepanda and boot it up and can pick to use live Lubuntu and see how it works. There will be a install icon on there.

I DD backed up my Windows on it before I installed it. Look up how to do Linux DD copy. But it be something like this:

Open a command promt in the live Lubuntu.

sudo su root
umount /media/mmcblk0
dd if=/dev/mmcblk0 of=/media/usb/LP-Win10-backup.dd


It would be something like that. Change them commands to were things are mounted on yours.

I would have to do it over again to see just what commands you would do. Can do a df -h to see the mounts it does to umount the built in Flash drive you want to backup to something like another USB flash stick. The df- h will show that.

Or if you got the 4GB flash you can tell Lubuntu to install next to Windows 10. I did not do it like that just said used all the 4GB after I DD backup the Windows on it.

But if you just want to see how it works can run the live USB Lubuntu right on it and it will not install any thing on the built in flash. That will let you play with it.

-Raymond Day

User avatar
Raymond Day
Posts: 37
Joined: Mon Apr 18, 2016 12:48 pm

Fri May 06, 2016 10:01 pm

Using my Lattepanda install Linux 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux.

With commands like this:
git clone https://github.com/mrworf/plexupdate.git
cd plexupdate/
./plexupdate.sh
dpkg -i plexmediaserver_0.9.16.6.1993-5089475_amd64.deb
a2ensite plex.conf
a2enmod proxy
a2enmod proxy_http
a2enmod rewrite
service apache2 restart
Can then go to my server or Lattepanda IP and http://IP:32400/web has a nice media manager.

Can install the plex player on a HD TV, Roku, and Amazon's fire TV. Other things too,

It converts videos on the fly in real time to play then on what every you are playing them on.

But MKV type 1080 P I have on my server it will show this.

https://picasaweb.google.com/lh/photo/_ ... directlink

plex will say "The server is not powerful enough to convert this video for smooth playback.

Guess the new Intel stick that is coming out soon will be powerful enough.

http://amzn.com/B01AZC4O2C

But it cost over $500 now. About 3 weeks ago on that link it was just under $500 so it went up some.

Looks like it will use about 4 watts of power. Not to bad. USB 3.1 on it too. That's to power it and have two other USB 3.0 ports on it's power supply.

The plex is free for your LAN but out on WAN to like cell phones and tablets they charge for $.

Just wanted to let all know if they want to play 1080p videos it can't keep up at lest with Plex. I can play it on my computer opening Samba and then play it. It's just converting it on the fly can't keep up.

How I found out about plex is I seen this good video telling about it:

https://youtu.be/E1XarhCUL8o

-Raymond Day

User avatar
Raymond Day
Posts: 37
Joined: Mon Apr 18, 2016 12:48 pm

Fri May 06, 2016 11:13 pm

Looked up some videos for plex and got more info. Can test if a CPU can convert the videos. I went to http://www.cpubenchmark.net and compared the 3 new type Intel compute sticks. The low one has the same CPU as the Lattepanda.

On plex web page they said if want to do just one 1080p video the CPU mark should be at lest 2000.

Here is what I got comparing the 3 low Watt CPU's.

Image

The last 2 at m5 and m3 they both go over 2000 CPU Mark. The m3 can buy now the m5 real soon.

That's neat to know it should be able to be powerful enough to convert a video for smooth playback.

Here is the link were found out how fast the CPU needs to be:

https://support.plex.tv/hc/en-us/articl ... -computer-

-Raymond Day

User avatar
Raymond Day
Posts: 37
Joined: Mon Apr 18, 2016 12:48 pm

Sat May 07, 2016 4:17 am

Used HandBrake and converted a .mkv that is 26.3 GB to .mp4 that is 6.21 GB both 1080P and my Amazon Fire box can play is super good using the LattePanda running plex TV.

So looks like it don't have to convert it.

All so nice it makes it way smaller file size.

-Raymond Day

User avatar
schluej
Posts: 75
Joined: Sun May 01, 2016 7:19 pm

Sat May 07, 2016 6:07 am

Live long and prosper!
Joern

User avatar
Raymond Day
Posts: 37
Joined: Mon Apr 18, 2016 12:48 pm

Sat May 07, 2016 7:42 am

Good link for a slow Raspberry Pi to work with it. But it's for ARM. The LattePanda is not a ARM CPU.

-Raymond Day

User avatar
schluej
Posts: 75
Joined: Sun May 01, 2016 7:19 pm

Sat May 07, 2016 8:04 am

This is a patch of the JS script. This is independent from the CPU family. The processor check will be disabled.
Read the "Manual Fix Server is not Powerful Enough Method" section.
Why don't u use plex for Windows on a Windows pc?
Live long and prosper!
Joern

User avatar
Raymond Day
Posts: 37
Joined: Mon Apr 18, 2016 12:48 pm

Sun May 08, 2016 6:32 am

About all my media is on my server that using the LP for now.

Seems to work good as long as I convert the videos to MP4.

I think it's good to have that over lay to tell it's to slow. It still works any ways but just stops and goes over and over as it plays the video.

Guess that patch only turns off the over lay saying that. It would still stop and go I guess.

-Raymond Day

User avatar
maxtannahill
Posts: 10
Joined: Mon May 16, 2016 2:31 pm

Mon May 16, 2016 2:39 pm

Hi Raymond, thanks for all your info on this. I am very interested in running Ubuntu on this. I tried Lubuntu 16.04 (Xenial Xerus) - the amd64 iso but the system hung when trying to run a live USB. I followed your thread on the Ubuntu forum here http://ubuntuforums.org/showthread.php?t=2320607 but couldn't see how you were able to get the beta2 iso which I understand is the only one you have managed to work. Do you have a link and/or instructions for how to do this? Many thanks.

Post Reply