Ubuntu 20.04 (Focal Fossa)

Post Reply
User avatar
tobetter
Posts: 8896
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 521 times
Been thanked: 1421 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

m_ueberall wrote:
Thu Mar 18, 2021 1:06 am
tobetter wrote:
Thu Mar 18, 2021 12:29 am
m_ueberall wrote:
Thu Mar 18, 2021 12:04 am
@tobetter, would it be possible to include vhost_vsock.ko with your future builds of kernels 5.10.y (because these receive long-term support upstream(*)) and newer by setting CONFIG_VHOST_VSOCK=m? (...)
@m_ueberall, I've enabled two kernel features "CONFIG_VHOST_SCSI" and "CONFIG_VHOST_VSOCK" as a module and put into the build machine. Let me upload them once verified. By the way, do you want me to keep building 5.10 or will you move to 5.11 sometime soon?
Many thanks! :mrgreen: I'd appreciate if 5.10 would be available/updated for the time being as well—if only to be able to switch back and forth between at least two kernels to identify regressions.

Personally, I prefer to only move away from a kernel with long-term support for good if I absolutely have to and only if the newer kernel already landed in the Ubuntu main repository some time ago (which is currently not yet the case for 5.11). So while I'm going to (temporarily?) retry the above "experiment" with 5.11 soon, I'd rather switch back to 5.10 once it's clear that the required changes have been backported. The main reason for this is the fact that LXD—an integral part of my build environment—not always supports the latest kernels which would put me in the role of an "early adopter".
I see, thank you for sharing your thought. I would be able to upload LTS kernel package on demand, 5.11 would be only the upstream kernel version to welcome Ubuntu 21.04 and won't be updated if it's no longer LTS kernel.

User avatar
tobetter
Posts: 8896
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 521 times
Been thanked: 1421 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

@m_ueberall, I've tested new kernel 5.10.23 with new kernel features as per your request and it works fine on me. So I've pushed to build queue to release, it will be available in a couple of hours. Please let me know if anything missing in the new kernel update.

bakkt10
Posts: 5
Joined: Mon Mar 22, 2021 12:18 am
languages_spoken: english
ODROIDs: odroid c4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by bakkt10 »

hello all, I recently bought odroid c4 with HiFi Shield 2, I intend to use it for watching movies and listening music over spdif out

I am looking for linux desktop os which is capable of doing it, so far I didn't find any working solution and tried many of them

only CoreELEC and latest Android Pie 64bit are 100% ok, video plays without stuttering (1080p) on both platforms, youtube 1k videos are also working good on Android Pie



