Ubuntu 21.04 for ODROID-N2/C4/HC4

Post Reply
wallyz21
Posts: 293
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2, N2+
Has thanked: 15 times
Been thanked: 32 times
Contact:

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

Post by wallyz21 »

Hirsute packages out of sync.

I'm trying to install SDL2 that requires libasound2_1.2.4-1.1ubuntu2_arm64.deb

Which according to Ubuntu Package search is the latest version.

However when I attempt to install libasound2 it tells me that the latest version 1.2.2 is already installed and refuses to update!!!

Code: Select all

apt search libasound2
Sorting... Done
Full Text Search... Done
alsa-topology-conf/hirsute,now 1.2.4-1 all [installed]
  ALSA topology configuration files

gimp/hirsute 2.10.22-3 arm64
  GNU Image Manipulation Program

libasound2/now 5:1.2.2-2.1+202011031242~groovy arm64 [installed,local]
  shared library for ALSA applications

libasound2-data/now 5:1.2.2-2.1+202011031242~groovy arm64 [installed,local]
  Configuration files and profiles for ALSA drivers

libasound2-dev/hirsute 1.2.4-1.1ubuntu2 arm64
  shared library for ALSA applications -- development files

libasound2-doc/hirsute 1.2.4-1.1ubuntu2 all
  documentation for user-space ALSA application programming

libasound2-plugin-equal/hirsute 0.6-8 arm64
  equalizer plugin for ALSA

libasound2-plugin-smixer/hirsute 1.2.4-1.1ubuntu2 arm64
  smixer plugin for ALSA library

libasound2-plugins/hirsute,now 1.2.2-2 arm64 [installed]
  ALSA library additional plugins

libasound2-plugins-extra/hirsute 1.1.0-1ubuntu2 arm64
  ALSA library additional plugins
If I attempt to purge the old version it looks like it will remove quite a lot of packages:

Code: Select all

The following packages will be REMOVED:
  alsa-ucm-conf* alsa-utils* arctica-greeter* ayatana-indicator-sound*
  blueman* brltty* brltty-x11* ca-certificates-java* celluloid* chromium-bsu*
  default-jre* default-jre-headless* dolphin-emu* evolution*
  evolution-data-server* evolution-ews* evolution-plugin-bogofilter*
  evolution-plugin-pstimport* evolution-plugins* evolution-rss*
  extremetuxracer* ffmpeg* ffmpegthumbnailer* gnome-disk-utility*
  gnome-session-canberra* gstreamer1.0-alsa* gstreamer1.0-libav* libalut0*
  libasound2* libasound2-data* libasound2-plugins* libatopology2*
  libavdevice58* libavfilter7* libcanberra-gtk-module* libcanberra-gtk0*
  libcanberra-gtk3-0* libcanberra-gtk3-module* libcanberra-pulse*
  libcanberra0* libespeak-ng1* libevolution* libffmpegthumbnailer4v5*
  libflite1* libmarco-private2* libmatemixer0* libmpv1* libopenal1*
  libpcaudio0* libpipewire-0.3-0* libpipewire-0.3-modules* libportaudio2*
  libsdl2-2.0-0* libsdl2-image-2.0-0* libsfml-audio2.5* libsndio7.0*
  libspa-0.2-modules* marco* mate-control-center*
  mate-desktop-environment-core* mate-media* mate-notification-daemon*
  mate-power-manager* mate-settings-daemon* mate-utils* mpv* odroid-alsa*
  onboard* onboard-data* openjdk-11-jre* openjdk-11-jre-headless* orca*
  pipewire* pipewire-bin* pulseaudio* pulseaudio-module-bluetooth*
  speech-dispatcher* speech-dispatcher-audio-plugins*
  speech-dispatcher-espeak-ng* spice-vdagent* supertuxkart* ubuntu-mate-core*
  ubuntu-mate-desktop* webcamoid* webcamoid-plugins* xdg-desktop-portal*
  xdg-desktop-portal-gtk*
Now what should I do?
Walter Zambotti
N2 - HK 18.04 Ubuntu Mate Desktop
N2+ - 21.04 Ubuntu Mate Desktop (Panfrost)

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

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

Post by tobetter »

wallyz21 wrote:
Thu Jul 15, 2021 1:54 pm
Hirsute packages out of sync.

I'm trying to install SDL2 that requires libasound2_1.2.4-1.1ubuntu2_arm64.deb

Which according to Ubuntu Package search is the latest version.

However when I attempt to install libasound2 it tells me that the latest version 1.2.2 is already installed and refuses to update!!!

Code: Select all

apt search libasound2
Sorting... Done
Full Text Search... Done
alsa-topology-conf/hirsute,now 1.2.4-1 all [installed]
  ALSA topology configuration files

gimp/hirsute 2.10.22-3 arm64
  GNU Image Manipulation Program

libasound2/now 5:1.2.2-2.1+202011031242~groovy arm64 [installed,local]
  shared library for ALSA applications

libasound2-data/now 5:1.2.2-2.1+202011031242~groovy arm64 [installed,local]
  Configuration files and profiles for ALSA drivers

libasound2-dev/hirsute 1.2.4-1.1ubuntu2 arm64
  shared library for ALSA applications -- development files

libasound2-doc/hirsute 1.2.4-1.1ubuntu2 all
  documentation for user-space ALSA application programming

libasound2-plugin-equal/hirsute 0.6-8 arm64
  equalizer plugin for ALSA

libasound2-plugin-smixer/hirsute 1.2.4-1.1ubuntu2 arm64
  smixer plugin for ALSA library

libasound2-plugins/hirsute,now 1.2.2-2 arm64 [installed]
  ALSA library additional plugins

libasound2-plugins-extra/hirsute 1.1.0-1ubuntu2 arm64
  ALSA library additional plugins
If I attempt to purge the old version it looks like it will remove quite a lot of packages:

Code: Select all

