Page 5 of 11

Re: Ubuntu Bionic for OpenFrame

Posted: Tue Nov 26, 2019 10:11 am
by roobarb!
skip wrote: Mon Nov 25, 2019 11:16 amIs there a way to show a clock face screensaver on the joggler with this ubuntu without adding a desktop? Something I can set to run via putty?
Yeah, just install xscreensaver. There are a bunch of command line only ones too, but xscreensaver has the biggest selection. You don't need to install a desktop, just Xserver is enough.

Code: Select all

sudo of-install-xorg
sudo apt update
sudo apt install xscreensaver
Should do most of the work. Takes a bit of drive space though, so make sure you've run:

Code: Select all

sudo of-expand
To make sure all of your drive space is available.
hawsey wrote: Mon Nov 25, 2019 3:59 pmAdding a fan and heatsink will reap rewards as the Joggler tends to reach the top temperature quickly and then slow down .
Or change the thermal.psv file . I'm not sure what it's set up on this build .
It's not necessary to make hardware changes to get full performance from the CPU - the thermal throttling level has been raised from 70 to 80 deg C in kernel and in my testing I've never managed to get it to exceed about 76 deg C.

Re: Ubuntu Bionic for OpenFrame

Posted: Tue Nov 26, 2019 7:48 pm
by sanjap
I really wish someone could build Kodi standalone (auto-start) on this kernel. That will really open up the Joggler/of2 for endless media possibilities. The one posted by pete above didn't load on my OF2.

Re: Ubuntu Bionic for OpenFrame

Posted: Tue Nov 26, 2019 8:01 pm
by pete
It's been a while that I tested the xXx Kodi such that I do not recall if I tested it on an O2 Joggler, OF1 or OF2 here.

Googling some I see that KODI utilizes around 200Mb. If you do the basic installation on a OF2, expand it. It should fit fine on the OF2.

So then try it...install xorg and then do the following:

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get install kodi

When you are all done run kodi (not sudo kodi).

The best running KODI here was on a OF2 with a Crystal HD mini PCiE card and it worked at 1080 a few years back.



It did OK on media. Lately though have been using mini TV boxes with Armbian then later CoreElec on them.

3 KODI boxes today are running on CoreElec ARM 9 core CPUs; cheap and they do 4K TV great. I have migrated here from using Aopen Digital boxes to the ARM boxes. Very low energy...5-10 watts. I put 128Gb micro SD cards in these.

Re: Ubuntu Bionic for OpenFrame

Posted: Tue Nov 26, 2019 8:31 pm
by pete
The O2 Joggler that I am playing appears to be one that I have never touched much as the MAC address is:

root@openframe:/usr/local/sbin# ethtool -P eth0
Permanent address: 00:00:00:00:00:00

Bathroom Squeezeplayer (Trusty) running with Avaya boot EFI.

root@ICS-Jog-SQP-18:~# ethtool -P eth0
Permanent address: 00:0e:c6:20:00:18

Note that this is an Asix OUI as I was playing before with ASIX USB to NIC devices on first modded Jogglers.

It is easy to change...IE: write seabios rom then boot with dos usb stick with Realtek programming tool and then change mac.


Went to the clock screen saver here instead of the mini desktop...and specifically the clock screen saver...easy to install..

sudo update
sudo apt install software-properties-common

Look here:

hxxps://launchpad.net/~alexanderk23/+archive/ubuntu/ppa

sudo add-apt-repository ppa:alexanderk23/ppa
sudo apt-get update
sudo apt install gluqlo

Re: Ubuntu Bionic for OpenFrame

Posted: Wed Nov 27, 2019 3:48 pm
by pete
Rebooted a few times and left O2 on with screensaver. Working well.

I tried to install Webmin and keep running out of space and it stops right before it finishes. I have removed the apt cache in fstab and created a small memory cache and still having issues. No biggie.

Might do the hot swap of ROM on the other O2 joggler today.

Re: Ubuntu Bionic for OpenFrame

