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,

DarkestSoul

Member
Newcomer
Joined
Feb 20, 2020
Messages
10
Trophies
0
Age
31
XP
86
Country
Israel
so after setting all up, it runs great, one thing that im unable to configure is the joycons, firstly, ive managed to use the L joy con as a mouse but R isnt responding (shouldnt it?) so no right/left mouse clicks only navigate with the cursor , also in Moonlight , the joycons go CRAZY, the buttons arent mapped as they should (i used the Microsoft mapping - tried the switch also)
anyone can help?

thank you!
 

mettalik

Active Member
Newcomer
Joined
Jul 23, 2019
Messages
34
Trophies
0
Age
44
XP
91
Country
France
Hi everyone,

Can you tell me something : Can I put or How I can do it : having atmosphere and L4T on the same Sd card?

I am gonna to use L4T for torrent and VLC.

Thanks
 

mettalik

Active Member
Newcomer
Joined
Jul 23, 2019
Messages
34
Trophies
0
Age
44
XP
91
Country
France
I have to format the sd card? ANd loose all the data in my switch?

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

I run on W7
 

mikefor20

Well-Known Member
Member
Joined
Jan 12, 2009
Messages
1,920
Trophies
2
Location
Mushroom Kingdom ( o Y o )
XP
3,801
Country
United States
This Linux script will help you do that.

https://github.com/lulle2007200/SwitchSDSetup

Could you please recommend an ideal build of Linux Live that has all needed support programs installed?

(gdisk, fdisk, sgdisk, sfdisk, parted, dd, mount, umount, losetup, awk, rm, rmdir, resize2fs, stat, mkfs.vfat, mkfs.ext4, unzip, printf, cp, echo, test, expr, partprobe, python3, python3-usb)

I am setting this up away from home and want everything I need set up ahead of time.

Thanks!
 

Worldblender

Well-Known Member
Member
Joined
May 27, 2019
Messages
326
Trophies
0
Age
27
XP
2,244
Country
United States
Is this safe to take online?
It should be safe to take this online, as neither the Linux distros nor the Android distros available can write to the eMMC that could trigger the bans later on. But don't do the same back on OFW or CFW while you have stuff like pirated NSP files installed.
 
Last edited by Worldblender,

Philliyxx

Well-Known Member
Member
Joined
Sep 21, 2018
Messages
304
Trophies
0
Age
36
XP
943
Country
United States
Save and unzip that file to your Downloads folder. Then open terminal and type:

sudo mv '/home/USERNAME/Downloads/50-joystick.conf' '/usr/share/X11/xorg.conf.d'

Replace "USERNAME" with the username of your L4T install. Hit enter and it will ask for your password. Type it and hit enter again and that's it. You won't see any cursor activity when you type your password. After that just reboot and your Joy Cons will work as mouse/keyboard.

You can also sudo Nautilus in the terminal to move the file with the file explorer

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

How to install moonlight-qt?
https://gbatemp.net/threads/compiling-and-installing-moonlight-embedded-on-l4t-ubuntu.537429/
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
Ok, sorry, just now getting caught up on this..... For those wondering about updating past 18.04, don't..... It causes more issues than it is worth, because the drivers for video require Xorg server 1.19.6. also cuda requires everything be compiled with gcc 7. So updating breaks more than libs. As for the Bluetooth headphone issue, I know, but it requires a ton of patches, that need rebased into the new kernel, and with everything else, I haven't had time to do it. As for other Linux distros, some other devs and I have ported arch, Gentoo, and fedora. But none of those have full hardware support yet. As for changelog between 2.0.0 and 3.0.0 check Nvidia's Jetson nano changelogs from rel32.1 to rel32.3.1. once altOS installer is released the other Linux builds will be installable through hos. If you want them now, they are in the process of being revamped, check switchroot discord, most of the devs including me release stuff there, and field questions there faster. I hardly check the forums anymore, outside of releases, and the occasional checkup, to see if I missed something. All of the latest news on switchroot projects, is on discord, and this is here for releases. Also, I don't include changelogs, because there are tons of changes, and I don't always know what exactly they are, as some are from us, some are from Nvidia, and some from Ubuntu itself. Too much to document, and I don't really keep track. Mainly just maintain and update. My project is mainly Gentoo, though I have also helped with lakka, which I need to finish updating, arch port, fedora port, Ubuntu maintenance, Android zips updates, and tons of testing.... Be happy I am persistent if it wasn't for me poking at coreboot for months and asking stupid questions we would still be working on lp0 sleep mode. I stumbled on something that lead to an actual fix, and that led to what we have now, which works in pie and Linux. I have also been collaborating with app devs, like cgutman to get moonlight support, and add decoder support to vlc/Kodi. Tons of stuff, and that doesn't include the new install process, and other stuff that I can't talk about. Lin story short, since there are like 7 people working on these many projects, when they have actual life as well, it is impressive that it works at all. ;) I hope I have answered all of the questions, and suggest for more up-to-date answers, and faster support you join the discord channel.
 

OldGnashburg

Cobra Chicken Summoner
Member
Joined
Feb 6, 2017
Messages
501
Trophies
0
Location
Alberta, Canada
XP
2,908
Country
Canada
Is the update.bin in the bootloader/payloads folder the hekate binary that reboot2payload uses? Can I update it to 5.1.3 by just swapping update.bin with the newest hekate payload and renaming it?
 

stick267

Well-Known Member
Member
Joined
Dec 17, 2018
Messages
586
Trophies
0
Age
33
XP
1,171
Country
United States
Is the update.bin in the bootloader/payloads folder the hekate binary that reboot2payload uses? Can I update it to 5.1.3 by just swapping update.bin with the newest hekate payload and renaming it?
Don't quote me on this, but I think that will update your r2p. Doesn't hurt to try.
 

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
Is the update.bin in the bootloader/payloads folder the hekate binary that reboot2payload uses? Can I update it to 5.1.3 by just swapping update.bin with the newest hekate payload and renaming it?
Nope, that's somewhere in the ext4 partition. If update.bin is a version of hekate that's higher than the one being pushed, hekate will automatcially chainload to it.
So yeah, you can update to 5.1.3 by replacing it.
 
  • Like
Reactions: tabzer

BruhBoy

Well-Known Member
Newcomer
Joined
May 3, 2019
Messages
46
Trophies
0
Age
54
XP
103
Country
United States
Im on an older version of Ubuntu, is it even worth updating? Will this update increase fps in wii/gamecube emulation?
 

saffykun-t

New Member
Newbie
Joined
Apr 13, 2020
Messages
4
Trophies
0
Age
31
XP
35
Country
United Kingdom
Ok, sorry, just now getting caught up on this..... For those wondering about updating past 18.04, don't..... It causes more issues than it is worth, because the drivers for video require Xorg server 1.19.6. also cuda requires everything be compiled with gcc 7. So updating breaks more than libs. As for the Bluetooth headphone issue, I know, but it requires a ton of patches, that need rebased into the new kernel, and with everything else, I haven't had time to do it. As for other Linux distros, some other devs and I have ported arch, Gentoo, and fedora. But none of those have full hardware support yet. As for changelog between 2.0.0 and 3.0.0 check Nvidia's Jetson nano changelogs from rel32.1 to rel32.3.1. once altOS installer is released the other Linux builds will be installable through hos. If you want them now, they are in the process of being revamped, check switchroot discord, most of the devs including me release stuff there, and field questions there faster. I hardly check the forums anymore, outside of releases, and the occasional checkup, to see if I missed something. All of the latest news on switchroot projects, is on discord, and this is here for releases. Also, I don't include changelogs, because there are tons of changes, and I don't always know what exactly they are, as some are from us, some are from Nvidia, and some from Ubuntu itself. Too much to document, and I don't really keep track. Mainly just maintain and update. My project is mainly Gentoo, though I have also helped with lakka, which I need to finish updating, arch port, fedora port, Ubuntu maintenance, Android zips updates, and tons of testing.... Be happy I am persistent if it wasn't for me poking at coreboot for months and asking stupid questions we would still be working on lp0 sleep mode. I stumbled on something that lead to an actual fix, and that led to what we have now, which works in pie and Linux. I have also been collaborating with app devs, like cgutman to get moonlight support, and add decoder support to vlc/Kodi. Tons of stuff, and that doesn't include the new install process, and other stuff that I can't talk about. Lin story short, since there are like 7 people working on these many projects, when they have actual life as well, it is impressive that it works at all. ;) I hope I have answered all of the questions, and suggest for more up-to-date answers, and faster support you join the discord channel.

for anyone with unmet depencies durin kodi install:
sudo add-apt-repository universe

sudo apt-get install ppa-purge
sudo ppa-purge ppa:team-xbmc/ppa
sudo add-apt-repository -r ppa:team-xbmc/ppa

sudo apt-get install kodi

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

also thanks because this project proper sparked my interest. i got portable runscape on the switch xD!

so when i install another enviroment, -i tried XFCE4, the touchscreen calibration was totally mash up, is there a way i can take the profile from ubuntu so it works in XFCE4. reason im askin is, cuz tends to crash in ubuntu or unity more often than lightweight enviro'

peace'
this brings me to the scene, usually just give up when it comes to linux issues tho im sticking with it, and slowly findin results!
 
  • Like
Reactions: konamicode89

famf

New Member
Newbie
Joined
Apr 13, 2020
Messages
2
Trophies
0
Age
33
XP
49
Country
United States
I downloaded 3.0 and was hoping to do a bunch of setup over SSH to avoid docking and hooking up a keyboard and mouse but SSH is really unresponsive for me, even when hardwired into the dock on a gigabit usb 3 adapter. On the terminal on the remote computer it just locks up for up to 20 seconds at a time before it starts responding to what I had typed. Wondering if anyone else has seen this and if I should just try reimaging the SD card or something.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://www.ebay.com/itm/386617469929?mkcid=16&mkevt=1&mkrid=711-127632-2357-0&ssspo=2T8UwYf_Qse&...