The following packages will be REMOVED:
  alsa-ucm-conf* alsa-utils* arctica-greeter* ayatana-indicator-sound*
  blueman* brltty* brltty-x11* ca-certificates-java* celluloid* chromium-bsu*
  default-jre* default-jre-headless* dolphin-emu* evolution*
  evolution-data-server* evolution-ews* evolution-plugin-bogofilter*
  evolution-plugin-pstimport* evolution-plugins* evolution-rss*
  extremetuxracer* ffmpeg* ffmpegthumbnailer* gnome-disk-utility*
  gnome-session-canberra* gstreamer1.0-alsa* gstreamer1.0-libav* libalut0*
  libasound2* libasound2-data* libasound2-plugins* libatopology2*
  libavdevice58* libavfilter7* libcanberra-gtk-module* libcanberra-gtk0*
  libcanberra-gtk3-0* libcanberra-gtk3-module* libcanberra-pulse*
  libcanberra0* libespeak-ng1* libevolution* libffmpegthumbnailer4v5*
  libflite1* libmarco-private2* libmatemixer0* libmpv1* libopenal1*
  libpcaudio0* libpipewire-0.3-0* libpipewire-0.3-modules* libportaudio2*
  libsdl2-2.0-0* libsdl2-image-2.0-0* libsfml-audio2.5* libsndio7.0*
  libspa-0.2-modules* marco* mate-control-center*
  mate-desktop-environment-core* mate-media* mate-notification-daemon*
  mate-power-manager* mate-settings-daemon* mate-utils* mpv* odroid-alsa*
  onboard* onboard-data* openjdk-11-jre* openjdk-11-jre-headless* orca*
  pipewire* pipewire-bin* pulseaudio* pulseaudio-module-bluetooth*
  speech-dispatcher* speech-dispatcher-audio-plugins*
  speech-dispatcher-espeak-ng* spice-vdagent* supertuxkart* ubuntu-mate-core*
  ubuntu-mate-desktop* webcamoid* webcamoid-plugins* xdg-desktop-portal*
  xdg-desktop-portal-gtk*
Now what should I do?
Why don't you use to try sudo apt install --reinstall <package name>?

wallyz21
Posts: 293
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2, N2+
Has thanked: 15 times
Been thanked: 32 times
Contact:

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

Post by wallyz21 »

tobetter wrote:
Thu Jul 15, 2021 2:04 pm
...
Why don't you use to try sudo apt install --reinstall <package name>?
I did but it refuses:

Code: Select all

sudo apt install --reinstall libasound2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Reinstallation of libasound2 is not possible, it cannot be downloaded.
Walter Zambotti
N2 - HK 18.04 Ubuntu Mate Desktop
N2+ - 21.04 Ubuntu Mate Desktop (Panfrost)

wallyz21
Posts: 293
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2, N2+
Has thanked: 15 times
Been thanked: 32 times
Contact:

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

Post by wallyz21 »

I am thinkng because I am using Xorg and certain mesa packages have been held. Those held packages have dependencies on libasound2 and so I can't remove it or upgrade it!!!
Walter Zambotti
N2 - HK 18.04 Ubuntu Mate Desktop
N2+ - 21.04 Ubuntu Mate Desktop (Panfrost)

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

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

Post by tobetter »

wallyz21 wrote:
Thu Jul 15, 2021 2:11 pm
tobetter wrote:
Thu Jul 15, 2021 2:04 pm
...
Why don't you use to try sudo apt install --reinstall <package name>?
I did but it refuses:

Code: Select all

sudo apt install --reinstall libasound2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Reinstallation of libasound2 is not possible, it cannot be downloaded.
That's strange, the package for x86 machines are available while arm64/armhf and others are not. Maybe Canonical is updating the package?
https://packages.ubuntu.com/hirsute/libasound2

wallyz21
Posts: 293
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2, N2+
Has thanked: 15 times
Been thanked: 32 times
Contact:

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

Post by wallyz21 »

Further i think the package is known about. If I do this :

Code: Select all

$ sudo apt-cache policy libasound2
libasound2:
  Installed: 5:1.2.2-2.1+202011031242~groovy
  Candidate: 5:1.2.2-2.1+202011031242~groovy
  Version table:
 *** 5:1.2.2-2.1+202011031242~groovy 100
        100 /var/lib/dpkg/status
     1.2.4-1.1ubuntu2 500
        500 http://au.ports.ubuntu.com/ubuntu-ports hirsute/main arm64 Packages
I can see it find the 1.2.4-1 version and it is there on http://ports.ubuntu.com/pool/main/a/alsa-lib/

Also if I try this :

Code: Select all

sudo apt install --reinstall odroid-alsa
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Reinstallation of odroid-alsa is not possible, it cannot be downloaded.
0 to upgrade, 0 to newly install, 0 to remove and 8 not to upgrade.
I can't re-install odroid-alsa either!!!
Last edited by wallyz21 on Thu Jul 15, 2021 4:17 pm, edited 1 time in total.
Walter Zambotti
N2 - HK 18.04 Ubuntu Mate Desktop
N2+ - 21.04 Ubuntu Mate Desktop (Panfrost)

wallyz21
Posts: 293
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2, N2+
Has thanked: 15 times
Been thanked: 32 times
Contact:

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

Post by wallyz21 »

When I do sudo apt update I only see one linuxfactory entry:

Code: Select all

sudo apt update
Get:1 http://packages.microsoft.com/repos/code stable InRelease [10.4 kB]
Hit:2 http://archive.canonical.com/ubuntu hirsute InRelease                    
Hit:3 http://ports.ubuntu.com/ubuntu-ports hirsute-security InRelease          
Get:4 http://packages.microsoft.com/repos/code stable/main amd64 Packages [36.7 kB]
Get:5 http://packages.microsoft.com/repos/code stable/main arm64 Packages [37.7 kB]
Hit:6 http://au.ports.ubuntu.com/ubuntu-ports hirsute InRelease
Hit:7 http://au.ports.ubuntu.com/ubuntu-ports hirsute-updates InRelease
Get:8 http://au.ports.ubuntu.com/ubuntu-ports hirsute-backports InRelease [101 kB]
Hit:9 http://ppa.linuxfactory.or.kr hirsute InRelease                     
Fetched 186 kB in 3s (66.7 kB/s)                                          
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
8 packages can be upgraded. Run 'apt list --upgradable' to see them.
Here is the contents of /etc/apt/sources.list.d/ppa_linuxfactory_or_kr.list

Code: Select all

deb http://ppa.linuxfactory.or.kr hirsute main
deb http://ppa.linuxfactory.or.kr hirsute non-free
deb http://ppa.linuxfactory.or.kr hirsute contrib
Walter Zambotti
N2 - HK 18.04 Ubuntu Mate Desktop
N2+ - 21.04 Ubuntu Mate Desktop (Panfrost)

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

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

Post by tobetter »

wallyz21 wrote:
Thu Jul 15, 2021 3:46 pm

Code: Select all

$ sudo apt-cache policy libasound2
libasound2:
  Installed: 5:1.2.2-2.1+202011031242~groovy
  Candidate: 5:1.2.2-2.1+202011031242~groovy
[/quote]
Sorry, this makes me understand what's the issue. I didn't realize you still have the packages from 20.10. I want you to try this command if it installs the proper package. You may need to download a couple of packages more if it has another package dependency.
[code]
wget http://ports.ubuntu.com/pool/main/a/alsa-lib/libasound2_1.2.4-1.1ubuntu2_arm64.deb
sudo dpkg -i libasound2_1.2.4-1.1ubuntu2_arm64.deb
Also please provide the package list with this command if you still found a package from Ubuntu 20.10

Code: Select all

dpkg -l | grep groovy

wallyz21
Posts: 293
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2, N2+
Has thanked: 15 times
Been thanked: 32 times
Contact:

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

Post by wallyz21 »

tobetter wrote:
Thu Jul 15, 2021 4:43 pm
wallyz21 wrote:
Thu Jul 15, 2021 3:46 pm

Code: Select all

$ sudo apt-cache policy libasound2
libasound2:
  Installed: 5:1.2.2-2.1+202011031242~groovy
  Candidate: 5:1.2.2-2.1+202011031242~groovy
[/quote]
Sorry, this makes me understand what's the issue. I didn't realize you still have the packages from 20.10. I want you to try this command if it installs the proper package. You may need to download a couple of packages more if it has another package dependency.
[code]
wget http://ports.ubuntu.com/pool/main/a/alsa-lib/libasound2_1.2.4-1.1ubuntu2_arm64.deb
sudo dpkg -i libasound2_1.2.4-1.1ubuntu2_arm64.deb
Also please provide the package list with this command if you still found a package from Ubuntu 20.10

Code: Select all

dpkg -l | grep groovy
I managed to get it to install in the end. Sorry I managed to fix the issue before trying your commands.

The issue seemed to be that there were 3 dozen other packages dependent on that particular version of libasound2 1.2.2. So apt didn't want to do that automatically so I manually purged it, it was necessary to accept removing a lot of packages (that I recorded). I accepted the removal of all the packages and was then able to add the correct version 1.2.4 and then re-installed of the removed packages. I can install SDL2 now !!!
These users thanked the author wallyz21 for the post:
tobetter (Thu Jul 15, 2021 10:10 pm)
Walter Zambotti
N2 - HK 18.04 Ubuntu Mate Desktop
N2+ - 21.04 Ubuntu Mate Desktop (Panfrost)

User avatar
joerg
Posts: 1379
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4
Location: Germany
Has thanked: 92 times
Been thanked: 214 times
Contact:

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

Post by joerg »

I wonder how I can get the Wifi adapter 5A (rtl8812au) running? I can't find a kernel module for it. If I put it to the usb port, nothing happens.
Alternatively I try an Edimax EW7811U V2 (rtl8192cu), but when I load the kernel module rtl8192cu no interface is coming up.

Code: Select all

usbcore: registered new interface driver rtl8192cu

$ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.101  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::21e:6ff:fe42:5062  prefixlen 64  scopeid 0x20<link>
        ether 00:1e:06:42:50:62  txqueuelen 1000  (Ethernet)
        RX packets 3715  bytes 2397786 (2.3 MB)
        RX errors 0  dropped 1426  overruns 0  frame 0
        TX packets 1361  bytes 236589 (236.5 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 14  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Lokale Schleife)
        RX packets 191  bytes 16801 (16.8 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 191  bytes 16801 (16.8 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

$ lsmod
rtl8192cu              73728  0
rtl_usb                24576  1 rtl8192cu
rtl8192c_common        53248  1 rtl8192cu
rtlwifi                94208  3 rtl8192c_common,rtl_usb,rtl8192cu
mac80211              557056  3 rtl_usb,rtl8192cu,rtlwifi
cfg80211              397312  2 rtlwifi,mac80211
rfkill                 36864  4 cfg80211


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

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

Post by tobetter »

joerg wrote:
Fri Jul 16, 2021 12:39 am
I wonder how I can get the Wifi adapter 5A (rtl8812au) running? I can't find a kernel module for it. If I put it to the usb port, nothing happens.
Alternatively I try an Edimax EW7811U V2 (rtl8192cu), but when I load the kernel module rtl8192cu no interface is coming up.

Code: Select all

usbcore: registered new interface driver rtl8192cu

$ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.101  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::21e:6ff:fe42:5062  prefixlen 64  scopeid 0x20<link>
        ether 00:1e:06:42:50:62  txqueuelen 1000  (Ethernet)
        RX packets 3715  bytes 2397786 (2.3 MB)
        RX errors 0  dropped 1426  overruns 0  frame 0
        TX packets 1361  bytes 236589 (236.5 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 14  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Lokale Schleife)
        RX packets 191  bytes 16801 (16.8 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 191  bytes 16801 (16.8 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

$ lsmod
rtl8192cu              73728  0
rtl_usb                24576  1 rtl8192cu
rtl8192c_common        53248  1 rtl8192cu
rtlwifi                94208  3 rtl8192c_common,rtl_usb,rtl8192cu
mac80211              557056  3 rtl_usb,rtl8192cu,rtlwifi
cfg80211              397312  2 rtlwifi,mac80211
rfkill                 36864  4 cfg80211

Hello @joerg,
It's very glad to see you in non Android thread. :)

Can you try to run this command and replug the module?

Code: Select all

sudo apt update
sudo apt install linux-firmware
These users thanked the author tobetter for the post:
joerg (Fri Jul 16, 2021 1:32 am)

User avatar
joerg
Posts: 1379
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4
Location: Germany
Has thanked: 92 times
Been thanked: 214 times
Contact:

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

Post by joerg »

Thank you, @tobetter. But after installing I have the same. No wlan interface.

BTW, meanwhile I was testing Gimp and Krita, because this installation on N2+ should be for my daughter with her graphic tablet. But neither Gimp nor Krita is running. Krita is crashing and Gimp doesn't show text in the menus.
So I think I can't use Ubuntu with Wayland for this project.

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

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

Post by istanbulls »

Krita was working fine in 20.10, it crashes on me too on 21.04.
For the solution of reading the articles, "sudo apt install gnome" and start the ubuntu desktop with the GNOME option when you start again.
It works for me.
These users thanked the author istanbulls for the post (total 2):
joerg (Fri Jul 16, 2021 1:32 am) • tobetter (Fri Jul 16, 2021 1:35 am)

User avatar
joerg
Posts: 1379
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4
Location: Germany
Has thanked: 92 times
Been thanked: 214 times
Contact:

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

Post by joerg »

Thank you @istanbulls, I will try it.

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

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

Post by istanbulls »

Example for Gimp
Attachments
Ekran Görüntüsü - 2021-07-15 19-34-40.png
Ekran Görüntüsü - 2021-07-15 19-34-40.png (846.15 KiB) Viewed 1908 times

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

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

Post by tobetter »

Thank you @istanbulls, I am becoming more familiar to your table. :)

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

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

Post by mctom »

joerg wrote:
Fri Jul 16, 2021 1:17 am
Krita is crashing and Gimp doesn't show text in the menus.
Try my Wayland tips, there's a section covering compatibility settings that tend to work ;) I use Gimp from time to time on Sway (Wayland DE) and doesn't seem to have any problems.
These users thanked the author mctom for the post:
tobetter (Fri Jul 16, 2021 1:43 am)
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

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

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

Post by tobetter »

mctom wrote:
Fri Jul 16, 2021 1:43 am
joerg wrote:
Fri Jul 16, 2021 1:17 am
Krita is crashing and Gimp doesn't show text in the menus.
Try my Wayland tips, there's a section covering compatibility settings that tend to work ;) I use Gimp from time to time on Sway (Wayland DE) and doesn't seem to have any problems.
You are trying to convince me build and package Sway.

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

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

Post by mctom »

Nah, I already built it myself and I honestly don't think anyone would try it besides us. :D
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

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

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

Post by istanbulls »

I like to use Yaru session, I think I have less erroneous desktop experience.
If you want to try.

Code: Select all

sudo apt install git meson sassc libglib2.0-dev libxml2-utils
git clone https://github.com/ubuntu/yaru
cd yaru
meson build
sudo ninja -C build install
sudo reboot
Attachments
20210715_194941.jpg
20210715_194941.jpg (541.3 KiB) Viewed 1904 times

User avatar
joerg
Posts: 1379
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4
Location: Germany
Has thanked: 92 times
Been thanked: 214 times
Contact:

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

Post by joerg »

I had this button to select the session only one time. Now I always log into the one I selected before.
BTW. On Gnome the texts are back in Gimp. But Krita crashes also on Gnome X11. Always when I create a new sheet.

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

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

Post by tobetter »

joerg wrote:
Fri Jul 16, 2021 2:30 am
I had this button to select the session only one time. Now I always log into the one I selected before.
BTW. On Gnome the texts are back in Gimp. But Krita crashes also on Gnome X11. Always when I create a new sheet.
Did you install Ubuntu 21.04 using the Netboot Installer or flashed an image?
Are you running with ODROID-N2 or N2Plus, what's the memory (RAM) capacity and storage (eMMC/USB)?

FYI, I found an issue with Wifi driver on 5.13 kernel and fixing the issue. So...please let me have a bit more time complete it.
Thank you.

EDIT: New wifi driver for Hardkernel's Wifi 5B is uploaded, please do update with this commands.

Code: Select all

sudo apt update
sudo apt install rtl8821au-dkms linux-firmware
sudo reboot

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

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

Post by tobetter »

20210716 New Panfrost driver is uploaded,

Appreciately, recent Mesa driver, specifically Panfrost for our dream, becomes faster a lot, even some glitches are discovered it looks more supportived and stable.

In order to have an experience of update Panfrost, please do run these commands,

Code: Select all

sudo apt update
sudo apt upgrade
And checked version if the packages are properly installed, the list of packages would be different what you have installed earlier. It's good idea to reboot after installing.

Code: Select all

$ dpkg -l | grep mesa
ii  libegl-mesa0:arm64                         5:21.2.0-devel+202107140127~hirsute                                  arm64        free implementation of the EGL API -- Mesa vendor library
ii  libegl1-mesa:arm64                         5:21.2.0-devel+202107140127~hirsute                                  arm64        transitional dummy package
ii  libegl1-mesa-dev:arm64                     5:21.2.0-devel+202107140127~hirsute                                  arm64        free implementation of the EGL API -- development files
ii  libgl1-mesa-dev:arm64                      5:21.2.0-devel+202107140127~hirsute                                  arm64        transitional dummy package
ii  libgl1-mesa-dri:arm64                      5:21.2.0-devel+202107140127~hirsute                                  arm64        free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-glx:arm64                      5:21.2.0-devel+202107140127~hirsute                                  arm64        transitional dummy package
ii  libglapi-mesa:arm64                        5:21.2.0-devel+202107140127~hirsute                                  arm64        free implementation of the GL API -- shared library
In case if you like to back to previous version since you are feel the previous version is better, downlaod the script and replace version with the version in the line 3 legacy="21.1.0-devel+202104231552" which you like to be back.

Code: Select all

$ wget http://ppa.linuxfactory.or.kr/band-aid/install-mesa-packages.sh
$ sh install-mesa-packages.sh
Currently, available version you can revert are:
[1] "21.1.0-devel+202104231552" - legacy version which does not have glitch issue on X11 session.
[2] "21.2.0-devel+202105101817" - very last version just before which you must be running with this so far.

So have fun with new GPU drivers, appreciate to Mesa/Panfrost team for hard work. :)
These users thanked the author tobetter for the post:
istanbulls (Fri Jul 16, 2021 5:21 am)

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

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

Post by istanbulls »

Is everything okay for me?

Code: Select all

n2p@odroid:~$ dpkg -l | grep mesa
ii  libd3dadapter9-mesa:arm64                     5:21.2.0-devel+202107140127~hirsute                                  arm64        state-tracker for Direct3D9
ii  libd3dadapter9-mesa-dev:arm64                 5:21.2.0-devel+202107140127~hirsute                                  arm64        state-tracker for Direct3D9 -- development files
ii  libegl-mesa0:arm64                            5:21.2.0-devel+202107140127~hirsute                                  arm64        free implementation of the EGL API -- Mesa vendor library
ii  libegl1-mesa:arm64                            5:21.2.0-devel+202107140127~hirsute                                  arm64        transitional dummy package
ii  libegl1-mesa-dev:arm64                        5:21.2.0-devel+202107140127~hirsute                                  arm64        free implementation of the EGL API -- development files
ii  libgl1-mesa-dev:arm64                         5:21.2.0-devel+202107140127~hirsute                                  arm64        transitional dummy package
ii  libgl1-mesa-dri:arm64                         5:21.2.0-devel+202107140127~hirsute                                  arm64        free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-glx:arm64                         5:21.2.0-devel+202107140127~hirsute                                  arm64        transitional dummy package
ii  libglapi-mesa:arm64                           5:21.2.0-devel+202107140127~hirsute                                  arm64        free implementation of the GL API -- shared library
ii  libgles2-mesa:arm64                           5:21.2.0-devel+202107140127~hirsute                                  arm64        transitional dummy package
ii  libgles2-mesa-dev:arm64                       5:21.2.0-devel+202107140127~hirsute                                  arm64        transitional dummy package
ii  libglu1-mesa:arm64                            9.0.1-1build1                                                        arm64        Mesa OpenGL utility library (GLU)
ii  libglx-mesa0:arm64                            5:21.2.0-devel+202107140127~hirsute                                  arm64        free implementation of the OpenGL API -- GLX vendor library
ii  libosmesa6:arm64                              5:21.2.0-devel+202107140127~hirsute                                  arm64        Mesa Off-screen rendering extension
ii  libosmesa6-dev:arm64                          5:21.2.0-devel+202107140127~hirsute                                  arm64        Mesa Off-screen rendering extension -- development files
ii  libwayland-egl1-mesa:arm64                    5:21.2.0-devel+202107140127~hirsute                                  arm64        transitional dummy package
ii  mesa-common-dev:arm64                         5:21.2.0-devel+202107140127~hirsute                                  arm64        Developer documentation for Mesa
ii  mesa-opencl-icd:arm64                         5:21.2.0-devel+202107140127~hirsute                                  arm64        free implementation of the OpenCL API -- ICD runtime
ii  mesa-utils                                    8.4.0-1build1                                                        arm64        Miscellaneous Mesa GL utilities
ii  mesa-va-drivers:arm64                         5:21.2.0-devel+202107140127~hirsute                                  arm64        Mesa VA-API video acceleration drivers
ii  mesa-vdpau-drivers:arm64                      5:21.2.0-devel+202107140127~hirsute                                  arm64        Mesa VDPAU video acceleration drivers
ii  mesa-vulkan-drivers:arm64                     5:21.2.0-devel+202107140127~hirsute                                  arm64        Mesa Vulkan graphics drivers
n2p@odroid:~$ 

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

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

Post by tobetter »

istanbulls wrote:
Fri Jul 16, 2021 5:55 am
Is everything okay for me?

Code: Select all

n2p@odroid:~$ dpkg -l | grep mesa
ii  libd3dadapter9-mesa:arm64                     5:21.2.0-devel+202107140127~hirsute                                  arm64        state-tracker for Direct3D9
ii  libd3dadapter9-mesa-dev:arm64                 5:21.2.0-devel+202107140127~hirsute                                  arm64        state-tracker for Direct3D9 -- development files
ii  libegl-mesa0:arm64                            5:21.2.0-devel+202107140127~hirsute                                  arm64        free implementation of the EGL API -- Mesa vendor library
ii  libegl1-mesa:arm64                            5:21.2.0-devel+202107140127~hirsute                                  arm64        transitional dummy package
ii  libegl1-mesa-dev:arm64                        5:21.2.0-devel+202107140127~hirsute                                  arm64        free implementation of the EGL API -- development files
ii  libgl1-mesa-dev:arm64                         5:21.2.0-devel+202107140127~hirsute                                  arm64        transitional dummy package
ii  libgl1-mesa-dri:arm64                         5:21.2.0-devel+202107140127~hirsute                                  arm64        free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-glx:arm64                         5:21.2.0-devel+202107140127~hirsute                                  arm64        transitional dummy package
ii  libglapi-mesa:arm64                           5:21.2.0-devel+202107140127~hirsute                                  arm64        free implementation of the GL API -- shared library
ii  libgles2-mesa:arm64                           5:21.2.0-devel+202107140127~hirsute                                  arm64        transitional dummy package
ii  libgles2-mesa-dev:arm64                       5:21.2.0-devel+202107140127~hirsute                                  arm64        transitional dummy package
ii  libglu1-mesa:arm64                            9.0.1-1build1                                                        arm64        Mesa OpenGL utility library (GLU)
ii  libglx-mesa0:arm64                            5:21.2.0-devel+202107140127~hirsute                                  arm64        free implementation of the OpenGL API -- GLX vendor library
ii  libosmesa6:arm64                              5:21.2.0-devel+202107140127~hirsute                                  arm64        Mesa Off-screen rendering extension
ii  libosmesa6-dev:arm64                          5:21.2.0-devel+202107140127~hirsute                                  arm64        Mesa Off-screen rendering extension -- development files
ii  libwayland-egl1-mesa:arm64                    5:21.2.0-devel+202107140127~hirsute                                  arm64        transitional dummy package
ii  mesa-common-dev:arm64                         5:21.2.0-devel+202107140127~hirsute                                  arm64        Developer documentation for Mesa
ii  mesa-opencl-icd:arm64                         5:21.2.0-devel+202107140127~hirsute                                  arm64        free implementation of the OpenCL API -- ICD runtime
ii  mesa-utils                                    8.4.0-1build1                                                        arm64        Miscellaneous Mesa GL utilities
ii  mesa-va-drivers:arm64                         5:21.2.0-devel+202107140127~hirsute                                  arm64        Mesa VA-API video acceleration drivers
ii  mesa-vdpau-drivers:arm64                      5:21.2.0-devel+202107140127~hirsute                                  arm64        Mesa VDPAU video acceleration drivers
ii  mesa-vulkan-drivers:arm64                     5:21.2.0-devel+202107140127~hirsute                                  arm64        Mesa Vulkan graphics drivers
n2p@odroid:~$ 
Oh, sorry...yours is just fine. Mine were secret version. :)

Let me take yours and copy to my post. THANK YOU!!

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

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

Post by istanbulls »

I want the hidden version too. :D

Thank you from us, to you and the entire Mesa-Panforst team. <3

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

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

Post by istanbulls »

New score to new update :)

