Ubuntu 20.10 for ODROID-N2/C4/HC4

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

Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by tobetter »

This thread will be used to support Ubuntu 20.10 with mainline kernel for ODROID-N2/C4/HC4 with mainline kernel.

I've managed Debian/Ubuntu package server for a several years and becomes more busy this year mostly for ODROID-N2 and ODROID-C4 - actually my server also contains the packages for ODROID-XU4 and ODROID-C2 but no one uses it. :) Previously I have updated the two different threads for ODROID-N2 and ODROID-C4 although the instructions are almost identical except for a couple of packages, they will be remained as-is and updated for Ubuntu 20.04 LTS with mainline kernel but this thread will for Ubuntu 20.10 only.

Expected activity in this thread are:
1. New experience with upcoming Ubuntu OS.
2. Probably sharing the experience of Panfrost on G52/G31.
3. And more... :)

Since Ubuntu 20.10 is not LTS version, this thread will be closed when Ubuntu 21.04 is released or nobody wants to run Ubuntu 20.10. Also, since thread is aiming the experimental features, it's not strange if the installation is locked up any time.

Released images: Buy me a coffee to keep running my build machine.
These users thanked the author tobetter for the post (total 3):
superpowter77 (Wed Nov 04, 2020 6:19 am) • istanbulls (Mon Nov 09, 2020 3:19 am) • joshua.yang (Mon Nov 09, 2020 11:17 am)

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by tobetter »

