Ubuntu 21.10 for ODROID-N2/HC4

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

Ubuntu 21.10 for ODROID-N2/HC4

Post by tobetter »

20210801: Early access of Ubuntu 21.10 with Gnome 40 is ready.

We have yet another Ubuntu release 21.10 Impish Indiri, it can be installed through Netboot Installer on ODROID-N2/HC4. This release have a couple of month for its official release and its theme still statys at Ubuntu 21.04, but new UI with new Gnome 40 is fun.

Please refer to the link if you like to see the detail.
https://www.omgubuntu.co.uk/2021/07/ubu ... e-features
Screenshot 2021-08-01 14-19-40.png
Screenshot 2021-08-01 14-19-40.png (1.64 MiB) Viewed 2400 times
Screenshot 2021-08-01 14-02-23.png
Screenshot 2021-08-01 14-02-23.png (252.9 KiB) Viewed 2400 times
These users thanked the author tobetter for the post (total 4):
hilton8r (Sun Aug 01, 2021 2:57 pm) • istanbulls (Sun Aug 01, 2021 4:24 pm) • trwn2p (Mon Aug 02, 2021 9:03 am) • superpowter77 (Fri Oct 15, 2021 4:15 am)

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

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by tobetter »

RESERVED #1

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

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by istanbulls »

Thanks for your new experiences.

There is no alsa, no sound, I tried to reinstall odroid-alsa, it gives an error.

Code: Select all

n2p@odroid:~$ sudo apt install odroid-alsa
[sudo] password for n2p: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
odroid-alsa is already the newest version (5:21.08+202108010719~impish).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up cpufrequtils (5:008-1.1+202107300640~impish) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Job for cpufrequtils.service failed because the control process exited with error code.
See "systemctl status cpufrequtils.service" and "journalctl -xeu cpufrequtils.service" for details.
invoke-rc.d: initscript cpufrequtils, action "start" failed.
× cpufrequtils.service - LSB: set CPUFreq kernel parameters
     Loaded: loaded (/etc/init.d/cpufrequtils; generated)
     Active: failed (Result: exit-code) since Sun 2021-08-01 12:06:08 +03; 9ms a
go
       Docs: man:systemd-sysv-generator(8)
    Process: 6223 ExecStart=/etc/init.d/cpufrequtils start (code=exited, status=
2)

Aug 01 12:06:08 odroid systemd[1]: Starting LSB: set CPUFreq kernel parameters..
.
Aug 01 12:06:08 odroid cpufrequtils[6223]: /etc/init.d/cpufrequtils: 23: .: cann
ot open /usr/lib/odroid-base/library.sh: No such file
Aug 01 12:06:08 odroid systemd[1]: cpufrequtils.service: Control process exited,
 code=exited, status=2/INVALIDARGUMENT
Aug 01 12:06:08 odroid systemd[1]: cpufrequtils.service: Failed with result 'exi
t-code'.
Aug 01 12:06:08 odroid systemd[1]: Failed to start LSB: set CPUFreq kernel param
eters.
dpkg: error processing package cpufrequtils (--configure):
 installed cpufrequtils package post-installation script subprocess returned err
or exit status 1
Errors were encountered while processing:
 cpufrequtils
E: Sub-process /usr/bin/dpkg returned an error code (1)
n2p@odroid:~$ 

Code: Select all

n2p@odroid:~$ sudo apt install --reinstall odroid-alsa
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 to upgrade, 0 to newly install, 1 reinstalled, 0 to remove and 0 not to upgrade.
1 not fully installed or removed.
Need to get 0 B/3,356 B of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 128055 files and directories currently installed.)
Preparing to unpack .../odroid-alsa_5%3a21.08+202108010719~impish_arm64.deb ...
Unpacking odroid-alsa (5:21.08+202108010719~impish) over (5:21.08+202108010719~i
mpish) ...
Setting up odroid-alsa (5:21.08+202108010719~impish) ...
Setting up cpufrequtils (5:008-1.1+202107300640~impish) ...
update-rc.d: warning: start and stop actions are no longer supported; falling ba
ck to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling ba
ck to defaults
Job for cpufrequtils.service failed because the control process exited with erro
r code.
See "systemctl status cpufrequtils.service" and "journalctl -xeu cpufrequtils.se
rvice" for details.
invoke-rc.d: initscript cpufrequtils, action "start" failed.
× cpufrequtils.service - LSB: set CPUFreq kernel parameters
     Loaded: loaded (/etc/init.d/cpufrequtils; generated)
     Active: failed (Result: exit-code) since Sun 2021-08-01 12:11:40 +03; 9ms a