Code: Select all

n2p@odroid:~$ glmark2-es2-wayland
=======================================================
    glmark2 2021.02
=======================================================
    OpenGL Information
    GL_VENDOR:     Panfrost
    GL_RENDERER:   Mali G52 (Panfrost)
    GL_VERSION:    OpenGL ES 3.1 Mesa 21.2.0-devel (git-d29c086fb9)
=======================================================
[build] use-vbo=false: FPS: 940 FrameTime: 1.064 ms
[build] use-vbo=true: FPS: 1867 FrameTime: 0.536 ms
[texture] texture-filter=nearest: FPS: 2009 FrameTime: 0.498 ms
[texture] texture-filter=linear: FPS: 1952 FrameTime: 0.512 ms
[texture] texture-filter=mipmap: FPS: 2225 FrameTime: 0.449 ms
[shading] shading=gouraud: FPS: 1204 FrameTime: 0.831 ms
[shading] shading=blinn-phong-inf: FPS: 1227 FrameTime: 0.815 ms
[shading] shading=phong: FPS: 983 FrameTime: 1.017 ms
[shading] shading=cel: FPS: 983 FrameTime: 1.017 ms
[bump] bump-render=high-poly: FPS: 487 FrameTime: 2.053 ms
[bump] bump-render=normals: FPS: 3098 FrameTime: 0.323 ms
[bump] bump-render=height: FPS: 2239 FrameTime: 0.447 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 1192 FrameTime: 0.839 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 414 FrameTime: 2.415 ms
[pulsar] light=false:quads=5:texture=false: FPS: 2665 FrameTime: 0.375 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 347 FrameTime: 2.882 ms
[desktop] effect=shadow:windows=4: FPS: 960 FrameTime: 1.042 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 287 FrameTime: 3.484 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 96 FrameTime: 10.417 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 344 FrameTime: 2.907 ms
[ideas] speed=duration: FPS: 516 FrameTime: 1.938 ms
[jellyfish] <default>: FPS: 987 FrameTime: 1.013 ms
[terrain] <default>: FPS: 41 FrameTime: 24.390 ms
[shadow] <default>: FPS: 240 FrameTime: 4.167 ms
[refract] <default>: FPS: 76 FrameTime: 13.158 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 2184 FrameTime: 0.458 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 2143 FrameTime: 0.467 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 2116 FrameTime: 0.473 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 2145 FrameTime: 0.466 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 1876 FrameTime: 0.533 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 2112 FrameTime: 0.473 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 2114 FrameTime: 0.473 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 1950 FrameTime: 0.513 ms
=======================================================
                                  glmark2 Score: 1333 
