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,

konamicode89

Well-Known Member
Member
Joined
Mar 13, 2018
Messages
142
Trophies
0
Age
34
XP
774
Country
United States
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

Thanks! this definitely worked for my 3.0 L4T setup.

Edit: NVM.. I ran into the startup issue and the whole desktop changed into the PC default..
 
Last edited by konamicode89,

saffykun-t

New Member
Newbie
Joined
Apr 13, 2020
Messages
4
Trophies
0
Age
31
XP
35
Country
United Kingdom
Hey man I'm sorry you ran into some problems here' surely got some of my own Haha' here we go'

Can you describe the start up issue that's occurring or perhaps get a screenshot that may help'
Also the other thing you are referring to maybe because your in another environment session? As oppose to the one you setup the way you like' you can simply log out and click the gear icon below the password section to see what session you are currently about to log into ' if you can see a dropdown list after clicking the gear you should see kodi unity and ubuntu' ' you can select kodi from here to boot straight into it when you login' /_ unity is the desktop environment you should have originally started into when you installed 3.0 so give that a try?
Thanks
 

CameronCataclysm

Well-Known Member
Member
Joined
Sep 17, 2018
Messages
190
Trophies
0
Age
30
Location
North Carolina
XP
1,099
Country
United States
This has been ABSOLUTELY EPIC. I have struggled through the years and never had a PC that could emulate GC properly. This has worked great for all of the big name games I'm finally getting to play since childhood (With minute setting tinkering.) IE: Super Mario Sunshine, Luigi's Mansion, Simpson's Road Rage, Simpson's Hit and Run. I truthfully would kill for some help on 2 things regarding the dolphin core!
1. Widescreen fix for Sunshine?(Widescreen hack causes overbearing image dupe overlay and I have enabled cheats for the Widescreen and 60fps AR/Gecko codes, but cant get the .cht file to actually register even after manual input)

2. For the life of me I cant get Sims Bustin' Out to solid FPS (I will obtain the life achievement "Boyfriend Of The Year Award")

To the devs thanks for all of the work, any feedback would be most appreciated. Stay safe and thanks for all of your work. @natinusala @bylaws
 

alecto

New Member
Newbie
Joined
Apr 27, 2020
Messages
1
Trophies
0
Age
30
XP
44
Country
India
I managed to install the 3.0.0 version on my switch. But I am unable to get bluetooth headphones to work. And I did a sudo apt-get update and sudo apt-get upgrade as recommended but after this it wont connect connect to my 5Ghz wifi.
My intention was to run Moonlight but if the Wifi doesnt work then moonlight can not work.
Can anyone please help?
EDIT:
Also can someone please share the link for the discord server? I read back and found thats its quicker to get support there.
 
Last edited by alecto,

IGHOR

Well-Known Member
Newcomer
Joined
Sep 16, 2017
Messages
59
Trophies
0
Website
t.me
XP
400
Country
United States
I confirm that on 3.0.0 version, once device goes to sleep, Dock (Skull & Co. Jumpgate) stops to be recognized even after restart. None of HDMI, USB works. Only full shutdown, re-payload helps.
 

Geridious4

Well-Known Member
Member
Joined
May 2, 2018
Messages
112
Trophies
0
Age
34
XP
547
Country
Canada
Do i need a seperate SD card to install this or can I use the same SD card i'm using for atmosphere?

Do I download the full or lite image? or both? just trying to figure out the difference
 
Last edited by Geridious4,

blaww

Active Member
Newcomer
Joined
May 16, 2019
Messages
34
Trophies
0
Age
34
XP
469
Country
United States
How do I enable Vulkan in regular Dolphin (not Ishiikura)? Just installed it and my only options are OpenGL and software renderer

Edit- nevermind, installed a different build and Vulkan is there, but games just crash. OpenGL works but it's unplayable
 
Last edited by blaww,

death7lord

Member
Newcomer
Joined
Sep 9, 2019
Messages
18
Trophies
0
Age
24
XP
211
Country
United States
Hello. A new Hekate with partition manager is released. Now will we can hope to a new release of L4T at near future? or no? Or how long to wait it?
 

The Official GMan

Well-Known Member
Newcomer
Joined
Jan 16, 2016
Messages
48
Trophies
0
XP
339
Country
United States
Does anyone have experience getting banned after running linux on your nintendo switch? From what I have read, getting banned shouldn't be a possibility doing this.

Edit: Not planning on running CFW or anything, just want to run linux sometimes if I want by injecting the payload
 
D

Deleted User

Guest
L4t Ubuntu 3.0.0 full is very buggy (didn't tested the other ones) :
Bug :
Even if the Switch battery is full, the battery will be shown a red critical low.
Bug :
When trying to login (on the login screen), the screen keeps flickering and rotating.
Not a bug :
The nvidia logo is not rotated correctly.
Bug :
Sometimes the screen freeze during session.
Bug :
Pressing of the power power stop the screen, but you can't start it back again by pressing the power button.
Bug :
Can't use joycons as mouse (tried it both with qjoypad and this).
Not a bug :
Need to manually extend the Ubuntu ext4 partition with GParted to avoid bugs caused by lack of space.
Not a bug :
Is it compatible with Ubuntu > 18.04
How to reboot2payload? On 3.0.0
Just do normal reboot from Ubuntu user interface, or do :
sudo reboot or shutdown -r 00 in terminal
Don't forget to install lastest Hekate and bootlogos on your SD card.
 
Last edited by ,

Magic009

Member
Newcomer
Joined
Mar 1, 2019
Messages
17
Trophies
0
Age
44
XP
210
Country
United States
Confirmed for me: third parties docks are working good, sometimes don't catch de signal, but the image coming again on screen.
 

The Official GMan

Well-Known Member
Newcomer
Joined
Jan 16, 2016
Messages
48
Trophies
0
XP
339
Country
United States
Is anyone aware of a way to change the refresh rate of the external hdmi output? When I dock my switch it automatically goes to 4K @ 30 hz (max spec) but changing it to 1080 still results in 30 hz.

Edit: Switching to the gnome desktop gives me framerate and resolution control for the hdmi output built into the settings gui
 
Last edited by The Official GMan,

The Official GMan

Well-Known Member
Newcomer
Joined
Jan 16, 2016
Messages
48
Trophies
0
XP
339
Country
United States
Is anyone getting high CPU utilization from compiz (the desktop management utitility)? When I run opengl, vulkan, or chromium I get anywhere from 50-100% utilization from compiz alone.

Edit: Changing to the gnome desktop eliminates compiz and there are the unexpected cpu utilization
 
Last edited by The Official GMan,

The Official GMan

Well-Known Member
Newcomer
Joined
Jan 16, 2016
Messages
48
Trophies
0
XP
339
Country
United States
How to reboot2payload? On 3.0.0
I'm pretty sure you just reboot from within ubuntu. When I hit reboot it just goes back to hekate and shutdown fully shuts down the switch.

L4t Ubuntu 3.0.0 full is very buggy (didn't tested the other ones) :
Bug :
Even if the Switch battery is full, the battery will be shown a red critical low.
Bug :
When trying to login (on the login screen), the screen keeps flickering and rotating.
Not a bug :
The nvidia logo is not rotated correctly.
Bug :
Sometimes the screen freeze during session.
Bug :
Pressing of the power power stop the screen, but you can't start it back again by pressing the power button.
Bug :
Can't use joycons as mouse (tried it both with qjoypad and this).
Not a bug :
Need to manually extend the Ubuntu ext4 partition with GParted to avoid bugs caused by lack of space.
Not a bug :
Is it compatible with Ubuntu > 18.04

Just do normal reboot from Ubuntu user interface, or do :
sudo reboot or shutdown -r 00 in terminal
Don't forget to install lastest Hekate and bootlogos on your SD card.
The red critical low is a result of the joycons batteries being displayed as 0% at all times and sometimes the default desktop manager picks this as the main battery. I switched to the gnome desktop and it always shows the switch's battery with its percentage and even estimates the runtime left.

As for the rotation issues, I just disabled the rotation functionality within ubuntu (just google search it for your desktop manager).

Hmm, haven't had those power button problems, mine works fine waking from and going to sleep state.

The ext4 partition is intentionally kept small so you can install the operating system on a smaller sd card (expanding should be able to be done from within the booted ubuntu), though I did personally have problems with expanding the FAT32 partition (same sd card for switch games and linux with different partitions).


How do I enable Vulkan in regular Dolphin (not Ishiikura)? Just installed it and my only options are OpenGL and software renderer

Edit- nevermind, installed a different build and Vulkan is there, but games just crash. OpenGL works but it's unplayable
If you tick the boot to fullscreen mode box when using vulkan I find that regular Dolphin builds work fine (some strange bug I guess). I find the current Dolphin builds and ishiiruka build to have the same performance under Vulkan so I just stuck with the current Dolphin dev build. BTW some games run fullspeed but others can dip to 40fps minimum (dolphin's emulated cpu is bottlenecked by the switch's cpu)
 

IGHOR

Well-Known Member
Newcomer
Joined
Sep 16, 2017
Messages
59
Trophies
0
Website
t.me
XP
400
Country
United States
Last edited by IGHOR,

starwind23

New Member
Newbie
Joined
May 17, 2020
Messages
3
Trophies
0
Age
34
XP
35
Country
United States
joycon as mouse works great. use the line in the app install post and the file in the post you linked. verify file moved if you have drift in the mouse I added a dead zone in my file. Use sudo mv to move file and remove .txt
 

Attachments

  • 50-joystick.conf.txt
    1,022 bytes · Views: 139
Last edited by starwind23,

Imancol

Otak Productions
Member
Joined
Jun 29, 2017
Messages
1,376
Trophies
0
XP
2,764
Country
Colombia
After leaving the console in suspend mode while on L4T Ubuntu, in a few hours I tried to turn it on but it gave me a black screen.
I tried to restart it and it was still on the black screen. When placing my MicroSD on the PC, I tried to see what was happening, I resigned myself to format it and to my surprise, it gave me an error. Later I realized that I ended up with a write protected MicroSD, which will not allow me to format it, or anything ...

I have tried using low level formatting software. But nothing. For now, I put the MicroSD on my Switch with the Payload memloader to mount the MicroSD on the PC it is formatting me at a low level, but it is slow ... unfortunately I do not think I will use L4T Ubuntu again if these things happen and not they seem easy to remedy.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Well start walking towards them