go
       Docs: man:systemd-sysv-generator(8)
    Process: 6992 ExecStart=/etc/init.d/cpufrequtils start (code=exited, status=
2)

Aug 01 12:11:40 odroid systemd[1]: Starting LSB: set CPUFreq kernel parameters..
.
Aug 01 12:11:40 odroid cpufrequtils[6992]: /etc/init.d/cpufrequtils: 23: .: cann
ot open /usr/lib/odroid-base/library.sh: No such file
Aug 01 12:11:40 odroid systemd[1]: cpufrequtils.service: Control process exited,
 code=exited, status=2/INVALIDARGUMENT
Aug 01 12:11:40 odroid systemd[1]: cpufrequtils.service: Failed with result 'exi
t-code'.
Aug 01 12:11:40 odroid systemd[1]: Failed to start LSB: set CPUFreq kernel param
eters.
dpkg: error processing package cpufrequtils (--configure):
 installed cpufrequtils package post-installation script subprocess returned err
or exit status 1
Errors were encountered while processing:
 cpufrequtils
E: Sub-process /usr/bin/dpkg returned an error code (1)
n2p@odroid:~$ 

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

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by tobetter »

istanbulls wrote:
Sun Aug 01, 2021 6:22 pm
Thanks for your new experiences.

There is no alsa, no sound, I tried to reinstall odroid-alsa, it gives an error.

Code: Select all

n2p@odroid:~$ sudo apt install odroid-alsa
[sudo] password for n2p: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
odroid-alsa is already the newest version (5:21.08+202108010719~impish).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up cpufrequtils (5:008-1.1+202107300640~impish) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Job for cpufrequtils.service failed because the control process exited with error code.
See "systemctl status cpufrequtils.service" and "journalctl -xeu cpufrequtils.service" for details.
invoke-rc.d: initscript cpufrequtils, action "start" failed.
× cpufrequtils.service - LSB: set CPUFreq kernel parameters
     Loaded: loaded (/etc/init.d/cpufrequtils; generated)
     Active: failed (Result: exit-code) since Sun 2021-08-01 12:06:08 +03; 9ms a
go
       Docs: man:systemd-sysv-generator(8)
    Process: 6223 ExecStart=/etc/init.d/cpufrequtils start (code=exited, status=
2)

Aug 01 12:06:08 odroid systemd[1]: Starting LSB: set CPUFreq kernel parameters..
.
Aug 01 12:06:08 odroid cpufrequtils[6223]: /etc/init.d/cpufrequtils: 23: .: cann
ot open /usr/lib/odroid-base/library.sh: No such file
Aug 01 12:06:08 odroid systemd[1]: cpufrequtils.service: Control process exited,
 code=exited, status=2/INVALIDARGUMENT
Aug 01 12:06:08 odroid systemd[1]: cpufrequtils.service: Failed with result 'exi
t-code'.
Aug 01 12:06:08 odroid systemd[1]: Failed to start LSB: set CPUFreq kernel param
eters.
dpkg: error processing package cpufrequtils (--configure):
 installed cpufrequtils package post-installation script subprocess returned err
or exit status 1
Errors were encountered while processing:
 cpufrequtils
E: Sub-process /usr/bin/dpkg returned an error code (1)
n2p@odroid:~$ 

Code: Select all

n2p@odroid:~$ sudo apt install --reinstall odroid-alsa
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 to upgrade, 0 to newly install, 1 reinstalled, 0 to remove and 0 not to upgrade.
1 not fully installed or removed.
Need to get 0 B/3,356 B of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 128055 files and directories currently installed.)
Preparing to unpack .../odroid-alsa_5%3a21.08+202108010719~impish_arm64.deb ...
Unpacking odroid-alsa (5:21.08+202108010719~impish) over (5:21.08+202108010719~i
mpish) ...
Setting up odroid-alsa (5:21.08+202108010719~impish) ...
Setting up cpufrequtils (5:008-1.1+202107300640~impish) ...
update-rc.d: warning: start and stop actions are no longer supported; falling ba
ck to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling ba
ck to defaults
Job for cpufrequtils.service failed because the control process exited with erro
r code.
See "systemctl status cpufrequtils.service" and "journalctl -xeu cpufrequtils.se
rvice" for details.
invoke-rc.d: initscript cpufrequtils, action "start" failed.
× cpufrequtils.service - LSB: set CPUFreq kernel parameters
     Loaded: loaded (/etc/init.d/cpufrequtils; generated)
     Active: failed (Result: exit-code) since Sun 2021-08-01 12:11:40 +03; 9ms a
go
       Docs: man:systemd-sysv-generator(8)
    Process: 6992 ExecStart=/etc/init.d/cpufrequtils start (code=exited, status=
2)

