Ubuntu 20.10 / Debian 11 for ODROID-N2/C4/HC4

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

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

Post by tobetter »

alpe wrote:
Thu Feb 11, 2021 2:34 am
specs wrote:
Wed Feb 10, 2021 10:40 pm
Since you probably only want to switch once a new installation is less work.
The implementation of the boot is slightly different between the stock distribution and the tobetter distribution. The same difference is going to bite you if you try to build a 5.x.y kernel for the stock distribution (the DTB's are different).

Just for 5.10.y you can just use the petitboot option with the 20.04 tobetter ubuntu distribution.
Only for 5.10.y with panfrost you might prefer an upgrade to 20.10 from the tobetter 20.04.

I would make and installed package list ("apt list --installed" or "dpkg --get-selections") and an easily accessible partial backup from /etc/ and /home/. (And besides that I'd still make a complete system backup, but that should be optional).
Thanks. I decided to start new again.
/ded/watchdog is disabled on this kernel, right?
How can I enable it? CONFIG_WATCHDOG=y and CONFIG_WATCHDOG_CORE=y ?
No, WATCHDOG features are enabled already.

Code: Select all

$ zcat /proc/config.gz | grep WATCHDOG
CONFIG_WATCHDOG=y
CONFIG_WATCHDOG_CORE=y
# CONFIG_WATCHDOG_NOWAYOUT is not set
CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED=y
CONFIG_WATCHDOG_OPEN_TIMEOUT=0
# CONFIG_WATCHDOG_SYSFS is not set
# CONFIG_WATCHDOG_PRETIMEOUT_GOV is not set
CONFIG_SOFT_WATCHDOG=m
# CONFIG_GPIO_WATCHDOG is not set
# CONFIG_XILINX_WATCHDOG is not set
# CONFIG_ZIIRAVE_WATCHDOG is not set
CONFIG_ARM_SP805_WATCHDOG=y
# CONFIG_ARM_SBSA_WATCHDOG is not set
# CONFIG_CADENCE_WATCHDOG is not set
# CONFIG_DW_WATCHDOG is not set
# CONFIG_MAX63XX_WATCHDOG is not set
# CONFIG_MAX77620_WATCHDOG is not set
CONFIG_MESON_GXBB_WATCHDOG=m
CONFIG_MESON_WATCHDOG=m
# CONFIG_ARM_SMC_WATCHDOG is not set
CONFIG_PCIPCWATCHDOG=m
# CONFIG_USBPCWATCHDOG is not set
# CONFIG_WQ_WATCHDOG is not set
These users thanked the author tobetter for the post:
alpe (Thu Feb 11, 2021 8:10 am)

alpe
Posts: 133
Joined: Sat Apr 12, 2014 1:21 pm
languages_spoken: portuguese, english
ODROIDs: C1, N2 4GB
Location: Rio de Janeiro, Brazil
Has thanked: 47 times
Been thanked: 9 times
Contact:

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

Post by alpe »

tobetter wrote:
Thu Feb 11, 2021 3:00 am
No, WATCHDOG features are enabled already.
But /dev/watchdog isn't there. Or it is in another place?

Also if possible, please enable the "interactive" governor on the next kernel.

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

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

Post by tobetter »

alpe wrote:
Thu Feb 11, 2021 8:10 am
tobetter wrote:
Thu Feb 11, 2021 3:00 am
No, WATCHDOG features are enabled already.
But /dev/watchdog isn't there. Or it is in another place?

Also if possible, please enable the "interactive" governor on the next kernel.
Looks like 'interactive' governor is removed?
https://github.com/tobetter/linux/blob/ ... onfig#L110

Let me check the watchdog later.
These users thanked the author tobetter for the post:
alpe (Thu Feb 11, 2021 8:23 pm)

User avatar
rooted
Posts: 8511
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 740 times
Been thanked: 345 times
Contact:

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

Post by rooted »

If you tune ondemand it can behave similar to interactive
These users thanked the author rooted for the post:
alpe (Sat Feb 13, 2021 12:56 am)

amirul
Posts: 73
Joined: Wed Dec 30, 2020 6:03 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 13 times
Been thanked: 10 times
Contact:

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

Post by amirul »

Odroid N2+

$ uname -a
Linux n2plus-pf 5.10.0-odroid-panfrost-arm64 #1 SMP PREEMPT Ubuntu 5.10.12-202102040913~groovy (2021-02-04) aarch64 aarch64 aarch64 GNU/Linux

mesa 5:21.1.0-devel+202102141635~groovy

Reporting that lightdm display is broken, although I can log in to desktop with the right password. Gnome-shell seems to be working with occasional random log outs.

specs
Posts: 77
Joined: Sun Nov 24, 2019 12:14 pm
languages_spoken: english
ODROIDs: odroid n2/n2+
odroid c4
Has thanked: 24 times
Been thanked: 10 times
Contact:

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

Post by specs »

I have the same problem wth my n2+.

This is the error message seen with dmesg:
Feb 15 21:47:00 n2plus kernel: [ 1677.520588] panfrost ffe40000.gpu: js fault, js=0, status=INSTR_INVALID_ENC, head=0x771c9c0, tail=0x771c9c0

Further like you say, lightdm is messed up, the mate-shell does not work right (xterm works though).
I tried to compare installed versions, but until now I have no clue.

I can tell it's not the kernel since I use a custom kernel before and after the upgrade:

Code: Select all

n2plus:~$ uname -a
Linux n2plus 5.10.11-odroid-arm64 #1 SMP PREEMPT Sat Jan 30 11:39:13 CET 2021 aarch64 aarch64 aarch64 GNU/Linux
n2plus:~$ dpkg -l|grep linux-image
ii  linux-image-5.10.0-odroid-panfrost-arm64    5.10.12-202102040913~groovy         arm64        Linux 5.10 for 64-bit ARMv8 machines
This is on the (still working) n2plus:

Code: Select all

 apt list --upgradable
Listing... Done
firefox/groovy-updates,groovy-security 85.0.1+build1-0ubuntu0.20.10.1 arm64 [upgradable from: 85.0+build1-0ubuntu0.20.10.1]
friendly-recovery/groovy-updates 0.2.41ubuntu0.20.10.1 all [upgradable from: 0.2.41]
ldap-utils/groovy-updates,groovy-security 2.4.53+dfsg-1ubuntu1.3 arm64 [upgradable from: 2.4.53+dfsg-1ubuntu1.2]
libegl-mesa0/stable 5:21.1.0-devel+202102141635~groovy arm64 [upgradable from: 5:21.1.0-devel+202102041635~groovy]
libgbm1/stable 5:21.1.0-devel+202102141635~groovy arm64 [upgradable from: 5:21.1.0-devel+202102041635~groovy]
libgl1-mesa-dev/stable 5:21.1.0-devel+202102141635~groovy arm64 [upgradable from: 5:21.1.0-devel+202102041635~groovy]
libgl1-mesa-dri/stable 5:21.1.0-devel+202102141635~groovy arm64 [upgradable from: 5:21.1.0-devel+202102041635~groovy]
libglapi-mesa/stable 5:21.1.0-devel+202102141635~groovy arm64 [upgradable from: 5:21.1.0-devel+202102041635~groovy]
libgles2-mesa/stable 5:21.1.0-devel+202102141635~groovy arm64 [upgradable from: 5:21.1.0-devel+202102041635~groovy]
libglx-mesa0/stable 5:21.1.0-devel+202102141635~groovy arm64 [upgradable from: 5:21.1.0-devel+202102041635~groovy]
libldap-2.4-2/groovy-updates,groovy-security 2.4.53+dfsg-1ubuntu1.3 arm64 [upgradable from: 2.4.53+dfsg-1ubuntu1.2]
libldap-common/groovy-updates,groovy-security 2.4.53+dfsg-1ubuntu1.3 all [upgradable from: 2.4.53+dfsg-1ubuntu1.2]
libsqlite3-0/groovy-updates,groovy-security 3.33.0-1ubuntu0.1 arm64 [upgradable from: 3.33.0-1]
mesa-va-drivers/stable 5:21.1.0-devel+202102141635~groovy arm64 [upgradable from: 5:21.1.0-devel+202102041635~groovy]
mesa-vdpau-drivers/stable 5:21.1.0-devel+202102141635~groovy arm64 [upgradable from: 5:21.1.0-devel+202102041635~groovy]
mesa-vulkan-drivers/stable 5:21.1.0-devel+202102141635~groovy arm64 [upgradable from: 5:21.1.0-devel+202102041635~groovy]
openjdk-11-jre-headless/groovy-updates,groovy-security 11.0.10+9-0ubuntu1~20.10 arm64 [upgradable from: 11.0.9.1+1-0ubuntu1~20.10]
wpasupplicant/groovy-updates,groovy-security 2:2.9-1ubuntu8.1 arm64 [upgradable from: 2:2.9-1ubuntu8]
After "apt upgrade" everything is messed up.

wallyz21
Posts: 228
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2
Has thanked: 12 times
Been thanked: 19 times
Contact:

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

Post by wallyz21 »

In response to tbetters request for :

Will you let us know the base OS image and running kernel version with uname -a?

In relation to desktop graphics broken after upgrade.

Ubuntu is 20.10

uname -a
Linux odroid-n2 5.10.0-odroid-panfrost-arm64 #1 SMP PREEMPT Ubuntu 5.10.12-202102040913~groovy (2021-02-04) aarch64 aarch64 aarch64 GNU/Linx

There are also a lot of panfrost ffe40000.gpu:gpu sched timeouts, and js faults showing on the console.
Walter Zambotti
N2 - Ubuntu Mate Desktop

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

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

Post by tobetter »

wallyz21 wrote:
Tue Feb 16, 2021 7:50 am
In response to tbetters request for :

Will you let us know the base OS image and running kernel version with uname -a?

In relation to desktop graphics broken after upgrade.

Ubuntu is 20.10

uname -a
Linux odroid-n2 5.10.0-odroid-panfrost-arm64 #1 SMP PREEMPT Ubuntu 5.10.12-202102040913~groovy (2021-02-04) aarch64 aarch64 aarch64 GNU/Linx

There are also a lot of panfrost ffe40000.gpu:gpu sched timeouts, and js faults showing on the console.
Thanks, looks like the kernel and mesa version are not matched after Feb/14 and I am looking into this, as well as preparing 5.11 as well. Please be patient for a couple of days or 24 hours.
These users thanked the author tobetter for the post:
amirul (Tue Feb 16, 2021 3:19 pm)

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

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

Post by tobetter »

Quick workaround
Before providing the right solution for the screen glitch after updating the latest packages, let me share a workaround to fix the issue. Please take the script below, same commands is attached as a file, and run from your ODROID-N2/C4/HC4. This script will revert the current mesa package to previous one built on 2021/Feb/11 and screen glitch won't happen. Sorry about this happens, build queue in my build server is temporary closed and recent version after 2021/Feb/12 will be removed soon.

Code: Select all

#!/bin/sh

url=http://ppa.linuxfactory.or.kr/pool/main/m/mesa/
version=21.1.0-devel+202102111635~groovy_arm64

pkgs=$(dpkg -l | grep 21.1.0-devel | awk '{print $2}' | cut -d':' -f1)
for p in $pkgs; do
        pkg=${p}_${version}.deb
        wget -q ${url}${pkg}
        list="${list} ${pkg}"
done

sudo dpkg -i ${list} && rm -f ${list}
Attachments
mesa_revert.sh
(336 Bytes) Downloaded 15 times
These users thanked the author tobetter for the post:
istanbulls (Tue Feb 16, 2021 6:45 pm)

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

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

Post by istanbulls »

tobetter wrote:
Tue Feb 16, 2021 6:43 pm
Quick workaround
Before providing the right solution for the screen glitch after updating the latest packages, let me share a workaround to fix the issue. Please take the script below, same commands is attached as a file, and run from your ODROID-N2/C4/HC4. This script will revert the current mesa package to previous one built on 2021/Feb/11 and screen glitch won't happen. Sorry about this happens, build queue in my build server is temporary closed and recent version after 2021/Feb/12 will be removed soon.

Code: Select all

#!/bin/sh

url=http://ppa.linuxfactory.or.kr/pool/main/m/mesa/
version=21.1.0-devel+202102111635~groovy_arm64

pkgs=$(dpkg -l | grep 21.1.0-devel | awk '{print $2}' | cut -d':' -f1)
for p in $pkgs; do
        pkg=${p}_${version}.deb
        wget -q ${url}${pkg}
        list="${list} ${pkg}"
done

sudo dpkg -i ${list} && rm -f ${list}
Some windows bugs fixed, I can confirm. Thanks.

amirul
Posts: 73
Joined: Wed Dec 30, 2020 6:03 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 13 times
Been thanked: 10 times
Contact:

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

Post by amirul »

tobetter wrote:
Tue Feb 16, 2021 6:43 pm
Quick workaround
Before providing the right solution for the screen glitch after updating the latest packages, let me share a workaround to fix the issue. Please take the script below, same commands is attached as a file, and run from your ODROID-N2/C4/HC4. This script will revert the current mesa package to previous one built on 2021/Feb/11 and screen glitch won't happen. Sorry about this happens, build queue in my build server is temporary closed and recent version after 2021/Feb/12 will be removed soon.

Code: Select all

#!/bin/sh

url=http://ppa.linuxfactory.or.kr/pool/main/m/mesa/
version=21.1.0-devel+202102111635~groovy_arm64

pkgs=$(dpkg -l | grep 21.1.0-devel | awk '{print $2}' | cut -d':' -f1)
for p in $pkgs; do
        pkg=${p}_${version}.deb
        wget -q ${url}${pkg}
        list="${list} ${pkg}"
done

sudo dpkg -i ${list} && rm -f ${list}
Since my ubuntu desktop seems fine, I opt to continue with upgrading mesa and hopefully there's a fix in the future. Just got mesa 21.1.0-devel+202102161635~groovy, lightdm is still wonky. Keep up the good work :D

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

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

Post by istanbulls »

tobetter wrote:
Tue Feb 16, 2021 6:43 pm
Quick workaround
Before providing the right solution for the screen glitch after updating the latest packages, let me share a workaround to fix the issue. Please take the script below, same commands is attached as a file, and run from your ODROID-N2/C4/HC4. This script will revert the current mesa package to previous one built on 2021/Feb/11 and screen glitch won't happen. Sorry about this happens, build queue in my build server is temporary closed and recent version after 2021/Feb/12 will be removed soon.

Code: Select all

#!/bin/sh

url=http://ppa.linuxfactory.or.kr/pool/main/m/mesa/
version=21.1.0-devel+202102111635~groovy_arm64

pkgs=$(dpkg -l | grep 21.1.0-devel | awk '{print $2}' | cut -d':' -f1)
for p in $pkgs; do
        pkg=${p}_${version}.deb
        wget -q ${url}${pkg}
        list="${list} ${pkg}"
done

sudo dpkg -i ${list} && rm -f ${list}
After the new update it broke down again.
The same problem continues.

https://drive.google.com/file/d/1qvy5C2 ... sp=sharing

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

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

Post by tobetter »

istanbulls wrote:
Wed Feb 17, 2021 5:26 pm
tobetter wrote:
Tue Feb 16, 2021 6:43 pm
Quick workaround
Before providing the right solution for the screen glitch after updating the latest packages, let me share a workaround to fix the issue. Please take the script below, same commands is attached as a file, and run from your ODROID-N2/C4/HC4. This script will revert the current mesa package to previous one built on 2021/Feb/11 and screen glitch won't happen. Sorry about this happens, build queue in my build server is temporary closed and recent version after 2021/Feb/12 will be removed soon.

Code: Select all

#!/bin/sh

url=http://ppa.linuxfactory.or.kr/pool/main/m/mesa/
version=21.1.0-devel+202102111635~groovy_arm64

pkgs=$(dpkg -l | grep 21.1.0-devel | awk '{print $2}' | cut -d':' -f1)
for p in $pkgs; do
        pkg=${p}_${version}.deb
        wget -q ${url}${pkg}
        list="${list} ${pkg}"
done

sudo dpkg -i ${list} && rm -f ${list}
After the new update it broke down again.
The same problem continues.

https://drive.google.com/file/d/1qvy5C2 ... sp=sharing
What's the mesa version installed now? I've not completely remove the latest version yet... :(

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

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

Post by istanbulls »

Is this information sufficient?

Code: Select all

n2p@odroid:~$ uname -a
Linux odroid 5.10.0-odroid-panfrost-arm64 #1 SMP PREEMPT Ubuntu 5.10.12-202102040913~groovy (2021-02-04) aarch64 aarch64 aarch64 GNU/Linux
n2p@odroid:~$ dpkg -l | grep linux-image
ii  linux-image-5.10.0-odroid-arm64               5.10.6-202101121807~groovy           arm64        Linux 5.10 for 64-bit ARMv8 machines
ii  linux-image-5.10.0-odroid-panfrost-arm64      5.10.12-202102040913~groovy          arm64        Linux 5.10 for 64-bit ARMv8 machines
ii  linux-image-generic                           5:2020.12-1+202012241958~groovy      arm64        Generic Linux kernel image
n2p@odroid:~$

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

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

Post by tobetter »

istanbulls wrote:
Wed Feb 17, 2021 5:33 pm
Is this information sufficient?

Code: Select all

n2p@odroid:~$ uname -a
Linux odroid 5.10.0-odroid-panfrost-arm64 #1 SMP PREEMPT Ubuntu 5.10.12-202102040913~groovy (2021-02-04) aarch64 aarch64 aarch64 GNU/Linux
n2p@odroid:~$ dpkg -l | grep linux-image
ii  linux-image-5.10.0-odroid-arm64               5.10.6-202101121807~groovy           arm64        Linux 5.10 for 64-bit ARMv8 machines
ii  linux-image-5.10.0-odroid-panfrost-arm64      5.10.12-202102040913~groovy          arm64        Linux 5.10 for 64-bit ARMv8 machines
ii  linux-image-generic                           5:2020.12-1+202012241958~groovy      arm64        Generic Linux kernel image
n2p@odroid:~$
Please let me have the output dpkg -l | grep 5:21.1.0.

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

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

Post by istanbulls »

This issue may be specific to me. :D
I installed kubuntu-desktop on Gnome-Panfrost.
I aimed to use both OSes via SDDM Desktop-Maneger but I couldn't find the stability I wanted and removed the kubuntu, thought I deleted all the residue but ultimately I am a rookie linux user.

Code: Select all

n2p@odroid:~$ dpkg -l | grep 5:21.1.0.
ii  libegl-mesa0:arm64                            5:21.1.0-devel+202102111635~groovy   arm64        free implementation of the EGL API -- Mesa vendor library
ii  libgbm1:arm64                                 5:21.1.0-devel+202102111635~groovy   arm64        generic buffer management API -- runtime
ii  libgl1-mesa-dri:arm64                         5:21.1.0-devel+202102111635~groovy   arm64        free implementation of the OpenGL API -- DRI modules
ii  libglapi-mesa:arm64                           5:21.1.0-devel+202102111635~groovy   arm64        free implementation of the GL API -- shared library
ii  libglx-mesa0:arm64                            5:21.1.0-devel+202102111635~groovy   arm64        free implementation of the OpenGL API -- GLX vendor library
ii  mesa-va-drivers:arm64                         5:21.1.0-devel+202102111635~groovy   arm64        Mesa VA-API video acceleration drivers
ii  mesa-vdpau-drivers:arm64                      5:21.1.0-devel+202102111635~groovy   arm64        Mesa VDPAU video acceleration drivers
ii  mesa-vulkan-drivers:arm64                     5:21.1.0-devel+202102111635~groovy   arm64        Mesa Vulkan graphics drivers
n2p@odroid:~$ 
Edit:
Sorry,
The last "dpkg -l | grep 5:21.1.0." results I shared are the results after the mesa_revert.sh fix.
These users thanked the author istanbulls for the post:
tobetter (Wed Feb 17, 2021 7:23 pm)

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

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

Post by tobetter »

[20210219] 5.10.16 kernel is coming

It's been long time to update new kernel version, I've pushed 5.10 kernel branch to build queue and new kernel version will be available in a couple of hours, still ARM Mali Bifrost will be supported but Panfrost won't with Ubuntu 20.04 since 20.04 package repository becomes too complicated. At some point sooner than later, the default kernel will be switched to 5.11 that I am currently preparing to publish the package.

Interesting features:
  • Device tree overlay will be supported - the device tree support is limited currently but will be added more like Hardkernel's stock 4.9 kernel and will use the same instruction to choose and apply the device tree overlay blobs.
  • 3.5"/3.2" small LCD device can be supported - continue to the device tree support, 3.2"/3.5" LCD product from Hardkernel can run with mainline kernel finally, more detail instruction will come later.
  • ARM Mali GPU can be overclocked to 1000MHz, currently the max freq is 800MHz - some users already had tried to overclock the GPU upto 1000MHz which is 200MHz more than max currently, you can run 1000MHz if you won the silicon lottery.
  • 'linux-image-5.10.0-odroid-panfrost-arm64' kernel package' is deprecated - this is for Ubuntu 20.10 users only. Since several patches for the Panfrost drivers are merged to officialy Linux 5.10 repository the same package is no longer required, I've managed a couple of packages to prevent the driver conflict between 'Bifrost' and 'Panfrost'.
  • I've performed glmark2 testing with the version 2021.02 very recent version, please review the chart at the end of this post
  • And several updates...
How to update the new kernel version?

Code: Select all

$ sudo apt update
$ sudo apt dist-upgrade
If you were using the kernel package linux-image-5.10.0-odroid-arm64, please follow up tese commands.
After these commands, your C4/HC4 must run as nomal except the bug from Panfrost. Also, display glitchy problem that happened a couple of days ago has been fixed by resetting the working package, mesa package won't be updated sometime untill the issue is resolved.

Code: Select all

$ sudo apt update
$ sudo apt install linux-image-5.10.0-odroid-arm64
$ sudo reboot
$ sudo apt purge linux-image-5.10.0-odroid-panfrost-arm64
More detail will be added if required and 1-2 pages will be added to https://docs.linuxfactory.or.kr/
Attachments
GLMark2 (2021.02) on ODROID-N2Plus (2016_2208MHz) - Ubuntu Gnome Desktop.png
GLMark2 (2021.02) on ODROID-N2Plus (2016_2208MHz) - Ubuntu Gnome Desktop.png (123.27 KiB) Viewed 1455 times
These users thanked the author tobetter for the post (total 3):
odroid (Fri Feb 19, 2021 2:58 pm) • istanbulls (Fri Feb 19, 2021 5:28 pm) • amirul (Fri Feb 19, 2021 5:40 pm)

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

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

Post by istanbulls »

Thanks for the new updates, it is good to see my favorite OS improve. :)

Some things I did not understand.
I've done the updates.

Code: Select all

apt update
apt dist-upgrade
For Odroid-N2Plus, do we need to uninstall panfrost !?

Code: Select all

$ sudo apt update
$ sudo apt install linux-image-5.10.0-odroid-arm64
$ sudo reboot
$ sudo apt purge linux-image-5.10.0-odroid-panfrost-arm64
How can I do this, a little tutorial would make me very happy.
I saw it somewhere on the forum and tried it, but I'll have to get lost inside the forum. :D

{ARM Mali GPU can be overclocked to 1000MHz, currently the max freq is 800MHz - some users already had tried to overclock the GPU upto 1000MHz which is 200MHz more than max currently, you can run 1000MHz if you won the silicon lottery.}

amirul
Posts: 73
Joined: Wed Dec 30, 2020 6:03 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 13 times
Been thanked: 10 times
Contact:

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

Post by amirul »

$ sudo apt update
$ sudo apt dist-upgrade

$ uname -a
Linux n2plus 5.10.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.10.16-202102191318~groovy (2021-02-19) aarch64 aarch64 aarch64 GNU/Linux

mesa 5:21.1.0-devel+202102191202~groovy
mali-bifrost-dkms 24.0+202102182345~groovy

$ cat /sys/devices/platform/soc/ffe40000.gpu/devfreq/ffe40000.gpu/available_frequencies
999999984 799999987 666666656 499999992 399999994 285714281 249999996 124999998

Unfortunately login to Xwayland is a black screen.

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

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

Post by tobetter »

amirul wrote:
Fri Feb 19, 2021 9:07 pm
$ sudo apt update
$ sudo apt dist-upgrade

$ uname -a
Linux n2plus 5.10.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.10.16-202102191318~groovy (2021-02-19) aarch64 aarch64 aarch64 GNU/Linux

mesa 5:21.1.0-devel+202102191202~groovy
mali-bifrost-dkms 24.0+202102182345~groovy

$ cat /sys/devices/platform/soc/ffe40000.gpu/devfreq/ffe40000.gpu/available_frequencies
999999984 799999987 666666656 499999992 399999994 285714281 249999996 124999998

Unfortunately login to Xwayland is a black screen.
Are you using Bitfrost on 20.10?
Did you install the mesa package or it's been installed automatically?
Do you have the black screen on login screen or after login?

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

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

Post by tobetter »

istanbulls wrote:
Fri Feb 19, 2021 5:44 pm
How can I do this, a little tutorial would make me very happy.
I saw it somewhere on the forum and tried it, but I'll have to get lost inside the forum. :D

{ARM Mali GPU can be overclocked to 1000MHz, currently the max freq is 800MHz - some users already had tried to overclock the GPU upto 1000MHz which is 200MHz more than max currently, you can run 1000MHz if you won the silicon lottery.}
Change MAX_FREQ=799999987 to MAX_FREQ=1000000000 in /etc/default/gpufrequtils, and reboot it.
These users thanked the author tobetter for the post:
istanbulls (Sat Feb 20, 2021 3:09 am)

amirul
Posts: 73
Joined: Wed Dec 30, 2020 6:03 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 13 times
Been thanked: 10 times
Contact:

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

Post by amirul »

tobetter wrote:
Fri Feb 19, 2021 11:40 pm
amirul wrote:
Fri Feb 19, 2021 9:07 pm
$ sudo apt update
$ sudo apt dist-upgrade

$ uname -a
Linux n2plus 5.10.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.10.16-202102191318~groovy (2021-02-19) aarch64 aarch64 aarch64 GNU/Linux

mesa 5:21.1.0-devel+202102191202~groovy
mali-bifrost-dkms 24.0+202102182345~groovy

$ cat /sys/devices/platform/soc/ffe40000.gpu/devfreq/ffe40000.gpu/available_frequencies
999999984 799999987 666666656 499999992 399999994 285714281 249999996 124999998

Unfortunately login to Xwayland is a black screen.
Are you using Bitfrost on 20.10?
Did you install the mesa package or it's been installed automatically?
Do you have the black screen on login screen or after login?
Yes Bifrost on 20.10
Mesa came with sudo apt dist-upgrade
Login screen is OK, black screen is after login

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

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

Post by tobetter »

amirul wrote:
Sat Feb 20, 2021 1:08 am
tobetter wrote:
Fri Feb 19, 2021 11:40 pm
amirul wrote:
Fri Feb 19, 2021 9:07 pm
$ sudo apt update
$ sudo apt dist-upgrade

$ uname -a
Linux n2plus 5.10.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.10.16-202102191318~groovy (2021-02-19) aarch64 aarch64 aarch64 GNU/Linux

mesa 5:21.1.0-devel+202102191202~groovy
mali-bifrost-dkms 24.0+202102182345~groovy

$ cat /sys/devices/platform/soc/ffe40000.gpu/devfreq/ffe40000.gpu/available_frequencies
999999984 799999987 666666656 499999992 399999994 285714281 249999996 124999998

Unfortunately login to Xwayland is a black screen.
Are you using Bitfrost on 20.10?
Did you install the mesa package or it's been installed automatically?
Do you have the black screen on login screen or after login?
Yes Bifrost on 20.10
Mesa came with sudo apt dist-upgrade
Login screen is OK, black screen is after login
Will you share the output of dpkg -l | grep 5:21.1 and check if mali_kbase is present with a command lsmod | grep mali?
Did you use the same set up earlier or this is new?

amirul
Posts: 73
Joined: Wed Dec 30, 2020 6:03 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 13 times
Been thanked: 10 times
Contact:

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

Post by amirul »

tobetter wrote:
Sat Feb 20, 2021 1:17 am
amirul wrote:
Sat Feb 20, 2021 1:08 am
tobetter wrote:
Fri Feb 19, 2021 11:40 pm
amirul wrote:
Fri Feb 19, 2021 9:07 pm
$ sudo apt update
$ sudo apt dist-upgrade

$ uname -a
Linux n2plus 5.10.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.10.16-202102191318~groovy (2021-02-19) aarch64 aarch64 aarch64 GNU/Linux

mesa 5:21.1.0-devel+202102191202~groovy
mali-bifrost-dkms 24.0+202102182345~groovy

$ cat /sys/devices/platform/soc/ffe40000.gpu/devfreq/ffe40000.gpu/available_frequencies
999999984 799999987 666666656 499999992 399999994 285714281 249999996 124999998

Unfortunately login to Xwayland is a black screen.
Are you using Bitfrost on 20.10?
Did you install the mesa package or it's been installed automatically?
Do you have the black screen on login screen or after login?
Yes Bifrost on 20.10
Mesa came with sudo apt dist-upgrade
Login screen is OK, black screen is after login
Will you share the output of dpkg -l | grep 5:21.1 and check if mali_kbase is present with a command lsmod | grep mali?
Did you use the same set up earlier or this is new?

Code: Select all

$ dpkg -l | grep 5:21.1
ii  libgbm-dev:arm64                              5:21.1.0-devel+202102191202~groovy   arm64        generic buffer management API -- development files
ii  libgbm1:arm64                                 5:21.1.0-devel+202102191202~groovy   arm64        generic buffer management API -- runtime
ii  libgl1-mesa-dri:arm64                         5:21.1.0-devel+202102191202~groovy   arm64        free implementation of the OpenGL API -- DRI modules
ii  libglapi-mesa:arm64                           5:21.1.0-devel+202102191202~groovy   arm64        free implementation of the GL API -- shared library
ii  libglx-mesa0:arm64                            5:21.1.0-devel+202102191202~groovy   arm64        free implementation of the OpenGL API -- GLX vendor library
ii  mesa-va-drivers:arm64                         5:21.1.0-devel+202102191202~groovy   arm64        Mesa VA-API video acceleration drivers
ii  mesa-vdpau-drivers:arm64                      5:21.1.0-devel+202102191202~groovy   arm64        Mesa VDPAU video acceleration drivers
ii  mesa-vulkan-drivers:arm64                     5:21.1.0-devel+202102191202~groovy   arm64        Mesa Vulkan graphics drivers
$ lsmod |grep mali
mali_kbase            552960  0
Same set up after apt dist-upgrade
Last edited by amirul on Sat Feb 20, 2021 10:40 am, edited 1 time in total.

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

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

Post by istanbulls »

tobetter wrote:
Sat Feb 20, 2021 12:32 am
istanbulls wrote:
Fri Feb 19, 2021 5:44 pm
How can I do this, a little tutorial would make me very happy.
I saw it somewhere on the forum and tried it, but I'll have to get lost inside the forum. :D

{ARM Mali GPU can be overclocked to 1000MHz, currently the max freq is 800MHz - some users already had tried to overclock the GPU upto 1000MHz which is 200MHz more than max currently, you can run 1000MHz if you won the silicon lottery.}
Change MAX_FREQ=799999987 to MAX_FREQ=1000000000 in /etc/default/gpufrequtils, and reboot it.
Thanks, I made the GPU 1000mhz.

Should I do these commands for Odroid-N2?

Code: Select all

$ sudo apt update
$ sudo apt install linux-image-5.10.0-odroid-arm64
$ sudo reboot
$ sudo apt purge linux-image-5.10.0-odroid-panfrost-arm64
Shouldn't it be SMP PREEMPT Ubuntu 5.10.16? I wonder if there is something wrong.
I just installed with Netboot-Installer.

Code: Select all

n2p@odroid:~$ uname -a
Linux odroid 5.10.0-odroid-panfrost-arm64 #1 SMP PREEMPT Ubuntu 5.10.12-202102040913~groovy (2021-02-04) aarch64 aarch64 aarch64 GNU/Linux
n2p@odroid:~$ 

specs
Posts: 77
Joined: Sun Nov 24, 2019 12:14 pm
languages_spoken: english
ODROIDs: odroid n2/n2+
odroid c4
Has thanked: 24 times
Been thanked: 10 times
Contact:

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

Post by specs »

Do you have any information about the gpu governors?
For cpufreq you can use cpufreq-utils, for gpufreq for now I can write directly ot /sys but is there a common tool for the purpose?

I want to check how much power is saved by lowering the clock and setting powersaving as governor, since for my purpose the power used in idle mode is rather governing.

amirul
Posts: 73
Joined: Wed Dec 30, 2020 6:03 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 13 times
Been thanked: 10 times
Contact:

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

Post by amirul »

tobetter wrote:
Sat Feb 20, 2021 12:32 am
istanbulls wrote:
Fri Feb 19, 2021 5:44 pm
How can I do this, a little tutorial would make me very happy.
I saw it somewhere on the forum and tried it, but I'll have to get lost inside the forum. :D

{ARM Mali GPU can be overclocked to 1000MHz, currently the max freq is 800MHz - some users already had tried to overclock the GPU upto 1000MHz which is 200MHz more than max currently, you can run 1000MHz if you won the silicon lottery.}
Change MAX_FREQ=799999987 to MAX_FREQ=1000000000 in /etc/default/gpufrequtils, and reboot it.
On my other sdcard with panfrost I did MAX_FREQ=1000000000 in /etc/default/gpufrequtils, reboot.

Code: Select all

$ cat /sys/devices/platform/soc/ffe40000.gpu/devfreq/ffe40000.gpu/cur_freq
799999987
$ uname -a
Linux n2plus-pf 5.10.0-odroid-panfrost-arm64 #1 SMP PREEMPT Ubuntu 5.10.12-202102040913~groovy (2021-02-04) aarch64 aarch64 aarch64 GNU/Linux
Can it be done?

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

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

Post by tobetter »

amirul wrote:
Sat Feb 20, 2021 10:37 am
tobetter wrote:
Sat Feb 20, 2021 12:32 am
istanbulls wrote:
Fri Feb 19, 2021 5:44 pm
How can I do this, a little tutorial would make me very happy.
I saw it somewhere on the forum and tried it, but I'll have to get lost inside the forum. :D

{ARM Mali GPU can be overclocked to 1000MHz, currently the max freq is 800MHz - some users already had tried to overclock the GPU upto 1000MHz which is 200MHz more than max currently, you can run 1000MHz if you won the silicon lottery.}
Change MAX_FREQ=799999987 to MAX_FREQ=1000000000 in /etc/default/gpufrequtils, and reboot it.
On my other sdcard with panfrost I did MAX_FREQ=1000000000 in /etc/default/gpufrequtils, reboot.

Code: Select all

$ cat /sys/devices/platform/soc/ffe40000.gpu/devfreq/ffe40000.gpu/cur_freq
799999987
$ uname -a
Linux n2plus-pf 5.10.0-odroid-panfrost-arm64 #1 SMP PREEMPT Ubuntu 5.10.12-202102040913~groovy (2021-02-04) aarch64 aarch64 aarch64 GNU/Linux
Can it be done?
You have installed linux-image-5.10.0-odroid-panfrost-arm64 package which not be supported any more. Therefore, you have to do sudo apt install linux-image-5.10.0-odroid-arm64 and reboot with it.

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

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

Post by tobetter »

specs wrote:
Sat Feb 20, 2021 5:19 am
Do you have any information about the gpu governors?
For cpufreq you can use cpufreq-utils, for gpufreq for now I can write directly ot /sys but is there a common tool for the purpose?

I want to check how much power is saved by lowering the clock and setting powersaving as governor, since for my purpose the power used in idle mode is rather governing.
I've not made a tool for GPU but only create a method to change the governor and frequency using /etc/defaults/gpufrequtls since for some reson it did not work dynamically like CPU. Also the sys path for Bifrost and Panfrost are different. Please check the link for this.
https://docs.linuxfactory.or.kr/guides/ ... k.html#gpu
These users thanked the author tobetter for the post:
specs (Sun Feb 21, 2021 8:37 pm)

amirul
Posts: 73
Joined: Wed Dec 30, 2020 6:03 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 13 times
Been thanked: 10 times
Contact:

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

Post by amirul »

tobetter wrote:
Sat Feb 20, 2021 2:20 pm
You have installed linux-image-5.10.0-odroid-panfrost-arm64 package which not be supported any more. Therefore, you have to do sudo apt install linux-image-5.10.0-odroid-arm64 and reboot with it.

Code: Select all

$ apt install linux-image-5.10.0-odroid-arm64
reboot
$ uname -a
Linux n2plus-pf 5.10.0-odroid-panfrost-arm64 #1 SMP PREEMPT Ubuntu 5.10.12-202102040913~groovy (2021-02-04) aarch64 aarch64 aarch64 GNU/Linux
$ lsmod |grep panfrost
panfrost               69632  3
gpu_sched              32768  1 panfrost
$ cat /etc/default/gpufrequtils 
# GOVERNORS:    [userspace powersave performance simple_ondemand]
# FREQUENCIES : [124999998 249999996 285714281 399999994
#                499999992 666666656 799999987]
GOVERNOR=performance
MIN_FREQ=499999992
MAX_FREQ=1000000000
$ cat /sys/devices/platform/soc/ffe40000.gpu/devfreq/ffe40000.gpu/cur_freq 
799999987
Is there something I missed?
EDIT: need to purge panfrost kernel
Last edited by amirul on Sat Feb 20, 2021 4:40 pm, edited 1 time in total.

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

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

Post by tobetter »

amirul wrote:
Sat Feb 20, 2021 4:31 pm
tobetter wrote:
Sat Feb 20, 2021 2:20 pm
You have installed linux-image-5.10.0-odroid-panfrost-arm64 package which not be supported any more. Therefore, you have to do sudo apt install linux-image-5.10.0-odroid-arm64 and reboot with it.

Code: Select all

$ apt install linux-image-5.10.0-odroid-arm64
reboot
$ uname -a
Linux n2plus-pf 5.10.0-odroid-panfrost-arm64 #1 SMP PREEMPT Ubuntu 5.10.12-202102040913~groovy (2021-02-04) aarch64 aarch64 aarch64 GNU/Linux
$ lsmod |grep panfrost
panfrost               69632  3
gpu_sched              32768  1 panfrost
$ cat /etc/default/gpufrequtils 
# GOVERNORS:    [userspace powersave performance simple_ondemand]
# FREQUENCIES : [124999998 249999996 285714281 399999994
#                499999992 666666656 799999987]
GOVERNOR=performance
MIN_FREQ=499999992
MAX_FREQ=1000000000
$ cat /sys/devices/platform/soc/ffe40000.gpu/devfreq/ffe40000.gpu/cur_freq 
799999987
Is there something I missed?
Didn't you have any error with apt install linux-image-5.10.0-odroid-arm64?
Can you share the output sudo dpkg -l | grep linux-image?

amirul
Posts: 73
Joined: Wed Dec 30, 2020 6:03 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 13 times
Been thanked: 10 times
Contact:

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

Post by amirul »

tobetter wrote:
Sat Feb 20, 2021 4:40 pm
amirul wrote:
Sat Feb 20, 2021 4:31 pm
tobetter wrote:
Sat Feb 20, 2021 2:20 pm
You have installed linux-image-5.10.0-odroid-panfrost-arm64 package which not be supported any more. Therefore, you have to do sudo apt install linux-image-5.10.0-odroid-arm64 and reboot with it.

Code: Select all

$ apt install linux-image-5.10.0-odroid-arm64
reboot
$ uname -a
Linux n2plus-pf 5.10.0-odroid-panfrost-arm64 #1 SMP PREEMPT Ubuntu 5.10.12-202102040913~groovy (2021-02-04) aarch64 aarch64 aarch64 GNU/Linux
$ lsmod |grep panfrost
panfrost               69632  3
gpu_sched              32768  1 panfrost
$ cat /etc/default/gpufrequtils 
# GOVERNORS:    [userspace powersave performance simple_ondemand]
# FREQUENCIES : [124999998 249999996 285714281 399999994
#                499999992 666666656 799999987]
GOVERNOR=performance
MIN_FREQ=499999992
MAX_FREQ=1000000000
$ cat /sys/devices/platform/soc/ffe40000.gpu/devfreq/ffe40000.gpu/cur_freq 
799999987
Is there something I missed?
Didn't you have any error with apt install linux-image-5.10.0-odroid-arm64?
Can you share the output sudo dpkg -l | grep linux-image?

Code: Select all

$ sudo dpkg -l |grep linux-image
ii  linux-image-5.10.0-odroid-arm64            5.10.16-202102191318~groovy         arm64        Linux 5.10 for 64-bit ARMv8 machines
ii  linux-image-5.10.0-odroid-panfrost-arm64   5.10.12-202102040913~groovy         arm64        Linux 5.10 for 64-bit ARMv8 machines
First time apt install linux-image-5.10.0-odroid-arm64 vmlinuz and initrd.img was pointing to panfrost
Did sudo apt purge linux-image-5.10.0-odroid-arm64 then redid sudo apt install linux-image-5.10.0-odroid-arm64
Now

Code: Select all

$ ls -l /boot/initrd.img /boot/vmlinuz
lrwxrwxrwx 1 root root 30 Feb 20 15:47 /boot/initrd.img -> initrd.img-5.10.0-odroid-arm64
lrwxrwxrwx 1 root root 27 Feb 20 15:47 /boot/vmlinuz -> vmlinuz-5.10.0-odroid-arm64
Reboot
$ uname -a
Linux n2plus-pf 5.10.0-odroid-panfrost-arm64 #1 SMP PREEMPT Ubuntu 5.10.12-202102040913~groovy (2021-02-04) aarch64 aarch64 aarch64 GNU/Linux

Still on kernel odroid-panfrost?
EDIT: have to power cycle :D

Code: Select all

$ uname -a
Linux n2plus-pf 5.10.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.10.16-202102191318~groovy (2021-02-19) aarch64 aarch64 aarch64 GNU/Linux
$ cat /sys/devices/platform/soc/ffe40000.gpu/devfreq/ffe40000.gpu/available_frequencies 
124999998 249999996 285714281 399999994 499999992 666666656 799999987 999999984
cat /sys/devices/platform/soc/ffe40000.gpu/devfreq/ffe40000.gpu/cur_freq 
999999984

specs
Posts: 77
Joined: Sun Nov 24, 2019 12:14 pm
languages_spoken: english
ODROIDs: odroid n2/n2+
odroid c4
Has thanked: 24 times
Been thanked: 10 times
Contact:

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

Post by specs »

tobetter wrote:
Sat Feb 20, 2021 3:05 pm
I've not made a tool for GPU but only create a method to change the governor and frequency using /etc/defaults/gpufrequtls since for some reson it did not work dynamically like CPU. Also the sys path for Bifrost and Panfrost are different. Please check the link for this.
https://docs.linuxfactory.or.kr/guides/ ... k.html#gpu
Fair enough.

After tweaking a bit you will probably only set it once at boot.
I guess the only people tinkering around with it are those who want to squeeze a little extra performance out of their hardware.

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

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

Post by istanbulls »

Hello @tobetter,
There are some things I don't understand or misunderstand, can you help me please.

My installation list with Netboot-Installer:
Shouldn't I install "sudo apt install linux-image-5.10.0-odroid-panfrost-arm64" anymore? Should I get this off my list?

Code: Select all

sudo apt install odroid-homecloud-display
sudo vi /etc/apt/sources.list
:% s,focal,groovy,g
:wq
sudo vi /etc/apt/sources.list.d/ppa_linuxfactory_or_kr.list
:% s,focal,groovy,g
:wq
sudo apt update
sudo apt dist-upgrade
sudo apt autoremove
sudo apt install linux-image-5.10.0-odroid-panfrost-arm64
sudo reboot
sudo apt install --reinstall odroid-alsa
sudo nano /etc/netplan/50-cloud-init.yaml
network:
  renderer: NetworkManager
  ethernets:
    eth0:
      dhcp4: true
  version: 2
sudo apt install ubuntu-desktop
sudo apt install kubuntu-desktop

amirul
Posts: 73
Joined: Wed Dec 30, 2020 6:03 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 13 times
Been thanked: 10 times
Contact:

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

Post by amirul »

amirul wrote:
Sat Feb 20, 2021 1:36 am
tobetter wrote:
Sat Feb 20, 2021 1:17 am
amirul wrote:
Sat Feb 20, 2021 1:08 am
tobetter wrote:
Fri Feb 19, 2021 11:40 pm
amirul wrote:
Fri Feb 19, 2021 9:07 pm
$ sudo apt update
$ sudo apt dist-upgrade

$ uname -a
Linux n2plus 5.10.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.10.16-202102191318~groovy (2021-02-19) aarch64 aarch64 aarch64 GNU/Linux

mesa 5:21.1.0-devel+202102191202~groovy
mali-bifrost-dkms 24.0+202102182345~groovy

$ cat /sys/devices/platform/soc/ffe40000.gpu/devfreq/ffe40000.gpu/available_frequencies
999999984 799999987 666666656 499999992 399999994 285714281 249999996 124999998

Unfortunately login to Xwayland is a black screen.
Are you using Bitfrost on 20.10?
Did you install the mesa package or it's been installed automatically?
Do you have the black screen on login screen or after login?
Yes Bifrost on 20.10
Mesa came with sudo apt dist-upgrade
Login screen is OK, black screen is after login
Will you share the output of dpkg -l | grep 5:21.1 and check if mali_kbase is present with a command lsmod | grep mali?
Did you use the same set up earlier or this is new?

Code: Select all

$ dpkg -l | grep 5:21.1
ii  libgbm-dev:arm64                              5:21.1.0-devel+202102191202~groovy   arm64        generic buffer management API -- development files
ii  libgbm1:arm64                                 5:21.1.0-devel+202102191202~groovy   arm64        generic buffer management API -- runtime
ii  libgl1-mesa-dri:arm64                         5:21.1.0-devel+202102191202~groovy   arm64        free implementation of the OpenGL API -- DRI modules
ii  libglapi-mesa:arm64                           5:21.1.0-devel+202102191202~groovy   arm64        free implementation of the GL API -- shared library
ii  libglx-mesa0:arm64                            5:21.1.0-devel+202102191202~groovy   arm64        free implementation of the OpenGL API -- GLX vendor library
ii  mesa-va-drivers:arm64                         5:21.1.0-devel+202102191202~groovy   arm64        Mesa VA-API video acceleration drivers
ii  mesa-vdpau-drivers:arm64                      5:21.1.0-devel+202102191202~groovy   arm64        Mesa VDPAU video acceleration drivers
ii  mesa-vulkan-drivers:arm64                     5:21.1.0-devel+202102191202~groovy   arm64        Mesa Vulkan graphics drivers
$ lsmod |grep mali
mali_kbase            552960  0
Same set up after apt dist-upgrade
Got bifrost running. Had to reinstall mali-bifrost-dkms :D
GPU @1Ghz compared to stock 800Mhz does not give better results, am I right?

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

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

Post by tobetter »

amirul wrote:
Sun Feb 21, 2021 12:32 pm
Got bifrost running. Had to reinstall mali-bifrost-dkms :D
GPU @1Ghz compared to stock 800Mhz does not give better results, am I right?
It gives a bit better but not significant... :)
How did you compare?

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

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

Post by tobetter »

istanbulls wrote:
Sun Feb 21, 2021 11:26 am
Hello @tobetter,
There are some things I don't understand or misunderstand, can you help me please.

My installation list with Netboot-Installer:
Shouldn't I install "sudo apt install linux-image-5.10.0-odroid-panfrost-arm64" anymore? Should I get this off my list?

Code: Select all

sudo apt install odroid-homecloud-display
sudo vi /etc/apt/sources.list
:% s,focal,groovy,g
:wq
sudo vi /etc/apt/sources.list.d/ppa_linuxfactory_or_kr.list
:% s,focal,groovy,g
:wq
sudo apt update
sudo apt dist-upgrade
sudo apt autoremove
sudo apt install linux-image-5.10.0-odroid-panfrost-arm64
sudo reboot
sudo apt install --reinstall odroid-alsa
sudo nano /etc/netplan/50-cloud-init.yaml
network:
  renderer: NetworkManager
  ethernets:
    eth0:
      dhcp4: true
  version: 2
sudo apt install ubuntu-desktop
sudo apt install kubuntu-desktop
Not necessary to install linux-image-5.10.0-odroid-panfrost-arm64 anymore, it won't be updated. Using the default kernel is fair enough after 5.10.16.

amirul
Posts: 73
Joined: Wed Dec 30, 2020 6:03 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 13 times
Been thanked: 10 times
Contact:

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

Post by amirul »

tobetter wrote:
Sun Feb 21, 2021 3:20 pm
amirul wrote:
Sun Feb 21, 2021 12:32 pm
Got bifrost running. Had to reinstall mali-bifrost-dkms :D
GPU @1Ghz compared to stock 800Mhz does not give better results, am I right?
It gives a bit better but not significant... :)
How did you compare?
glmark2-es2-wayland. Both around the 10xx mark

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

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

