Page 1 of 2
Ubuntu 20.04 (Focal Fossa)
Posted: Thu Apr 23, 2020 8:05 pm
by waveform80
Ubuntu 20.04
Ubuntu 20.04 (aka Focal Fossa) is out, including arm64 and armhf builds for the Pi! There's been a lot of testing behind the scenes on this one, but there's still a few rough edges so do be sure to check the
release notes (especially if you have a
Pimoroni fan-shim!).
Probably the easiest way to get it is with the Pi Foundation's
new imaging tool, otherwise you can find it on our
Pi Downloads page. Do feel free to report any general experiences here, but if you have specific issues it's probably best to open a new thread or open a bug on
Launchpad.
Have fun!
Dave.
Re: Ubuntu 20.04 (Focal Fossa)
Posted: Thu Apr 23, 2020 9:32 pm
by cjan
does upgrade from daily build, its the same?
Re: Ubuntu 20.04 (Focal Fossa)
Posted: Fri Apr 24, 2020 1:34 am
by kerry_s
tested
still useless to me, can't get the wifi working.

Re: Ubuntu 20.04 (Focal Fossa)
Posted: Fri Apr 24, 2020 2:06 am
by cjan
kerry_s wrote: ↑Fri Apr 24, 2020 1:34 am
tested
still useless to me, can't get the wifi working.
20-wifi.yaml
Code: Select all
network:
version: 2
renderer: networkd
wifis:
wlan0:
dhcp4: true
optional: true
access-points:
"SSID":
password: "password"
Re: Ubuntu 20.04 (Focal Fossa)
Posted: Fri Apr 24, 2020 2:19 am
by kerry_s
is that "renderer: networkd" needed now? it's not in the how to.
everything else is pretty much what i got.
i removed the "dhcp4: true" cause it just kept throwing errors in "sudo netplan --debug try"
Re: Ubuntu 20.04 (Focal Fossa)
Posted: Fri Apr 24, 2020 2:31 am
by esbeeb
kerry_s wrote: ↑Fri Apr 24, 2020 2:19 am
is that "renderer: networkd" needed now? it's not in the how to.
everything else is pretty much what i got.
i removed the "dhcp4: true" cause it just kept throwing errors in "sudo netplan --debug try"
@kerry_s, your wording is a bit unclear. Am I correct that your wifi
still won't work, even with "renderer: networkd" added,
and the removal of "dhcp4: true"?
Or will wifi work with "renderer:networkd",
but you need to set a static IP address? And if so, how does one set a static IP addess in that pernicious .yaml file?
Re: Ubuntu 20.04 (Focal Fossa)
Posted: Fri Apr 24, 2020 2:35 am
by kerry_s
hold on I'm waiting for it to boot, to try adding that part.
I'm gonna try a put it exactly like his example, be back in a bit.
Re: Ubuntu 20.04 (Focal Fossa)
Posted: Fri Apr 24, 2020 2:47 am
by kerry_s
as far as i remember the networkd fix was for the gui network manager. i haven't even connected to the internet once yet, so no gui installed.
Re: Ubuntu 20.04 (Focal Fossa)
Posted: Fri Apr 24, 2020 2:49 am
by cjan
Netplan supports both networkd and Network Manager as backends.
Re: Ubuntu 20.04 (Focal Fossa)
Posted: Fri Apr 24, 2020 2:51 am
by kerry_s
looks like a success, i wrote it in vi exactly how he posted the example.
now i just got to decide on what GUI install I'm going to do.
netplan is a piece of rubbish, on Ubuntu 20.04 (Focal Fossa)
Posted: Fri Apr 24, 2020 4:48 am
by esbeeb
cjan wrote: ↑Fri Apr 24, 2020 2:06 am
kerry_s wrote: ↑Fri Apr 24, 2020 1:34 am
tested
still useless to me, can't get the wifi working.
20-wifi.yaml
Code: Select all
network:
version: 2
renderer: networkd
wifis:
wlan0:
dhcp4: true
optional: true
access-points:
"SSID":
password: "password"
Sorry, that doesn't work for me. Even when I try to run "sudo netplan --debug try" afterwards.
After a fresh imaging of a MicroSD card, there will be a tempting "network-config" file in the partition with the boot-related stuff (labelled "system-boot"). Either working from the wifi example provided in that file,
or putting that paragraph above into this "network-config" file before first boot doesn't work either. Yes, I substituted in my own password, and SSID.
Would you like to see the error message? Sorry, I can't provide it. Why? Because the RPi4 has no network connectivity.
People, use an ethernet cable, lest this issue drive you crazy.
Re: Ubuntu 20.04 (Focal Fossa)
Posted: Fri Apr 24, 2020 5:09 am
by kerry_s
yeap, i hear ya.
i had to put it in "50-cloud-init.yaml" to get wifi to work in ubuntu-desktop-minimal.
now i'm just kludging my way around, haven't used ubuntu in ages & there have been a few changes.
Re: Ubuntu 20.04 (Focal Fossa)
Posted: Fri Apr 24, 2020 8:01 am
by cjan
cjan wrote: ↑Thu Apr 23, 2020 9:32 pm
does upgrade from daily build, its the same?
after upgrade to 20.04, sway/wayland broken.
system dead even Ctrl+Alt+F2, maybe mesa issue not sure?
ps. Rpi2-armhf, before upgrade all good.
Re: netplan is a piece of rubbish, on Ubuntu 20.04 (Focal Fossa)
Posted: Fri Apr 24, 2020 10:26 am
by esbeeb
esbeeb wrote: ↑Fri Apr 24, 2020 4:48 am
Would you like to see the error message? Sorry, I can't provide it. Why? Because the RPi4 has no network connectivity.
Here's further why I think netplan is a piece of rubbish. It fools you into believing it has automagical powers to make everything gracefully adapt, even when common problems arise, but then it doesn't gracefully handle problems like I'm having. It gives no helpful error messages. It throws up obscure python errors (netplan itself threw up python exceptions that weren't caught). To me, that's sloppy coding, as the error messages are very long and obscure.
For me to ever trust and like netplan, I would like to see all possible exceptions get gracefully caught (knowing ahead of time all the possible ways networking can somehow fail, at many levels and layers), then yield a brief, helpful, non-vague error message, suggesting what to change, or check, if possible and obvious.
Until then, it does more harm than good. It creates more problems than it solves.
Re: Ubuntu 20.04 (Focal Fossa)
Posted: Fri Apr 24, 2020 2:55 pm
by kerry_s
it's just not made for our kind of use.
if you need a server and have ethernet, it's good to go.
to me it's just slow and the snap packages thing, i think that above all was the reason i left ubuntu.
i really wish pop!_os had a raspberry pi version, i would be all over that.

Re: Ubuntu 20.04 (Focal Fossa)
Posted: Sat Apr 25, 2020 9:45 am
by Giga_Pi
kerry_s wrote: ↑Fri Apr 24, 2020 2:55 pm
it's just not made for our kind of use.
if you need a server and have ethernet, it's good to go.
to me it's just slow and the snap packages thing, i think that above all was the reason i left ubuntu.
i really wish pop!_os had a raspberry pi version, i would be all over that.
Personally, I found ubuntu to be slow to boot, when I install lubuntu, it installed nearly every ubuntu desktop to ever exist.
It also wouldn't recognise my HDMI touch screen, so I couldn't pixel double.
Wait till ubuntu MATE release an official image for Pi4. They do a good job generally.
I'm stuck with manjaro with very little hardware acceleration.
I'll wait for ubuntu MATE
Re: Ubuntu 20.04 (Focal Fossa)
Posted: Sat Apr 25, 2020 10:01 am
by kerry_s
i prefer gnome, so i went back to raspbian lite + gnome-core, all the benefits of raspbian just with a better gui.

Re: Ubuntu 20.04 (Focal Fossa)
Posted: Sun Apr 26, 2020 1:11 pm
by senpaidev
Spent nearly entire day trying to get display via vnc or rdp to work (I am using a headless install and don't have a hdmi monitor). Tried installing lubuntu , xubuntu, kubuntu. But it still fails. Looking a bit deeper into it, I found that there is an issue with XORG driver.
Here is the XORG log file. It would be great if anyone can help me. Besides, the wifi works fine, though I did have to connect it via Ethernet initially.
Code: Select all
cat /var/log/Xorg.0.log
[ 1384.498]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[ 1384.498] Build Operating System: Linux 4.4.0-177-generic aarch64 Ubuntu
[ 1384.498] Current Operating System: Linux ubuntu 5.4.0-1008-raspi #8-Ubuntu SMP Wed Apr 8 11:13:06 UTC 2020 aarch64
[ 1384.499] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 cma=64M bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:0E:EE:5D vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 net.ifnames=0 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc quiet splash
[ 1384.499] Build Date: 06 April 2020 09:39:29AM
[ 1384.499] xorg-server 2:1.20.8-2ubuntu2 (For technical support please see http://www.ubuntu.com/support)
[ 1384.499] Current version of pixman: 0.38.4
[ 1384.499] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1384.499] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1384.499] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Apr 26 12:56:30 2020
[ 1384.500] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 1384.500] (==) No Layout section. Using the first Screen section.
[ 1384.500] (==) No screen section available. Using defaults.
[ 1384.500] (**) |-->Screen "Default Screen Section" (0)
[ 1384.500] (**) | |-->Monitor "<default monitor>"
[ 1384.501] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 1384.501] (==) Automatically adding devices
[ 1384.501] (==) Automatically enabling devices
[ 1384.501] (==) Automatically adding GPU devices
[ 1384.501] (==) Automatically binding GPU devices
[ 1384.501] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 1384.501] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 1384.501] Entry deleted from font path.
[ 1384.501] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 1384.501] Entry deleted from font path.
[ 1384.501] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 1384.501] Entry deleted from font path.
[ 1384.501] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 1384.501] Entry deleted from font path.
[ 1384.501] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 1384.501] Entry deleted from font path.
[ 1384.502] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 1384.502] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 1384.502] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 1384.502] (II) Loader magic: 0xaaaad4c7f010
[ 1384.502] (II) Module ABI versions:
[ 1384.502] X.Org ANSI C Emulation: 0.4
[ 1384.502] X.Org Video Driver: 24.1
[ 1384.502] X.Org XInput driver : 24.1
[ 1384.502] X.Org Server Extension : 10.0
[ 1384.503] (--) using VT number 2
[ 1384.503] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 1384.505] (II) no primary bus or device found
[ 1384.506] (II) LoadModule: "glx"
[ 1384.506] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 1384.508] (II) Module glx: vendor="X.Org Foundation"
[ 1384.508] compiled for 1.20.8, module version = 1.0.0
[ 1384.508] ABI class: X.Org Server Extension, version 10.0
[ 1384.508] (==) Matched modesetting as autoconfigured driver 0
[ 1384.508] (==) Matched fbdev as autoconfigured driver 1
[ 1384.508] (==) Assigned the driver to the xf86ConfigLayout
[ 1384.508] (II) LoadModule: "modesetting"
[ 1384.509] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 1384.509] (II) Module modesetting: vendor="X.Org Foundation"
[ 1384.509] compiled for 1.20.8, module version = 1.20.8
[ 1384.509] Module class: X.Org Video Driver
[ 1384.509] ABI class: X.Org Video Driver, version 24.1
[ 1384.509] (II) LoadModule: "fbdev"
[ 1384.510] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 1384.510] (II) Module fbdev: vendor="X.Org Foundation"
[ 1384.510] compiled for 1.20.1, module version = 0.5.0
[ 1384.510] Module class: X.Org Video Driver
[ 1384.510] ABI class: X.Org Video Driver, version 24.0
[ 1384.510] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 1384.510] (II) FBDEV: driver for framebuffer: fbdev
[ 1384.511] (WW) Falling back to old probe method for modesetting
[ 1384.511] (EE) open /dev/dri/card0: No such file or directory
[ 1384.511] (WW) Falling back to old probe method for fbdev
[ 1384.511] (II) Loading sub module "fbdevhw"
[ 1384.511] (II) LoadModule: "fbdevhw"
[ 1384.511] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 1384.511] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 1384.511] compiled for 1.20.8, module version = 0.0.2
[ 1384.511] ABI class: X.Org Video Driver, version 24.1
[ 1384.511] (EE) open /dev/fb0: No such file or directory
[ 1384.511] (WW) Falling back to old probe method for modesetting
[ 1384.512] (EE) open /dev/dri/card0: No such file or directory
[ 1384.512] (WW) Falling back to old probe method for fbdev
[ 1384.512] (II) Loading sub module "fbdevhw"
[ 1384.512] (II) LoadModule: "fbdevhw"
[ 1384.512] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 1384.512] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 1384.512] compiled for 1.20.8, module version = 0.0.2
[ 1384.512] ABI class: X.Org Video Driver, version 24.1
[ 1384.512] (EE) open /dev/fb0: No such file or directory
[ 1384.512] (EE) No devices detected.
[ 1384.512] (==) Matched modesetting as autoconfigured driver 0
[ 1384.512] (==) Matched fbdev as autoconfigured driver 1
[ 1384.512] (==) Assigned the driver to the xf86ConfigLayout
[ 1384.512] (II) LoadModule: "modesetting"
[ 1384.513] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 1384.513] (II) Module modesetting: vendor="X.Org Foundation"
[ 1384.513] compiled for 1.20.8, module version = 1.20.8
[ 1384.513] Module class: X.Org Video Driver
[ 1384.513] ABI class: X.Org Video Driver, version 24.1
[ 1384.513] (II) UnloadModule: "modesetting"
[ 1384.513] (II) Unloading modesetting
[ 1384.513] (II) Failed to load module "modesetting" (already loaded, 0)
[ 1384.513] (II) LoadModule: "fbdev"
[ 1384.514] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 1384.514] (II) Module fbdev: vendor="X.Org Foundation"
[ 1384.514] compiled for 1.20.1, module version = 0.5.0
[ 1384.514] Module class: X.Org Video Driver
[ 1384.514] ABI class: X.Org Video Driver, version 24.0
[ 1384.514] (II) UnloadModule: "fbdev"
[ 1384.514] (II) Unloading fbdev
[ 1384.514] (II) Failed to load module "fbdev" (already loaded, 0)
[ 1384.514] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 1384.514] (II) FBDEV: driver for framebuffer: fbdev
[ 1384.514] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[ 1384.514] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[ 1384.514] (WW) Falling back to old probe method for modesetting
[ 1384.514] (EE) open /dev/dri/card0: No such file or directory
[ 1384.514] (WW) Falling back to old probe method for fbdev
[ 1384.514] (II) Loading sub module "fbdevhw"
[ 1384.514] (II) LoadModule: "fbdevhw"
[ 1384.515] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 1384.515] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 1384.515] compiled for 1.20.8, module version = 0.0.2
[ 1384.515] ABI class: X.Org Video Driver, version 24.1
[ 1384.515] (EE) open /dev/fb0: No such file or directory
[ 1384.515] (WW) Falling back to old probe method for modesetting
[ 1384.515] (EE) open /dev/dri/card0: No such file or directory
[ 1384.515] (WW) Falling back to old probe method for fbdev
[ 1384.515] (II) Loading sub module "fbdevhw"
[ 1384.515] (II) LoadModule: "fbdevhw"
[ 1384.515] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 1384.515] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 1384.515] compiled for 1.20.8, module version = 0.0.2
[ 1384.515] ABI class: X.Org Video Driver, version 24.1
[ 1384.515] (EE) open /dev/fb0: No such file or directory
[ 1384.515] (EE) No devices detected.
[ 1384.515] (EE)
Fatal server error:
[ 1384.515] (EE) no screens found(EE)
[ 1384.516] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 1384.516] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 1384.516] (EE)
[ 1384.516] (EE) Server terminated with error (1). Closing log file.
Re: Ubuntu 20.04 (Focal Fossa)
Posted: Tue Apr 28, 2020 8:03 am
by mikgla
Hi all,
I have installed and updated Focal Fossa (20.04 LTE) on my RPI 4 (4mb ram) using the Ubuntu Desktop. After some "hacking/Google" all works fine e.g. WiFi, LAN, Bluetooth, Sound etc. The only thing I have not yet managed to fix is overclocking. When I add the parameters to "/boot/firmware/config.txt" and reboot, the system will not start at all. Only after removing the parameters it will boot as normal. Has anyone experienced the same or have a solution? I am using exactly the same parameters I used in 18.04 and/or 19.10 where it all worked well.
Re: Ubuntu 20.04 (Focal Fossa)
Posted: Tue Apr 28, 2020 8:08 am
by kerry_s
it's suppose to go in /boot/firmware/usercfg.txt
just curious in your about it it using llvmpipe for video?
also are you 32 or 64 bit? i was 32bit in my testing.
Re: Ubuntu 20.04 (Focal Fossa)
Posted: Tue Apr 28, 2020 8:19 am
by mikgla
kerry_s wrote: ↑Tue Apr 28, 2020 8:08 am
it's suppose to go in /boot/firmware/usercfg.txt
just curious in your about it it using llvmpipe for video?
also are you 32 or 64 bit? i was 32bit in my testing.
Hi,
Yes I did add it to boot/firmware/usercfg.txt but still a problem when booting. Not sure about "llvmpipe" , I have not installed any additional video drivers. Using Kodi or VLC for videos, Clementine for music. I am using the 64-bit version since I have 4Gb ram and it is supposed to be faster.
Update:
Graphics: Device-1: bcm2711-vc5 driver: vc4_drm v: N/A
Device-2: bcm2711-hdmi0 driver: N/A
Device-3: bcm2711-hdmi1 driver: N/A
Display: server: X.Org 1.20.8 driver: fbdev unloaded: modesetting resolution: 1920x1080~60Hz
OpenGL: renderer: llvmpipe (LLVM 9.0.1 128 bits) v: 3.3 Mesa 20.0.4
Re: Ubuntu 20.04 (Focal Fossa)
Posted: Tue Apr 28, 2020 8:37 am
by kerry_s
hmm, i'm just looking at my usercfg.txt & i guess i didn't even try overclocking.
if i remember right, playing video would spike my cpu's above 50% & drive temps around 60, so i didn't want to chance overclocking.
if you give me the overclock your using, i can see if it boots on mine.
Re: Ubuntu 20.04 (Focal Fossa)
Posted: Tue Apr 28, 2020 8:50 am
by kerry_s
i overclocked it and it booted up fine.
Re: Ubuntu 20.04 (Focal Fossa)
Posted: Tue Apr 28, 2020 8:52 am
by kerry_s
this is what i'm talking about llvmpipe is being used instead of the graphics driver.
Re: Ubuntu 20.04 (Focal Fossa)
Posted: Tue Apr 28, 2020 9:15 am
by Giga_Pi
kerry_s wrote: ↑Tue Apr 28, 2020 8:52 am
this is what i'm talking about llvmpipe is being used instead of the graphics driver.
This seems a bit too good to be true but...
Would this improve the graphical performance of the desktop?
I might consider ubuntu for the Pi...