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,

giogio5

Member
Newcomer
Joined
Jul 17, 2018
Messages
24
Trophies
0
XP
197
Country
Ireland
I just wanna know, can it run Java minecraft? Why? Because A. Portable Java Minecraft would be great. B. My PC literally can't run it kek.

Also can we run steam and dolphin and all that stuff?
 
Last edited by giogio5,

NextFire

New Member
Newbie
Joined
Jun 22, 2016
Messages
3
Trophies
0
Age
23
XP
57
Country
France
Is there any way to fix RTC shifting in Horizon OS? My Switch now shows a 2035 date even after an Internet time resync
 

stick267

Well-Known Member
Member
Joined
Dec 17, 2018
Messages
586
Trophies
0
Age
33
XP
1,171
Country
United States
Has anyone had any issues with their Joy Con sticks being mis-calibrated (specifically the right Joy Con)? My right Joy Con's stick shows as being pushed all the way right in L4T, but it functions normally in Horizon.

Screenshot_from_2019-04-28_22-46-13.png

Screenshot showing the issue. The "Main Stick" (left Joy Con) is fine, but the "C-Stick" (right Joy Con) is pushed all the way to the right by default.

Re-calibrating in Horizon doesn't do anything. I also tried using jstest-gtk to re-calibrate within L4T, and while it makes a difference the calibration is still way off. Any ideas?
 
Last edited by stick267,

Niels Van Son

Unspecified Life Form
Member
Joined
Jan 1, 2016
Messages
307
Trophies
0
Age
21
Location
Mirepoix, Ariège, Occitanie
XP
1,625
Country
France
Could you explain why please ?

Steam uses the X86 CPU architecture, common on almost all PCs. The switch (more specifically the Tegra X1) uses a mobile architecture known as ARM64. The two architectures need different code in order to function, Steam being made for X86 only makes it impossible to run on the switch without a rewrite of the code.
 
  • Like
Reactions: KeyZiro

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
my tv is stuck at 50hz how do i change it?
Assuming you are not on an ancient CRT (70s and early 80s ancient) then if it does 50Hz should do both 50 and 60Hz. Surprisingly few NTSC things will handle PAL frequencies but the other way around is usually OK. Some adapter boxes might not, or might not use the functionality of their chips, but the TV should, and the Switch obviously will. Similarly if it was an old CRT then sometimes you have to press a button (might not be an obvious one either -- my old samsung CRT wanted you to press a red button to change modes else you might have had to watch in black and white).

Anyway in general Linux if autodetect for resolution is being a pain, or you want something a bit fancy like portrait mode or to otherwise colour outside the lines a bit, you usually play with the xrandr command. I did a token search and various ARM Linux builds still use it but I don't know if things have changed here for this and don't have a hacked Switch to test this on.

It is a command line command and can be annoying to use but that is where I would head. https://unix.stackexchange.com/questions/408558/how-to-change-display-resolution-for-armbian covers the general flow of a lot of things, and is for armbian so hopefully it carries across here well enough. Failing that a general xrandr guide will hopefully tell you what you need to find the information needed and fill in the blanks.
 
  • Like
Reactions: Subtle Demise

Xolono

Member
Newcomer
Joined
Apr 11, 2017
Messages
21
Trophies
0
Age
25
XP
244
Country

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
Steam uses the X86 CPU architecture, common on almost all PCs. The switch (more specifically the Tegra X1) uses a mobile architecture known as ARM64. The two architectures need different code in order to function, Steam being made for X86 only makes it impossible to run on the switch without a rewrite of the code.
technically you could use an x86 to aarch64 emulator, it’d run like ass though
 

Nasedase

Well-Known Member
Newcomer
Joined
Jul 30, 2008
Messages
95
Trophies
0
Age
33
Location
Florida
XP
379
Country
United States
I was under the assumption that when you inject payloads like Hekate, it's doing so via files on your micro SD. Assuming this is the case, how are you supposed to boot Hekate if you write your entire microSD as a linux boot disk?
 

stick267

