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,

Sticker

Well-Known Member
Newcomer
Joined
Oct 1, 2018
Messages
89
Trophies
0
Age
34
XP
683
Country
Vietnam
Can anyone help me with this issue? Everytime I dock my switch it gives me this glitchy mess. I have it hooked up with a HDMI to VGA converter to my monitor
I got the same problem when I connect with 4k monitor. Switch to 2k one and everything work fine. This version not supported 4k yet
 

stefan230

Member
Newcomer
Joined
May 1, 2019
Messages
6
Trophies
0
Age
27
XP
61
Country
Germany
For anyone interested in 3D modeling (Or modding on the switch for the switch), Blender runs disgustingly well on this thing.
Camera movement works beautifully with the Joycons. Its also devouring a 560K polygon sculpt I decimated from Zbrush so im sure high poly modeling and sculpting works decent.

I'm hoping that the wacom digitizer in my Surface will just werk during a stream session. (Works with ALL the Notes and remote desktop ) So I can play with the pressure sensitivity and performance.

Imagine hooking up an eGPU to this for substance painter and gimp.. Its the most cybp device in your house right now.

Haha. i need to try out blender on the switch. Working on blender on the switch was fine for you? Also can you check out if you can use the tegra's GPU-Cores to make a render in blender. I imagine rendering on the CPU might take some time with only 4 threads. But the gpu might be quite potent if render-settings a correctly set.

Is blender installable from the official repos or do I need to compile it from source?

Nice work, I got it running last night as well and tried several apps. Ones that worked include Notepad++, Sublime Text 3, putty, IrfanView, OpenJK dedicated server, and most Installshield based installers. A lot still did not work in my tests but the apps that did work were surprisingly usable.

Thanks for helping me out on github. ^^

Would you be interested in helping writing a setup guide for hangover on the switch?

I wouldn't been able to get it running without your fix. I didn't figured out anything on my raspberry pi3 running raspbian but on the switch it was fixed and done in a lot of time and rerunning the "make" command a few times. I don't know if I got everything set up correctly, but thats be solved next I guess.

I just tried installing a game yesterday. It was a rather weird to be honest, but it is a nice proof of concept. Installing was rather cumbersome and didn't work out quite right (files are missing due to CRC Mismatches). I will have to test a bit further with some other DRM-free, maybe also some indies from my steam library.

Maybe if we all come together there might be something really cool on the "Horizon".
 

PokOeLe

Member
Newcomer
Joined
May 1, 2019
Messages
14
Trophies
0
Age
24
XP
100
Country
Afghanistan
Hey guys, so I tried to set up L4T today on my switch however it is stuck on a blank screen and doesn't do anything, after booting from hekate. Strangely enough my partners switch boots it immediately (with the same microSD card and installation - SanDisk Extreme 32GB) so wondering if there is a driver issue with booting on newer switches? His was bought on launch however mine was bought in august 2018 (unpatched obviously).

Any help would be greatly appreciated :)
Good question. Maybe it's not a SD card problem at all, but instead a switch version problem. Maybe some data collection will help us to figure out what is going on.

My console:
Nintendo Switch HAC-001
general serial number: XAJ70000000000..unpatched
Firmware 8.0.1 (updated with ChoiDujour from 6.something )
The console runs perfectly atmosphere, but has difficulties to boot L4T ( and when it boots into the configuration procedure, it crashed after the selection of username/psw screen). I've tried with 3 SD cards - 64Gb Samsung Evo plus, 128Gb Samsung Evo plus, 16GB SanDisk Ultra.
 

Kubas_inko

"Something funny goes here."
Member
Joined
Feb 3, 2017
Messages
6,324
Trophies
1
Age
24
Location
I gues on earth.
XP
5,183
Country
Czech Republic
@bylaws With bigger eMMC size (I personally have 128gb), would it be possible to install it onto it?
Also, this is a really great achievement. Fully featured ubuntu on Switch, yey. But oh my god, it is so slow/laggy :rofl:
 
Last edited by Kubas_inko,

stick267

Well-Known Member
Member
Joined
Dec 17, 2018
Messages
586
Trophies
0
Age
33
XP
1,171
Country
United States
For Dolphin, I wanted to be able to use full-screen mode without seeing the mouse and I wanted the ability to exit full-screen mode without a keyboard.
To accomplish this, go into your dolphin graphics settings and check the hide mouse cursor box.
In order to be able to exit dolphin, I mapped the home button on my gamepad to ESCAPE. To do this, you need to install qjoypad:

