Page 1 of 1

raspbian or ubuntu 20.04 64bit

Posted: Sat May 09, 2020 11:07 am
by branchus
Hi

Raspbian is a good OS, however I must use 32bit dotnet runtime on it as it is 32bit only.

I saw the ubuntu 20.04 is out and certified for raspberry pi, and it has the 64bit version

so just wondering, how is the experience using Ubuntu 20.04 64bit on raspberry pi 4

Thanks

Re: raspbian or ubuntu 20.04 64bit

Posted: Mon May 18, 2020 4:26 pm
by busywait
Ubuntu 20.04 64-bit would only be recommended if you know you need it, in my opinion, but I only took a superficial look.

There is currently an issue on first boot where it seems like you should be able to log on, but you can't because SSH keys are still being created in the background.

There is also an issue where it is not obvious that you are typing in your password to the console because the cursor doesn't move.

SSH for remote access is enabled by default, which I liked. A password change from the default password is enforced on first login.

There's a nicely written install and getting started guide: discourse.ubuntu.com/t/how-to-install-u ... y-pi/14660

The command line (shell) access is pleasant to use, due to helpful hints about missing packages in typical Ubuntu style, eg

Code: Select all

ubuntu@ubuntu:~$ ffmpef
Command 'ffmpef' not found, did you mean:
  command 'ffmpeg' from deb ffmpeg (7:4.2.2-1ubuntu1)
Try: sudo apt install <deb name>

ubuntu@ubuntu:~$ ffmpeg
Command 'ffmpeg' not found, but can be installed with:
sudo apt install ffmpeg
I also liked that it was (obviously) very similar to the Ubuntu Linux command line environment that you can install on Windows for free from the Microsoft Store.

Installing the Xubuntu-desktop on to the Pi 4 (sudo apt install xubuntu-desktop) was underwhelming because it currently has no hardware acceleration for video, and was not full resolution. (Playing back a 1080p video in VLC resulted in stuttering playback, high CPU loads, and temperature warnings).

Installing xRDP for remote access was easy from the command line, but I could not work out how to get it working after hours of trying.

To be fair, this it is Ubuntu *Server* - I suspect if I was hosting non-video services on it I'd be very happy with it.

I didn't try to use anything wireless.

The hardware that I used was a USB 3 to SATA cable with a 2.5" SSHD, wired ethernet and HDMI TV. I also used a wireless keyboard (Logitech K400+). The working range of the 2.4GHz keyboard decreased to less than 2m when I plugged in the hard disk to a blue USB v3 port.

Anyone else got any experience to share?

Re: raspbian or ubuntu 20.04 64bit

Posted: Mon May 18, 2020 4:46 pm
by fruitoftheloom
branchus wrote:
Sat May 09, 2020 11:07 am
Hi

Raspbian is a good OS, however I must use 32bit dotnet runtime on it as it is 32bit only.

I saw the ubuntu 20.04 is out and certified for raspberry pi, and it has the 64bit version

so just wondering, how is the experience using Ubuntu 20.04 64bit on raspberry pi 4

Thanks

The Canonical stated supported it is little misleading as by default it is a Server Operating System and no Desktop Environment. You could always try Manjaro (Arch Linux ARM) which gives a choice of Desktop Environment:

https://manjaro.org/download/arm/raspbe ... de-plasma/

https://manjaro.org/downloads/arm/raspb ... pi-4-xfce/



Regards Raspbian Buster there is a Aarch64 Kernel, whilst Gentoo Aarch64 is also available:

viewtopic.php?f=63&t=272204

Re: raspbian or ubuntu 20.04 64bit

Posted: Mon May 18, 2020 8:56 pm
by stevewmn
busywait wrote:
Mon May 18, 2020 4:26 pm

I also liked that it was (obviously) very similar to the Ubuntu Linux command line environment that you can install on Windows for free from the Microsoft Store.

Installing the Xubuntu-desktop on to the Pi 4 (sudo apt install xubuntu-desktop) was underwhelming because it currently has no hardware acceleration for video, and was not full resolution. (Playing back a 1080p video in VLC resulted in stuttering playback, high CPU loads, and temperature warnings).

Installing xRDP for remote access was easy from the command line, but I could not work out how to get it working after hours of trying.

To be fair, this it is Ubuntu *Server* - I suspect if I was hosting non-video services on it I'd be very happy with it.

I didn't try to use anything wireless.

The hardware that I used was a USB 3 to SATA cable with a 2.5" SSHD, wired ethernet and HDMI TV. I also used a wireless keyboard (Logitech K400+). The working range of the 2.4GHz keyboard decreased to less than 2m when I plugged in the hard disk to a blue USB v3 port.

Anyone else got any experience to share?
I installed it, just to see if I could. I managed to get full resolution after Googling/poking around in forums for a while and tweaking the usercfg.txt[SP?] file. I'm also using VNC instead of xRDP since my only Windows OS is Win 10 Home, which doesn't support it out of the box. I installed BOINC and it's been running Rosetta tasks almost continuously for about 2 weeks. I'm running the Mate desktop.

Re: raspbian or ubuntu 20.04 64bit

Posted: Sun May 24, 2020 11:39 am
by FlexMcMurphy
I have a Pi 4 4GB which I overclocked to 2GHz and got Ubuntu server 20.04 running on it ok with the MATE desktop. It works fine with hdmi to my TV including sound. I installed TightVNCServer on Ubuntu but I am having trouble when connecting to it from VNCViewer on a Win 7 laptop..

I start the vncserver like this:

Code: Select all

vncserver -geometry 1920x1080 :2
However when I click on the MATE main Menu, to open it, it closes by itself after about a second so I can't use any programs. Other menus on the desktop work fine, like the shutdown "cogwheel" and the Wifi/Network menu etc..

Here is my xstartup file:

Code: Select all

#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
/etc/X11/Xsession
mate-session &
I installed the xfce and cinnamon desktops and I don't have this problem with either of them.

Can anyone see something wrong with my setup? Maybe it's with MATE... I didn't add any new themes or icons.

Cheers,

Flex

Re: raspbian or ubuntu 20.04 64bit

Posted: Wed May 27, 2020 1:49 am
by RuggedPineapple
busywait wrote:
Mon May 18, 2020 4:26 pm
There is also an issue where it is not obvious that you are typing in your password to the console because the cursor doesn't move.
That's been default Unix behavior as far back as I can remember. It's a security feature, there's no way to skim information about password length from the screen. It might be set up differently on some distros, but imho that would be a bug on their part.

Re: raspbian or ubuntu 20.04 64bit

Posted: Wed May 27, 2020 3:02 am
by SlowMoJoe
64 bit 20.04 is really slick on a RPi 4. My personal favorite flavor is the Mate minimal desktop which can be installed via tasksel after updating. The only problem I've had is the HQ raspberry pi camera doesn't work. This is more a failing of the camera than the OS, though. I bought another usb camera and it works just fine.

Re: raspbian or ubuntu 20.04 64bit

Posted: Wed May 27, 2020 6:53 am
by jamesh
SlowMoJoe wrote:
Wed May 27, 2020 3:02 am
64 bit 20.04 is really slick on a RPi 4. My personal favorite flavor is the Mate minimal desktop which can be installed via tasksel after updating. The only problem I've had is the HQ raspberry pi camera doesn't work. This is more a failing of the camera than the OS, though. I bought another usb camera and it works just fine.
No, it's a failing of the OS.

Re: raspbian or ubuntu 20.04 64bit

Posted: Wed May 27, 2020 11:57 am
by FlexMcMurphy
Hi James,

Would you say my problem a few posts up is a failing of the Mate desktop? Or would you have any suggestions for me, please? Don't know how to debug it. Asked around a few other forums as well, not getting any answers!

Thank you,

Flex

Re: raspbian or ubuntu 20.04 64bit

Posted: Wed May 27, 2020 12:02 pm
by fruitoftheloom
FlexMcMurphy wrote:
Wed May 27, 2020 11:57 am
Hi James,

Would you say my problem a few posts up is a failing of the Mate desktop? Or would you have any suggestions for me, please? Don't know how to debug it. Asked around a few other forums as well, not getting any answers!

Thank you,

Flex

Reagrds the Camera the Ubuntu Developers need to fix any issues of compatibility, not the Raspberry Pi Trading / Foundation.

Re: raspbian or ubuntu 20.04 64bit

Posted: Wed May 27, 2020 12:17 pm
by FlexMcMurphy
Oh hi there,

No mine was a different issue.

I put tightvncserver on Ubuntu 20.04 running on a Pi 4. When I access from vnc viewer on a win 7 laptop and I click on the MATE main Menu, to open it, it closes again by itself after about a second so I can't use any programs. Same thing happens if I quickly click on any item in that same main menu.

Other menus are not affected and other desktops don't have the issue at all but I want to use MATE.

Any ideas? Cheers,

Flex

Re: raspbian or ubuntu 20.04 64bit

Posted: Wed May 27, 2020 1:53 pm
by jamesh
FlexMcMurphy wrote:
Wed May 27, 2020 12:17 pm
Oh hi there,

No mine was a different issue.

I put tightvncserver on Ubuntu 20.04 running on a Pi 4. When I access from vnc viewer on a win 7 laptop and I click on the MATE main Menu, to open it, it closes again by itself after about a second so I can't use any programs. Same thing happens if I quickly click on any item in that same main menu.

Other menus are not affected and other desktops don't have the issue at all but I want to use MATE.

Any ideas? Cheers,

Flex
No idea at all. On the whole we only debug our own OS problems, we've got enough of those already, without worrying about other people OS's. Sounds like a problem with Mate itself if that is the only desktop that shows the problem.

Re: raspbian or ubuntu 20.04 64bit

Posted: Wed May 27, 2020 10:01 pm
by FlexMcMurphy
Fair enough, cheers.
Flex

Re: raspbian or ubuntu 20.04 64bit

Posted: Mon Jun 01, 2020 5:39 pm
by geev03
Ubuntu 20.04 (KDE ) looks perfect, so far, and it is going to be even more useful on the Pi4-8 :)
https://linux-hardware.org/?probe=f618d5a619

Code: Select all

ubuntu@ubuntu:~$ neofetch
            .-/+oossssoo+/-.               ubuntu@ubuntu 
        `:+ssssssssssssssssss+:`           ------------- 
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 20.04 LTS aarch64 
    .ossssssssssssssssssdMMMNysssso.       Host: Raspberry Pi 4 Model B Rev 1.1 
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 5.4.0-1011-raspi 
  +ssssssssshmydMMMMMMMNddddyssssssss+     Uptime: 9 mins 
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Packages: 1934 (dpkg), 4 (snap) 
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Shell: bash 5.0.16 
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Resolution: 1920x1080 
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   DE: Plasma 
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   WM: KWin 
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Theme: Breeze [Plasma], Breeze [GTK2/3] 
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Icons: breeze [Plasma], breeze [GTK2/3] 
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/    Terminal: konsole 
  +sssssssssdmydMMMMMMMMddddyssssssss+     CPU: BCM2835 (4) @ 1.500GHz 
   /ssssssssssshdmNNNNmyNMMMMhssssss/      Memory: 839MiB / 3793MiB 
    .ossssssssssssssssssdMMMNysssso.
      -+sssssssssssssssssyyyssss+-                                 
        `:+ssssssssssssssssss+:`                                   
            .-/+oossssoo+/-.

ubuntu@ubuntu:~$