Ubuntu 21.10 for ODROID-N2/C4/HC4

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

Ubuntu 21.10 for ODROID-N2/C4/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 27772 times
Screenshot 2021-08-01 14-02-23.png
Screenshot 2021-08-01 14-02-23.png (252.9 KiB) Viewed 27772 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: 11949
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 834 times
Been thanked: 2017 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by tobetter »

RESERVED #1

User avatar
istanbulls
Posts: 858
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 523 times
Been thanked: 159 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: 11949
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 834 times
Been thanked: 2017 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: 858
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 523 times
Been thanked: 159 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: 858
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 523 times
Been thanked: 159 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: 11949
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 834 times
Been thanked: 2017 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: 858
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 523 times
Been thanked: 159 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 27732 times

User avatar
tobetter
Posts: 11949
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 834 times
Been thanked: 2017 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: 858
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 523 times
Been thanked: 159 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: 95
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: 138
Joined: Tue Oct 27, 2015 10:43 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 13 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: 41084
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3194 times
Been thanked: 1753 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: 138
Joined: Tue Oct 27, 2015 10:43 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 13 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: 138
Joined: Tue Oct 27, 2015 10:43 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 13 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: 138
Joined: Tue Oct 27, 2015 10:43 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 13 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: 138
Joined: Tue Oct 27, 2015 10:43 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 13 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: 41084
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3194 times
Been thanked: 1753 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: 138
Joined: Tue Oct 27, 2015 10:43 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 13 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: 138
Joined: Tue Oct 27, 2015 10:43 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 13 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: 11949
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 834 times
Been thanked: 2017 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: 138
Joined: Tue Oct 27, 2015 10:43 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 13 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: 11949
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 834 times
Been thanked: 2017 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: 3009
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: OGA, XU4, M1, H3+, SP3, Vu8M, N2L
Location: Gdansk, Poland
Has thanked: 407 times
Been thanked: 534 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!
OpenUPS
PiStackMon

chewitt
Posts: 201
Joined: Mon Aug 12, 2019 12:27 pm
languages_spoken: english
Has thanked: 4 times
Been thanked: 138 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: 56
Joined: Thu Jul 23, 2020 6:13 pm
languages_spoken: english, german
ODROIDs: N2+
Location: Hanau, Germany
Has thanked: 92 times
Been thanked: 20 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: 11949
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 834 times
Been thanked: 2017 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: 56
Joined: Thu Jul 23, 2020 6:13 pm
languages_spoken: english, german
ODROIDs: N2+
Location: Hanau, Germany
Has thanked: 92 times
Been thanked: 20 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: 11949
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 834 times
Been thanked: 2017 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: 510
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2, N2+
Location: Western Australia
Has thanked: 38 times
Been thanked: 42 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 - 22.04 Armbian xfce desktop
N2+ - 22.04 Ubuntu Mate desktop

User avatar
tobetter
Posts: 11949
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 834 times
Been thanked: 2017 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: 858
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 523 times
Been thanked: 159 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: 510
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2, N2+
Location: Western Australia
Has thanked: 38 times
Been thanked: 42 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 - 22.04 Armbian xfce desktop
N2+ - 22.04 Ubuntu Mate desktop

User avatar
wallyz21
Posts: 510
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2, N2+
Location: Western Australia
Has thanked: 38 times
Been thanked: 42 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 - 22.04 Armbian xfce desktop
N2+ - 22.04 Ubuntu Mate desktop

User avatar
mctom
Posts: 3009
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: OGA, XU4, M1, H3+, SP3, Vu8M, N2L
Location: Gdansk, Poland
Has thanked: 407 times
Been thanked: 534 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!
OpenUPS
PiStackMon

rockla
Posts: 326
Joined: Sat Dec 27, 2014 6:50 pm
languages_spoken: English
ODROIDs: C1,C2,N2+
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by rockla »

Do we you server image for 21.10 ?

rockla
Posts: 326
Joined: Sat Dec 27, 2014 6:50 pm
languages_spoken: English
ODROIDs: C1,C2,N2+
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by rockla »

Sorted after changing sources.list manually.

@tobetter on Bullseye image whats the root password ? even sudo is not installed

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

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by tobetter »

rockla wrote:
Thu Dec 09, 2021 6:52 pm
Sorted after changing sources.list manually.

@tobetter on Bullseye image whats the root password ? even sudo is not installed
odroid

rockla
Posts: 326
Joined: Sat Dec 27, 2014 6:50 pm
languages_spoken: English
ODROIDs: C1,C2,N2+
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by rockla »

Yeah thats what even i was expecting but its not.

Anyways i wanted to try with different OS whether UAS reset issue is resolved in any of it seems none for now.

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

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by hanguofu »

Is this update avail. to C4 ?

I tried do-release-upgrade but it prompts me :
Please install all available updates for your release before upgrading.

So I tried sudo apt upgrade , but it ends with errors :
Unpacking linux-image-5.11.0-odroid-arm64 (5.11.18-202108050550~hirsute) over (5.11.15-202104211203~hirsute) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-5.11.0-odroid-arm64_5.11.18-202108050550~hirsute_arm64.deb (--unpack):
unable to make backup link of './boot/System.map-5.11.0-odroid-arm64' before installing new version: Operation not permitted
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Failed to create symlink to vmlinuz-5.15.0-odroid-arm64: Operation not permitted at /usr/bin/linux-update-symlinks line 64.
dpkg: error while cleaning up:
new linux-image-5.11.0-odroid-arm64 package post-removal script subprocess returned error exit status 1

sudo apt dist-upgrade ends with the same errors too.

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

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by tobetter »

