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,
Did you ever find a solution?
I disabled the synchronization of the linux clock with the RTC (timedatectl set-ntp false) then set the RTC manually so that the correct time is displayed again in Horizon OS (hwclock --set --date "8/11/2013 23:10:45" for example).
But if the time is now correct in Horizon OS it is no longer in linux...

(If you don't care about RTC just disable auto adjust and manually set time in Horizon OS)
 
Last edited by NextFire,
  • Like
Reactions: lordelan
I disabled the synchronization of the linux clock with the RTC (timedatectl set-ntp false) then set the RTC manually so that the correct time is displayed again in Horizon OS (hwclock --set --date "8/11/2013 23:10:45" for example).
But if the time is now correct in Horizon OS it is no longer in linux...

(If you don't care about RTC just disable auto adjust and manually set time in Horizon OS)
You can also use this to fix RTC https://github.com/thedax/NX-ntpc

I'm not sure if someone made a zero offset program like this for the Switch: https://github.com/ihaveamac/ctr-no-timeoffset
 
  • Like
Reactions: avattar
GOT IT!
So, just for future folks trying to install

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

this is the command you can copy/paste into terminal to make this.

It's currently compiling on my switch right now :)

Thank you for helping out everyone looking and asking the same questions. Also it is wondrous to see someone who had little knowledge of all the to see growing and helping the community. Wish we could have more people like you out there. Thanks again.
 
Thank you for helping out everyone looking and asking the same questions. Also it is wondrous to see someone who had little knowledge of all the to see growing and helping the community. Wish we could have more people like you out there. Thanks again.
No worries, glad to help out!

And in turn, I thank bylaws and others for helping me figure it out!

Loves our community at times!
 
  • Like
Reactions: kevandkkim
anyone else having the problem with 1.1 that the virtual keyboard appears even when docked?


and btw. kodi works perfectly! streamed the newest GoT episode from my NAS to kodi on the switch in 1080p. without lags.
but be cautious! Kodi creates an entry in the session manager and tries to run automatically on startup but fucks up the display settings. had to manually switch back to "ubuntu" on the login screen where you put in your password.
 
anyone else having the problem with 1.1 that the virtual keyboard appears even when docked?


and btw. kodi works perfectly! streamed the newest GoT episode from my NAS to kodi on the switch in 1080p. without lags.
but be cautious! Kodi creates an entry in the session manager and tries to run automatically on startup but fucks up the display settings. had to manually switch back to "ubuntu" on the login screen where you put in your password.
I'm not on 1.1 yet but that happened to me occasionally on 1.0. You can click the icon with 4 squares in the top right corner of the screen to "hide onboard" and get rid of the keyboard.
 
anyone else having the problem with 1.1 that the virtual keyboard appears even when docked?


and btw. kodi works perfectly! streamed the newest GoT episode from my NAS to kodi on the switch in 1080p. without lags.
but be cautious! Kodi creates an entry in the session manager and tries to run automatically on startup but fucks up the display settings. had to manually switch back to "ubuntu" on the login screen where you put in your password.
Personal experience, display settings can and will mess up eventually without having kodi installed.
 
  • Like
Reactions: burt111
1.1 is out, see post for changelog​

Does 1.1 make possible using usb-storage with otg (no dock)? I tried and I got a bunch of "port_reset_war_work" messages on dmesg. The only mention I found of the message was on this patch: patchwork.kernel.org/patch/10847337/ do we have that patch?

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

Also, is there any command to reboot to hekate?
 
Hello there! First of all, amazing work, thank you very much!

I have two issues though:

1) When the L4T boots up, the screen on Switch is turned correctly - horizontally. After I log in, the screen goes vertical. After about a minute, it goes back to horizontal mode, but the touchscreen presses works as if the screen is still in vertical mode (pretty much unusuable).

2) The other issue is with my USB wireless mouse: When I plug the mouse USB to Dock and I dock my Switch, I can clearly see the clicks on my monitor, but I can't see the mouse cursor anywhere - any help?

Also, just to be sure: At the "8. Load hekate again and select L4T as a payload.", it says I don't have a payload available, so I am launching L4T through the Configs section, is that correct?

Thank you!
for 2, I did this before and it worked: "gsettings set org.gnome.settings-daemon.plugins.cursor active false"
 
Does 1.1 make possible using usb-storage with otg (no dock)? I tried and I got a bunch of "port_reset_war_work" messages on dmesg. The only mention I found of the message was on this patch: patchwork.kernel.org/patch/10847337/ do we have that patch?

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

Also, is there any command to reboot to hekate?
No and no
 
  • Like
Reactions: avattar
I havent been following the switch linux scene for a while, so excuse me if this question is dumb
does this still have issues with battery desync or whatever it was back a while ago?
 
I had L4T running fine for about 20 min. and suddenly in the middle of an Ubuntu search it froze up and blacked out. Now all I get when I start L4T is a backlit black screen, but my bluetooth keyboard and mouse connect. Has anyone else run into any issues like this?

Edit: Eh, I didn't do anything crazy anyway. I'll just start over at flashing the SD card and I'll throw update #1 in there for good measure.
 
Last edited by ReavoEnd,
  • Like
Reactions: Centergaming
This is a long shot but has anyone managed to get this dual booting with SXOS and Emunand (hidden partition)?

If so how did you go about doing it?
 

Site & Scene News

Popular threads in this forum