In order to install Ubuntu 20.10 into your ODROID-N2/C4/HC4, Ubuntu 20.04 must be installed first and upgraded since Ubuntu 20.10 Netboot Installer is not in my TODO list. For upgrade, in the files /etc/apt/*.list have to modified to replace focal to groovy. If you are familiar with Ubuntu packages, the commands are quite simple, these commands will work for the desktop or headless setup.

Code: Select all

$ sudo apt update
$ sudo apt dist-upgrade
$ sudo apt autoremove
$ sudo reboot
These users thanked the author tobetter for the post:
superpowter77 (Thu Nov 05, 2020 10:22 am)

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by tobetter »


superpowter77
Posts: 315
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: N2(x2),N2+,C4,HC4
Has thanked: 91 times
Been thanked: 25 times
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by superpowter77 »

Very nice, I'll give it a try on my N2 and N2+.

Really looking forward to try an Ubuntu 20.10 Panfrost version.

I Will definitely Not try it on my HC4 or C4 since S905X3 CPU is not strong enough to run regular custom Ubuntu 20.04 LTS w/Gnome/Wayland.

Question, are overclocking speeds unlocked on Ubuntu 20.10 for N2(2004Mhz for A73 and 1992Mhz for A53) and N2+(2400Mhz for A73 and 2016Mhz for A53)?

BTW, Great job by keeping us updated with latest Linux Distros for our beloved Odroids.
I do own a few RK3399 SBC's and some Fruity boards too and none of them have this level of customization and support with HW acceleration and mainline kernels. Not sucking up, just stating facts why HK stands out of the crowd.

superpowter77
Posts: 315
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: N2(x2),N2+,C4,HC4
Has thanked: 91 times
Been thanked: 25 times
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by superpowter77 »

Ubuntu 20.10 upgrade worked like a charm on my N2+
Gnome tweaks and Gnome Arc menu stop working after Ubuntu 20.10 update. Had to reinstall/update them.
So far so good. Will run some performance tests on it.
These users thanked the author superpowter77 for the post:
tobetter (Thu Nov 05, 2020 12:57 pm)

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by tobetter »

superpowter77 wrote:
Thu Nov 05, 2020 12:51 pm
Ubuntu 20.10 upgrade worked like a charm on my N2+
Gnome tweaks and Gnome Arc menu stop working after Ubuntu 20.10 update. Had to reinstall/update them.
So far so good. Will run some performance tests on it.
Out of curiosity, how long does it take to complete the installation with your N2Plus?

superpowter77
Posts: 315
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: N2(x2),N2+,C4,HC4
Has thanked: 91 times
Been thanked: 25 times
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by superpowter77 »

tobetter wrote:
Thu Nov 05, 2020 4:15 pm
superpowter77 wrote:
Thu Nov 05, 2020 12:51 pm
Ubuntu 20.10 upgrade worked like a charm on my N2+
Gnome tweaks and Gnome Arc menu stop working after Ubuntu 20.10 update. Had to reinstall/update them.
So far so good. Will run some performance tests on it.
Out of curiosity, how long does it take to complete the installation with your N2Plus?
Approximately 6 minutes from eMMC @2400Mhz/2016Mhz.

superpowter77
Posts: 315
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: N2(x2),N2+,C4,HC4
Has thanked: 91 times
Been thanked: 25 times
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by superpowter77 »

After Groovy 20.10 update, I noticed VLC is no longer working and with half of my MP4 1080p movie collection,there are audio issues playing thru HDMI on the TV.
When HDMI/DisplayPort -Built-in Audio is chosen as Output device, only Digital Surround 5.1(HDMI) Output is working.
With MPV application, playing MP4 1080p video files, audio(voices) are Not heard, only sound track/sound effects can be heard.
MP4 video files using AAC Audio codec are the ones having trouble with on MPV as mentioned above.
They were playing perfectly fine on 20.04.

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by tobetter »

superpowter77 wrote:
Thu Nov 05, 2020 8:09 pm
After Groovy 20.10 update, I noticed VLC is no longer working and with half of my MP4 1080p movie collection,there are audio issues playing thru HDMI on the TV.
When HDMI/DisplayPort -Built-in Audio is chosen as Output device, only Digital Surround 5.1(HDMI) Output is working.
With MPV application, playing MP4 1080p video files, audio(voices) are Not heard, only sound track/sound effects can be heard.
Maybe a missing audio codec somewhere?
They were playing perfectly fine on 20.04.
Thanks for testing...In Ubuntu 20.04, I've packaged the FFMPEG with help @brad and it's been compiled with a certain flags but this is not there in the Groovy repo yet. I am trying to see the packages which may not require to be packaged and published by my server but comes from Canonical. So if a certain packages are required to be customized for ODROID, I will put into build queue and will upload to the package repository.

FYI, big packages I've customized before 20.10 other than Linux kernel and Mali are "Qt5", "SDL" and "FFMPEG".

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by brad »

superpowter77 wrote:
Thu Nov 05, 2020 8:09 pm
After Groovy 20.10 update, I noticed VLC is no longer working and with half of my MP4 1080p movie collection,there are audio issues playing thru HDMI on the TV.
When HDMI/DisplayPort -Built-in Audio is chosen as Output device, only Digital Surround 5.1(HDMI) Output is working.
With MPV application, playing MP4 1080p video files, audio(voices) are Not heard, only sound track/sound effects can be heard.
MP4 video files using AAC Audio codec are the ones having trouble with on MPV as mentioned above.
They were playing perfectly fine on 20.04.
Can you try to reinstall the odroid-alsa package to see if it fixes the sound

Code: Select all

$ sudo apt-get install --reinstall odroid-alsa
I suspect your channels are mapped a bit wrong for whatever reason.

If that does not work as a test try to force pulse to map to stereo sound in /etc/pulse/default.pa by adding this to the end as a workaround

Code: Select all

load-module module-combine channels=2 channel_map=front-left,front-right
I think upstream kernel has possibly made some changes recently in 5.9 which might have impact sound channels.

Also I think the standard groovy ffmpeg version should now be ok for odroid without customization :)
These users thanked the author brad for the post:
superpowter77 (Fri Nov 06, 2020 4:32 am)

superpowter77
Posts: 315
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: N2(x2),N2+,C4,HC4
Has thanked: 91 times
Been thanked: 25 times
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by superpowter77 »

brad wrote:
Thu Nov 05, 2020 10:33 pm
superpowter77 wrote:
Thu Nov 05, 2020 8:09 pm
After Groovy 20.10 update, I noticed VLC is no longer working and with half of my MP4 1080p movie collection,there are audio issues playing thru HDMI on the TV.
When HDMI/DisplayPort -Built-in Audio is chosen as Output device, only Digital Surround 5.1(HDMI) Output is working.
With MPV application, playing MP4 1080p video files, audio(voices) are Not heard, only sound track/sound effects can be heard.
MP4 video files using AAC Audio codec are the ones having trouble with on MPV as mentioned above.
They were playing perfectly fine on 20.04.
Can you try to reinstall the odroid-alsa package to see if it fixes the sound

Code: Select all

$ sudo apt-get install --reinstall odroid-alsa
I suspect your channels are mapped a bit wrong for whatever reason.

If that does not work as a test try to force pulse to map to stereo sound in /etc/pulse/default.pa by adding this to the end as a workaround

Code: Select all

load-module module-combine channels=2 channel_map=front-left,front-right
I think upstream kernel has possibly made some changes recently in 5.9 which might have impact sound channels.

Also I think the standard groovy ffmpeg version should now be ok for odroid without customization :)
Thanks. I'll try.
I'm on 5.8.0-odroid-arm64 kernel. I thought 5.9 would come as default with Groovy 20.10 upgrade/installation.

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by brad »

@tobetter might have to check on this patch in both 5.8 / 5.9 recent updates as it may have broke sound channels? - https://git.kernel.org/pub/scm/linux/ke ... 624b4b497a

I can test on my odroid N2 tomorrow (been using the C4, hifi shield and older kernel for the moment)

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by tobetter »

brad wrote:
Thu Nov 05, 2020 10:55 pm
@tobetter might have to check on this patch in both 5.8 / 5.9 recent updates as it may have broke sound channels? - https://git.kernel.org/pub/scm/linux/ke ... 624b4b497a

I can test on my odroid N2 tomorrow (been using the C4, hifi shield and older kernel for the moment)
Audio over HDMI works with 5.9 kernel after upgrading to Ubuntu 20.10 without additional change.
https://youtu.be/SpNCNfhSpWs?t=760

superpowter77
Posts: 315
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: N2(x2),N2+,C4,HC4
Has thanked: 91 times
Been thanked: 25 times
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by superpowter77 »

tobetter wrote:
Thu Nov 05, 2020 11:21 pm
brad wrote:
Thu Nov 05, 2020 10:55 pm
@tobetter might have to check on this patch in both 5.8 / 5.9 recent updates as it may have broke sound channels? - https://git.kernel.org/pub/scm/linux/ke ... 624b4b497a

I can test on my odroid N2 tomorrow (been using the C4, hifi shield and older kernel for the moment)
Audio over HDMI works with 5.9 kernel after upgrading to Ubuntu 20.10 without additional change.
https://youtu.be/SpNCNfhSpWs?t=760
How do I upgrade to 5.9 kernel on Groovy 20.10?
I'm currently on 5.8.0-odroid-arm64 kernel.

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by tobetter »

superpowter77 wrote:
Thu Nov 05, 2020 11:25 pm
tobetter wrote:
Thu Nov 05, 2020 11:21 pm
brad wrote:
Thu Nov 05, 2020 10:55 pm
@tobetter might have to check on this patch in both 5.8 / 5.9 recent updates as it may have broke sound channels? - https://git.kernel.org/pub/scm/linux/ke ... 624b4b497a

I can test on my odroid N2 tomorrow (been using the C4, hifi shield and older kernel for the moment)
Audio over HDMI works with 5.9 kernel after upgrading to Ubuntu 20.10 without additional change.
https://youtu.be/SpNCNfhSpWs?t=760
How do I upgrade to 5.9 kernel on Groovy 20.10?
I'm currently on 5.8.0-odroid-arm64 kernel.
Can you update commands again?

Code: Select all

$ sudo apt update
$ sudo apt upgrade
After the update, you should have these packages.

Code: Select all

$ sudo dpkg -l | grep linux-image
ii  linux-image-5.9.0-odroid-arm64             5.9.1-202010302357~groovy             arm64        Linux 5.9 for 64-bit ARMv8 machines
ii  linux-image-generic                        5:2020.11-1+202011052352~groovy       arm64        Generic Linux kernel image
Also, please run this commands and share the output.

Code: Select all

$ sudo dpkg -l | grep focal

superpowter77
Posts: 315
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: N2(x2),N2+,C4,HC4
Has thanked: 91 times
Been thanked: 25 times
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by superpowter77 »

sudo dpkg -l | grep linux-image
ii linux-image-5.7.0-odroid-arm64 5.7.18-202009050222~focal arm64 Linux 5.7 for 64-bit ARMv8 machines
ii linux-image-5.8.0-odroid-arm64 5.8.16-202010302342~groovy arm64 Linux 5.8 for 64-bit ARMv8 machines
ii linux-image-generic 5:2020.09-1+202008291508~focal arm64 Generic Linux kernel image

superpowter77
Posts: 315
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: N2(x2),N2+,C4,HC4
Has thanked: 91 times
Been thanked: 25 times
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by superpowter77 »

sudo dpkg -l | grep focal
ii libqt5core5a:arm64 5:5.12.8+dfsg-0ubuntu1+202004280256~focal arm64 Qt 5 core module
ii libqt5dbus5:arm64 5:5.12.8+dfsg-0ubuntu1+202004280256~focal arm64 Qt 5 D-Bus module
ii libqt5gui5:arm64 5:5.12.8+dfsg-0ubuntu1+202004280256~focal arm64 Qt 5 GUI module
ii libqt5network5:arm64 5:5.12.8+dfsg-0ubuntu1+202004280256~focal arm64 Qt 5 network module
ii libqt5widgets5:arm64 5:5.12.8+dfsg-0ubuntu1+202004280256~focal arm64 Qt 5 widgets module
ii linux-headers-5.7.0-odroid-arm64 5.7.18-202009050222~focal arm64 Header files for Linux 5.7.0-odroid-arm64
ii linux-headers-5.7.0-odroid-common 5.7.18-202009050222~focal arm64 Common header files for Linux 5.7.0-odroid
ii linux-image-5.7.0-odroid-arm64 5.7.18-202009050222~focal arm64 Linux 5.7 for 64-bit ARMv8 machines
ii linux-image-generic 5:2020.09-1+202008291508~focal arm64 Generic Linux kernel image
ii linux-kbuild-5.7 5.7.18-202009050222~focal arm64 Kbuild infrastructure for Linux 5.7
ii qt5-gtk-platformtheme:arm64 5:5.12.8+dfsg-0ubuntu1+202004280256~focal arm64 Qt 5 GTK+ 3 platform theme
ii ubuntu-wallpapers-focal 20.10.3-0ubuntu0.20.10.1 all Ubuntu 20.04 Wallpapers

superpowter77
Posts: 315
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: N2(x2),N2+,C4,HC4
Has thanked: 91 times
Been thanked: 25 times
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by superpowter77 »

cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.10
DISTRIB_CODENAME=groovy
DISTRIB_DESCRIPTION="Ubuntu 20.10"

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by tobetter »

superpowter77 wrote:
Fri Nov 06, 2020 12:10 am
sudo dpkg -l | grep linux-image
ii linux-image-5.7.0-odroid-arm64 5.7.18-202009050222~focal arm64 Linux 5.7 for 64-bit ARMv8 machines
ii linux-image-5.8.0-odroid-arm64 5.8.16-202010302342~groovy arm64 Linux 5.8 for 64-bit ARMv8 machines
ii linux-image-generic 5:2020.09-1+202008291508~focal arm64 Generic Linux kernel image
Is this after apt update?
Did you change the file /etc/apt/sources.list.d/ppa_linuxfactory_or_kr.list as well?

superpowter77
Posts: 315
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: N2(x2),N2+,C4,HC4
Has thanked: 91 times
Been thanked: 25 times
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by superpowter77 »

tobetter wrote:
Fri Nov 06, 2020 12:23 am
superpowter77 wrote:
Fri Nov 06, 2020 12:10 am
sudo dpkg -l | grep linux-image
ii linux-image-5.7.0-odroid-arm64 5.7.18-202009050222~focal arm64 Linux 5.7 for 64-bit ARMv8 machines
ii linux-image-5.8.0-odroid-arm64 5.8.16-202010302342~groovy arm64 Linux 5.8 for 64-bit ARMv8 machines
ii linux-image-generic 5:2020.09-1+202008291508~focal arm64 Generic Linux kernel image
Is this after apt update?
Did you change the file /etc/apt/sources.list.d/ppa_linuxfactory_or_kr.list as well?
Indeed. After update and reboot.
Yes, I did.

sudo cat /etc/apt/sources.list.d/ppa_linuxfactory_or_kr.list
deb http://ppa.linuxfactory.or.kr groovy main
deb http://ppa.linuxfactory.or.kr groovy non-free
deb http://ppa.linuxfactory.or.kr groovy contrib

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by tobetter »

superpowter77 wrote:
Fri Nov 06, 2020 12:29 am
tobetter wrote:
Fri Nov 06, 2020 12:23 am
superpowter77 wrote:
Fri Nov 06, 2020 12:10 am
sudo dpkg -l | grep linux-image
ii linux-image-5.7.0-odroid-arm64 5.7.18-202009050222~focal arm64 Linux 5.7 for 64-bit ARMv8 machines
ii linux-image-5.8.0-odroid-arm64 5.8.16-202010302342~groovy arm64 Linux 5.8 for 64-bit ARMv8 machines
ii linux-image-generic 5:2020.09-1+202008291508~focal arm64 Generic Linux kernel image
Is this after apt update?
Did you change the file /etc/apt/sources.list.d/ppa_linuxfactory_or_kr.list as well?
Indeed. After update and reboot.
Yes, I did.

sudo cat /etc/apt/sources.list.d/ppa_linuxfactory_or_kr.list
deb http://ppa.linuxfactory.or.kr groovy main
deb http://ppa.linuxfactory.or.kr groovy non-free
deb http://ppa.linuxfactory.or.kr groovy contrib
What if run sudo apt install linux-image-generic linux-headers-generic? These two are meta packages to leads the default kernel and header packages.

superpowter77
Posts: 315
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: N2(x2),N2+,C4,HC4
Has thanked: 91 times
Been thanked: 25 times
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by superpowter77 »

tobetter wrote:
Fri Nov 06, 2020 12:33 am
superpowter77 wrote:
Fri Nov 06, 2020 12:29 am
tobetter wrote:
Fri Nov 06, 2020 12:23 am
superpowter77 wrote:
Fri Nov 06, 2020 12:10 am
sudo dpkg -l | grep linux-image
ii linux-image-5.7.0-odroid-arm64 5.7.18-202009050222~focal arm64 Linux 5.7 for 64-bit ARMv8 machines
ii linux-image-5.8.0-odroid-arm64 5.8.16-202010302342~groovy arm64 Linux 5.8 for 64-bit ARMv8 machines
ii linux-image-generic 5:2020.09-1+202008291508~focal arm64 Generic Linux kernel image
Is this after apt update?
Did you change the file /etc/apt/sources.list.d/ppa_linuxfactory_or_kr.list as well?
Indeed. After update and reboot.
Yes, I did.

sudo cat /etc/apt/sources.list.d/ppa_linuxfactory_or_kr.list
deb http://ppa.linuxfactory.or.kr groovy main
deb http://ppa.linuxfactory.or.kr groovy non-free
deb http://ppa.linuxfactory.or.kr groovy contrib
What if run sudo apt install linux-image-generic linux-headers-generic? These two are meta packages to leads the default kernel and header packages.
Still on 5.8 after.
See my log file.
log.txt
(3.3 KiB) Downloaded 7 times

superpowter77
Posts: 315
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: N2(x2),N2+,C4,HC4
Has thanked: 91 times
Been thanked: 25 times
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by superpowter77 »

After reboot, I finally got the elusive 5.9
5.9.0-odroid-arm64
Thanks.

superpowter77
Posts: 315
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: N2(x2),N2+,C4,HC4
Has thanked: 91 times
Been thanked: 25 times
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by superpowter77 »

As expected Wayland HW acceleration is broken. X11and llvmpipe is showing.

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by tobetter »

superpowter77 wrote:
Fri Nov 06, 2020 1:22 am
As expected Wayland HW acceleration is broken. X11and llvmpipe is showing.
You can run sudo apt install mali-bifrost-wayland-driver mali-bifrost-dkms.

superpowter77
Posts: 315
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: N2(x2),N2+,C4,HC4
Has thanked: 91 times
Been thanked: 25 times
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by superpowter77 »

tobetter wrote:
Fri Nov 06, 2020 1:24 am
superpowter77 wrote:
Fri Nov 06, 2020 1:22 am
As expected Wayland HW acceleration is broken. X11and llvmpipe is showing.
You can run sudo apt install mali-bifrost-wayland-driver mali-bifrost-dkms.
Weird, it says it's already installed...

sudo apt install mali-bifrost-wayland-driver mali-bifrost-dkms

Reading package lists... Done
Building dependency tree
Reading state information... Done
mali-bifrost-wayland-driver is already the newest version (5:0.1-5+202011020257~groovy).
mali-bifrost-dkms is already the newest version (24.0+202011020308~groovy).
mali-bifrost-dkms set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.

superpowter77
Posts: 315
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: N2(x2),N2+,C4,HC4
Has thanked: 91 times
Been thanked: 25 times
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by superpowter77 »

echo $XDG_SESSION_TYPE
x11

MPV is not even loading.

es2gears_wayland
EGLUT: failed to initialize native display

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by tobetter »

superpowter77 wrote:
Fri Nov 06, 2020 1:27 am
tobetter wrote:
Fri Nov 06, 2020 1:24 am
superpowter77 wrote:
Fri Nov 06, 2020 1:22 am
As expected Wayland HW acceleration is broken. X11and llvmpipe is showing.
You can run sudo apt install mali-bifrost-wayland-driver mali-bifrost-dkms.
Weird, it says it's already installed...

sudo apt install mali-bifrost-wayland-driver mali-bifrost-dkms

Reading package lists... Done
Building dependency tree
Reading state information... Done
mali-bifrost-wayland-driver is already the newest version (5:0.1-5+202011020257~groovy).
mali-bifrost-dkms is already the newest version (24.0+202011020308~groovy).
mali-bifrost-dkms set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Do again this command and reboot.
sudo apt install --reinstall mali-bifrost-wayland-driver mali-bifrost-dkms

superpowter77
Posts: 315
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: N2(x2),N2+,C4,HC4
Has thanked: 91 times
Been thanked: 25 times
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by superpowter77 »

tobetter wrote:
Fri Nov 06, 2020 1:41 am
superpowter77 wrote:
Fri Nov 06, 2020 1:27 am
tobetter wrote:
Fri Nov 06, 2020 1:24 am
superpowter77 wrote:
Fri Nov 06, 2020 1:22 am
As expected Wayland HW acceleration is broken. X11and llvmpipe is showing.
You can run sudo apt install mali-bifrost-wayland-driver mali-bifrost-dkms.
Weird, it says it's already installed...

sudo apt install mali-bifrost-wayland-driver mali-bifrost-dkms

Reading package lists... Done
Building dependency tree
Reading state information... Done
mali-bifrost-wayland-driver is already the newest version (5:0.1-5+202011020257~groovy).
mali-bifrost-dkms is already the newest version (24.0+202011020308~groovy).
mali-bifrost-dkms set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Do again this command and reboot.
sudo apt install --reinstall mali-bifrost-wayland-driver mali-bifrost-dkms
Wayland is working again. Thanks.
HDMI sound is Not working. I'm going to try to reinstall odroid-alsa.

superpowter77
Posts: 315
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: N2(x2),N2+,C4,HC4
Has thanked: 91 times
Been thanked: 25 times
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by superpowter77 »

brad wrote:
Thu Nov 05, 2020 10:33 pm
superpowter77 wrote:
Thu Nov 05, 2020 8:09 pm
After Groovy 20.10 update, I noticed VLC is no longer working and with half of my MP4 1080p movie collection,there are audio issues playing thru HDMI on the TV.
When HDMI/DisplayPort -Built-in Audio is chosen as Output device, only Digital Surround 5.1(HDMI) Output is working.
With MPV application, playing MP4 1080p video files, audio(voices) are Not heard, only sound track/sound effects can be heard.
MP4 video files using AAC Audio codec are the ones having trouble with on MPV as mentioned above.
They were playing perfectly fine on 20.04.
Can you try to reinstall the odroid-alsa package to see if it fixes the sound

Code: Select all

$ sudo apt-get install --reinstall odroid-alsa
I suspect your channels are mapped a bit wrong for whatever reason.

If that does not work as a test try to force pulse to map to stereo sound in /etc/pulse/default.pa by adding this to the end as a workaround

Code: Select all

load-module module-combine channels=2 channel_map=front-left,front-right
I think upstream kernel has possibly made some changes recently in 5.9 which might have impact sound channels.

Also I think the standard groovy ffmpeg version should now be ok for odroid without customization :)
HDMI audio finally fixed after doing Brad's instructions.

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by brad »

Hi tobetter
is it possible to bump your flash-kernel package to at least 3.98 as i'm having some troubles with current version with a custom kernel (as it is having problems with install triggers and old version)

Code: Select all

brad@focal-minimal:~/odroid-5.9.y$ apt policy flash-kernel
flash-kernel:
  Installed: 5:3.97-2+202010301922~groovy
  Candidate: 5:3.97-2+202010301922~groovy
  Version table:
 *** 5:3.97-2+202010301922~groovy 500
        500 http://ppa.linuxfactory.or.kr groovy/main arm64 Packages
        100 /var/lib/dpkg/status
     3.100ubuntu4 500
        500 http://ports.ubuntu.com/ubuntu-ports groovy/main arm64 Packages
I built mesa 20.3-dev (master branch) packages and this is quiet easy on groovy (using the ubuntu 20.2 package definitions) which includes panfrost support for mesa.

Code: Select all

brad@focal-minimal:~/odroid-5.9.y$ glmark2-wayland 
=======================================================
    glmark2 2014.03+git20150611.fa71af2d
=======================================================
    OpenGL Information
    GL_VENDOR:     Panfrost
    GL_RENDERER:   Mali G31 (Panfrost)
    GL_VERSION:    2.1 Mesa 20.3.0-devel (git-7d3df69914)
=======================================================
[build] use-vbo=false: FPS: 224 FrameTime: 4.464 ms
[build] use-vbo=true: FPS: 245 FrameTime: 4.082 ms
[texture] texture-filter=nearest:^C FPS: 471 FrameTime: 2.123 ms
=======================================================
                                  glmark2 Score: 313 
=======================================================
brad@focal-minimal:~/odroid-5.9.y$ glmark2-es2-wayland 
=======================================================
    glmark2 2014.03+git20150611.fa71af2d
=======================================================
    OpenGL Information
    GL_VENDOR:     Panfrost
    GL_RENDERER:   Mali G31 (Panfrost)
    GL_VERSION:    OpenGL ES 2.0 Mesa 20.3.0-devel (git-7d3df69914)
=======================================================
[build] use-vbo=false: FPS: 231 FrameTime: 4.329 ms
[build] use-vbo=true: FPS: 245 FrameTime: 4.082 ms
[texture] texture-filter=nearest:^C FPS: 413 FrameTime: 2.421 ms
=======================================================
                                  glmark2 Score: 296 
=======================================================
brad@focal-minimal:~/odroid-5.9.y$ glmark2
=======================================================
    glmark2 2014.03+git20150611.fa71af2d
=======================================================
    OpenGL Information
    GL_VENDOR:     Panfrost
    GL_RENDERER:   Mali G31 (Panfrost)
    GL_VERSION:    2.1 Mesa 20.3.0-devel (git-7d3df69914)
=======================================================
[build] use-vbo=false: FPS: 169 FrameTime: 5.917 ms
[build] use-vbo=true: FPS: 168 FrameTime: 5.952 ms
[texture] texture-filter=nearest:^C
Screenshot from 2020-11-07 20-43-48.png
Screenshot from 2020-11-07 20-43-48.png (383.88 KiB) Viewed 1454 times
Trying to work the kernel (running a customized version of your 5.9.1 at the moment with required patches but trying to rebase on 5.10-rc2 (still need patches on top of this for panfrost). Flash kernel is causing me some problems so it would be nice to bump the version.

Thanks,
Brad.

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by tobetter »

@brad,

Let me rebase with 3.99 which is most recent version.
For Panfrost, can we test with 5.9 kernel first since I am building 5.10 kernel and trying to build package from my server?

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by brad »

tobetter wrote:
Sat Nov 07, 2020 7:20 pm
@brad,

Let me rebase with 3.99 which is most recent version.
For Panfrost, can we test with 5.9 kernel first since I am building 5.10 kernel and trying to build package from my server?
Sure, I can't get 5.10 to boot anyway so going back to 5.9, any chance to get to 5.9.6? some patches are needed which are difficult from 5.9.3 - https://git.kernel.org/pub/scm/linux/ke ... q=panfrost

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by tobetter »

brad wrote:
Sat Nov 07, 2020 7:22 pm
tobetter wrote:
Sat Nov 07, 2020 7:20 pm
@brad,

Let me rebase with 3.99 which is most recent version.
For Panfrost, can we test with 5.9 kernel first since I am building 5.10 kernel and trying to build package from my server?
Sure, I can't get 5.10 to boot anyway so going back to 5.9, any chance to get to 5.9.6? some patches are needed which are difficult from 5.9.3 - https://git.kernel.org/pub/scm/linux/ke ... q=panfrost
Actually, I am testing 5.9.6...5.9 branch has not been updated for some time.
Let me first finish the package without Panfrost patch series and publish it.
These users thanked the author tobetter for the post:
brad (Sat Nov 07, 2020 7:36 pm)

User avatar
istanbulls
Posts: 378
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 233 times
Been thanked: 53 times
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by istanbulls »

I've been dealing with this for a few days.
Now wayland desktop works fine, sound is good, videos are fluent.
Only Chromium does not work, he insists he wants a x desktop. Chromium is a must have for me. Because the built-in Translate works very well for me. If I don't translate built-in I get deaf and dumb in Odroid Forum.
Thanks @tobetter and all contributors !!!

MamkinHacker
Posts: 20
Joined: Wed Aug 19, 2020 8:56 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by MamkinHacker »

istanbulls wrote:
Mon Nov 09, 2020 4:07 am
Only Chromium does not work, he insists he wants a x desktop. Chromium is a must have for me. Because the built-in Translate works very well for me. If I don't translate built-in I get deaf and dumb in Odroid Forum.
You could try something like this addon for firefox. I don't use chromium anymore because ubuntu decided to drop normal packages and switch to snap which is a slow crap. Native chromium opens on my n2 in 3 seconds, and opening snap takes up to 10 seconds, this is ridiculous. Although chromuim developers want to push wayland to upstream, but we still have to deal with snap.

User avatar
istanbulls
Posts: 378
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 233 times
Been thanked: 53 times
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by istanbulls »

Thank you for the suggestion. I use several plugins but none of them have chromium's built-in translation functional. I don't feel good with plugins.

MamkinHacker
Posts: 20
Joined: Wed Aug 19, 2020 8:56 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by MamkinHacker »

istanbulls wrote:
Mon Nov 09, 2020 5:58 am
Thank you for the suggestion. I use several plugins but none of them have chromium's built-in translation functional. I don't feel good with plugins.
Have you tried this one? Seems to me similar to chromium's translator. Or you could port chromium's translator plugin by using this guide. :D

User avatar
istanbulls
Posts: 378
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 233 times
Been thanked: 53 times
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by istanbulls »

I solved the chromium issue with docker-chromium-armhf in this issue!
viewtopic.php?p=308433#p308433

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by tobetter »

@brad, I've uploaded new kernel package based on 5.9.6 upstream kernel and you would be able to test it. Before updating, please add this line to /etc/apt/sources.list.d/ppa_linuxfactory_or_kr.list

Code: Select all

deb http://ppa.linuxfactory.or.kr groovy testing
For other users:
There is a bit more changes after 5.9.1 and Mali Wayland have a trouble with it. So I had to work a bit more than I expected, do not try to install this kernel package 5.9.6 yet. I've tested with N2Plus, not yet with C4/HC4...after having more test. I will publish the image.

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by tobetter »

tobetter wrote:
Tue Nov 10, 2020 4:23 pm
@brad, I've uploaded new kernel package based on 5.9.6 upstream kernel and you would be able to test it. Before updating, please add this line to /etc/apt/sources.list.d/ppa_linuxfactory_or_kr.list

Code: Select all

deb http://ppa.linuxfactory.or.kr groovy testing
For other users:
There is a bit more changes after 5.9.1 and Mali Wayland have a trouble with it. So I had to work a bit more than I expected, do not try to install this kernel package 5.9.6 yet. I've tested with N2Plus, not yet with C4/HC4...after having more test. I will publish the image.
@brad,
I've created yet another branch odroid-5.9.y-panfrost merged with your branch an the branch is based on 5.9.8.
https://github.com/tobetter/linux/commi ... y-panfrost
These users thanked the author tobetter for the post:
brad (Mon Nov 16, 2020 7:47 am)

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by tobetter »

Actually this is not about Ubuntu 20.10 but about the Panfrost status.

With great help from a few developers (@brad and others) in this forum, I've sorted out the commits to enable Panfrost drivers and pushed to my Github branch. I was able to run the first Panfrost test on ODROID-HC4 as attached screen. It runs but a bit choppy compare to ARM Mali Bifrost driver, maybe my testing is a bit different than ArchLinux that @jgmdev is contributing, but it works...so the first step is started! I need to work more and test with ODROID-N2 as well so hopfully I can build the test packages.

Appreciate all Panfrost/Mesa developers and many users in this forum.
untitled-f001217.png
untitled-f001217.png (937.27 KiB) Viewed 980 times
These users thanked the author tobetter for the post (total 2):
istanbulls (Mon Nov 16, 2020 7:41 pm) • brad (Mon Nov 16, 2020 9:08 pm)

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by brad »

Should be able to dump this build config https://github.com/bjharper/ubuntu-mesa ... /20.3-rc1/ directly into the mesa tarball to build the packages - https://github.com/mesa3d/mesa/tree/20.3 for mesa 20.3-rc1

Test built in groovy with a pristine chroot which gives the following deb's

Code: Select all

brad@focal-minimal:/var/cache/pbuilder/result$ ls -tlr
total 215688
-rw-r--r-- 1 brad brad 21610074 Nov 12 21:30 mesa_20.3-rc1.tar.gz
-rw-rw-r-- 1 brad brad     4385 Nov 12 21:30 mesa_20.3-rc1.dsc
-rw-r--r-- 1 brad brad    51868 Nov 12 22:58 libegl1-mesa-dev_20.3-rc1_arm64.deb
-rw-r--r-- 1 brad brad    50476 Nov 12 22:58 libwayland-egl1-mesa_20.3-rc1_arm64.deb
-rw-r--r-- 1 brad brad    50464 Nov 12 22:58 libgles2-mesa_20.3-rc1_arm64.deb
-rw-r--r-- 1 brad brad    50476 Nov 12 22:58 libgles2-mesa-dev_20.3-rc1_arm64.deb
-rw-r--r-- 1 brad brad    95904 Nov 12 22:58 libglapi-mesa_20.3-rc1_arm64.deb
-rw-r--r-- 1 brad brad   315552 Nov 12 22:58 libglapi-mesa-dbgsym_20.3-rc1_arm64.ddeb
-rw-r--r-- 1 brad brad   185268 Nov 12 22:58 libglx-mesa0_20.3-rc1_arm64.deb
-rw-r--r-- 1 brad brad   709112 Nov 12 22:58 libglx-mesa0-dbgsym_20.3-rc1_arm64.ddeb
-rw-r--r-- 1 brad brad    50476 Nov 12 22:58 libgl1-mesa-glx_20.3-rc1_arm64.deb
-rw-r--r-- 1 brad brad  2510404 Nov 12 22:58 mesa-vdpau-drivers_20.3-rc1_arm64.deb
-rw-r--r-- 1 brad brad  2816528 Nov 12 22:59 libd3dadapter9-mesa_20.3-rc1_arm64.deb
-rw-r--r-- 1 brad brad  6503784 Nov 12 22:59 libgl1-mesa-dri_20.3-rc1_arm64.deb
-rw-r--r-- 1 brad brad 19197572 Nov 12 22:59 mesa-vdpau-drivers-dbgsym_20.3-rc1_arm64.ddeb
-rw-r--r-- 1 brad brad 20651888 Nov 12 22:59 libd3dadapter9-mesa-dbgsym_20.3-rc1_arm64.ddeb
-rw-r--r-- 1 brad brad    54444 Nov 12 22:59 libd3dadapter9-mesa-dev_20.3-rc1_arm64.deb
-rw-r--r-- 1 brad brad    71804 Nov 12 22:59 libgbm1_20.3-rc1_arm64.deb
-rw-r--r-- 1 brad brad    80708 Nov 12 22:59 libgbm1-dbgsym_20.3-rc1_arm64.ddeb
-rw-r--r-- 1 brad brad    54116 Nov 12 22:59 libgbm-dev_20.3-rc1_arm64.deb
-rw-r--r-- 1 brad brad   133284 Nov 12 22:59 libegl-mesa0_20.3-rc1_arm64.deb
-rw-r--r-- 1 brad brad   418488 Nov 12 22:59 libegl-mesa0-dbgsym_20.3-rc1_arm64.ddeb
-rw-r--r-- 1 brad brad    50460 Nov 12 22:59 libegl1-mesa_20.3-rc1_arm64.deb
-rw-r--r-- 1 brad brad  1596900 Nov 12 22:59 mesa-vulkan-drivers_20.3-rc1_arm64.deb
-rw-r--r-- 1 brad brad 11721792 Nov 12 22:59 mesa-vulkan-drivers-dbgsym_20.3-rc1_arm64.ddeb
-rw-r--r-- 1 brad brad 43849412 Nov 12 22:59 libgl1-mesa-dri-dbgsym_20.3-rc1_arm64.ddeb
-rw-r--r-- 1 brad brad    50476 Nov 12 22:59 libgl1-mesa-dev_20.3-rc1_arm64.deb
-rw-r--r-- 1 brad brad  1193836 Nov 12 23:00 mesa-common-dev_20.3-rc1_arm64.deb
-rw-r--r-- 1 brad brad  2536248 Nov 12 23:00 libosmesa6_20.3-rc1_arm64.deb
-rw-r--r-- 1 brad brad  4286296 Nov 12 23:00 mesa-opencl-icd_20.3-rc1_arm64.deb
-rw-r--r-- 1 brad brad 15378220 Nov 12 23:00 libosmesa6-dbgsym_20.3-rc1_arm64.ddeb
-rw-r--r-- 1 brad brad    53844 Nov 12 23:00 libosmesa6-dev_20.3-rc1_arm64.deb
-rw-r--r-- 1 brad brad  2402248 Nov 12 23:00 mesa-va-drivers_20.3-rc1_arm64.deb
-rw-r--r-- 1 brad brad 43191196 Nov 12 23:01 mesa-opencl-icd-dbgsym_20.3-rc1_arm64.ddeb
-rw-r--r-- 1 brad brad 18766036 Nov 12 23:01 mesa-va-drivers-dbgsym_20.3-rc1_arm64.ddeb
-rw-r--r-- 1 brad brad    19763 Nov 12 23:01 mesa_20.3-rc1_arm64.buildinfo
-rw-r--r-- 1 brad brad    12403 Nov 12 23:01 mesa_20.3-rc1_arm64.changes
I did have some issues (which might be related to something else on my system - C4 or the package config itself) but i'm very interested to give this another test with latest kernel and a new netboot install on C4, N2 and HC4. Hopefully some time tomorrow to do this. Thanks for you efforts so far @tobetter!

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by tobetter »

Spent two evenings to package and test Linux 5.10 kernel, eventually looks like Jenkins HDD becomes bad...hearing strange noises from it. :cry:
Screenshot from 2020-11-18 23-34-19.png
Screenshot from 2020-11-18 23-34-19.png (145.15 KiB) Viewed 887 times

mad_ady
Posts: 8825
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: 586 times
Been thanked: 529 times
Contact:

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by mad_ady »

No space left on device is not exactly faulty...

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by tobetter »

mad_ady wrote:
Thu Nov 19, 2020 4:57 am
No space left on device is not exactly faulty...
No...no space is happening in Docker on ODROID-N2 and my build server HDD is really cracking...

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by tobetter »

I've done to package Linux 5.10 and it's uploaded as posted in another thread.
viewtopic.php?p=312386#p312386

I am thinking of adding Panfrost patches in 5.9 branch to 5.10 branch, since in a month we need to switch 5.10 for the default kernel and 5.10 will be the next LTS release. I don't know yet, even the Panfrost patches can be merged without conflict...but will see tomorrow. :D
https://itsfoss.com/kernel-5-10/
These users thanked the author tobetter for the post:
istanbulls (Thu Nov 19, 2020 2:29 pm)

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by tobetter »

20201120

The new image with Linux kernel 5.9.8 is ready, download the image and flash with Etcher from your desktop.
Ubuntu 20.10 (Groovy Gorilla) for ODROID-N2/N2Plus
Ubuntu 20.10 (Groovy Gorilla) for ODROID-C4
Ubuntu 20.10 (Groovy Gorilla) for ODROID-HC4

Note:
  • The default user account and its password is odroid and odroid
  • In case you like to run 5.10 (experimental) kernel, install linux-image-5.10.0-odroid-arm64 package on this image
For Ubuntu Gnome Desktop users:
Gnome Desktop with ARM Wayland GPU acceleration can be installed on top of this server image.

Code: Select all

$ sudo apt update
$ sudo apt install ubuntu-desktop mali-bifrost-wayland-driver
$ sudo reboot
In case ARM Mali Wayland does not run when you log in to Gnome Desktop with Wayland session, please run this command.

Code: Select all

$ sudo apt install --reinstall mali-bifrost-dkms
$ sudo reboot
These users thanked the author tobetter for the post:
istanbulls (Sat Nov 21, 2020 2:05 am)

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by tobetter »

Panfrost on Ubuntu 20.10 (2020/11/20)
I've spent a couple of days to port Linux kernel 5.10.0-rc4 with Panfrost and necessary packages are uploaded to my package server. Linux kernel 5.10.0-rc4 and Panfrost can run and be installed if you follow the instructions with the Ubuntu 20.10 image 20201120. Still the Panfrost shows glitches but look promising and need to test and upgrade more.

The Ubuntu 20.10 image 20201120 is built with Linux kernel 5.9, so the first thing you have to with the image is to upgrade the Linux kernel to 5.10 with panfrost patches.

Code: Select all

$ sudo apt update
$ sudo apt install linux-image-5.10.0-odroid-panfrost-arm64
$ sudo reboot
Once the Linux kernel is updated, you can install Ubuntu Desktop packages. I've tested KDE Desktop today,



Thank you for all helps from @jgmdev and @brad for this and all Panfrost contributers.
These users thanked the author tobetter for the post (total 5):
jonathon (Sat Nov 21, 2020 3:54 am) • brad (Sat Nov 21, 2020 6:40 am) • superpowter77 (Sat Nov 21, 2020 8:06 am) • istanbulls (Sat Nov 21, 2020 5:03 pm) • odroidn2user (Wed Nov 25, 2020 9:41 pm)

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

Re: Ubuntu 20.10 for ODROID-N2/C4/HC4

Post by brad »

tobetter wrote:
Sat Nov 21, 2020 2:56 am
Panfrost on Ubuntu 20.10 (2020/11/20)
I've spent a couple of days to port Linux kernel 5.10.0-rc4 with Panfrost and necessary packages are uploaded to my package server. Linux kernel 5.10.0-rc4 and Panfrost can run and be installed if you follow the instructions with the Ubuntu 20.10 image 20201120. Still the Panfrost shows glitches but look promising and need to test and upgrade more.

The Ubuntu 20.10 image 20201120 is built with Linux kernel 5.9, so the first thing you have to with the image is to upgrade the Linux kernel to 5.10 with panfrost patches.

Code: Select all

$ sudo apt update
$ sudo apt install linux-image-5.10.y-odroid-panfrost-arm64
$ sudo reboot
Once the Linux kernel is updated, you can install Ubuntu Desktop packages. I've tested KDE Desktop today,



Thank you for all helps from @jgmdev and @brad for this and all Panfrost contributers.
Hi @tobetter, the name appears to be linux-image-5.10.0-odroid-panfrost-arm64 (rather than linux-image-5.10.y-odroid-panfrost-arm64) but this is starting come along very well, still some issues but can run kde / gnome in wayland or x11. :) We now have a very good start to look at remaining issues.
These users thanked the author brad for the post (total 3):
tobetter (Sun Nov 22, 2020 2:13 pm) • superpowter77 (Sun Nov 22, 2020 8:28 pm) • odroidn2user (Wed Nov 25, 2020 9:41 pm)

Post Reply

Return to “Ubuntu (All Linux'es)”

Who is online

Users browsing this forum: No registered users and 4 guests