=======================================================

wallyz21
Posts: 293
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2, N2+
Has thanked: 15 times
Been thanked: 32 times
Contact:

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

Post by wallyz21 »

tobetter wrote:
Fri Jul 16, 2021 3:30 am
20210716 New Panfrost driver is uploaded,

Appreciately, recent Mesa driver, specifically Panfrost for our dream, becomes faster a lot, even some glitches are discovered it looks more supportived and stable.

In order to have an experience of update Panfrost, please do run these commands,

Code: Select all

sudo apt update
sudo apt upgrade
And checked version if the packages are properly installed, the list of packages would be different what you have installed earlier. It's good idea to reboot after installing.

Code: Select all

...
In case if you like to back to previous version since you are feel the previous version is better, downlaod the script and replace version with the version in the line 3 legacy="21.1.0-devel+202104231552" which you like to be back.

Code: Select all

$ wget http://ppa.linuxfactory.or.kr/band-aid/install-mesa-packages.sh
$ sh install-mesa-packages.sh
Currently, available version you can revert are:
[1] "21.1.0-devel+202104231552" - legacy version which does not have glitch issue on X11 session.
[2] "21.2.0-devel+202105101817" - very last version just before which you must be running with this so far.

So have fun with new GPU drivers, appreciate to Mesa/Panfrost team for hard work. :)
@tobetter Will this new panfrost work with users who are already holding certain mesa packages because of xorg incompatibilities?
Walter Zambotti
N2 - HK 18.04 Ubuntu Mate Desktop
N2+ - 21.04 Ubuntu Mate Desktop (Panfrost)

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

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

Post by tobetter »

wallyz21 wrote:
Fri Jul 16, 2021 1:50 pm
@tobetter Will this new panfrost work with users who are already holding certain mesa packages because of xorg incompatibilities?
Unfortunately, I've observed the same xorg incompatible issue persist with new version when if you log in to X11 session instead of Wayland. If you like to keep using X11, since you runs Mate if I remember correctly, I believe this version would not offer you a big gain for performance. The performance figures what I measured in X11 session was always not high compare to Wayland.