hanguofu wrote:
Sat Dec 18, 2021 6:26 am
Is this update avail. to C4 ?

I tried do-release-upgrade but it prompts me :
Please install all available updates for your release before upgrading.

So I tried sudo apt upgrade , but it ends with errors :
Unpacking linux-image-5.11.0-odroid-arm64 (5.11.18-202108050550~hirsute) over (5.11.15-202104211203~hirsute) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-5.11.0-odroid-arm64_5.11.18-202108050550~hirsute_arm64.deb (--unpack):
unable to make backup link of './boot/System.map-5.11.0-odroid-arm64' before installing new version: Operation not permitted
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Failed to create symlink to vmlinuz-5.15.0-odroid-arm64: Operation not permitted at /usr/bin/linux-update-symlinks line 64.
dpkg: error while cleaning up:
new linux-image-5.11.0-odroid-arm64 package post-removal script subprocess returned error exit status 1

sudo apt dist-upgrade ends with the same errors too.
The packages are all compatible for C4, I think you have check why Operation not permitted happens. Do you see any errors at the partitions?

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

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by hanguofu »

My bad. It is possible that the culprit is the boot partition is formatted to vfat ( fat32 ) . I will further look into it . Happy Weekend ~~~

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

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by tobetter »

hanguofu wrote:
Sat Dec 18, 2021 7:43 am
My bad. It is possible that the culprit is the boot partition is formatted to vfat ( fat32 ) . I will further look into it . Happy Weekend ~~~
Unfortunately, NO. It's because the OS system using Netboot Installer is intended to install multiple Linux kernel versions which is more generic way in Linux system and managing the multiple LInux kernel version is feasible using a.k.a softlink that's not supported by vfat. Disadvantage without vfat is, I think, that you cannot change a file with Windows machine.

You too have happy weekend. :)

tolszak
Posts: 54
Joined: Fri Dec 30, 2016 6:24 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 3 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by tolszak »

I've submitted panfrost bug directly to mesa but seems no one is interested in fixing it as it needs some kind of proprietary software to fix the panfrost driver ( https://gitlab.freedesktop.org/mesa/mesa/-/issues/5605 ).

Qt applications (and perhaps any other application that scales textures by "extending" vertex coordinates) have issue with resizing images/textures.

Do you have any idea how can I encourage someone to fix that?

chewitt
Posts: 201
Joined: Mon Aug 12, 2019 12:27 pm
languages_spoken: english
Has thanked: 4 times
Been thanked: 138 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by chewitt »

@tolszak: My suggestion is to drop into the #panfrost IRC channel on OFTC and chat to the maintainers there. Hint: refer to it as an issue with Mali-G52; its not an N2 specific issue and those folks think about chips not boards. Ask them what extra debug/traces you can provide (and how to get them, if you're not sure). They are generally a friendly and helpful bunch.

tolszak
Posts: 54
Joined: Fri Dec 30, 2016 6:24 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 3 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by tolszak »

chewitt wrote:
Thu Dec 30, 2021 3:03 pm
@tolszak: My suggestion is to drop into the #panfrost IRC channel on OFTC and chat to the maintainers there. Hint: refer to it as an issue with Mali-G52; its not an N2 specific issue and those folks think about chips not boards. Ask them what extra debug/traces you can provide (and how to get them, if you're not sure). They are generally a friendly and helpful bunch.
That's what I tried to do. Unfortunately it seems like fixing it require some kind of proprietary and expensive mali tracer to know what mali does and what panfrost should do. Noone want's to look at that. I was wondering if hardkernel has some kind of relation to mesa community or perhaps has this software and can check so I can share the details with mesa community.

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

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by tobetter »

New kernel package linux-image-5.16.0-odroid-arm64 is uploaded. I've done minimal testing and basically it works ok, however the default kernel version for Ubuntu 21.10 is 5.14 and will be switched to new one when major issue is not discovered. :)

Code: Select all

sudo apt update
sudo apt install linux-image-5.16.0-odroid-arm64
Also, new Mesa/Panfrost package has been uploaded. I think this would be the last update for Ubuntu 21.10 while Mesa have tons of updates, since it requires other dependent packages to be upgraded with the version which will delivered for Ubuntu 22.04.

Code: Select all

ii  libegl-mesa0:arm64                         5:22.0.0-devel+202201121635~impish   arm64        free implementation of the EGL API -- Mesa vendor library
ii  libgl1-mesa-dri:arm64                      5:22.0.0-devel+202201121635~impish   arm64        free implementation of the OpenGL API -- DRI modules
ii  libglapi-mesa:arm64                        5:22.0.0-devel+202201121635~impish   arm64        free implementation of the GL API -- shared library
ii  libglx-mesa0:arm64                         5:22.0.0-devel+202201121635~impish   arm64        free implementation of the OpenGL API -- GLX vendor library
ii  mesa-vulkan-drivers:arm64                  5:22.0.0-devel+202201121635~impish   arm64        Mesa Vulkan graphics drivers
These users thanked the author tobetter for the post (total 3):
mctom (Thu Jan 13, 2022 1:18 am) • istanbulls (Thu Jan 13, 2022 3:42 am) • odroid (Thu Jan 13, 2022 9:20 am)

tolszak
Posts: 54
Joined: Fri Dec 30, 2016 6:24 pm
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 3 times
Contact:

Re: Ubuntu 21.10 for ODROID-N2/HC4

Post by tolszak »

I will test new kernel and mesa against the issue i've encountered. Thank's for that.
These users thanked the author tolszak for the post:
mctom (Thu Jan 13, 2022 1:18 am)

Post Reply

Return to “Ubuntu (All Linux'es)”

Who is online

Users browsing this forum: No registered users and 2 guests