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,
Official 3.0.0 image has been released, feel free to update, fixes a ton of issues, and moonlight. For basic use lite image is good enough, full image has jetpack dev stuff, needed to compile for cuda, tensorrt, cudNN, etc. Lite is like before, just the new root.
Much appreciated as always.
 
Official 3.0.0 image has been released, feel free to update, fixes a ton of issues, and moonlight. For basic use lite image is good enough, full image has jetpack dev stuff, needed to compile for cuda, tensorrt, cudNN, etc. Lite is like before, just the new root.

It works well Gavin. I noticed that the reboot2payload still uses hekate 5.1.1. I was wondering about how easy it can be to update the payload without needing to remember the location of it within the system. It's not much of an issue for me, as I'm primarily using hekate to hand-off to other payloads.
 
It works well Gavin. I noticed that the reboot2payload still uses hekate 5.1.1. I was wondering about how easy it can be to update the payload without needing to remember the location of it within the system. It's not much of an issue for me, as I'm primarily using hekate to hand-off to other payloads.
Throw the payload in the bootloader folder on the fat32 partition and rename it to update.bin
 
Hekate is designed to do that by default..... 5.1.1. had a bug with reboot after memory had been trained..... this was fixed months ago, and put in this build, so really no need to update the payload in the image. And when I was building the images, 5.1.2 wasnt released yet.
 
  • Like
Reactions: tabzer
Official 3.0.0 image has been released, feel free to update, fixes a ton of issues, and moonlight. For basic use lite image is good enough, full image has jetpack dev stuff, needed to compile for cuda, tensorrt, cudNN, etc. Lite is like before, just the new root.
hello

may I ask, if I just want to update from an older version do I need to reflash everything again? or is there any other way for me to update?

thank you.
 
You have to reflash... I explored other options, but each broke things, and would involve rebuilding the whole system, and re compiling stuff you might have compiled anyway.
 
  • Like
Reactions: crow132
just cleanly flashed the new version. I also do not have docking capabilities. The screen does recognise something but there ist neither a display output nor any usb host functionality.

Edit: it was a non original charger. Did cost me a few hours... :D
 
Last edited by joesch,
Hello everyone, i've made some basic mappings to use the joycons as a mouse on L4T Ubuntu 3.0 since the previous mappings do not work with the new joycon driver. My mappings are to be used with xorg. To install xorg joystick: sudo apt install xserver-xorg-input-joystick. After installing you extract the zip file and move 50-joystick.conf to usr/share/X11/xorg.conf.d (do it with sudo mv) and then you either reboot or log out and log in again. The mappings are as follow: Left click mouse is B , Right click is A, L and R control volume, ZR and ZL control brightness, Screenshot button enables or disables mouse mode , Home button is Escape, Plus button is enter, Minus button is back.

That's it. This should make most DE pretty usable on switch (like cinnamon which doesn't work well with touchscreen) and help with things like dolphin standalone since that doesn't have a gamepad interface.

Also many thanks to gavin_darkglider and the rest of the switchroot team for giving us an amazing linux experience on switch!
 

Attachments

I compiled the Ishiiruka and installed the dependencies and system updates. Then I rebooted and my wifi went nuts, won't connect to AP. Hekate warned that I'm missing sleep libraries. My battery percentage has been stuck at 33% this whole time even though it's full. The touch screen needs to be calibrated better to work properly. Plugging in my USB mouse didn't even turn on the lazer. I've barely used this thing for an hour and the whole thing feels unraveled. Why does Linux always do this to me?!? If at least the USB C port was working I'd have a mouse, keyboard and external storage. That would be awesome. Haven't tested wifi direct yet. Is Citra emu possible?
 
I compiled the Ishiiruka and installed the dependencies and system updates. Then I rebooted and my wifi went nuts, won't connect to AP. Hekate warned that I'm missing sleep libraries. My battery percentage has been stuck at 33% this whole time even though it's full. The touch screen needs to be calibrated better to work properly. Plugging in my USB mouse didn't even turn on the lazer. I've barely used this thing for an hour and the whole thing feels unraveled. Why does Linux always do this to me?!? If at least the USB C port was working I'd have a mouse, keyboard and external storage. That would be awesome. Haven't tested wifi direct yet. Is Citra emu possible?

I dunno man, I also have all kinds of different issues using this. Not very useful comment I guess but you're not alone.
For me it seems to only boot sometimes and sometimes not.

Installed Kodi and now it boots straight to Kodi and the touch screen inputs are all messed up (Exiting Kodi takes me to login screen)...

Reinstalling Ubuntu now :D

And this is probably why I still use Windows as my daily driver...
Although it could just be that this build is not very stable..
 
I dunno man, I also have all kinds of different issues using this. Not very useful comment I guess but you're not alone.
For me it seems to only boot sometimes and sometimes not.

Installed Kodi and now it boots straight to Kodi and the touch screen inputs are all messed up (Exiting Kodi takes me to login screen)...

Reinstalling Ubuntu now :D

And this is probably why I still use Windows as my daily driver...
Although it could just be that this build is not very stable..

Kodi tells Ubuntu to boot into it upon login. If you keep your system password protected/login enabled, it's an easy fix. This thread has a lot of info. Check the first post, of Kodi:

https://gbatemp.net/threads/l4t-ubuntu-applcation-install-guides.537579/
 
  • Like
Reactions: DaniPoo
Is it safe to run system updates via the software updater?
Just got a pop-up saying that there are updates available or something.
I don't wanna have to reinstall Ubuntu again :D
 
Yes. They should work. Some parts of the updates won't apply due to the nature of L4T Ubuntu's build, so there will be some errors/warnings displayed in the terminal aspect of the details. They are expected.
 

Site & Scene News

Popular threads in this forum