wallyz21
Posts: 293
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2, N2+
Has thanked: 15 times
Been thanked: 32 times
Contact:

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

Post by wallyz21 »

Well I just tried the new panfrost drivers and I am using MATE with xorg and everything works flawlessly. My mouse glitching has also improved (stopped). My glmark2 scores are all way up!!! I don't seem to be having any incompatibility issues. Cross my fingers, good luck!!! And Super Tux Cart is working flawlessly now!!!
Last edited by wallyz21 on Fri Jul 16, 2021 2:35 pm, edited 1 time in total.
Walter Zambotti
N2 - HK 18.04 Ubuntu Mate Desktop
N2+ - 21.04 Ubuntu Mate Desktop (Panfrost)

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

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

Post by tobetter »

wallyz21 wrote:
Fri Jul 16, 2021 2:18 pm
Well I just tried the new panfrost drivers and I am using MATE with xorg and everything works flawlessly. My mouse glitching has also improved (stopped). My glmark2 scores are all way up!!! I don't seem to be having any incompatibility issues. Cross my fingers, good luck!!!
OH...really? Then maybe the incompatible issue happens with Gnome? Since I am not able test every single desktop, I have not aware of it. But it's very happy hear Mate works flawlessly on your end. Would you mind to share the package list in your system? You can captuer the package list with dpkg -l > packages.list which is huge file, I think. I would be more appreciated if you share the list here in attachment.

wallyz21
Posts: 293
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2, N2+
Has thanked: 15 times
Been thanked: 32 times
Contact:

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

Post by wallyz21 »

Package list for Ubuntu 21.04 MATE desktop (as requested). See attached.
Attachments
packages.list.txt
(415.34 KiB) Downloaded 13 times
These users thanked the author wallyz21 for the post:
tobetter (Fri Jul 16, 2021 2:52 pm)
Walter Zambotti
N2 - HK 18.04 Ubuntu Mate Desktop
N2+ - 21.04 Ubuntu Mate Desktop (Panfrost)

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

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

Post by tobetter »

wallyz21 wrote:
Fri Jul 16, 2021 2:47 pm
Package list for Ubuntu 21.04 MATE desktop (as requested). See attached.
Thank you, let me go for Mate installation some time soon and will check the Panfrost and compare with your package list. :)

wallyz21
Posts: 293
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2, N2+
Has thanked: 15 times
Been thanked: 32 times
Contact:

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

Post by wallyz21 »

@tobetter I can't describe how well this is working. I'm really excited!!! And this is just my N2 I haven't upgraded my N2+ yet. Thanks a million! :D :o :lol:
Walter Zambotti
N2 - HK 18.04 Ubuntu Mate Desktop
N2+ - 21.04 Ubuntu Mate Desktop (Panfrost)

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

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

Post by tobetter »

wallyz21 wrote:
Fri Jul 16, 2021 2:58 pm
@tobetter I can't describe how well this is working. I'm really excited!!! And this is just my N2 I haven't upgraded my N2+ yet. Thanks a million! :D :o :lol:
I like this " :D :o :lol:", but the appreciation should be addressed to Mesa/Panfrost team. Please leave a message to them if you found a best place and share how is your experience with ODROID-N2. Thanks! :)

wallyz21
Posts: 293
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2, N2+
Has thanked: 15 times
Been thanked: 32 times
Contact:

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

Post by wallyz21 »

The only place I found where I could leave a comment was via the Collabora blog on a direct article :

https://www.collabora.com/news-and-blog ... -panfrost/

There is comment section at the bottom of the article.

Let me know if you find anything different.
Walter Zambotti
N2 - HK 18.04 Ubuntu Mate Desktop
N2+ - 21.04 Ubuntu Mate Desktop (Panfrost)

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

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

Post by tobetter »

wallyz21 wrote:
Fri Jul 16, 2021 4:17 pm
The only place I found where I could leave a comment was via the Collabora blog on a direct article :

https://www.collabora.com/news-and-blog ... -panfrost/

There is comment section at the bottom of the article.

Let me know if you find anything different.
I think that's the best place to appreciate, it would be nice if more people here go to the blog, appreciate the Panfrost development and share the experience. I am a bit sort of shy guy, so not easy to leave a message than ODROID forum. :)

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

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

Post by mctom »

tobetter wrote:
Fri Jul 16, 2021 4:24 pm
I am a bit sort of shy guy, so not easy to leave a message than ODROID forum. :)
I used to deal with social anxiety a few years ago, attended therapy and took medicine from a psychiatrist for that ;) Funnily enough, I discovered that people who are shy tend to know good manners the best.
Indeed open source developers deserve much more gratitude than they get. Perhaps this is why open source developers are often weird in that way or another, a healthy human being wouldn't stand community work with nobody ever saying anything nice about it ;)
So I allowed to say thank you in the name of the whole Odroid community. ;) The comment awaits moderation.

Anyway, thanks to you @tobetter, I'll check out the new driver build next week. Today I begin my little journey to the mountains, and N2+ stays screwed to my desk :D I'll compare supertuxkart framerates, if you say the difference is so promising, and report any issues with Sway :D
These users thanked the author mctom for the post:
tobetter (Fri Jul 16, 2021 5:02 pm)
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

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

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

Post by istanbulls »

tobetter wrote:
Fri Jul 16, 2021 2:34 pm
wallyz21 wrote:
Fri Jul 16, 2021 2:18 pm
Well I just tried the new panfrost drivers and I am using MATE with xorg and everything works flawlessly. My mouse glitching has also improved (stopped). My glmark2 scores are all way up!!! I don't seem to be having any incompatibility issues. Cross my fingers, good luck!!!
OH...really? Then maybe the incompatible issue happens with Gnome? Since I am not able test every single desktop, I have not aware of it. But it's very happy hear Mate works flawlessly on your end. Would you mind to share the package list in your system? You can captuer the package list with dpkg -l > packages.list which is huge file, I think. I would be more appreciated if you share the list here in attachment.
I've been using GNOME with xorg for a very long time, maybe since 20.10 I've been using it with xorg. Xorg has lower test scores ok, but I couldn't see any difference in video performance between Waylan and xorg.
The desktop experience is much better and smoother.