Post by tobetter »

amirul wrote:
Sun Feb 21, 2021 3:47 pm
tobetter wrote:
Sun Feb 21, 2021 3:20 pm
amirul wrote:
Sun Feb 21, 2021 12:32 pm
Got bifrost running. Had to reinstall mali-bifrost-dkms :D
GPU @1Ghz compared to stock 800Mhz does not give better results, am I right?
It gives a bit better but not significant... :)
How did you compare?
glmark2-es2-wayland. Both around the 10xx mark
It's around 10xx with glmark2-es2-wayland, with 1000MHz is a bit faster but... :)
download/file.php?id=13648

amirul
Posts: 73
Joined: Wed Dec 30, 2020 6:03 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 13 times
Been thanked: 10 times
Contact:

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

Post by amirul »

When I use /sys/devices/platform/soc/ffe40000.gpu/devfreq/ffe40000.gpu/
/sys/devices/platform/soc/ffe40000.gpu/misc/mali0/device/devfreq/ffe40000.gpu/ is also the same.

We can just use /sys/devices/platform/soc/ffe40000.gpu/devfreq/ffe40000.gpu/?

amirul
Posts: 73
Joined: Wed Dec 30, 2020 6:03 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 13 times
Been thanked: 10 times
Contact:

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

Post by amirul »