(courtesy of @wicksand420)
"
For qjoypad you open the terminal and type

sudo apt-get update -y and hit enter

then this

sudo apt-get install -y qjoypad and hit enter

then to configure it, make sure your joycons are paired, then in the terminal type

qjoypad --notray and hit enter

A controller icon will appear, click on it to configure the controllers"

After you click on the controller icon, press the ADD button on the top, then press quick set on the button, and then map the ESCAPE key to the home button (or whichever button you choose).
Then, you can close the small controller icon.
Afterwards, you can simply launch qjoypad from the apps menu, and then it will run in the background with your new settings. I recommend locking qjoypad to the sidebar for quick access.
Now, when you launch dolphin in full-screen mode, you can press the home button to exit full-screen mode and retain full functionality of using your joycons as a mouse in ubuntu! And every time you reboot, you can just click on the qjoypad button in the sidebar and it will automatically run in the background.
Thanks a ton for this. Works perfectly. Do you know if there's a way to map the scroll wheel on the mouse?
 
Last edited by stick267,

enderer

Well-Known Member
Member
Joined
Jul 19, 2015
Messages
381
Trophies
0
Age
34
XP
1,652
Country
United States
trying to test 4k video, got the file split (finally) just need to set the split parts into a playlist.

anyone know how to make a playlist in the default video player?
 

enderer

Well-Known Member
Member
Joined
Jul 19, 2015
Messages
381
Trophies
0
Age
34
XP
1,652
Country
United States
when i dock my switch running l4t ubuntu, it displays 2160p. i read that the default video player has hw rendering (not sure about technicals, but it should play 4k video), so i'm testing it. i've never watched a 4k movie before and i think it would be cool to do so without buying a new device. the one split part of the video plays without skipping, with minimal choppiness.

so now all i need is to make a playlist to auto-play each split part

EDIT: so i just highlighted all part files and opened with videos (right click). i was hoping to find a way to do it with just the touch screen, but meh, this is close enough.
 
Last edited by enderer,
  • Like
Reactions: Conan179

Niels Van Son

Unspecified Life Form
Member
Joined
Jan 1, 2016
Messages
307
Trophies
0
Age
21
Location
Mirepoix, Ariège, Occitanie
XP
1,634
Country
France
@enderer why 4k? The Output from the Switch is only 1080p (fullhd)

To test decoding possibilities. Besides, the tegra X1 can probably handle 4K outputting, though it would require time and effort to get this working (And wouldn't give much benefits)

EDIT : My bad, 4K output's already there.
 
Last edited by Niels Van Son,

mugman16

Member
Newcomer
Joined
Jul 6, 2017
Messages
10
Trophies
0
Age
34
XP
181
Country
United Kingdom
hey so im running that new linux build and i dont want to overclock. when i do To limit cpu freq, run cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies.Ffind the one you want, then run: echo <freq you want> | sudo tee /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq it returns with 102000, 20400 306000 going on in that fashion to 173400. does anybody know which one of these will give me similar results to the stock horizon cpu speed?
 

Techjunky90

Well-Known Member
Member
Joined
Apr 7, 2017
Messages
487
Trophies
0
Age
33
XP
882
Country
United States
@enderer why 4k? The Output from the Switch is only 1080p (fullhd)
The switch is capable of UHD 30fps. The chipset is capable of UHD 60fps but is limited by the version of hdmi used.

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

hey so im running that new linux build and i dont want to overclock. when i do To limit cpu freq, run cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies.Ffind the one you want, then run: echo <freq you want> | sudo tee /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq it returns with 102000, 20400 306000 going on in that fashion to 173400. does anybody know which one of these will give me similar results to the stock horizon cpu speed?
102000 should be almost stock speed
 

Neo_

Well-Known Member
Newcomer
Joined
Jan 28, 2017
Messages
56
Trophies
0
Age
22
XP
611
Country
I have problems with Internet connection. It sucessfully connected to my wifi during the installation process but later it didn't work and didn't find any wifi network.
 
Last edited by Neo_,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Meta what's @Psionic Roshambo onlyfans password