Aug 01 12:11:40 odroid systemd[1]: Starting LSB: set CPUFreq kernel parameters..
.
Aug 01 12:11:40 odroid cpufrequtils[6992]: /etc/init.d/cpufrequtils: 23: .: cann
ot open /usr/lib/odroid-base/library.sh: No such file
Aug 01 12:11:40 odroid systemd[1]: cpufrequtils.service: Control process exited,
 code=exited, status=2/INVALIDARGUMENT
Aug 01 12:11:40 odroid systemd[1]: cpufrequtils.service: Failed with result 'exi
t-code'.
Aug 01 12:11:40 odroid systemd[1]: Failed to start LSB: set CPUFreq kernel param
eters.
dpkg: error processing package cpufrequtils (--configure):
 installed cpufrequtils package post-installation script subprocess returned err
or exit status 1
Errors were encountered while processing:
 cpufrequtils
E: Sub-process /usr/bin/dpkg returned an error code (1)
n2p@odroid:~$ 
How did you start upgrading this?
The issue in the log is not about audio, but broken packages. Please do the commands to fix the issue first.

Code: Select all

sudo apt update
sudo apt upgrade

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

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by istanbulls »

I installed it via petitboot with netboot_default.
apt update and apt upgrade are useless, the system is already up to date.

Clean install, not upgrade.

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

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by istanbulls »

Ok now I found an update and updated it. (apt update & apt upgrade)

But still no sound.

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

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by tobetter »

istanbulls wrote:
Sun Aug 01, 2021 8:08 pm
Ok now I found an update and updated it. (apt update & apt upgrade)

But still no sound.
odroid-alsa is already installed, you can try sudo apt install --reinstall odroid-alsa or sudo dpkg-reconfigure odroid-alsa
What do you have Sound section in Settings?

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

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by istanbulls »

tobetter wrote:
Sun Aug 01, 2021 8:14 pm
istanbulls wrote:
Sun Aug 01, 2021 8:08 pm
Ok now I found an update and updated it. (apt update & apt upgrade)

But still no sound.
odroid-alsa is already installed, you can try sudo apt install --reinstall odroid-alsa or sudo dpkg-reconfigure odroid-alsa
What do you have Sound section in Settings?
I tried these, it doesn't work, sorry.
Attachments
Screenshot from 2021-08-01 14-39-33.png
Screenshot from 2021-08-01 14-39-33.png (41.25 KiB) Viewed 2351 times

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

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by tobetter »

istanbulls wrote:
Sun Aug 01, 2021 8:41 pm
tobetter wrote:
Sun Aug 01, 2021 8:14 pm
istanbulls wrote:
Sun Aug 01, 2021 8:08 pm
Ok now I found an update and updated it. (apt update & apt upgrade)

But still no sound.
odroid-alsa is already installed, you can try sudo apt install --reinstall odroid-alsa or sudo dpkg-reconfigure odroid-alsa
What do you have Sound section in Settings?
I tried these, it doesn't work, sorry.
Are you using Gnome Desktop or something else?

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

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by istanbulls »

tobetter wrote:
Sun Aug 01, 2021 8:49 pm
istanbulls wrote:
Sun Aug 01, 2021 8:41 pm
tobetter wrote:
Sun Aug 01, 2021 8:14 pm
istanbulls wrote:
Sun Aug 01, 2021 8:08 pm
Ok now I found an update and updated it. (apt update & apt upgrade)

But still no sound.
odroid-alsa is already installed, you can try sudo apt install --reinstall odroid-alsa or sudo dpkg-reconfigure odroid-alsa
What do you have Sound section in Settings?
I tried these, it doesn't work, sorry.
Are you using Gnome Desktop or something else?
I am using gnome desktop.

After recent updates in 21.04 (gnome-desktop) it hangs a lot. I can't control the mouse.
There is a sound problem as well. No stuttering when sound is active, it works fine. I have done many reboots, on these attempts the sound is active once, on other reboots there is no sound and the device is unusable. I couldn't even open an internet browser, and when I manage to open a browser, I can't type anything, it gets stuck all the time. (this is for 21.04)
In 21.10, the sound is not active, but there is no stuttering, the system works fluently. but no voice.
both 21.10 and 21.04 versions have sound problems.

Something is missing or wrong.

edit:
It could be pulseaudio that is causing the hang.

There is no pulseaudio in 21.10 gnome-desktop, which I installed with netboot installer, but it works fluently. (no sound)

On 21.04 gnome-desktop, which I use daily, pulseaudio works, but it's too busy for the system. Mouse cursor gets stuck when pulseaudio busy the system. (no sound)