tobetter wrote:
Sun Feb 21, 2021 5:15 pm
amirul wrote:
Sun Feb 21, 2021 3:47 pm
tobetter wrote:
Sun Feb 21, 2021 3:20 pm
amirul wrote:
Sun Feb 21, 2021 12:32 pm
Got bifrost running. Had to reinstall mali-bifrost-dkms :D
GPU @1Ghz compared to stock 800Mhz does not give better results, am I right?
It gives a bit better but not significant... :)
How did you compare?
glmark2-es2-wayland. Both around the 10xx mark
It's around 10xx with glmark2-es2-wayland, with 1000MHz is a bit faster but... :)
download/file.php?id=13648
hardinfo - GPU drawing
800Mhz 3284.78
1Ghz 3361.72
I think I'll just run 800Mhz :D

specs
Posts: 77
Joined: Sun Nov 24, 2019 12:14 pm
languages_spoken: english
ODROIDs: odroid n2/n2+
odroid c4
Has thanked: 24 times
Been thanked: 10 times
Contact:

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

Post by specs »

When waching a movie with mpv the gpu clock hardly scales op above 250MHz on my N2.
I think that underlines I'm not much of a power user.

Only when I put an xterm on top of a (fullscreen) movie I see peaks of 800 MHz (does Linux/X11 not stack windows efficiently?).
Also when I compile a kernel in the background the GPU clock scales up.
I guess that's because the GPU is desperately trying to keep in sync while the rest of the system is loaded.