I also tried latest ubuntu-20.04-server-odroidc4-20210301 and installed with commands as used in youtube tutorial (https://www.youtube.com/watch?v=4MfHMKcHaUc&t=10s)

sudo apt update
sudo apt install ubuntu-desktop
sudo apt install mali-bifrost-wayland-driver
sudo reboot

I logged in as Ubuntu on Wayland, installed glmark2-es2-wayland which showed more fps than yt tutorial video, which is good

then I run https://webglsamples.org/aquarium/aquarium.html on firefox which showed only 1 fps
as in tutorial I added export MOZ_ENABLE_WAYLAND=1 to /usr/bin/firefox and after that firefox shows a warning of no support for WebGL ..

is there any new easier way for getting things done, any help would be appreciated

hanguofu
Posts: 22
Joined: Fri Sep 28, 2018 2:35 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by hanguofu »

Installing ubuntu-desktop and mali-bifrost-wayland-driver with error : installed mali-bifrost-wayland-driver:arm64 package post-installation script subprocess returned error exit status 1


I installed ubuntu-20.04-server-odroidc4-20210301.img at my C4 and tied to install ubuntu-desktop and mali-bifrost-wayland-driver . But the installation stops with errors. Please refer to :

https://pastebin.com/cg7hR8VX

for the log. Please feel free to let me know if you cannot access the log file. Besides , I can confirm that main,non-free,contrib are avail. at ppa-linuxfactory-or-kr.list

I would like to try the mpv hardware decode feature for movies playing. Is the distro. a good choice ? Regards !

User avatar
tobetter
Posts: 8896
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 521 times
Been thanked: 1421 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

hanguofu wrote:
Mon Jul 05, 2021 8:29 pm
Installing ubuntu-desktop and mali-bifrost-wayland-driver with error : installed mali-bifrost-wayland-driver:arm64 package post-installation script subprocess returned error exit status 1


I installed ubuntu-20.04-server-odroidc4-20210301.img at my C4 and tied to install ubuntu-desktop and mali-bifrost-wayland-driver . But the installation stops with errors. Please refer to :

https://pastebin.com/cg7hR8VX

for the log. Please feel free to let me know if you cannot access the log file. Besides , I can confirm that main,non-free,contrib are avail. at ppa-linuxfactory-or-kr.list

I would like to try the mpv hardware decode feature for movies playing. Is the distro. a good choice ? Regards !
When I looked at the log, the problem is package dependency which I have to check. However, I think you'd better try mpv with Ubuntu 21.04 instead of 20.04 in you never installed yet.

maideii
Posts: 1
Joined: Wed Jul 21, 2021 3:53 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by maideii »

Hi all, is there anyone know how to install a working Kodi?

brad
Posts: 1485
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 C4 HC4 N1 N2 N2+ H2 H2+ (64 bit ftw)
Location: Australia
Has thanked: 141 times
Been thanked: 230 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by brad »

This is more of an Ubuntu thing I believe but I noticed on my HC4 fstrim is running against my HDD's weekly, last night it ran for 5 hours (it starts every week Monday 00:00 which is Ubuntu default):

Code: Select all

Aug 23 05:02:36 urbackup fstrim[20311]: /mnt/urbackup: 1.7 TiB (1869040107520 bytes) trimmed on /dev/sda1
Aug 23 05:02:36 urbackup fstrim[20311]: /boot: 121.5 MiB (127430656 bytes) trimmed on /dev/mmcblk0p1
Aug 23 05:02:36 urbackup fstrim[20311]: /: 1.1 GiB (1144373248 bytes) trimmed on /dev/mapper/vgurbackup-root
Aug 23 05:02:36 urbackup systemd[1]: fstrim.service: Succeeded.
I wonder if anyone knows how to disable it for HDD's whilst allowing it to run against the sd card? Maybe I need to mount HDD's with automount instead of fstab.

For the moment disabled and stopped the systemd timer fstrim.timer

biterror
Posts: 33
Joined: Tue Oct 27, 2015 4:01 pm
languages_spoken: english
ODROIDs: C1+, XU4
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by biterror »

Where can you find the mali-bifrost-wayland-driver these days? :-o

User avatar
tobetter
Posts: 8896
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 521 times
Been thanked: 1421 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

biterror wrote:
Tue Sep 07, 2021 9:23 pm
Where can you find the mali-bifrost-wayland-driver these days? :-o
It's been more than a year, you can install the package if you follow up the instruction in this thread and this link.
https://docs.linuxfactory.or.kr/guides/gpu_bifrost.html

biterror
Posts: 33
Joined: Tue Oct 27, 2015 4:01 pm
languages_spoken: english
ODROIDs: C1+, XU4
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by biterror »

tobetter wrote:
Tue Sep 07, 2021 11:37 pm
biterror wrote:
Tue Sep 07, 2021 9:23 pm
Where can you find the mali-bifrost-wayland-driver these days? :-o
It's been more than a year, you can install the package if you follow up the instruction in this thread and this link.
https://docs.linuxfactory.or.kr/guides/gpu_bifrost.html
Thanks for the reply. I must be missing something here - your link tells me to use "apt install" to install the driver, but the package is not found. I have tried this with Armbian and the ubuntu-21.04-server-odroidc4-20210502.img (with apt dist-upgrade) and all i get is "E: Unable to locate package mali-bifrost-wayland-driver".

Is it possible to get Chromium browser running with Wayland without installing the full desktop environment to C4? That would make a nice kiosk system.

EDIT: Okay, I noticed that Panfrost driver is installed on the system, so maybe I don't need the Bifrost driver. However, I can't run the glmark2 - maybe it needs full X11 to be installed? It says "Could not initialize canvas".
Last edited by biterror on Fri Sep 10, 2021 8:22 pm, edited 1 time in total.

User avatar
tobetter
Posts: 8896
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 521 times
Been thanked: 1421 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

biterror wrote:
Fri Sep 10, 2021 7:37 pm
tobetter wrote:
Tue Sep 07, 2021 11:37 pm
biterror wrote:
Tue Sep 07, 2021 9:23 pm
Where can you find the mali-bifrost-wayland-driver these days? :-o
It's been more than a year, you can install the package if you follow up the instruction in this thread and this link.
https://docs.linuxfactory.or.kr/guides/gpu_bifrost.html
Thanks for the reply. I must be missing something here - your link tells me to use "apt install" to install the driver, but the package is not found. I have tried this with Armbian and the ubuntu-21.04-server-odroidc4-20210502.img (with apt dist-upgrade) and all i get is "E: Unable to locate package mali-bifrost-wayland-driver".

Is it possible to get Chromium browser running with Wayland without installing the full desktop environment to C4? That would make a nice kiosk system.
What do you have in the file /etc/apt/sources.list.d/ppa_linuxfactory_or_kr.list?
Please note that mali-bifrost-wayland-driver package won't be installed to Armbian since it's been customized package for OS setup from me.
You will need a bare minimal window manager to run Chromium if you do not want to install full desktop on C4.

biterror
Posts: 33
Joined: Tue Oct 27, 2015 4:01 pm
languages_spoken: english
ODROIDs: C1+, XU4
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by biterror »

I don't have /etc/apt/sources.list.d/ppa_linuxfactory_or_kr.list on this image, I can try adding it. But which driver do I want for a kiosk system - Bifrost or Panfrost? I need something that is production quality. I think X11 supports Panfrost but not Bifrost. On the other hand, if I can make the browser work with Wayland, I might not need X11 at all (although I have a small status window based on X11 on C2). Too many questions. :-)

att2
Posts: 75
Joined: Tue Jan 17, 2017 10:56 pm
languages_spoken: english, german
ODROIDs: Odroid C2, Odroid C4 Also : Bananapi, Orangepi, Raspi3
Location: Graz, Austria, Europe
Has thanked: 9 times
Been thanked: 8 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by att2 »

You will need a bare minimal window manager to run Chromium if you do not want to install full desktop on C4.
How to install a bare minimal window manager? And which one? XFCE?

fvolk
Posts: 653
Joined: Sun Jun 05, 2016 11:04 pm
languages_spoken: english
ODROIDs: C2, C4, H2
Has thanked: 0
Been thanked: 79 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by fvolk »

So I have a headless C4 running for some time...
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
$ uname -a
Linux c4s 5.7.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.7.18-202009101754~focal (2020-09-10) aarch64 aarch64 aarch64 GNU/Linux
$ uptime
22:02:04 up 337 days, 5:05, 1 user, load average: 1,68, 1,49, 1,06
...and it runs so good I basically forgot about it :-)

