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,

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
are you planning to update Gentoo for switch?

your Gentoo thread says it will not be updated.

This is gentoo L4T. I dont think that I will be able to get kodi to play netflix, or amazon in this build, due to the DRM libraries. Best bet there is to wait on anbox, or android for this. This is more of a port of the tegra libraries into gentoo, so you have a better more updated option than ubuntu.
 
  • Like
Reactions: Watermelonz

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
How do I change to a more lighweight interface so L4T has better performance and can we put L4T on an SSD?

You would need to install a light weight interface, and choose it from the login screen. The screen rotation, and touchscreen calibration needs to be changed as well. As for putting l4t on an ssd drive, While you could do that, it wouldnt be a great idea, in the sense you would be tethered to the dock at all times. it is better to put the OS on the sdcard, and stuff like music, and roms and stuff like that on an external SSD. Just my thoughts.
 
  • Like
Reactions: globalc

OverkillLabs

Well-Known Member
Newcomer
Joined
Jan 26, 2019
Messages
45
Trophies
0
Age
34
XP
301
Country
Bulgaria
You would need to install a light weight interface, and choose it from the login screen. The screen rotation, and touchscreen calibration needs to be changed as well. As for putting l4t on an ssd drive, While you could do that, it wouldnt be a great idea, in the sense you would be tethered to the dock at all times. it is better to put the OS on the sdcard, and stuff like music, and roms and stuff like that on an external SSD. Just my thoughts.

I already use L4T exclusively with the dock and a keyboard and mouse so touch controls and being tethered is not a problem for me.
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
in that case, you would put the second partition on the sd card, and you need to change the boot.scr(Needs to be compiled with mkimage from uboot sources) file for uboot to point at the external ssd, an you would also need to modify fstab to also point at the external ssd partition.
 
  • Like
Reactions: Watermelonz

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,868
Trophies
2
XP
29,032
Country
United Kingdom
Do usb adapters for wireless headphones, the kind designed for Switch/Horizon, work on l4t linux, and more importantly do they work on Android? Anyone tried?

b.jpg

e: I just remembered you can do bluetooth audio straight from the Switch in linux, duh. Does that work in android currently, or in future?
 
Last edited by hippy dave,

stick267

Well-Known Member
Member
Joined
Dec 17, 2018
Messages
586
Trophies
0
Age
33
XP
1,171
Country
United States
Do usb adapters for wireless headphones, the kind designed for Switch/Horizon, work on l4t linux, and more importantly do they work on Android? Anyone tried?


e: I just remembered you can do bluetooth audio straight from the Switch in linux, duh. Does that work in android currently, or in future?
Yeah Bluetooth headphones work just fine in L4T Ubuntu, I use my Apple AirPods all the time with it. I would assume they work in Android as well.
 
  • Like
Reactions: hippy dave

Imancol

Otak Productions
Member
Joined
Jun 29, 2017
Messages
1,375
Trophies
0
XP
2,762
Country
Colombia
This shows that the virtual console of Gamecube and Wii are possible in Switch?

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

Is there a lighter version of L4T ubuntu that does not occupy more than 4GB?
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
This shows that the virtual console of Gamecube and Wii are possible in Switch?

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

Is there a lighter version of L4T ubuntu that does not occupy more than 4GB?

Not currently, but you could make one, or even strip the build that is already there.
 

globalc

Member
Newcomer
Joined
Jun 14, 2019
Messages
21
Trophies
0
Age
49
Website
fluxcoil.net
XP
116
Country
Japan
I already use L4T exclusively with the dock and a keyboard and mouse so touch controls and being tethered is not a problem for me.
Do you expect faster loading? Also with the sdcard, this gets loaded and then probably stays cached in your RAM. You could reboot L4T, then start everything you are using, and look at the output of 'free' to understand how much data gets loaded from the card. Loading that might then improve from 30 or 60MB/sec to SSD speeds. Like Gavin_Darkglider, I think that makes more sense for data than the OS.

As for 'lightweight WM', makes me actually curious, will compare RAM consumption of a freshly booted L4T with the Fedora30/LXDE which I am using.
 

OverkillLabs

Well-Known Member
Newcomer
Joined
Jan 26, 2019
Messages
45
Trophies
0
Age
34
XP
301
Country
Bulgaria
Do you expect faster loading? Also with the sdcard, this gets loaded and then probably stays cached in your RAM. You could reboot L4T, then start everything you are using, and look at the output of 'free' to understand how much data gets loaded from the card. Loading that might then improve from 30 or 60MB/sec to SSD speeds. Like Gavin_Darkglider, I think that makes more sense for data than the OS.