trwn2p
Posts: 75
Joined: Fri Oct 16, 2020 5:12 am
languages_spoken: english
ODROIDs: N2 Plus
Has thanked: 3 times
Been thanked: 13 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by trwn2p »

Just installed Impish Kubuntu Desktop via petitiboot menu. Fabulous install! TY tobetter.
I'd like to have mesa-21.3.0-git to make it perfect. Uses 21.2 currently.

hilton8r
Posts: 116
Joined: Tue Oct 27, 2015 10:43 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 12 times
Been thanked: 2 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by hilton8r »

My petitboot version is older. I was researching how to update petitboot, but don't see 20210724 version on the odroid wiki. It looks like I need to flash it once I've got the file.

I didn't see the image on linux factory either. I'm not sure how to proceed. Thanks!

User avatar
odroid
Site Admin
Posts: 38356
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 2130 times
Been thanked: 1264 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by odroid »

hilton8r wrote:
Tue Aug 03, 2021 8:54 am
My petitboot version is older. I was researching how to update petitboot, but don't see 20210724 version on the odroid wiki. It looks like I need to flash it once I've got the file.

I didn't see the image on linux factory either. I'm not sure how to proceed. Thanks!
Try running pb-update command of the Pettitboot after select Exit to shell menu.

hilton8r
Posts: 116
Joined: Tue Oct 27, 2015 10:43 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 12 times
Been thanked: 2 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by hilton8r »

odroid wrote:
Tue Aug 03, 2021 9:10 am
hilton8r wrote:
Tue Aug 03, 2021 8:54 am
My petitboot version is older. I was researching how to update petitboot, but don't see 20210724 version on the odroid wiki. It looks like I need to flash it once I've got the file.

I didn't see the image on linux factory either. I'm not sure how to proceed. Thanks!
Try running pb-update command of the Pettitboot after select Exit to shell menu.
Thank you for the quick response! Will do. I was just about to update my source list and run apt update / dist-upgrade... I'm trying to learn fast! lol..

hilton8r
Posts: 116
Joined: Tue Oct 27, 2015 10:43 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 12 times
Been thanked: 2 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by hilton8r »

pb-update did the trick. I had tried pb_update previously. So close! I noticed that the version is now 20201222, so it probably still won't have 21.10. I'll know shortly after I back up this emmc card. Thanks again...

hilton8r
Posts: 116
Joined: Tue Oct 27, 2015 10:43 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 12 times
Been thanked: 2 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by hilton8r »

Ok. I just booted up, and 21.10 is there for dev.20201222 version. This should keep me busy for awhile...

hilton8r
Posts: 116
Joined: Tue Oct 27, 2015 10:43 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 12 times
Been thanked: 2 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by hilton8r »

Well, this sucks...

I got ubuntu mate desktop installed, and booted. All of the text is the same color as the background for every menu option or pop up. No clue how to navigate to change that. Same for the terminal window. At least in terminal, I can highlight over what I've typed to see what I typed. I'll have to see if I can get shelled in and find a way to change settings that way. I think I'm done for the day though... :|

User avatar
odroid
Site Admin
Posts: 38356
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 2130 times
Been thanked: 1264 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by odroid »

As far as I heard, the Mate desktop still has a lot of issues with Wayland backend as well as xwaland.
You probably needed to choose x11 mode instead of wayland.

sgear
Posts: 5
Joined: Sun Jun 30, 2019 9:31 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 0
Been thanked: 6 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by sgear »

I seemed to have issues with both of the x11 desktops I tested. I tried Mate and gnome in x11 and both had issues with the text color as well as the cursor blinking and stuttering.

On the wayland side I tested gnome and sway and both were buttery smooth for the most part.

hilton8r
Posts: 116
Joined: Tue Oct 27, 2015 10:43 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 12 times
Been thanked: 2 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by hilton8r »

odroid wrote:
Tue Aug 03, 2021 11:40 am
As far as I heard, the Mate desktop still has a lot of issues with Wayland backend as well as xwaland.
You probably needed to choose x11 mode instead of wayland.
I'm definitely not partial to mate. I'm totally cool with gnome desktop as long as I can get our touchscreen drivers and wifi dongle working. Unfortunately, I didn't see any wifi dongles with an antenna. I will purchase something that works out of the box and test in our enclosure if I can't get the edup EP-AC1607 working. We have purchased so many of them, hopefully we can keep using them. We were very lucky to figure out how to get them working on 14.04 and 18.04 images. Any other recommendations though? I saw 5A or 5B in one of the threads.