"with sudo apt install gnome and with yaru-session"
Attachments
20210715_194941.jpg
20210715_194941.jpg (541.3 KiB) Viewed 1829 times

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

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

Post by tobetter »

istanbulls wrote:
Fri Jul 16, 2021 5:05 pm
The desktop experience is much better and smoother.
Which session is better between X11 and Wayland?

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

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

Post by istanbulls »

tobetter wrote:
Fri Jul 16, 2021 5:35 pm
istanbulls wrote:
Fri Jul 16, 2021 5:05 pm
The desktop experience is much better and smoother.
Which session is better between X11 and Wayland?
X11

edit:
For example, when I make Youtube full screen, the cursor disappears in Wayland, and the cursor appears in X11.
I can resize the video screen while watching video in MPV with X11, but not in Wayland.
Many programs that I can't think of right now work more smoothly with X11.
My preference is X11 even though Wayland test score is higher.

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

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

Post by tobetter »

istanbulls wrote:
Fri Jul 16, 2021 6:22 pm
tobetter wrote:
Fri Jul 16, 2021 5:35 pm
istanbulls wrote:
Fri Jul 16, 2021 5:05 pm
The desktop experience is much better and smoother.
Which session is better between X11 and Wayland?
X11
Really? Then...it might be I am always testing Gnome desktop... I would try...since @wallyz21 also had good experience of Mate. I will have busy weekend... :)

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

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

Post by istanbulls »

tobetter wrote:
Fri Jul 16, 2021 6:27 pm
istanbulls wrote:
Fri Jul 16, 2021 6:22 pm
tobetter wrote:
Fri Jul 16, 2021 5:35 pm
istanbulls wrote:
Fri Jul 16, 2021 5:05 pm
The desktop experience is much better and smoother.
Which session is better between X11 and Wayland?
X11
Really? Then...it might be I am always testing Gnome desktop... I would try...since @wallyz21 also had good experience of Mate. I will have busy weekend... :)
I've been a very loyal user of Gnome for a year now. X11 has been my first choice for a long time.
I use Wayland for testing only.
I couldn't feel the difference between your Chromium acceleration tutorial and the Chromium acceleration I did, X11 and Wayland.

The only thing we're missing is accelerated Kodi and Netflix like this one viewtopic.php?p=326675#p326675

amirul
Posts: 99
Joined: Wed Dec 30, 2020 6:03 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 14 times
Been thanked: 12 times
Contact:

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

Post by amirul »

After latest mesa updates
$ glmark2-es2-wayland
...
=======================================================
glmark2 Score: 1249
=======================================================
:D

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

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

Post by hanguofu »

istanbulls wrote:
Fri Jul 16, 2021 6:22 pm
tobetter wrote:
Fri Jul 16, 2021 5:35 pm
istanbulls wrote:
Fri Jul 16, 2021 5:05 pm
The desktop experience is much better and smoother.
Which session is better between X11 and Wayland?
X11

edit:
For example, when I make Youtube full screen, the cursor disappears in Wayland, and the cursor appears in X11.
I can resize the video screen while watching video in MPV with X11, but not in Wayland.
Many programs that I can't think of right now work more smoothly with X11.
My preference is X11 even though Wayland test score is higher.

Hi , istanbulls : Did you mean "Ubuntu on Xorg" ? I would like to try X11 too , but I only had two choices at the login sessions : one is "Ubuntu" , the other is "Ubuntu on Xorg" .

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

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

Post by istanbulls »

hanguofu wrote:
Mon Jul 19, 2021 6:04 pm

Hi , istanbulls : Did you mean "Ubuntu on Xorg" ? I would like to try X11 too , but I only had two choices at the login sessions : one is "Ubuntu" , the other is "Ubuntu on Xorg" .
Not exactly, but yes.
In my experience you should install "sudo apt install gnome" to use X11 efficiently.

Also Yaru-session, I think I have a smoother desktop experience with both Waylan and X11.
Yaru-session

Code: Select all

sudo apt install git meson sassc libglib2.0-dev libxml2-utils
git clone https://github.com/ubuntu/yaru
cd yaru
meson build
sudo ninja -C build install
sudo reboot

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

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

Post by mctom »

mctom wrote:
Fri Jul 16, 2021 4:49 pm
I'll compare supertuxkart framerates, if you say the difference is so promising, and report any issues with Sway :D
Hm, I compared two same scenarios before and after an update, and indeed frame rate has risen from 14 fps minimum to 19.
Still have to play on lowest details, as 2K is too much for this game. ;)

No problems with Sway so far!
These users thanked the author mctom for the post:
odroid (Mon Jul 26, 2021 9:24 am)
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

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

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

Post by mctom »

I repeated the experiment on Weston and got the same result (19 fps minimum).
I'd gladly reduce the resolution from 2K to anything smaller, but supertuxkart won't let me do it. Will always revert to 2K on its own. :(
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

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

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

Post by tobetter »

mctom wrote:
Mon Jul 26, 2021 7:51 pm
I repeated the experiment on Weston and got the same result (19 fps minimum).
I'd gladly reduce the resolution from 2K to anything smaller, but supertuxkart won't let me do it. Will always revert to 2K on its own. :(
Have you run supertuxkart with -w option for windows mode?
Can you check if ~/.config/supertuxkart/config.xml if fullscreen is true?

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

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

Post by mctom »

I run it in full screen mode, 2560x1440 or something like that. Playing in a small window is out of question and I'm pretty convinced it would work much better in terms of frame rate.
I'd like to have it stretched to full screen, but rendered with halved resolution, like 1280x720. I think my monitor should support such mode.
Perhaps it cannot run in full screen mode in other resolution than desktop resolution. In that case, running Weston on custom resolution would be a partial solution for me.
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

Post Reply

Return to “Ubuntu (All Linux'es)”

Who is online

Users browsing this forum: No registered users and 0 guests