As for 'lightweight WM', makes me actually curious, will compare RAM consumption of a freshly booted L4T with the Fedora30/LXDE which I am using.

Can you keep me posted when you compare them so I know which one uses less RAM so I can switch to that
 

globalc

Member
Newcomer
Joined
Jun 14, 2019
Messages
21
Trophies
0
Age
49
Website
fluxcoil.net
XP
116
Country
Japan
Can you keep me posted when you compare them so I know which one uses less RAM so I can switch to that
Just compared. L4T boots for me up in 30sec until a usable grapical screen, and in that state 814MB are consumed:
Code:
chris@switch:~$ free -m
              total        used        free      shared  buff/cache   available
Mem:           3483         841        2213          11         429        2372
Swap:             0           0           0
chris@switch:~$
My Fedora30 build with LXDE takes 43sec to load, and after that 512MB are consumed:
Code:
[root@switch ~]# free -m
              total        used        free      shared  buff/cache   available
Mem:           3483         512        2270           6         701        2692
Swap:             0           0           0
[root@switch ~]#
My build is not nicely available as image though, one has to follow bootstrap instructions. Also some 3D for example supertuxkart does not start, L4T is probably more compatible. This shows though the potential, is someone is after 300MB, then playing with smaller window managers on L4T might make sense.
 
Last edited by globalc,

Mouser X

Well-Known Member
Member
Joined
Aug 26, 2009
Messages
101
Trophies
0
XP
546
Country
United States
Hello, can the console ban me for connecting to the internet?
Short answer: No.

Long answer: How? L4T has no access to internal storage, and no access to Horizon. Even if it connected to Nintendo's servers, it's recognised as a Linux tablet/laptop. There's almost no way Nintendo can even figure out what you're doing. And the theoretical methods that
 
  • Like
Reactions: Worldblender

jmirco64

New Member
Newbie
Joined
Jun 25, 2019
Messages
2
Trophies
0
Age
34
XP
42
Country
Armenia
Short answer: No.

Long answer: How? L4T has no access to internal storage, and no access to Horizon. Even if it connected to Nintendo's servers, it's recognised as a Linux tablet/laptop. There's almost no way Nintendo can even figure out what you're doing. And the theoretical methods that

Thanks
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Bunjolio @ Bunjolio:
    mhm
  • Bunjolio @ Bunjolio:
    they have other stuff like goguardian too
  • SylverReZ @ SylverReZ:
    Ours mainly relied on the router, I believe.
  • Bunjolio @ Bunjolio:
    our school network and chrome policies block stuff too
  • Bunjolio @ Bunjolio:
    alot of yt to mp3 sites are blocked by light speed for "Security"
  • SylverReZ @ SylverReZ:
    It was easy to bypass some of the restrictions, as one of the admins left a registry key in the administrative shares drive, which allowed me to get around the blocking of some sites.
  • Bunjolio @ Bunjolio:
    tf does tta mean
  • Bunjolio @ Bunjolio:
    yeah this is chrome os
  • Bunjolio @ Bunjolio:
    cant do shit
  • SylverReZ @ SylverReZ:
    @Bunjolio, Wdym 'TTA'?
  • Bunjolio @ Bunjolio:
    that* as in why yt to mp3 sites are blocked for security
  • SylverReZ @ SylverReZ:
    @Bunjolio, Remember when YouTubetoMP3 was a thing back in the 2010s?
  • SylverReZ @ SylverReZ:
    Until YT updated some stuffs and broke the website.
  • Bunjolio @ Bunjolio:
    I was 2 in 2010
  • SylverReZ @ SylverReZ:
    Oh lol
  • Bunjolio @ Bunjolio:
    lol
  • SylverReZ @ SylverReZ:
    This was in the Minecraft-era.
  • AncientBoi @ AncientBoi:
    lol Bun rockin out at 2 :rofl2:
  • BakerMan @ BakerMan:
    same tbh
  • AncientBoi @ AncientBoi:
    ♫ Mama hully gully, Papa hully gully, Baby hully gully too:rofl2:
  • AncientBoi @ AncientBoi:
    Oh god, I really am old. lol
  • Sicklyboy @ Sicklyboy:
    @SylverReZ, sup Sylv!
  • AncientBoi @ AncientBoi:
    Anyway, I gotta go to the store. L8er guys. Oops, I better put some clothes on :shy::tpi::rofl2:
    AncientBoi @ AncientBoi: Anyway, I gotta go to the store. L8er guys. Oops, I better put some clothes on :shy::tpi::rofl2: