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,

De4dm4sterBR

Member
Newcomer
Joined
Apr 28, 2019
Messages
21
Trophies
0
Age
25
XP
83
Country
Brazil
i'm really really sad i can't even go trough the setup process. Tried everything, but after select the L4T confing on Hekate all i get is a black screen, wich stays forever or reboot to RCM again. if someone manage to fix it, i'll be very greatefull.
Anyway, thank you @bylaws for you work!
What is your sdcard model

You can ssh in and fix from there

You can do that by tapping the 4 squares in top right and selecting show.


@bylaws

My sd card is a SANDISK ULTRA microSD UHS-I CARD 64GB, wich is white and grey with red letters on the white side and white letters on the grey side.
 

DiscostewSM

Well-Known Member
Member
Joined
Feb 10, 2009
Messages
5,484
Trophies
2
Location
Sacramento, California
Website
lazerlight.x10.mx
XP
5,487
Country
United States
Very nice. I have some questions though.

Do you have to have a separate SD card, or can you use the same one used for Horizon but with separate partitions (ext4 for Linux, fat32 for Horizon)? If the latter, can Linux access the fat32 partition? Was wondering if it would be possible to be able to tell each OS (Atmoshere CFW Horizon and Linux) to reboot to the other, where it makes a note of what OS to boot into, then reboots to RCM to autoboot to the selected OS. That way folks wouldn't have to manually go through Hekate to select where to go. I know with the Atmosphere CFW and with the Kosmos Toolbox, you can select from different Kekate profiles on reboot (straight into Hekate, stock Horizon, CFW Horizon, etc). If such a thing could be done with this Linux build, then that would be perfect.
 
  • Like
Reactions: lordelan

Xolono

Member
Newcomer
Joined
Apr 11, 2017
Messages
21
Trophies
0
Age
25
XP
244
Country
Hey, you have Twitter or something to DM? I can put together a zip for you to try. I use my switch as a media center basically. So the whole dead screen thing sucks!
Think you could drop one by my way?
I've tried multiple SD cards, and can't get past setup since no on screen keyboard appears

It'd be much appreciated
Xolono69
 

Shrike

Well-Known Member
Member
Joined
Mar 10, 2018
Messages
120
Trophies
0
Age
34
XP
832
Country
Germany
Super sweet.

Can you use the joycons as mouse, or do you need a additional one?

Can you use the usbc slot (with converter) to use keyboard and mouse?

Thanks in advance :creep:
 

bylaws

Well-Known Member
OP
Member
Joined
Dec 11, 2018
Messages
129
Trophies
0
XP
1,655
Country
United Kingdom
Very nice. I have some questions though.

Do you have to have a separate SD card, or can you use the same one used for Horizon but with separate partitions (ext4 for Linux, fat32 for Horizon)? If the latter, can Linux access the fat32 partition? Was wondering if it would be possible to be able to tell each OS (Atmoshere CFW Horizon and Linux) to reboot to the other, where it makes a note of what OS to boot into, then reboots to RCM to autoboot to the selected OS. That way folks wouldn't have to manually go through Hekate to select where to go. I know with the Atmosphere CFW and with the Kosmos Toolbox, you can select from different Kekate profiles on reboot (straight into Hekate, stock Horizon, CFW Horizon, etc). If such a thing could be done with this Linux build, then that would be perfect.
You can, but it takes some fiddling. You'll need to take the second partition from the image and put it on the second partition you created on the sdcard. Then copy over files from partition 1 in image to partition 1 on sdcard
Will wine (windows emu) work on here or is that intel only?

What’s about battery issues? Will the battery percentage be false when you go back to horizon?
It'll be correct

Super sweet.

Can you use the joycons as mouse, or do you need a additional one?

Can you use the usbc slot (with converter) to use keyboard and mouse?

Thanks in advance :creep:
1.no 2.no but maybe if it's a y cable
 
  • Like
Reactions: pLaYeR^^

TemTW12

New Member
Newbie
Joined
Aug 15, 2018
Messages
4
Trophies
0
Age
25
XP
49
Country
United Kingdom
sorry if this sounds completely stupid but is there going to be a chance of something like this working with another more light weight distro such as Xubuntu?
 

uyjulian

Homebrewer
Member
Joined
Nov 26, 2012
Messages
2,567
Trophies
2
Location
United States
Website
sites.google.com
XP
3,879
Country
United States
Can I emulate a switch in Ubuntu?
Yes, using Yuzu

Will wine (windows emu) work on here or is that intel only?
Intel x86 Win32 programs will work in Wine will work if you use Qemu. However, the speed is not impressive!

Hangover is a project to thunk x86 Win32 programs with native (arm64) code to improve performance. However, compatibility is not as high as with upstream Wine. Its project page can be found here: https://github.com/AndreRH/hangover
Evenicle 2 uses functions that have not been implemented in thunked code, so it currently doesn't run using Hangover.
 
Last edited by uyjulian,
  • Like
Reactions: EclipseUmbreon

Xolono

Member
Newcomer
Joined
Apr 11, 2017
Messages
21
Trophies
0
Age
25
XP
244
Country
Not sure if it's my end only, but when using it in the dock, and after changing the resolution, the picture ends looking as if it's been "corrupted"
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: You need a Tylenol pm