Typical readings:

Code: Select all

CPU 0-1: 1000 (1000 Mhz - 1800 MHz / conservative)
CPU 2-5: 1800 (1000 Mhz - 1800 MHz / conservative)
GPU    :  250 ( 250 Mhz -  800 MHz / simple_ondemand)
Thermalzone 0: 38.2 C
Thermalzone 1: 37.9 C
(When compiling the kernel the temperature gets higher off course.)

I use a small python script for the overview, repeatedly used with "watch".
(I know it is a only course indication, not professionally written.)
Attachments
checkfreq.py.txt
(1.94 KiB) Downloaded 13 times
These users thanked the author specs for the post:
amirul (Sun Feb 21, 2021 9:00 pm)

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

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

Post by istanbulls »

tobetter wrote:
Sun Feb 21, 2021 3:21 pm
istanbulls wrote:
Sun Feb 21, 2021 11:26 am
Hello @tobetter,
There are some things I don't understand or misunderstand, can you help me please.

My installation list with Netboot-Installer:
Shouldn't I install "sudo apt install linux-image-5.10.0-odroid-panfrost-arm64" anymore? Should I get this off my list?

Code: Select all

sudo apt install odroid-homecloud-display
sudo vi /etc/apt/sources.list
:% s,focal,groovy,g
:wq
sudo vi /etc/apt/sources.list.d/ppa_linuxfactory_or_kr.list
:% s,focal,groovy,g
:wq
sudo apt update
sudo apt dist-upgrade
sudo apt autoremove
sudo apt install linux-image-5.10.0-odroid-panfrost-arm64
sudo reboot
sudo apt install --reinstall odroid-alsa
sudo nano /etc/netplan/50-cloud-init.yaml
network:
  renderer: NetworkManager
  ethernets:
    eth0:
      dhcp4: true
  version: 2