So... I want to upgrade it over year's end, and as it is nicely set up and SD card perfectly partitioned, I would prefer to upgrade it instead of a clean reimaging.

Anyone experience with such a large upgrade jump?
Any problems to expect? - I did not read all the pages of postings in this thread...

Thanks!

User avatar
mad_ady
Posts: 10155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 632 times
Been thanked: 817 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by mad_ady »

There shouldn't be any issues. But I usually update packages every few months.

kidovate
Posts: 61
Joined: Fri Jun 21, 2013 8:26 am
languages_spoken: english
ODROIDs: All SkiffOS supported
Has thanked: 0
Been thanked: 7 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by kidovate »

@fvolk we are using Tobetter's kernel and testing it extensively w/ https://github.com/skiffos/skiffos

which you can update independently from your Ubuntu system via "make cmd/odroid/common/install" - updates just the kernel and the host os and not the rest of the stuff on the system.

maybe this could help w/ upgrade nervousness - because you can rollback easily by backing up just 4 or so files.

brad
Posts: 1485
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 C4 HC4 N1 N2 N2+ H2 H2+ (64 bit ftw)
Location: Australia
Has thanked: 141 times
Been thanked: 230 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by brad »

Has there been any issues reported with linux-image-5.15.0-odroid-arm64?

Have my HC4 to update to something stable (current is linux-image-5.13.0-odroid-arm64), it runs headless so I don't need mali but I do use btfrs.

User avatar
tobetter
Posts: 8896
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 521 times
Been thanked: 1421 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

brad wrote:
Tue Dec 28, 2021 10:55 am
Has there been any issues reported with linux-image-5.15.0-odroid-arm64?

Have my HC4 to update to something stable (current is linux-image-5.13.0-odroid-arm64), it runs headless so I don't need mali but I do use btfrs.
5.15 kernel is not out by package manager yet whilist its package is uploaded. Not seeing stable issue yet on my end. Please note that currently different distro may have default kernel version installed by "apt".

fvolk
Posts: 653
Joined: Sun Jun 05, 2016 11:04 pm
languages_spoken: english
ODROIDs: C2, C4, H2
Has thanked: 0
Been thanked: 79 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by fvolk »