Well-Known Member
Member
Joined
Dec 17, 2018
Messages
586
Trophies
0
Age
33
XP
1,171
Country
United States
I was under the assumption that when you inject payloads like Hekate, it's doing so via files on your micro SD. Assuming this is the case, how are you supposed to boot Hekate if you write your entire microSD as a linux boot disk?
There's a 500mb FAT32 partition in the image with the necessary files for Hekate.
 

crow132

Well-Known Member
Member
Joined
Jan 19, 2016
Messages
302
Trophies
0
Age
34
XP
1,373
Country
Saint Helena
Has anyone had any issues with their Joy Con sticks being mis-calibrated (specifically the right Joy Con)? My right Joy Con's stick shows as being pushed all the way right in L4T, but it functions normally in Horizon.

View attachment 165328
Screenshot showing the issue. The "Main Stick" (left Joy Con) is fine, but the "C-Stick" (right Joy Con) is pushed all the way to the right by default.

Re-calibrating in Horizon doesn't do anything. I also tried using jstest-gtk to re-calibrate within L4T, and while it makes a difference the calibration is still way off. Any ideas?

sorry i cant help, but wanted to ask you how performance has been for you in dolphin? any title you would consider playable?
 
D

Deleted User

Guest
Has anyone had any issues with their Joy Con sticks being mis-calibrated (specifically the right Joy Con)? My right Joy Con's stick shows as being pushed all the way right in L4T, but it functions normally in Horizon.

View attachment 165328
Screenshot showing the issue. The "Main Stick" (left Joy Con) is fine, but the "C-Stick" (right Joy Con) is pushed all the way to the right by default.

Re-calibrating in Horizon doesn't do anything. I also tried using jstest-gtk to re-calibrate within L4T, and while it makes a difference the calibration is still way off. Any ideas?
Sorry mate, but would you be so kind as to tell us Linux dummies how to install dolphin please?
 
  • Like
Reactions: Xolono

stick267

Well-Known Member
Member
Joined
Dec 17, 2018
Messages
586
Trophies
0
Age
33
XP
1,171
Country
United States
sorry i cant help, but wanted to ask you how performance has been for you in dolphin? any title you would consider playable?
I've only played Wind Waker (I posted a video of a few minutes on Outset Island on the first page). It hovers around 25fps most often. It occasionally hits full speed at 30fps and also dips as low was 20fps in some areas.

I finished the Forbidden Woods yesterday and it's been perfectly playable up until then, albeit not at full speed.
 
  • Like
Reactions: crow132

Techjunky90

Well-Known Member
Member
Joined
Apr 7, 2017
Messages
487
Trophies
0
Age
33
XP
882
Country
United States
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!
Issue 1, I had the same issue when I installed kodi. Screen was horizontal, touch controls were vertical. Then my screen changed to vertical and touch controls worked correctly. I restarted, screen was still vertical, I tried changing screen orientation, did nothing. Did another restart and screen went back to horizontal and has stayed horizontal since then.
 
  • Like
Reactions: spenat

stick267

Well-Known Member
Member
Joined
Dec 17, 2018
Messages
586
Trophies
0
Age
33
XP
1,171
Country
United States
Sorry mate, but would you be so kind as to tell us Linux dummies how to install dolphin please?
Run these commands in terminal:

Code:
sudo add-apt-repository ppa:dolphin-emu/ppa
sudo apt-get update
sudo apt install dolphin-emu-master

That will get you Dolphin.

I'm using an unofficial build of Dolphin called Ishiiruka since it works better with Vulkan and gives a bit of a performance boost.
https://github.com/Tinob/Ishiiruka

It's a lot more involved to install Ishiiruka, but it's not necessarily difficult. You'll get a bunch of dependency errors that you have to manually install.
 

burt111

Well-Known Member
Newcomer
Joined
Oct 30, 2016
Messages
48
Trophies
0
Age
26
XP
197
Country
United States
Getting dbus errors on lots of programs and games some things like dolphin work but things like ppsspp give the error
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: good night