sudo apt install ubuntu-desktop
sudo apt install kubuntu-desktop
Not necessary to install linux-image-5.10.0-odroid-panfrost-arm64 anymore, it won't be updated. Using the default kernel is fair enough after 5.10.16.
Thanks @tobetter,
I already tried this yesterday (that setup with netboot-instaler) and it performed very well.
But with the update, panfrost cannot be uninstalled, it gives an error.
Won't there be panfrost in your images anymore and why?
Regardless of the panfrost question, I am quite satisfied with the performance of the new version.

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

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

Post by tobetter »

istanbulls wrote:
Sun Feb 21, 2021 8:40 pm
tobetter wrote:
Sun Feb 21, 2021 3:21 pm
istanbulls wrote:
Sun Feb 21, 2021 11:26 am
Hello @tobetter,
There are some things I don't understand or misunderstand, can you help me please.

My installation list with Netboot-Installer:
Shouldn't I install "sudo apt install linux-image-5.10.0-odroid-panfrost-arm64" anymore? Should I get this off my list?

Code: Select all

sudo apt install odroid-homecloud-display
sudo vi /etc/apt/sources.list
:% s,focal,groovy,g
:wq
sudo vi /etc/apt/sources.list.d/ppa_linuxfactory_or_kr.list
:% s,focal,groovy,g
:wq
sudo apt update
sudo apt dist-upgrade
sudo apt autoremove
sudo apt install linux-image-5.10.0-odroid-panfrost-arm64
sudo reboot
sudo apt install --reinstall odroid-alsa
sudo nano /etc/netplan/50-cloud-init.yaml
network:
  renderer: NetworkManager
  ethernets:
    eth0:
      dhcp4: true
  version: 2
