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,

GAMERZEROZ1

Member
Newcomer
Joined
Mar 7, 2018
Messages
9
Trophies
0
Age
33
XP
99
Country
United States
Also option 3 didn't work...
I'm starting to believe that during the initial expansion of the SD card the switch may need to reboot and there is a problem with Auto RCM.
Do someone of you have Auto RCM active? and are able to make this work? I'm asking just to cross out also this option.

Yes i have Auto RCM on and it work's.
 

Qubarf

Well-Known Member
Member
Joined
Dec 14, 2018
Messages
239
Trophies
0
Age
33
XP
967
Country
Pakistan
OK, so after messing around with Qjoypad I figured it was highly outdated and looked for something else.
Turns out the simplest way to control mouse with joycon is to do:
sudo apt install xserver-xorg-input-joystick
and reboot!
Voila!

p.s 'A' is left click and 'X' is left click. I am pretty sure the sensitivity can be altered through mouse settings.
 

De4dm4sterBR

Member
Newcomer
Joined
Apr 28, 2019
Messages
21
Trophies
0
Age
25
XP
83
Country
Brazil
Well, i've done a "zero fill" on my SD card, just to make sure it wasn't any errors that are preventing L4T from booting, and changed nothing. Still with that f** black screen.
 

PokOeLe

Member
Newcomer
Joined
May 1, 2019
Messages
14
Trophies
0
Age
24
XP
100
Country
Afghanistan
Yes i have Auto RCM on and it work's.

So I really don't know what is going on on my switch. I did everything that is wrote in the tutorial.

Well, i've done a "zero fill" on my SD card, just to make sure it wasn't any errors that are preventing L4T from booting, and changed nothing. Still with that f** black screen.

Same here! I dunno how to overcome this problem. Can this be connected to the firmware version I'm running on my Switch ? I'm on 8.0.1, upgraded the other day.
Atmosphere is running smoothly though. Is this linux firmware dependent ? There is anyone here that is able to run it on 8.0.1?
 

De4dm4sterBR

Member
Newcomer
Joined
Apr 28, 2019
Messages
21
Trophies
0
Age
25
XP
83
Country
Brazil
So I really don't know what is going on on my switch. I did everything that is wrote in the tutorial.



Same here! I dunno how to overcome this problem. Can this be connected to the firmware version I'm running on my Switch ? I'm on 8.0.1, upgraded the other day.
Atmosphere is running smoothly though. Is this linux firmware dependent ? There is anyone here that is able to run it on 8.0.1?

i'm on 7.0.1, but it has nothing to do with firmware, you know, things you push to switch in RCM mode are just using the hardware itself, Horizon OS stays on internal NAND without beeing touched.
 

cm0ski

New Member
Newbie
Joined
May 1, 2019
Messages
2
Trophies
0
Age
29
XP
49
Country
United States
Darn, OpenMW doesn't work. The openmw-wizard works just fine but openmw-launcher crashes on start.

If anyone else is trying to run OpenMW, it seems running the launcher with this command "DBUS_FATAL_WARNINGS=0 openmw-launcher" will make it run. OpenMW runs great!
 

stick267

Well-Known Member
Member
Joined
Dec 17, 2018
Messages
586
Trophies
0
Age
33
XP
1,171
Country
United States
OK, so after messing around with Qjoypad I figured it was highly outdated and looked for something else.
Turns out the simplest way to control mouse with joycon is to do:
sudo apt install xserver-xorg-input-joystick
and reboot!
Voila!

p.s 'A' is left click and 'X' is left click. I am pretty sure the sensitivity can be altered through mouse settings.

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
I have a question for both of these utilities.

Is there a way to map a hotkey or something that tells the OS to stop using the Joy Cons as a mouse? For example you'd use the Joy Con as a mouse to navigate to Dolphin, change settings, launch a game, etc, then press the home button to kill the mouse so you can use the Joy Cons as a controller. Then when you're done with Dolphin, press the home button and the Joy Cons will start functioning as a mouse again. Is something like this possible?
 

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
So regarding Dolphin
I cloned the github from https://github.com/Tinob/Ishiiruka
How do I install it now?
Can someone please give me a step by step tutorial?
the repo has instructions on how to build it

also run this to get all the dependencies:
sudo apt install cmake pkg-config git libao-dev libasound2-dev libavcodec-dev libavformat-dev libbluetooth-dev libenet-dev libgtk2.0-dev liblzo2-dev libminiupnpc-dev libopenal-dev libpulse-dev libreadline-dev libsfml-dev libsoil-dev libsoundtouch-dev libswscale-dev libusb-1.0-0-dev libwxbase3.0-dev libwxgtk3.0-dev libxext-dev libxrandr-dev portaudio19-dev zlib1g-dev libudev-dev libevdev-dev "libpolarssl-dev|libmbedtls-dev" libcurl4-openssl-dev libegl1-mesa-dev libpng-dev qtbase5-private-dev
 
  • Like
Reactions: hallo23

PokOeLe

Member
Newcomer
Joined
May 1, 2019
Messages
14
Trophies
0
Age
24
XP
100
Country
Afghanistan
i'm on 7.0.1, but it has nothing to do with firmware, you know, things you push to switch in RCM mode are just using the hardware itself, Horizon OS stays on internal NAND without beeing touched.

It's what I though. But then I can't explain myself why my switch won't run this Linux image.
I previously ran other versions of linux on this console on the same SD card.
 

Kirby567fan

Well-Known Member
Member
Joined
Jan 6, 2018
Messages
402
Trophies
0
Age
23
XP
2,754
Country
Morocco
so guys I installed kodi and when I rebooted instead of showing ubuntu it shows kodi and the exit button doesnt work can someone help me please
 
  • Like
Reactions: tabzer
D

Deleted User

Guest
Anyone found a solution to the retroarch segmentation fault: core dumped error?
 

tabzer

This place is a meme.
Member
Joined
Feb 15, 2019
Messages
5,844
Trophies
1
Age
39
XP
4,911
Country
Japan
so guys I installed kodi and when I rebooted instead of showing ubuntu it shows kodi and the exit button doesnt work can someone help me please

I couldn't figure a way around this. I figured out how to exit Kodi, but logging in again booted it back up. Can't use the keyboard or mouse either. It's a trap! I ended up reimaging.
 

enderer

Well-Known Member
Member
Joined
Jul 19, 2015
Messages
381
Trophies
0
Age
34
XP
1,652
Country
United States
Is anyone having an issue with the wifi disconnecting?
if you mean horizon wifi, then yes. i've rebooted and tried different payloads. the wifi says it connects successfully (horizon) but then gives me some error about certificates. this only happened after messing with l4t.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub:
    I @ I-need-help-with-wup-wiiu: i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub: