L4T Ubuntu - A fully featured linux on your switch

switchroot.png

L4T Ubuntu
Intro
L4T Ubuntu is a version of Linux based on nvidia's linux for tegra project. It uses a different kernel compared to previous releases which allows it to use features not yet in mainline. Such as audio, docking support and vulkan.

Join our discord: https://discord.gg/53mtKYt

We have a wiki !
To facilitate our work we will only update our wiki from now on in order to avoid multiple outdated references, please refer to the following link instead of this page

https://wiki.switchroot.org/en/Linux/Ubuntu-Install-Guide

Credits

Bylaws,
Langerhans,
Ave,
Natinusala,
CTCaer(most of the hard stuff),
Gavin_Darkglider,
DanielOgorchock(Joycon drivers/joycond),
stary2001 (reboot2payload),
NVIDIA,
Azkali
Everyone else in switchroot - more info on that in the future.
 
Last edited by azkali,
Hello everyone, I just wanna share a quick issue I've been having that I haven't seen mentioned anywhere else. L4T is installed on my switch just fine, in fact I'm writing this on it lol. However, while following the application installation guide (Unable to post hyperlinks because of new membership, will fix when given the opportunity) I've gotten errors for building dolphin. While installing the package from this line
"sudo apt install git cmake ffmpeg libavcodec-dev libevdev-dev libusb-1.0-0-dev libavformat-dev libswscale-dev libsfml-dev libminiupnpc-dev libmbedtls-dev curl libhidapi-dev libwxbase3.0-dev libwxgtk3.0-dev libpangocairo-1.0-0 libgtk2.0-dev libbluetooth-dev qt5-default qtbase5-private-dev libudev-dev libxi-dev

cmake ..
make -j4
sudo make install"

I get:
"dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/59-libsys-hostname-long-perl_1.5-1_all.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/59-libsys-hostname-long-perl_1.5-1_all.deb (--unpack):
subprocess dpkg-split returned error exit status 2
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/60-libmail-sendmail-perl_0.80-1_all.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/60-libmail-sendmail-perl_0.80-1_all.deb (--unpack):
subprocess dpkg-split returned error exit status 2
dpkg-deb: error: '/tmp/apt-dpkg-install-MIJWgL/61-libmbedcrypto1_2.8.0-1_arm64.deb' is not a Debian format archive
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/61-libmbedcrypto1_2.8.0-1_arm64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
Selecting previously unselected package libmbedx509-0:arm64.
Preparing to unpack .../62-libmbedx509-0_2.8.0-1_arm64.deb ...
Unpacking libmbedx509-0:arm64 (2.8.0-1) ...
Selecting previously unselected package libmbedtls10:arm64.
Preparing to unpack .../63-libmbedtls10_2.8.0-1_arm64.deb ...
Unpacking libmbedtls10:arm64 (2.8.0-1) ...
dpkg-deb: error: '/tmp/apt-dpkg-install-MIJWgL/64-libmbedtls-dev_2.8.0-1_arm64.deb' is not a Debian format archive
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/64-libmbedtls-dev_2.8.0-1_arm64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/65-libminiupnpc-dev_1.9.20140610-4ubuntu2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/65-libminiupnpc-dev_1.9.20140610-4ubuntu2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/66-libmtdev-dev_1.1.5-1ubuntu3_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/66-libmtdev-dev_1.1.5-1ubuntu3_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/67-libpng-tools_1.6.34-1ubuntu0.18.04.2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/67-libpng-tools_1.6.34-1ubuntu0.18.04.2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/68-libqt5concurrent5_5.9.5+dfsg-0ubuntu2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/68-libqt5concurrent5_5.9.5+dfsg-0ubuntu2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/69-qt5-qmake-bin_5.9.5+dfsg-0ubuntu2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/69-qt5-qmake-bin_5.9.5+dfsg-0ubuntu2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/70-qt5-qmake_5.9.5+dfsg-0ubuntu2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/70-qt5-qmake_5.9.5+dfsg-0ubuntu2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/71-qtbase5-dev-tools_5.9.5+dfsg-0ubuntu2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/71-qtbase5-dev-tools_5.9.5+dfsg-0ubuntu2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/72-qtbase5-dev_5.9.5+dfsg-0ubuntu2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/72-qtbase5-dev_5.9.5+dfsg-0ubuntu2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/73-libqt5opengl5-dev_5.9.5+dfsg-0ubuntu2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/73-libqt5opengl5-dev_5.9.5+dfsg-0ubuntu2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/74-libsfml-system2.4_2.4.2+dfsg-4_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/74-libsfml-system2.4_2.4.2+dfsg-4_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/75-libsfml-audio2.4_2.4.2+dfsg-4_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/75-libsfml-audio2.4_2.4.2+dfsg-4_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/76-libsfml-window2.4_2.4.2+dfsg-4_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/76-libsfml-window2.4_2.4.2+dfsg-4_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/77-libsfml-graphics2.4_2.4.2+dfsg-4_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/77-libsfml-graphics2.4_2.4.2+dfsg-4_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/78-libsfml-network2.4_2.4.2+dfsg-4_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/78-libsfml-network2.4_2.4.2+dfsg-4_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/79-libswscale-dev_7%3a3.4.6-0ubuntu0.18.04.1_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/79-libswscale-dev_7%3a3.4.6-0ubuntu0.18.04.1_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/80-libudev-dev_237-3ubuntu10.21_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/80-libudev-dev_237-3ubuntu10.21_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
Selecting previously unselected package libwacom-dev.
Preparing to unpack .../81-libwacom-dev_0.29-1_arm64.deb ...
Unpacking libwacom-dev (0.29-1) ...
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/82-libwxbase3.0-0v5_3.0.4+dfsg-3_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/82-libwxbase3.0-0v5_3.0.4+dfsg-3_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-deb: error: '/tmp/apt-dpkg-install-MIJWgL/83-wx3.0-headers_3.0.4+dfsg-3_all.deb' is not a Debian format archive
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/83-wx3.0-headers_3.0.4+dfsg-3_all.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/84-libwxbase3.0-dev_3.0.4+dfsg-3_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/84-libwxbase3.0-dev_3.0.4+dfsg-3_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/85-libwxgtk3.0-0v5_3.0.4+dfsg-3_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/85-libwxgtk3.0-0v5_3.0.4+dfsg-3_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
Selecting previously unselected package wx-common.
Preparing to unpack .../86-wx-common_3.0.4+dfsg-3_arm64.deb ...
Unpacking wx-common (3.0.4+dfsg-3) ...
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/87-libwxgtk3.0-dev_3.0.4+dfsg-3_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/87-libwxgtk3.0-dev_3.0.4+dfsg-3_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/88-libxkbcommon-dev_0.8.0-1ubuntu0.1_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/88-libxkbcommon-dev_0.8.0-1ubuntu0.1_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/89-qt5-default_5.9.5+dfsg-0ubuntu2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/89-qt5-default_5.9.5+dfsg-0ubuntu2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
Selecting previously unselected package libevdev-dev:arm64.
Preparing to unpack .../90-libevdev-dev_1.5.8+dfsg-1_arm64.deb ...
Unpacking libevdev-dev:arm64 (1.5.8+dfsg-1) ...
Selecting previously unselected package libinput-dev:arm64.
Preparing to unpack .../91-libinput-dev_1.10.4-1_arm64.deb ...
Unpacking libinput-dev:arm64 (1.10.4-1) ...
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/92-qtbase5-private-dev_5.9.5+dfsg-0ubuntu2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/92-qtbase5-private-dev_5.9.5+dfsg-0ubuntu2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/93-libbluetooth-dev_5.48-0ubuntu3.1_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/93-libbluetooth-dev_5.48-0ubuntu3.1_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/94-libhidapi-libusb0_0.8.0~rc1+git20140818.d17db57+dfsg-2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/94-libhidapi-libusb0_0.8.0~rc1+git20140818.d17db57+dfsg-2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/95-libhidapi-hidraw0_0.8.0~rc1+git20140818.d17db57+dfsg-2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/95-libhidapi-hidraw0_0.8.0~rc1+git20140818.d17db57+dfsg-2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/96-libhidapi-dev_0.8.0~rc1+git20140818.d17db57+dfsg-2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/96-libhidapi-dev_0.8.0~rc1+git20140818.d17db57+dfsg-2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-deb: error: '/tmp/apt-dpkg-install-MIJWgL/97-libsfml-dev_2.4.2+dfsg-4_arm64.deb' is not a Debian format archive
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/97-libsfml-dev_2.4.2+dfsg-4_arm64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
No apport report written because MaxReports is reached already
Errors were encountered while processing:
/tmp/apt-dpkg-install-MIJWgL/59-libsys-hostname-long-perl_1.5-1_all.deb
/tmp/apt-dpkg-install-MIJWgL/60-libmail-sendmail-perl_0.80-1_all.deb
/tmp/apt-dpkg-install-MIJWgL/61-libmbedcrypto1_2.8.0-1_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/64-libmbedtls-dev_2.8.0-1_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/65-libminiupnpc-dev_1.9.20140610-4ubuntu2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/66-libmtdev-dev_1.1.5-1ubuntu3_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/67-libpng-tools_1.6.34-1ubuntu0.18.04.2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/68-libqt5concurrent5_5.9.5+dfsg-0ubuntu2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/69-qt5-qmake-bin_5.9.5+dfsg-0ubuntu2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/70-qt5-qmake_5.9.5+dfsg-0ubuntu2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/71-qtbase5-dev-tools_5.9.5+dfsg-0ubuntu2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/72-qtbase5-dev_5.9.5+dfsg-0ubuntu2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/73-libqt5opengl5-dev_5.9.5+dfsg-0ubuntu2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/74-libsfml-system2.4_2.4.2+dfsg-4_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/75-libsfml-audio2.4_2.4.2+dfsg-4_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/76-libsfml-window2.4_2.4.2+dfsg-4_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/77-libsfml-graphics2.4_2.4.2+dfsg-4_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/78-libsfml-network2.4_2.4.2+dfsg-4_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/79-libswscale-dev_7%3a3.4.6-0ubuntu0.18.04.1_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/80-libudev-dev_237-3ubuntu10.21_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/82-libwxbase3.0-0v5_3.0.4+dfsg-3_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/83-wx3.0-headers_3.0.4+dfsg-3_all.deb
/tmp/apt-dpkg-install-MIJWgL/84-libwxbase3.0-dev_3.0.4+dfsg-3_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/85-libwxgtk3.0-0v5_3.0.4+dfsg-3_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/87-libwxgtk3.0-dev_3.0.4+dfsg-3_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/88-libxkbcommon-dev_0.8.0-1ubuntu0.1_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/89-qt5-default_5.9.5+dfsg-0ubuntu2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/92-qtbase5-private-dev_5.9.5+dfsg-0ubuntu2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/93-libbluetooth-dev_5.48-0ubuntu3.1_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/94-libhidapi-libusb0_0.8.0~rc1+git20140818.d17db57+dfsg-2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/95-libhidapi-hidraw0_0.8.0~rc1+git20140818.d17db57+dfsg-2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/96-libhidapi-dev_0.8.0~rc1+git20140818.d17db57+dfsg-2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/97-libsfml-dev_2.4.2+dfsg-4_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)"
I've had to deal with this twice now, and the last time it happened I couldn't write files to the microSD anymore and had to format.
Any suggestions?
 
a few things i noticed, they might be dumb stuff but

everytime i delete the chromium desktop icon, it comes back at launching

also, if i turn off bluetooth, at launch its still on
 
After flashing Ubuntu to my SD Card usng balenaEtcher, My SD Card isn't detectable by any device anymore. Can someone help me fix this?
 
After flashing Ubuntu to my SD Card usng balenaEtcher, My SD Card isn't detectable by any device anymore. Can someone help me fix this?

Pretty normal when you're flashing a linux image try putting your microsd card in a Linux system
 
Pretty normal when you're flashing a linux image try putting your microsd card in a Linux system
It worked the first time but I accidentally deleted the coreboot so I decided to re-flash the SD Card and now it doesn't work and when I try booting linux I get an error saying that the FAT partition is corrupted
 
It worked the first time but I accidentally deleted the coreboot so I decided to re-flash the SD Card and now it doesn't work and when I try booting linux I get an error saying that the FAT partition is corrupted

Use a partition manager to delete all partitions on the card. Afterwards create a new partition and format it with FAT32. Now Windows should "see" the card again.
 
Use a partition manager to delete all partitions on the card. Afterwards create a new partition and format it with FAT32. Now Windows should "see" the card again.
I could try this but I said that my SD Card isn't detected
 
Ram & gpu overclock when?
gpu already adjusts it's clock speeds upto 921mhz when under a high load

you can force it to run at 921mhz at all times with this command (I wouldn't recommend doing so as the default performance scaling is pretty good) echo 921600000 | sudo tee /sys/devices/57000000.gpu/devfreq/57000000.gpu/min_freq
 
  • Like
Reactions: Centergaming
gpu already adjusts it's clock speeds upto 921mhz when under a high load

you can force it to run at 921mhz at all times with this command (I wouldn't recommend doing so as the default performance scaling is pretty good) echo 921600000 | sudo tee /sys/devices/57000000.gpu/devfreq/57000000.gpu/min_freq
Is ram overclocked also?
 
This kernel doesn't have loadable modules enabled. I believe I saw that the developer added binfmt support built into the kernel instead of as a module.

No, it not works. We need kernel modules to run wine for win32 via qemu and Steam

--------------------- MERGED ---------------------------

Did anyone manage to install/compile Kodi 18 and could give a small tut?

Yes it works fine, but remote control via HDMI doesn't work.
 

Site & Scene News

Popular threads in this forum