fvolk wrote:
Mon Dec 20, 2021 6:08 am
So... I want to upgrade it over year's end, and as it is nicely set up and SD card perfectly partitioned, I would prefer to upgrade it instead of a clean reimaging.
Anyone experience with such a large upgrade jump?
Did the upgrade. The packages upgrade went well,
except the boot process/scripts broke at one point and required debugging - the random systemd induced pain hits again... *sigh*

Running now 5.13.12-202108261237~focal (2021-08-26).
Maybe I'll make the jump to 5.15@focal when its out soon(?), and then in a year again to 22.04 will be the next large jump... hmmm...

brad
Posts: 1485
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 C4 HC4 N1 N2 N2+ H2 H2+ (64 bit ftw)
Location: Australia
Has thanked: 141 times
Been thanked: 230 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by brad »

tobetter wrote:
Tue Dec 28, 2021 11:35 am
5.15 kernel is not out by package manager yet whilist its package is uploaded. Not seeing stable issue yet on my end. Please note that currently different distro may have default kernel version installed by "apt".
Thanks, I have kernel manually set to linux-image-5.13.0-odroid-arm64 and running Focal Fozza atm, will take backups and do some testing with 5.15 and report back (It has btfrs performance improvements and looks like much improved NTFS support).

brad
Posts: 1485
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 C4 HC4 N1 N2 N2+ H2 H2+ (64 bit ftw)
Location: Australia
Has thanked: 141 times
Been thanked: 230 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by brad »

brad wrote:
Wed Dec 29, 2021 8:01 am
tobetter wrote:
Tue Dec 28, 2021 11:35 am
5.15 kernel is not out by package manager yet whilist its package is uploaded. Not seeing stable issue yet on my end. Please note that currently different distro may have default kernel version installed by "apt".
Thanks, I have kernel manually set to linux-image-5.13.0-odroid-arm64 and running Focal Fozza atm, will take backups and do some testing with 5.15 and report back (It has btfrs performance improvements and looks like much improved NTFS support).
Updated and working well for me on 5.15.7-202112090258~focal

User avatar
tobetter
Posts: 8896
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 521 times
Been thanked: 1421 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

brad wrote:
Wed Dec 29, 2021 11:54 am
brad wrote:
Wed Dec 29, 2021 8:01 am
tobetter wrote:
Tue Dec 28, 2021 11:35 am
5.15 kernel is not out by package manager yet whilist its package is uploaded. Not seeing stable issue yet on my end. Please note that currently different distro may have default kernel version installed by "apt".
Thanks, I have kernel manually set to linux-image-5.13.0-odroid-arm64 and running Focal Fozza atm, will take backups and do some testing with 5.15 and report back (It has btfrs performance improvements and looks like much improved NTFS support).
Updated and working well for me on 5.15.7-202112090258~focal
Thank you for the testing and update, I believe you did not test with Mali Bifrost driver.

brad
Posts: 1485
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 C4 HC4 N1 N2 N2+ H2 H2+ (64 bit ftw)
Location: Australia
Has thanked: 141 times
Been thanked: 230 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by brad »

tobetter wrote:
Wed Dec 29, 2021 11:58 am
Thank you for the testing and update, I believe you did not test with Mali Bifrost driver.
Thanks tobetter, That's right I haven't tested display.

I also seen you had 5.15.0-rt-odroid-arm64 in the repo, I might give this a try on my c4 as would be interested to see if it works with a new ethernet mach3 stepper controller I have, although I probably need to use debian rather than ubuntu.

User avatar
tobetter
Posts: 8896
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 521 times
Been thanked: 1421 times
Contact:

Re: Ubuntu 20.04 (Focal Fossa)

Post by tobetter »

brad wrote:
Wed Dec 29, 2021 12:14 pm
tobetter wrote:
Wed Dec 29, 2021 11:58 am
Thank you for the testing and update, I believe you did not test with Mali Bifrost driver.
Thanks tobetter, That's right I haven't tested display.

I also seen you had 5.15.0-rt-odroid-arm64 in the repo, I might give this a try on my c4 as would be interested to see if it works with a new ethernet mach3 stepper controller I have, although I probably need to use debian rather than ubuntu.
Thanks, that's ok not testing the display. **RT** kernel is not being tested, it's just built and pushed to server from my build firm, I realize that the update period of RT kernel branch is much faster than earlier which is also great. :)
These users thanked the author tobetter for the post:
brad (Wed Dec 29, 2021 6:48 pm)

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 1 guest