sudo apt install ubuntu-desktop
sudo apt install kubuntu-desktop
Not necessary to install linux-image-5.10.0-odroid-panfrost-arm64 anymore, it won't be updated. Using the default kernel is fair enough after 5.10.16.
Thanks @tobetter,
I already tried this yesterday (that setup with netboot-instaler) and it performed very well.
But with the update, panfrost cannot be uninstalled, it gives an error.
What error do you meet with which command?
Won't there be panfrost in your images anymore and why?
You do not misunderstand the statement. Still Panfrost driver is there but no longer need to use separate package linux-image-5.10.0-odroid-panfrost-arm64 since every patch for Panforst is merged into single branch and it will be provided with linux-image-5.10.0-odroid-arm64.
Regardless of the panfrost question, I am quite satisfied with the performance of the new version.
Thanks.

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

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

Post by istanbulls »

Thanks for the answer,
English is not my native language and with Translate I might be missing or misunderstanding things.
I'm also a very rookie for Linux and software, some terms make no sense at all to mine.
I may be asking more stupid questions than this ring, I'm sorry for that already.
-------
I have 5-6 OS on my SSD and I occasionally experiment. I am trying to decide which OS is smoother and faster in daily use.
In order to get the best performance in this regard.
While installing kubuntu-desktop with Netboot-instaler, I have to upgrade to 20.10 version. Should I run the command "sudo apt install linux-image-5.10.0-odroid-panfrost-arm64" after 20.10 version upgrade- not?
Again, the same question is valid for Groovy-Gnome-Desktop.

