Ubuntu 21.04 for ODROID-N2/C4/HC4

Post Reply
amirul
Posts: 101
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 »

I like iridium browser. Claims to be chromium without the deep links to google.

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

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

Post by mctom »

I care more about stable releases and large community support than using some specific engine, especially when Google waves their staff at the open source community, threatening to block support to chomium based browsers without their spyware.
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 »

Like Chromium butter. So are 1080p videos, flawless.

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

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

Post by tobetter »

I'm wondering if anyone here is running 5.12 kernel and how it is stable for you. :?:

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

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

Post by mctom »

tobetter wrote:
Tue May 25, 2021 1:34 pm
I'm wondering if anyone here is running 5.12 kernel and how it is stable for you. :?:
Well, the three of us in this thread surely gave it a spin. Frankly I forgot I updated the kernel, I can't see any difference at all. Nevertheless, it behaves well.

EDIT: I did notice that GUI freezes for a few seconds from time to time, and I get this in dmesg:

Code: Select all

[51859.283081] axg-tdm-iface audio-controller-1: ASoC: error at snd_soc_component_set_bias_level on audio-controller-1: -5
[51859.283098] axg-tdm-iface audio-controller-1: ASoC: Failed to prepare bias: -5
It did behave the same on the previous kernel, but I can't recall seeing these lines in dmesg.
I think the freezes occur when something wants to gain access to pulseaudio, while starting a youtube video in the browser, or sometimes when starting a video in mpv.
For the record, I use HDMI port or remote pulseaudio servers to handle audio, not the audio jack on N2+. I'm not sure whether it even works now.
Last edited by mctom on Tue May 25, 2021 4:16 pm, edited 1 time in total.
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

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

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

Post by mctom »

amirul wrote:
Mon May 24, 2021 12:22 pm
Spoke too soon. Happened again in youtube theater mode. Go figure.
Yesterday that happened to me as well.
I left the video in normal mode, since I was listening to it rather than watching (I was busy brushing a cat on my lap!)
Then I noticed the sound stuttered, and the visual portion of the video must have been the same for last minute or so.
A RAM gauge on waybar showed 98%, which was strange, because adding up all programs seen in htop, you'd never get to 98% total.
It must be some sort of bug because it kept leaking endlessly, flooding all memory that has been freed.
Another peculiarity was that I killed a bunch of Firefox processes and it didn't change anything at all. What were these for, then? :D Anyway, after killing the right process, everything goes back to normal.

That should be the last time I complain about Firefox... Time to move on.
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:
Tue May 25, 2021 1:34 pm
I'm wondering if anyone here is running 5.12 kernel and how it is stable for you. :?:
I use 5.12 on both Ubuntu-desktop Wayland and X11, and on both kubuntu (KDE) X11. I am quite satisfied.
These users thanked the author istanbulls for the post:
tobetter (Tue May 25, 2021 4:42 pm)

amirul
Posts: 101
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 »

mctom wrote:
Tue May 25, 2021 3:45 pm
amirul wrote:
Mon May 24, 2021 12:22 pm
Spoke too soon. Happened again in youtube theater mode. Go figure.
Yesterday that happened to me as well.
I left the video in normal mode, since I was listening to it rather than watching (I was busy brushing a cat on my lap!)
Then I noticed the sound stuttered, and the visual portion of the video must have been the same for last minute or so.
A RAM gauge on waybar showed 98%, which was strange, because adding up all programs seen in htop, you'd never get to 98% total.
It must be some sort of bug because it kept leaking endlessly, flooding all memory that has been freed.
Another peculiarity was that I killed a bunch of Firefox processes and it didn't change anything at all. What were these for, then? :D Anyway, after killing the right process, everything goes back to normal.

That should be the last time I complain about Firefox... Time to move on.
The exact same situation with me, minus the cat :D

amirul
Posts: 101
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 »

Has anybody ever had the usb ports die on them? Rebooted my N2+, got to the login screen but mouse and keyboard not working. Plugged a usb fan to one of the usb ports but no fan spin.

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

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

Post by mctom »

I had a few situations when I did an overcurrent on USB ports and had to make a full power cycle (unplug the DC source) to recover from it. I think I did that with USB-SATA dongle.
Otherwise, yeah, it is completely possible to fry USB power lines. You may check if that's true by using a USB hub with external power supply and see if keyboard works that way.

I think I saw some instructions how to fix it in hardware, was it on Odroid wiki?
EDIT: Nah, that is a fix of other power supply problems:
https://wiki.odroid.com/odroid-n2/hardware/repairs

But don't you worry, we can fix that nonetheless. :D
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

amirul
Posts: 101
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 »

Unplugging DC power supply did not fix it. Sending it back to the supplier tomorrow to see whether they can help.

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

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

Post by mctom »

Okay, weirdness happened.

So I was multitasking, writing a driver for my new printer. So I had Firefox with a few tabs on and youtube video playing in the background, a few instances of foot terminal, and gimp to print test pages.

All of the sudden gimp disappeared, and mouse and keyboard became unresponsive, although the youtube audio kept playing. Then the whole Sway session crashed and I was back in tty1.
I reentered Sway to finish some business (using Falkon) but everything was barely usable - screen flickering, portions of GUI showing up and disappearing, mouse cursor left traces everywhere etc. So I decided to reboot machine gracefully.
It waited for 3 minutes to close my session, then waited some time like that:
IMG_20210526_202548.jpg
IMG_20210526_202548.jpg (352.8 KiB) Viewed 2693 times
but after few minutes carried on and rebooted as expected.
Now everything seems to be back to normal, but damn that was wild.

It looks like "web engine" did not want to respond, likely a Firefox process, however I did run Falkon at some point, so no idea really what was that all about.

Anyway, I'm not entirely sure what went wrong. Was it Firefox, or maybe GIMP that I do not use too often and is a bit glitchy... Or Sway that is outdated at this point?
I guess I ought to build most recent Sway sooner or later. It won't just pop up in hirsute repository anytime soon.
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

amirul
Posts: 101
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 »

Well that's that then. The supplier confirms that chip controlling the back 4 usb is kaput. Suggests a workaround to use the microsusb at the front with a hub.

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

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

Post by mctom »

Wow, that's really exceptional to see a supplier that pulls off such a detailed investigation.
I wonder which chip, though. GL3523 USB HUB is the only chip in common with all 4 USB ports. But in this case, that wouldn't explain why they stopped providing power, i guess?
I am also curious how on earth did you do it. ;)
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

amirul
Posts: 101
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 »

I got the N2+ from https://components.ubitap.com/odroid
I have no idea how I did it, I recall nothing special though the desktop did ask me to go through a first time setup. That must have been because the USB port where the thumbdrive holding /home was failing.

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

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

Post by mctom »

Wow, that's a shame I didn't know what currency is RM - I actually have a few Malaysian banknotes on my exotic note display in my home. Used to collect these.

Well, if you didn't do "anything", your board either failed spontaneously, which is theoretically rare after a few weeks of use.
OR it was a silent killer, the dreadful electrostatic discharge. Often it's impossible to see or feel them, yet it's possible to ruin most IO ports in everything like that.
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

amirul
Posts: 101
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 »

It's been more than a few weeks. I got it last December and it been mostly on 24/7 since then. The supplier did tell me he's had some that failed like this a few weeks in. Those were the lucky ones because that is within the 3 month warranty.

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

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

Post by mctom »

Interesting. I wonder if it could have been caused by a malicious software update.
Either that, or some local events in power grid, maybe.
Or just a faulty batch.
I can't think of any other reason why so many computers fails in such a short time span.
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

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

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

Post by mctom »

I did it, I built Sway 1.6! :D

In order to build it, one needs to build Wayland, libxcb-errors, wlroots and finally Sway. Took me 2 hours to figure that out, but it works now!

Also, it seems that Meson under Ubuntu 19.04 has a bug and installs libs into platform subdirectory, such as /usr/local/lib/aarch64-gnu-linux. This needs to be corrected by hand or mitigated with --libdir Meson argument.

Anyway, Sway works, and glitches in Firefox are no more, yay! It's weird, I got used to all that wild flickering. :)
No improvement in glmark whatsoever, and no other differences are apparent at the first glance. We'll see.
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

amirul
Posts: 101
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 »

The new set up :D
Attachments
new.jpg
new.jpg (47.58 KiB) Viewed 2529 times

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 noticed that after the 5.12 update, it boots smoothly from the SSD. Each attempt is completed with a successful boot. For this, it is necessary to wait an extra 30 seconds.

Note:
reminder to @tobetter, did you test with usb2 cable for SSD boot?

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 »

edit:
duplicate message

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

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

Post by tobetter »

istanbulls wrote:
Tue Jun 01, 2021 7:26 pm
I noticed that after the 5.12 update, it boots smoothly from the SSD. Each attempt is completed with a successful boot. For this, it is necessary to wait an extra 30 seconds.

Note:
reminder to @tobetter, did you test with usb2 cable for SSD boot?
Are you meaning you have to wait for extra 30 seconds to complete boot after 5.12?

Testing with USB2 is fine but not by software, not figured yet.

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 made a video to explain better.
You can download and watch the 261mb video in the link I shared.
https://shulashi.tk/s/S4eR3QgBNCJWPYk

1- Petitboot boots up, but we have to wait for the OSs in the SSD to be listed, this will take 30 seconds.
2- Petitboot automatically starts a 10-second countdown for the selected OS.
3- When the countdown is over, the OS boots. (that's normal)
4- If the OS does not boot after the countdown, you need to wait 30 seconds. (for me this is normal)

The most common scenario is scenario 4.

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

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

Post by tobetter »

istanbulls wrote:
Tue Jun 01, 2021 9:47 pm
I made a video to explain better.
You can download and watch the 261mb video in the link I shared.
https://shulashi.tk/s/S4eR3QgBNCJWPYk

1- Petitboot boots up, but we have to wait for the OSs in the SSD to be listed, this will take 30 seconds.
2- Petitboot automatically starts a 10-second countdown for the selected OS.
3- When the countdown is over, the OS boots. (that's normal)
4- If the OS does not boot after the countdown, you need to wait 30 seconds. (for me this is normal)

The most common scenario is scenario 4.
All this is about the issue of the Petitboot, not related with Linux kernel since the 30 seconds waiting happens before Linux kernel start. I guess you have to try with old Petitboot (v20201020) for sure if it also delays 30 seconds.

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:
Tue Jun 01, 2021 10:21 pm

All this is about the issue of the Petitboot, not related with Linux kernel since the 30 seconds waiting happens before Linux kernel start. I guess you have to try with old Petitboot (v20201020) for sure if it also delays 30 seconds.
Yes I am aware that it is a Petitboot issue.
Waiting 30 seconds is fine for me.
With the 5.11 version, it was booting in 4-5-6-7 tries.
The first boot attempt with 5.12 is always successful, I wanted to point that out.
My goal was to provide information for those who use SSDs like me. I'm not complaining, I'm quite happy with my situation.

amirul
Posts: 101
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 »

Screenshot from 2021-06-03 19-55-44.png
Screenshot from 2021-06-03 19-55-44.png (521.17 KiB) Viewed 2271 times
Firefox just got updated and it's not looking good for youtube.

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

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

Post by mctom »

Oh yeah, same here.
It seems that black pixels or close to black get substituted by blocks from CGA pallete. :D
The guy wearing black is a good example of the effect: https://www.youtube.com/watch?v=ZDLbakOm3mM
Here we go, another reason to watch youtube on mpv, hey?
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

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 upgrade to Firefox 89.0 also effect the original HK 18.04 Ubuntu Desktop so I think this is a Mozilla issue. I have reported it.

https://bugzilla.mozilla.org/show_bug.cgi?id=1714511
These users thanked the author wallyz21 for the post (total 2):
tobetter (Sat Jun 05, 2021 3:15 pm) • Nuts_ (Mon Jun 21, 2021 8:09 pm)
Walter Zambotti
N2 - HK 18.04 Ubuntu Mate Desktop
N2+ - 21.04 Ubuntu Mate Desktop (Panfrost)

User avatar
SpacePussy
Posts: 3
Joined: Sat Jun 05, 2021 4:18 pm
languages_spoken: English - French
ODROIDs: N2+
Location: Melbourne
Has thanked: 0
Been thanked: 1 time
Contact:

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

Post by SpacePussy »

Hey guys,

Thanks for all the work and contributions to power these boards. Got a N2+ here and getting 21.04 up and running through the netboot was just a breeze.

Running 5.12.0-odroid-arm64 now, it made it easy to have an accelerated desktop. The work that's been done with Panfrost and its integration in the kernel is remarkable.

I've been reading extensively these forums to get an idea of the state of the software chain to fully take advantage of the VPU, the goal being to decode and render H264-5 videos up to 4k60 (non-HDR) in mpv and in browsers in a desktop environment.

We all know that the AVE-10 can do it, and it's actually doing it well with Android 9. I've seen that mpv folks aren't big fans of SBCs, and I have been exploring commits in the mesa repository to see where things are going but I'd like to get a good grasp of what it takes, and what's potentially missing to connect the dots between applications and kernel-land drivers, with ffmpeg in-between and the APIs

Another thing, Gnome wayland implementation of VNCserver is connecting okay, however client side it's just a black screen, with only the cursor working. Do you guys know why?

update:
mpv/ffmpeg were complaining about a missing firmware: Direct firmware load for meson/vdec/g12a_h264.bin failed with error -2
Found it in the linux-firmware package, that thing full of blobs.
It's now playing using hardware decoding (v4l2m2m-copy) however the performance are similar to software decoding with a ton of dropped frames. CPU usage is low though, down to 5%. This blob doesn't seem to play nice with the rest of the pipeline
The kernel decoder in meson/vdec is still in staging
This driver is in staging until the V4L2 documentation about stateful video
decoders is finalized, as well as the corresponding compliance tests.
update2:
VNC Viewer had a black screen when quality set to "automatic". Had to specify low or high. Still broken as now inputs aren't all registered properly. To be investigated.
Last edited by SpacePussy on Mon Jun 07, 2021 2:10 am, edited 4 times in total.

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

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

Post by mctom »

SpacePussy wrote:
Sat Jun 05, 2021 5:02 pm
I've seen that mpv folks aren't big fans of SBCs,
Or mobile phones, or Apple. Wow, that guy needs therapy.

I can't answer your question regarding video decoding, all I know is that mpv works fine on 2K full screen. That's my preferred way to watch youtube.

Neither do I have any experience with VNC on Wayland, but I've got two guesses here:
- Either your VNC server expects X server being up and running, and gets deeply disappointed,
- Or your client somehow depends on X server to display the content.

I'd check logs on both sides for the starters.
You also may want to try opening remote applications rather than accessing the whole remote desktop. "waypipe" is one of the tools that aims to provide this feature.
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

Nuts_
Posts: 36
Joined: Thu May 20, 2021 4:09 pm
languages_spoken: english, russian
ODROIDs: XU4, N2
Has thanked: 42 times
Been thanked: 0
Contact:

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

Post by Nuts_ »

havinng an issue while installing hirsute-odroid-n2_20210408171508_arm64_netinst
* [lubuntu-desktop] option
setup hungs on 73% progress while installing wvdial package
as i goggled its known problem without proper solution, but it easy to kill wvdial installer process loging to other TTY cosole

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

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

Post by tobetter »

Nuts_ wrote:
Tue Jun 08, 2021 5:50 pm
havinng an issue while installing hirsute-odroid-n2_20210408171508_arm64_netinst
* [lubuntu-desktop] option
setup hungs on 73% progress while installing wvdial package
as i goggled its known problem without proper solution, but it easy to kill wvdial installer process loging to other TTY cosole
How did you kill wvdial?
Do you finish the installation after killing it?

Nuts_
Posts: 36
Joined: Thu May 20, 2021 4:09 pm
languages_spoken: english, russian
ODROIDs: XU4, N2
Has thanked: 42 times
Been thanked: 0
Contact:

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

Post by Nuts_ »

tobetter wrote:
Tue Jun 08, 2021 5:57 pm
Do you finish the installation after killing it?
No, as it was hung...
i pressed ALT+F2 to enter to second shell of beasybox, then ps then kill to procces wmdial postintall (or something like this).

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 »

amirul wrote:
Thu Jun 03, 2021 8:56 pm
Screenshot from 2021-06-03 19-55-44.png

Firefox just got updated and it's not looking good for youtube.
This fixed the color artefacting for me.

In firefox

about:config

gfx.webrender.force-disabled true
These users thanked the author wallyz21 for the post (total 2):
mctom (Fri Jun 11, 2021 1:04 am) • Nuts_ (Mon Jun 21, 2021 8:11 pm)
Walter Zambotti
N2 - HK 18.04 Ubuntu Mate Desktop
N2+ - 21.04 Ubuntu Mate Desktop (Panfrost)

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

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

Post by alpe »

Is it possible to get hw encoding/decoding on N2 ffmpeg?
What command should I use? Something like:

Code: Select all

ffmpeg -hwaccel ? -i INPUT -c:v (what should I put here to get hw encoding? h264_v4l2m2m maybe?)
or maybe:

Code: Select all

_softwarethatdoeshwdecoding_ | ffmpeg -i - ...
Last edited by alpe on Fri Jun 11, 2021 7:16 am, edited 1 time in total.

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

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

Post by alpe »

I'm trying to install using Netboot and petitboot says "Download complete: 31SJWGK" and never boots the installer. Should I keep waiting?

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

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

Post by tobetter »

alpe wrote:
Fri Jun 11, 2021 6:29 am
I'm trying to install using Netboot and petitboot says "Download complete: 31SJWGK" and never boots the installer. Should I keep waiting?
Hmm...I think you should try it again from the Petitboot, download won't take long.

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

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

Post by mctom »

wallyz21 wrote:
Thu Jun 10, 2021 11:46 pm
amirul wrote:
Thu Jun 03, 2021 8:56 pm
Screenshot from 2021-06-03 19-55-44.png

Firefox just got updated and it's not looking good for youtube.
This fixed the color artefacting for me.

In firefox

about:config

gfx.webrender.force-disabled true
Thanks, this fixes the problem! I wonder what exactly it does. Maybe we could revert this setting after another Firefox update.
alpe wrote:
Fri Jun 11, 2021 6:29 am
I'm trying to install using Netboot and petitboot says "Download complete: 31SJWGK" and never boots the installer. Should I keep waiting?
I guess I won't be the first one to point out that petitboot's Netboot feature sometimes hangs and needs to be restarted. I remember someone saying the same before. No idea why this happens, appears to be completely random. Anyway, after two or three retries, then the installer starts, everything works okay.
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

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 »

mctom wrote:
Fri Jun 11, 2021 8:26 pm
wallyz21 wrote:
Thu Jun 10, 2021 11:46 pm
amirul wrote:
Thu Jun 03, 2021 8:56 pm
Screenshot from 2021-06-03 19-55-44.png

Firefox just got updated and it's not looking good for youtube.
This fixed the color artefacting for me.

In firefox

about:config

gfx.webrender.force-disabled true
Thanks, this fixes the problem! I wonder what exactly it does. Maybe we could revert this setting after another Firefox update.
alpe wrote:
Fri Jun 11, 2021 6:29 am
I'm trying to install using Netboot and petitboot says "Download complete: 31SJWGK" and never boots the installer. Should I keep waiting?
I guess I won't be the first one to point out that petitboot's Netboot feature sometimes hangs and needs to be restarted. I remember someone saying the same before. No idea why this happens, appears to be completely random. Anyway, after two or three retries, then the installer starts, everything works okay.
The issue is (actually) being progressed on bugzilla. The issue affects all ARM platforms including Windows 10 for ARM. So the developers are taken action. You can follow the progress on https://bugzilla.mozilla.org/show_bug.cgi?id=1714511.
Walter Zambotti
N2 - HK 18.04 Ubuntu Mate Desktop
N2+ - 21.04 Ubuntu Mate Desktop (Panfrost)

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

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

Post by alpe »

alpe wrote:
Fri Jun 11, 2021 4:15 am
Is it possible to get hw encoding/decoding on N2 ffmpeg?
What command should I use? Something like:

Code: Select all

ffmpeg -hwaccel ? -i INPUT -c:v (what should I put here to get hw encoding? h264_v4l2m2m maybe?)
or maybe:

Code: Select all

_softwarethatdoeshwdecoding_ | ffmpeg -i - ...
Anyone?

User avatar
mad_ady
Posts: 9696
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 609 times
Been thanked: 721 times
Contact:

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

Post by mad_ady »

As far as I know mainline kernel still doesn't support the video encoder. If you were to use the stock image you could use https://github.com/OtherCrashOverride/encoder-c4 with ffmpeg

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

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

Post by alpe »

mad_ady wrote:
Tue Jun 15, 2021 1:13 pm
As far as I know mainline kernel still doesn't support the video encoder. If you were to use the stock image you could use https://github.com/OtherCrashOverride/encoder-c4 with ffmpeg
Thanks. What about hw decoder?

User avatar
mad_ady
Posts: 9696
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 609 times
Been thanked: 721 times
Contact:

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

Post by mad_ady »

I think I read somewhere that some codecs (h264) are partially supported, but I might be wrong.

campbell
Posts: 443
Joined: Thu Sep 03, 2015 1:13 pm
languages_spoken: english
ODROIDs: C4, N2, C2, C1+, XU4, XU3, Cloudshell, Smart Power
Has thanked: 9 times
Been thanked: 12 times
Contact:

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

Post by campbell »

This image still seems to have the problem, just like the latest official 20.04 minimal image, of not being able to apt install wireguard-tools without apt attempting to replace the KERNEL with some generic one that doesn't work. Is there anything we can do about this, or is the problem due to upstream Ubuntu?

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

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

Post by tobetter »

campbell wrote:
Sat Jun 19, 2021 1:56 am
This image still seems to have the problem, just like the latest official 20.04 minimal image, of not being able to apt install wireguard-tools without apt attempting to replace the KERNEL with some generic one that doesn't work. Is there anything we can do about this, or is the problem due to upstream Ubuntu?
Can you share the logs what error do you have with wireguird-tools?

campbell
Posts: 443
Joined: Thu Sep 03, 2015 1:13 pm
languages_spoken: english
ODROIDs: C4, N2, C2, C1+, XU4, XU3, Cloudshell, Smart Power
Has thanked: 9 times
Been thanked: 12 times
Contact:

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

Post by campbell »

tobetter wrote:
Sat Jun 19, 2021 1:57 am
campbell wrote:
Sat Jun 19, 2021 1:56 am
This image still seems to have the problem, just like the latest official 20.04 minimal image, of not being able to apt install wireguard-tools without apt attempting to replace the KERNEL with some generic one that doesn't work. Is there anything we can do about this, or is the problem due to upstream Ubuntu?
Can you share the logs what error do you have with wireguird-tools?

Code: Select all

root@hirsute-server:~# apt update
Hit:1 http://ports.ubuntu.com/ubuntu-ports hirsute InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports hirsute-updates InRelease
Get:3 http://ppa.linuxfactory.or.kr hirsute InRelease [24.2 kB]
Fetched 24.2 kB in 1s (18.9 kB/s)  
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@hirsute-server:~# apt install wireguard-tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libjansson4 libnftables1 libnftnl11 linux-image-5.11.0-18-generic linux-image-virtual-hwe-20.04-edge linux-modules-5.11.0-18-generic nftables
Suggested packages:
  fdutils linux-doc | linux-source-5.11.0 linux-tools linux-headers-5.11.0-18-generic linux-modules-extra-5.11.0-18-generic firewalld openresolv | resolvconf
The following NEW packages will be installed:
  libjansson4 libnftables1 libnftnl11 linux-image-5.11.0-18-generic linux-image-virtual-hwe-20.04-edge linux-modules-5.11.0-18-generic nftables wireguard-tools
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 31.6 MB of archives.
After this operation, 130 MB of additional disk space will be used.
Do you want to continue? [Y/n] hell no
Abort.
root@hirsute-server:~# 

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

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

Post by mctom »

I think that wireguard wants to add a kernel module to do its job, and is confused about a non-mainstream kernel. I'd try building it from the source.
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

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

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

Post by tobetter »

campbell wrote:
Sat Jun 19, 2021 3:01 am
tobetter wrote:
Sat Jun 19, 2021 1:57 am
campbell wrote:
Sat Jun 19, 2021 1:56 am
This image still seems to have the problem, just like the latest official 20.04 minimal image, of not being able to apt install wireguard-tools without apt attempting to replace the KERNEL with some generic one that doesn't work. Is there anything we can do about this, or is the problem due to upstream Ubuntu?
Can you share the logs what error do you have with wireguird-tools?

Code: Select all

root@hirsute-server:~# apt update
Hit:1 http://ports.ubuntu.com/ubuntu-ports hirsute InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports hirsute-updates InRelease
Get:3 http://ppa.linuxfactory.or.kr hirsute InRelease [24.2 kB]
Fetched 24.2 kB in 1s (18.9 kB/s)  
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@hirsute-server:~# apt install wireguard-tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libjansson4 libnftables1 libnftnl11 linux-image-5.11.0-18-generic linux-image-virtual-hwe-20.04-edge linux-modules-5.11.0-18-generic nftables
Suggested packages:
  fdutils linux-doc | linux-source-5.11.0 linux-tools linux-headers-5.11.0-18-generic linux-modules-extra-5.11.0-18-generic firewalld openresolv | resolvconf
The following NEW packages will be installed:
  libjansson4 libnftables1 libnftnl11 linux-image-5.11.0-18-generic linux-image-virtual-hwe-20.04-edge linux-modules-5.11.0-18-generic nftables wireguard-tools
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 31.6 MB of archives.
After this operation, 130 MB of additional disk space will be used.
Do you want to continue? [Y/n] hell no
Abort.
root@hirsute-server:~# 
So are you saying that installing linux-image-5.11.0-18-generic will cause the issue if wireguard-tools[b/] is installed?

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

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

Post by mctom »

I think what s/he meant is that wireguard's apt package depends on a stock kernel, which utomatically gets installed and doesn't work at all on her/his system.

That's why I suggest building it from source, to go around the problem of installing it with apt.
Lately I got pretty handy with building stuff, so if anyone is interested, I can prepare an instruction how to do it.

I tried installing this on my system and indeed this tries to install stock kernel.

Code: Select all

mctom@Tomusiomat-ARM:~$ sudo apt install wireguard
[sudo] hasło użytkownika mctom: 
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności... Gotowe
Odczyt informacji o stanie... Gotowe   
Następujące pakiety zostały zainstalowane automatycznie i nie są już więcej wymagane:
  libnet1 libprotobuf-c1 libprotobuf23 python3-protobuf
Aby je usunąć należy użyć "sudo apt autoremove".
The following additional packages will be installed:
  linux-image-5.11.0-18-generic linux-image-virtual-hwe-20.04-edge linux-modules-5.11.0-18-generic wireguard-tools
Sugerowane pakiety:
  fdutils linux-doc | linux-source-5.11.0 linux-tools linux-headers-5.11.0-18-generic linux-modules-extra-5.11.0-18-generic openresolv | resolvconf
Zostaną zainstalowane następujące NOWE pakiety:
  linux-image-5.11.0-18-generic linux-image-virtual-hwe-20.04-edge linux-modules-5.11.0-18-generic wireguard wireguard-tools
0 aktualizowanych, 5 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.
Konieczne pobranie 31,2 MB archiwów.
Po tej operacji zostanie dodatkowo użyte 129 MB miejsca na dysku.
Kontynuować? [T/n] n
Przerwane.
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