I didn't have any luck with wayland / mate. I will definitely look at x11 mode, but hopefully after I can see if wayland can significantly improve the performance issues with our latest application.

hilton8r
Posts: 116
Joined: Tue Oct 27, 2015 10:43 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 12 times
Been thanked: 2 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by hilton8r »

sgear wrote:
Sat Aug 07, 2021 10:24 pm
I seemed to have issues with both of the x11 desktops I tested. I tried Mate and gnome in x11 and both had issues with the text color as well as the cursor blinking and stuttering.

On the wayland side I tested gnome and sway and both were buttery smooth for the most part.
Thank you for the feedback. I have a black screen with blinking cursor. I can restart gdm to get past it for now. I plan to build the image from scratch after I've worked out some of the road blocks on my end. I should have been rebooting the image in between steps, so I had a better idea of what might have caused it...

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

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by tobetter »

hilton8r wrote:
Sun Aug 08, 2021 10:22 am
I didn't have any luck with wayland / mate. I will definitely look at x11 mode, but hopefully after I can see if wayland can significantly improve the performance issues with our latest application.
Do you have worse performance with Wayland?
Can you check the benchmark with glmark2-es2-wayland?

hilton8r
Posts: 116
Joined: Tue Oct 27, 2015 10:43 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 12 times
Been thanked: 2 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by hilton8r »

tobetter wrote:
Sun Aug 08, 2021 2:02 pm
hilton8r wrote:
Sun Aug 08, 2021 10:22 am
I didn't have any luck with wayland / mate. I will definitely look at x11 mode, but hopefully after I can see if wayland can significantly improve the performance issues with our latest application.
Do you have worse performance with Wayland?
Can you check the benchmark with glmark2-es2-wayland?
I was up pretty late installing 21.10 mate, 21.04 mate, and 21.04 prebuilt server image and installing mate. I couldn't navigate any of the menus etc... but I did get chromium installed and running on the prebuilt server image. I enabled the 3 raster/render settings in chrome://flags, but chromium failed once I added the /etc/chromium/default entries. So I don't know if that should work in the same manners as it did for gnome desktop. I didn't try glmark2-es2-wayland, but I doubt it would have worked at that point. But I did notice that 500 fish was averaging just over 30 frames per second with just the chrome://flags set. I went to bed at that point, and went back to my 21.04 gnome image in the morning. But I did save the emmc card so I could come back to it later to see what it does when I can configure screen rotation for comparison.

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

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by tobetter »

hilton8r wrote:
Sun Aug 08, 2021 2:35 pm
tobetter wrote:
Sun Aug 08, 2021 2:02 pm
hilton8r wrote:
Sun Aug 08, 2021 10:22 am
I didn't have any luck with wayland / mate. I will definitely look at x11 mode, but hopefully after I can see if wayland can significantly improve the performance issues with our latest application.
Do you have worse performance with Wayland?
Can you check the benchmark with glmark2-es2-wayland?
I was up pretty late installing 21.10 mate, 21.04 mate, and 21.04 prebuilt server image and installing mate. I couldn't navigate any of the menus etc... but I did get chromium installed and running on the prebuilt server image. I enabled the 3 raster/render settings in chrome://flags, but chromium failed once I added the /etc/chromium/default entries. So I don't know if that should work in the same manners as it did for gnome desktop. I didn't try glmark2-es2-wayland, but I doubt it would have worked at that point. But I did notice that 500 fish was averaging just over 30 frames per second with just the chrome://flags set. I went to bed at that point, and went back to my 21.04 gnome image in the morning. But I did save the emmc card so I could come back to it later to see what it does when I can configure screen rotation for comparison.
I wonder why you are trying Ubuntu Mate since I've read you are good to use Gnome Desktop. And I don't think you will get any benefit to install multiple different OS images, since all they are based on the same kernel and same Mesa library version.

grzegorz.danielak
Posts: 3
Joined: Mon Dec 14, 2020 7:10 pm
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by grzegorz.danielak »

Booted and worked pretty good. Do you guys know if I can get DRM content to work within this build? Any browser would do.

User avatar
mctom
Posts: 793
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: N2+, Game Advance, a few XU4
Location: Gdansk, Poland
Has thanked: 81 times
Been thanked: 98 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by mctom »