Posted: Thu Nov 28, 2019 6:18 pm
by pete
Update 28th of November, 2019

O2 Joggler is stable and rebooting fine with Andy's new build.

What I want to do is update my current Squeezeplayers (running on O2's with old Ubuntu builds) to most current build.

These (4-5) have been fine now and very stable for a couple of years.

I was monitoring them with Homeseer and now monitoring them with Home Assistant as they work in a plug an play fashion there; much like my Amazon Alexa devices.

Re: Ubuntu Bionic for OpenFrame

Posted: Sat Nov 30, 2019 4:19 pm
by Andrew1971
Hi All
Had a little play with the joggler using the 3.16 version installed to nand on the joggler and using ethernet.
I got Kodi 17.6 working BUT it is a little jerky using keyboard and mouse. There was 210 meg free using gparted
on xbuntu on usb flash drive. That's about as much I can do. could do with optimizing for more speed if it's possible.
Don't know how to do it. Not sure how do volume control or screen dim. Now with a pic.
Andrew
20191130_150238 (3).jpg

Re: Ubuntu Bionic for OpenFrame

Posted: Mon Dec 02, 2019 11:24 am
by roobarb!
Andrew1971 wrote: Sat Nov 30, 2019 4:19 pmcould do with optimizing for more speed if it's possible.
There's not much more that can be done to eek out more speed; the only thing that's really up there is to get hardware accelerated decoding working - but the payoff is likely to be small given we've already got OpenGL up and running, unless you're attempting to play back video that's not optimised for the Joggler's 800x480 screen. It'll play mid-bitrate 720p content just fine, so iPlayer content will be dandy, but anything higher will drop frames and probably look naff on the panel anyway.

Re: Ubuntu Bionic for OpenFrame

Posted: Mon Dec 02, 2019 2:49 pm
by roobarb!
Build system will have a go at kernel 5.4 tomorrow morning. Wish it luck.

Re: Ubuntu Bionic for OpenFrame

Posted: Mon Dec 02, 2019 3:10 pm
by Andrew1971
Hi All
I did it just to if it would fit on internal see if it worked or not really. Having a play with it.
How would you go about putting a full desktop on it 3.16 will be on a flash drive.
Internal drive is getting dodgy as well.
Hope the 5.4 build work's.
Andrew

Re: Ubuntu Bionic for OpenFrame

Posted: Mon Dec 02, 2019 3:56 pm
by roobarb!
Andrew1971 wrote: Mon Dec 02, 2019 3:10 pmHow would you go about putting a full desktop on it 3.16 will be on a flash drive.
Yeah, use an external drive and once you're booted run:

Code: Select all

of-expand
It'll reboot and be resized to the full space on the USB drive. Just don't pull the plug on it until it's finished resizing - once the 'expand' file disappears from the /root directory, it's finished. Afterwards, run:

Code: Select all

of-install-xorg
Then follow any Ubuntu 18.04 LTS guide online for installing a desktop environment. LXDE (same the one the Pi uses, I think) works well because it's lightweight.

Re: Ubuntu Bionic for OpenFrame

Posted: Mon Dec 02, 2019 4:05 pm
by Andrew1971
Cheer's Roobarb i will try that one.
Andrew

Re: Ubuntu Bionic for OpenFrame

Posted: Tue Dec 03, 2019 3:58 pm
by pete
Years ago mentioned here that I tried successfully using a Crystal HD mini PCiE card for use with the OpenFrame 2. Only difficult piece is opening the Openframe 2 (speakers in front) and using an external USB WLAN / Bluetooth card in the back. You can though DIY a top USB port for the WLAN stick if you want.

BUT also do not know if their are new drivers for the old Crystal HD card. This was a standard on many laptops in the early days.

To open the Openframe 2 case use two long screw drivers on the bottom of the case and push on a plastic tab (s) while using a plastic screwdriver to lift the LED screen.

Re: Ubuntu Bionic for OpenFrame

Posted: Thu Dec 05, 2019 1:05 pm
by roobarb!
Don't panic folks, links will be down to images for a couple of hours while a new version compiles. I left HPET (High Precision Event Timer) support enabled, which isn't required on the OpenFrames and started to cause issues on the new kernel 5.4, so I decided to remove it from all kernels and let the system build fresh images.

Re: Ubuntu Bionic for OpenFrame

Posted: Thu Dec 05, 2019 9:45 pm
by sanjap
roobarb! wrote: Thu Dec 05, 2019 1:05 pm Don't panic folks, links will be down to images for a couple of hours while a new version compiles. I left HPET (High Precision Event Timer) support enabled, which isn't required on the OpenFrames and started to cause issues on the new kernel 5.4, so I decided to remove it from all kernels and let the system build fresh images.
Thanks Roobarb for all your work on the Openframe and Joggler. Without you, we would have bricks.

The "of-expand" command still not working on OF2 devices. Partitions are listed as below on the 5.4 kernel.
/dev/mmcblk2p1
/dev/mmcblk2p2

After running the script, it is giving the below error

fdisk: cannot open /dev/mmcblk2p: No such file or directory
fdisk: cannot open /dev/mmcblk2p: No such file or directory

Correct Disk reference should be /dev/mmcblk2 not /dev/mmcblk2p

Am thinking this is the line that needs update in the script. Taking 2 places to the left, instead of just 1

Code: Select all

ROOTISON=`echo "${ROOTISON:: -2"`

Re: Ubuntu Bionic for OpenFrame

Posted: Fri Dec 06, 2019 1:33 am
by roobarb!
sanjap wrote: Thu Dec 05, 2019 9:45 pmThe "of-expand" command still not working on OF2 devices.
Ooh, good catch. I'll check it out.

Re: Ubuntu Bionic for OpenFrame

Posted: Fri Dec 06, 2019 3:03 pm
by roobarb!
roobarb! wrote: Fri Dec 06, 2019 1:33 am
sanjap wrote: Thu Dec 05, 2019 9:45 pmThe "of-expand" command still not working on OF2 devices.
Ooh, good catch. I'll check it out.
Thanks for reporting that, all fixed now with any luck. You can grab an updated version of the script from here and I'll regenerate the images.

Re: Ubuntu Bionic for OpenFrame

Posted: Fri Dec 06, 2019 4:37 pm
by sanjap
roobarb! wrote: Fri Dec 06, 2019 3:03 pm
roobarb! wrote: Fri Dec 06, 2019 1:33 am
sanjap wrote: Thu Dec 05, 2019 9:45 pmThe "of-expand" command still not working on OF2 devices.
Ooh, good catch. I'll check it out.
Thanks for reporting that, all fixed now with any luck. You can grab an updated version of the script from here and I'll regenerate the images.
Roobarb. Thanks. Did you remove any graphics or backlight drivers in the new kernels? The OF2 devices with the speakers in the front all boot to a very dimmed screen. Previous kernels were ok. Just wondering what is broken. I have two of such and same issue. But when i load the original files, they brightness is normal.

Re: Ubuntu Bionic for OpenFrame

Posted: Fri Dec 06, 2019 8:52 pm
by roobarb!
sanjap wrote: Fri Dec 06, 2019 4:37 pm Roobarb. Thanks. Did you remove any graphics or backlight drivers in the new kernels? The OF2 devices with the speakers in the front all boot to a very dimmed screen. Previous kernels were ok. Just wondering what is broken. I have two of such and same issue. But when i load the original files, they brightness is normal.
Nope, but the 5.x kernels are really for experimentation only, I don't check them. If you need a working system, you'll need to use the 3.16 variant instead. Everything on that is known to work. If you do manage to debug anything though, I'd be more than happy to pull that into the 5.x releases.

Re: Ubuntu Bionic for OpenFrame

Posted: Fri Dec 13, 2019 6:00 am
by sanjap
Roobarb, is it possible to boot the joggler directly to kodi without the need to login screen and entering the command "kodi" . I saw some examples online but none seems to work with XORG. Will appreciate your help