For example, I installed Groovy-Gnome-Desktop with Netboot-instaler. During the installation I did not run the command s "sudo apt install linux-image-5.10.0-odroid-panfrost-arm64". I am very pleased with its speed and stability.

Code: Select all

n2p@odroid:~/İndirilenler$ uname -a
Linux odroid 5.10.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.10.16-202102191318~groovy (2021-02-19) aarch64 aarch64 aarch64 GNU/Linux
n2p@odroid:~/İndirilenler$ sudo dpkg -l |grep linux-image
ii  linux-image-5.10.0-odroid-arm64            5.10.16-202102191318~groovy         arm64        Linux 5.10 for 64-bit ARMv8 machines
ii  linux-image-generic                        5:2020.12-1+202012241958~groovy     arm64        Generic Linux kernel image
n2p@odroid:~/İndirilenler$ sudo python3 checkfreq.py
CPU 0-1: 2016 (1000 Mhz - 2016 MHz / performance)
CPU 2-5: 2400 (1000 Mhz - 2400 MHz / performance)
GPU    : 1000 ( 500 Mhz - 1000 MHz / performance)
Thermalzone 0: 51.5 C
Thermalzone 1: 53.0 C
n2p@odroid:~/İndirilenler$ 

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

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

Post by tobetter »

istanbulls wrote:
Sun Feb 21, 2021 9:20 pm
Thanks for the answer,
English is not my native language and with Translate I might be missing or misunderstanding things.
I'm also a very rookie for Linux and software, some terms make no sense at all to mine.
I may be asking more stupid questions than this ring, I'm sorry for that already.
-------
I have 5-6 OS on my SSD and I occasionally experiment. I am trying to decide which OS is smoother and faster in daily use.
In order to get the best performance in this regard.
While installing kubuntu-desktop with Netboot-instaler, I have to upgrade to 20.10 version. Should I run the command "sudo apt install linux-image-5.10.0-odroid-panfrost-arm64" after 20.10 version upgrade- not?
Again, the same question is valid for Groovy-Gnome-Desktop.