grzegorz.danielak wrote:
Fri Aug 13, 2021 4:36 pm
Booted and worked pretty good. Do you guys know if I can get DRM content to work within this build? Any browser would do.
DRM content is impossible to decode without Google's Widevine blob. This, however, is available only on x86-64 and 32-bit ARM. It's closed source so no ports will be available, unless Google overlords decide otherwise.
So your options are either 32-bit OS (I don't think @tobetter has it on a roadmap), or ditch Netflix for good and download torrents instead.
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

chewitt
Posts: 137
Joined: Mon Aug 12, 2019 12:27 pm
languages_spoken: english
Has thanked: 1 time
Been thanked: 115 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by chewitt »

It's fairly simple to use 64-bit kernel and 32-bit userspace; both LibreELEC/CoreELEC do this explicitly to maintain compat with the 32-bit-only widevine libs used with Kodi inputstream add-ons. It's quite common with Android ROMs too.

User avatar
m_ueberall
Posts: 44
Joined: Thu Jul 23, 2020 6:13 pm
languages_spoken: english, german
ODROIDs: N2+
Location: Hanau, Germany
Has thanked: 47 times
Been thanked: 19 times
Contact:

cpufrequtils problem due to changes in odroid-base package (was: Re: Ubuntu 21.10 for ODROID-N2/HC4)

Post by m_ueberall »

tobetter wrote:
Sun Aug 01, 2021 7:32 pm
istanbulls wrote:
Sun Aug 01, 2021 6:22 pm
Thanks for your new experiences.

There is no alsa, no sound, I tried to reinstall odroid-alsa, it gives an error.

Code: Select all

n2p@odroid:~$ sudo apt install odroid-alsa
[sudo] password for n2p: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
odroid-alsa is already the newest version (5:21.08+202108010719~impish).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up cpufrequtils (5:008-1.1+202107300640~impish) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Job for cpufrequtils.service failed because the control process exited with error code.
See "systemctl status cpufrequtils.service" and "journalctl -xeu cpufrequtils.service" for details.
invoke-rc.d: initscript cpufrequtils, action "start" failed.
× cpufrequtils.service - LSB: set CPUFreq kernel parameters
     Loaded: loaded (/etc/init.d/cpufrequtils; generated)
     Active: failed (Result: exit-code) since Sun 2021-08-01 12:06:08 +03; 9ms ago
       Docs: man:systemd-sysv-generator(8)
    Process: 6223 ExecStart=/etc/init.d/cpufrequtils start (code=exited, status=2)

Aug 01 12:06:08 odroid systemd[1]: Starting LSB: set CPUFreq kernel parameters...
Aug 01 12:06:08 odroid cpufrequtils[6223]: /etc/init.d/cpufrequtils: 23: .: cannot open /usr/lib/odroid-base/library.sh: No such file
Aug 01 12:06:08 odroid systemd[1]: cpufrequtils.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
Aug 01 12:06:08 odroid systemd[1]: cpufrequtils.service: Failed with result 'exit-code'.
Aug 01 12:06:08 odroid systemd[1]: Failed to start LSB: set CPUFreq kernel parameters.
dpkg: error processing package cpufrequtils (--configure):
 installed cpufrequtils package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 cpufrequtils
E: Sub-process /usr/bin/dpkg returned an error code (1)
n2p@odroid:~$ 
[...]
How did you start upgrading this?
The issue in the log is not about audio, but broken packages. Please do the commands to fix the issue first.

Code: Select all

sudo apt update
sudo apt upgrade
I also ran across the problem with cpufrequtils shown above on Ubuntu 20.04 today; the reason for this is that the current odroid-base package places library.sh in /usr/share/odroid-base/ while the current cpufrequtils package—or rather, the script /etc/init.d/cpufrequtils therein—expects this script to be located in /usr/lib/odroid-base/.

Code: Select all

[2021-08-24T21:58:54+0200] root@odroid01:/etc# apt update
[...]
[2021-08-24T21:59:16+0200] root@odroid01:/etc# LANG=C apt policy cpufrequtils odroid-base
cpufrequtils:
  Installed: 5:008-1.1+202102191351~focal
  Candidate: 5:008-1.1+202102191351~focal
  Version table:
 *** 5:008-1.1+202102191351~focal 500
        500 http://ppa.linuxfactory.or.kr focal/main arm64 Packages
        100 /var/lib/dpkg/status
     008-1.1 500
        500 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 Packages
odroid-base:
  Installed: 5:21.08+202108010719~focal
  Candidate: 5:21.08+202108010719~focal
  Version table:
 *** 5:21.08+202108010719~focal 500
        500 http://ppa.linuxfactory.or.kr focal/main arm64 Packages
        100 /var/lib/dpkg/status
[2021-08-24T21:59:30+0200] root@odroid01:/etc# grep odroid-base /etc/init.d/cpufrequtils
. /usr/lib/odroid-base/library.sh
        dpkg-reconfigure odroid-base
[2021-08-24T21:59:54+0200] root@odroid01:/etc#
These users thanked the author m_ueberall for the post:
mctom (Wed Aug 25, 2021 5:46 am)

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

Re: cpufrequtils problem due to changes in odroid-base package (was: Re: Ubuntu 21.10 for ODROID-N2/HC4)

Post by tobetter »

m_ueberall wrote:
Wed Aug 25, 2021 5:14 am
I also ran across the problem with cpufrequtils shown above on Ubuntu 20.04 today; the reason for this is that the current odroid-base package places library.sh in /usr/share/odroid-base/ while the current cpufrequtils package—or rather, the script /etc/init.d/cpufrequtils therein—expects this script to be located in /usr/lib/odroid-base/.

Code: Select all

[2021-08-24T21:58:54+0200] root@odroid01:/etc# apt update
[...]
[2021-08-24T21:59:16+0200] root@odroid01:/etc# LANG=C apt policy cpufrequtils odroid-base
cpufrequtils:
  Installed: 5:008-1.1+202102191351~focal
  Candidate: 5:008-1.1+202102191351~focal
  Version table:
 *** 5:008-1.1+202102191351~focal 500
        500 http://ppa.linuxfactory.or.kr focal/main arm64 Packages
        100 /var/lib/dpkg/status
     008-1.1 500
        500 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 Packages
odroid-base:
  Installed: 5:21.08+202108010719~focal
  Candidate: 5:21.08+202108010719~focal
  Version table:
 *** 5:21.08+202108010719~focal 500
        500 http://ppa.linuxfactory.or.kr focal/main arm64 Packages
        100 /var/lib/dpkg/status
[2021-08-24T21:59:30+0200] root@odroid01:/etc# grep odroid-base /etc/init.d/cpufrequtils
. /usr/lib/odroid-base/library.sh
        dpkg-reconfigure odroid-base
[2021-08-24T21:59:54+0200] root@odroid01:/etc#
The packages - odroidb-base and cpufrequtils - have been updated last month as you observed, do you still have the path issue?

User avatar
m_ueberall
Posts: 44
Joined: Thu Jul 23, 2020 6:13 pm
languages_spoken: english, german
ODROIDs: N2+
Location: Hanau, Germany
Has thanked: 47 times
Been thanked: 19 times
Contact:

Re: cpufrequtils problem due to changes in odroid-base package (was: Re: Ubuntu 21.10 for ODROID-N2/HC4)

Post by m_ueberall »

Yes, because unfortunately, the cpufrequtils packages have recently only been updated for Ubuntu Hirsute and Ubuntu Impish (that's why I included the output of apt policy above which shows that I have installed the current available package versions for Ubuntu Focal at the time of writing):

Code: Select all

[2021-08-25T05:44:15+0200] root@odroid01:/tmp/ppa_linuxfactory_org# LANG=C wget -O cpufrequtils_index.html http://ppa.linuxfactory.or.kr/pool/main/c/cpufrequtils/
[...]
2021-08-25 05:44:28 (73.1 KB/s) - 'cpufrequtils_index.html' saved [43520]

[2021-08-25T05:44:29+0200] root@odroid01:/tmp/ppa_linuxfactory_org# for DIST in buster bullseye focal groovy hirsute impish; do grep -E "cpufrequtils_.*${DIST}_arm64.deb" cpufrequtils_index.html | sed -e 's|.*.deb">||g' -e 's|</a.*||g' -e 's|^|http://ppa.linuxfactory.or.kr/pool/main/c/cpufrequtils/|g' | sort | tail -1; done
http://ppa.linuxfactory.or.kr/pool/main/c/cpufrequtils/cpufrequtils_008-1.1+202102191351~buster_arm64.deb
http://ppa.linuxfactory.or.kr/pool/main/c/cpufrequtils/cpufrequtils_008-1.1+202102191351~bullseye_arm64.deb
http://ppa.linuxfactory.or.kr/pool/main/c/cpufrequtils/cpufrequtils_008-1.1+202102191351~focal_arm64.deb
http://ppa.linuxfactory.or.kr/pool/main/c/cpufrequtils/cpufrequtils_008-1.1+202102191351~groovy_arm64.deb
http://ppa.linuxfactory.or.kr/pool/main/c/cpufrequtils/cpufrequtils_008-1.1+202108010144~hirsute_arm64.deb
http://ppa.linuxfactory.or.kr/pool/main/c/cpufrequtils/cpufrequtils_008-1.1+202108011944~impish_arm64.deb
[...]
[2021-08-25T05:46:39+0200] root@odroid01:/tmp/ppa_linuxfactory_org# for DIST in buster bullseye focal groovy hirsute impish; do grep -E "odroid-base_21.*${DIST}_arm64.deb" odroid-base_index.html | sed -e 's|.*.deb">||g' -e 's|</a.*||g' -e 's|^|http://ppa.linuxfactory.or.kr/pool/main/o/odroid-base/|g' | sort | tail -1 ; done
http://ppa.linuxfactory.or.kr/pool/main/o/odroid-base/odroid-base_21.08+202108010719~buster_arm64.deb
http://ppa.linuxfactory.or.kr/pool/main/o/odroid-base/odroid-base_21.08+202108010719~bullseye_arm64.deb
http://ppa.linuxfactory.or.kr/pool/main/o/odroid-base/odroid-base_21.08+202108010719~focal_arm64.deb
http://ppa.linuxfactory.or.kr/pool/main/o/odroid-base/odroid-base_21.08+202108010719~hirsute_arm64.deb
http://ppa.linuxfactory.or.kr/pool/main/o/odroid-base/odroid-base_21.08+202108010719~impish_arm64.deb
[2021-08-25T05:46:40+0200] root@odroid01:/tmp/ppa_linuxfactory_org#

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

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by tobetter »

@m_ueberall, thanks...that's my bad and let me fix it ASAP.
These users thanked the author tobetter for the post:
m_ueberall (Wed Aug 25, 2021 3:13 pm)

User avatar
wallyz21
Posts: 305
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2, N2+
Has thanked: 17 times
Been thanked: 32 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by wallyz21 »

So what is the recommendation? To upgrade from 21.4 or do a new install?

Anyone successfully performed an upgrade?
Walter Zambotti
N2 - HK 18.04 Ubuntu Mate Desktop
N2+ - 21.04 Ubuntu Mate Desktop (Panfrost)

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

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by tobetter »

wallyz21 wrote:
Wed Nov 24, 2021 3:06 pm
So what is the recommendation? To upgrade from 21.4 or do a new install?

Anyone successfully performed an upgrade?
I believe it's been fixed...

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

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by istanbulls »

wallyz21 wrote:
Wed Nov 24, 2021 3:06 pm
So what is the recommendation? To upgrade from 21.4 or do a new install?

Anyone successfully performed an upgrade?
I upgraded from 21.04, it works fine.
some gnome-extensions didn't work in 21.10, it worked in 21.04. so I upgraded 21.04 to 21.10 now everything works perfectly.

User avatar
wallyz21
Posts: 305
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2, N2+
Has thanked: 17 times
Been thanked: 32 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by wallyz21 »

istanbulls wrote:
Wed Nov 24, 2021 6:04 pm
wallyz21 wrote:
Wed Nov 24, 2021 3:06 pm
So what is the recommendation? To upgrade from 21.4 or do a new install?

Anyone successfully performed an upgrade?
I upgraded from 21.04, it works fine.
some gnome-extensions didn't work in 21.10, it worked in 21.04. so I upgraded 21.04 to 21.10 now everything works perfectly.
Great. I might give it few more weeks. As I am using MATE desktop I will let MATE catchup with any patches fixes that might be needed.
Walter Zambotti
N2 - HK 18.04 Ubuntu Mate Desktop
N2+ - 21.04 Ubuntu Mate Desktop (Panfrost)

User avatar
wallyz21
Posts: 305
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2, N2+
Has thanked: 17 times
Been thanked: 32 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by wallyz21 »

hilton8r wrote:
Tue Aug 03, 2021 10:41 am
Well, this sucks...

I got ubuntu mate desktop installed, and booted. All of the text is the same color as the background for every menu option or pop up. No clue how to navigate to change that. Same for the terminal window. At least in terminal, I can highlight over what I've typed to see what I typed. I'll have to see if I can get shelled in and find a way to change settings that way. I think I'm done for the day though... :|
On the MATE community forum other people are having issues upgrading to 21.10

https://ubuntu-mate.community/t/after-u ... king/24689

One suggestion is to use gdm3 instead of lightdm.
Walter Zambotti
N2 - HK 18.04 Ubuntu Mate Desktop
N2+ - 21.04 Ubuntu Mate Desktop (Panfrost)

User avatar
mctom
Posts: 793
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: N2+, Game Advance, a few XU4
Location: Gdansk, Poland
Has thanked: 81 times
Been thanked: 98 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by mctom »

wallyz21 wrote:
Thu Nov 25, 2021 1:37 pm
One suggestion is to use gdm3 instead of lightdm.
Or not to use greeter at all. It's stunning how many problems they cause, and do we really need GUI for entering bloody passwords? :D
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

Post Reply

Return to “Ubuntu (All Linux'es)”

Who is online

Users browsing this forum: chewitt and 6 guests