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,

NextFire

New Member
Newbie
Joined
Jun 22, 2016
Messages
3
Trophies
0
Age
23
XP
57
Country
France
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

uyjulian

Homebrewer
Member
Joined
Nov 26, 2012
Messages
2,567
Trophies
2
Location
United States
Website
sites.google.com
XP
3,887
Country
United States
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

kevandkkim

Well-Known Member
Newcomer
Joined
Nov 22, 2016
Messages
64
Trophies
0
Age
27
XP
555
Country
United States
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.
 
D

Deleted User

Guest
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

buberlo

New Member
Newbie
Joined
Mar 6, 2018
Messages
2
Trophies
0
Age
37
XP
49
Country
Germany
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.
 

stick267

Well-Known Member
Member
Joined
Dec 17, 2018
Messages
586
Trophies
0
Age
33
XP
1,171
Country
United States
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.
 

Techjunky90

Well-Known Member
Member
Joined
Apr 7, 2017
Messages
487
Trophies
0
Age
33
XP
882
Country
United States
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

avattar

Member
Newcomer
Joined
Apr 29, 2019
Messages
12
Trophies
0
Age
40
XP
183
Country
Brazil
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?
 

AveSatanas

Well-Known Member
Member
Joined
Aug 7, 2018
Messages
153
Trophies
0
XP
950
Country
Chad
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"
 

bylaws

Well-Known Member
OP
Member
Joined
Dec 11, 2018
Messages
129
Trophies
0
XP
1,655
Country
United Kingdom
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

EzioisAwesome56

Member
Newcomer
Joined
Jul 25, 2017
Messages
14
Trophies
0
Age
22
XP
293
Country
United States
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?
 

ReavoEnd

Member
Newcomer
Joined
Jun 17, 2018
Messages
22
Trophies
0
Age
34
XP
173
Country
United States
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

Waltee

Active Member
Newcomer
Joined
Nov 11, 2017
Messages
38
Trophies
0
Age
34
XP
348
Country
United Kingdom
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

General chit-chat
Help Users
    AncientBoi @ AncientBoi: :O:rofl2: +1