For example, I installed Groovy-Gnome-Desktop with Netboot-instaler. During the installation I did not run the command s "sudo apt install linux-image-5.10.0-odroid-panfrost-arm64". I am very pleased with its speed and stability.

Code: Select all

n2p@odroid:~/İndirilenler$ uname -a
Linux odroid 5.10.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.10.16-202102191318~groovy (2021-02-19) aarch64 aarch64 aarch64 GNU/Linux
n2p@odroid:~/İndirilenler$ sudo dpkg -l |grep linux-image
ii  linux-image-5.10.0-odroid-arm64            5.10.16-202102191318~groovy         arm64        Linux 5.10 for 64-bit ARMv8 machines
ii  linux-image-generic                        5:2020.12-1+202012241958~groovy     arm64        Generic Linux kernel image
n2p@odroid:~/İndirilenler$ sudo python3 checkfreq.py
CPU 0-1: 2016 (1000 Mhz - 2016 MHz / performance)
CPU 2-5: 2400 (1000 Mhz - 2400 MHz / performance)
GPU    : 1000 ( 500 Mhz - 1000 MHz / performance)
Thermalzone 0: 51.5 C
Thermalzone 1: 53.0 C
n2p@odroid:~/İndirilenler$ 
Replied the same in another thread, you do not need to install linux-image-5.10.0-odroid-panfrost-arm64 any more. But still you will have Panfrost driver with linux-image-5.10.0-odroid-arm64.
These users thanked the author tobetter for the post:
istanbulls (Sun Feb 21, 2021 9:48 pm)

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

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

Post by chewitt »

This solves the GPU governor issue: https://github.com/chewitt/linux/commit ... 8ac2a5deb4

it should be partnered with this: https://github.com/chewitt/linux/commit ... 399ce43d12

both should be merged in Linux 5.12
These users thanked the author chewitt for the post (total 2):
istanbulls (Mon Feb 22, 2021 12:14 am) • specs (Mon Feb 22, 2021 12:17 am)

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

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

Post by tobetter »

[20210223] New kernel 5.11 is coming

New kernel 5.11 is uploaded and default kernel will be switched on coming weekend hopefully.

** BUT DO NOT UPDATE WITH THE NEW KERNEL 5.11 IF YOU ARE RUNNING DESKTOP WITH PANFROST DRIVER **
It's because we had bad experience of broken UI issue about 10 days ago and desktop UI had many issues, therefore old version of Mesa package had been uploaded that works with Linux kernel 5.10.16 today. New kernel 5.11 also requires another compatible Mesa package which is not incompatible with 5.10 kernel, this makes us keep using 5.11+ kernel once new mesa package is uploaded for Linux kernel 5.11, this would be ok if 5.11 kernel does not make critical issues.

In case if you like to install new kernel 5.11 with new packages, please do follow up the commands below at your own risk.

Code: Select all

$ echo "deb http://ppa.linuxfactory.or.kr groovy testing" | sudo tee -a /etc/apt/sources.list.d/ppa_linuxfactory_or_kr.list
$ sudo apt update
$ sudo apt dist-upgrade
$ sudo sed -i "/testing/d" /etc/apt/sources.list.d/ppa_linuxfactory_or_kr.list
$ sudo reboot
EDIT:
For ARM Mali Bifrost users: 5.11 has a change that cannot build DKMS packages which breaks to build Mali Bifrost driver package mali-bifrost-dkms, still figuring out to make it work and will come with official kernel switch to 5.11.
These users thanked the author tobetter for the post:
istanbulls (Wed Feb 24, 2021 1:28 am)

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

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

Post by istanbulls »

I have an image that I cloned yesterday.
I'm trying now :D

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

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

Post by istanbulls »

tobetter wrote:
Wed Feb 24, 2021 1:09 am
[20210223] New kernel 5.11 is coming

New kernel 5.11 is uploaded and default kernel will be switched on coming weekend hopefully.

** BUT DO NOT UPDATE WITH THE NEW KERNEL 5.11 IF YOU ARE RUNNING DESKTOP WITH PANFROST DRIVER **
It's because we had bad experience of broken UI issue about 10 days ago and desktop UI had many issues, therefore old version of Mesa package had been uploaded that works with Linux kernel 5.10.16 today. New kernel 5.11 also requires another compatible Mesa package which is not incompatible with 5.10 kernel, this makes us keep using 5.11+ kernel once new mesa package is uploaded for Linux kernel 5.11, this would be ok if 5.11 kernel does not make critical issues.

In case if you like to install new kernel 5.11 with new packages, please do follow up the commands below at your own risk.

Code: Select all

$ echo "deb http://ppa.linuxfactory.or.kr groovy testing" | sudo tee -a /etc/apt/sources.list.d/ppa_linuxfactory_or_kr.list
$ sudo apt update
$ sudo apt dist-upgrade
$ sudo sed -i "/testing/d" /etc/apt/sources.list.d/ppa_linuxfactory_or_kr.list
$ sudo reboot
You added odroid-homecloud-display.
sudo apt dist-upgrade ended with error.

Code: Select all

mali-bifrost-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
The result despite the error is: uname -a:

Code: Select all

n2p@odroid:~$ uname -a
Linux odroid 5.11.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.11.0-202102232224~groovy (2021-02-23) aarch64 aarch64 aarch64 GNU/Linux
n2p@odroid:~$ 

Post Reply

Return to “Ubuntu (All Linux'es)”

Who is online

Users browsing this forum: No registered users and 7 guests