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,

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
I do not know how I did it but I am able to have my attached joycons working 100%



You didnt, as the joycon rail driver was removed from the kernel. The joycons are still connected via bluetooth, but the joycon rails do not work, as there is no driver for them in l4t ubuntu yet. you could patch it in, the patches are on Lakka repo, as it is a pain to set up wireless joycons there.
 

Drban789

Well-Known Member
Member
Joined
Jun 28, 2018
Messages
105
Trophies
0
XP
381
Country
United Kingdom
Having the same Retro arch problem too. Same as MrSaturn and dixeflatline. It could be the 1.3 patch. Ever since i upgraded the 1.3 patch for sleep. I get random ubuntu errors, did of you guys try a fresh install with only 1.2 installed . Honestly cant do it.
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
Having the same Retro arch problem too. Same as MrSaturn and dixeflatline. It could be the 1.3 patch. Ever since i upgraded the 1.3 patch for sleep. I get random ubuntu errors, did of you guys try a fresh install with only 1.2 installed . Honestly cant do it.

In the end it comes down to a simple truth..... Ubuntu sucks. Once I get my base build finished, you can all attempt to build on top of it what ever apps you want. Once I get my final build finished, it will have all of the apps installed already.
 
  • Like
Reactions: parkerlreed

Drban789

Well-Known Member
Member
Joined
Jun 28, 2018
Messages
105
Trophies
0
XP
381
Country
United Kingdom
In the end it comes down to a simple truth..... Ubuntu sucks. Once I get my base build finished, you can all attempt to build on top of it what ever apps you want. Once I get my final build finished, it will have all of the apps installed already.
That sounds great.

For the meantime ill use lakka. how do i dual boot lakka with ubuntu. I cant resize the first partition of 500MB so its larger. I tried in ubuntu and and windows easeus. I made a new partition for the unallocated space made it fat32, 5gb size and tried to make it the primary partition to boot with but doesnt work. Any ideas?
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
you need 2 different copys of coreboot, the one that comes with lakka, and the one that comes with ubuntu. lakka should go on the first partition, with the ubuntu boot stuff, then there should be an option to boot it using hekate.
 

Drban789

Well-Known Member
Member
Joined
Jun 28, 2018
Messages
105
Trophies
0
XP
381
Country
United Kingdom
you need 2 different copys of coreboot, the one that comes with lakka, and the one that comes with ubuntu. lakka should go on the first partition, with the ubuntu boot stuff, then there should be an option to boot it using hekate.

need more than 500mb space but i cant resize it
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
the only other way would be to rereate the boot.scr to point at a 3rd partition. but then you have to recompile it with the tool that comes with u-boot.
 

swabbo

Wot u doin readin dis m8?
Member
Joined
Mar 9, 2011
Messages
828
Trophies
1
Age
29
Location
East Yorkshire/ A Bin
XP
2,714
Country
That sounds great.

For the meantime ill use lakka. how do i dual boot lakka with ubuntu. I cant resize the first partition of 500MB so its larger. I tried in ubuntu and and windows easeus. I made a new partition for the unallocated space made it fat32, 5gb size and tried to make it the primary partition to boot with but doesnt work. Any ideas?

I have a 128GB MicroSD with a 100GB Fat32 partition with a Lakka folder on the root with the Lakka files inside, and all my Switch stuff, then an Ext4 partition taking up the remainder of my space for Ubuntu, which lets me boot into Horizon/Lakka/Ubuntu whenever I like :)

I basically backed up my MicroSD, installed Ubuntu to it, then used Linux Mint on my Computer to edit the size of the Fat32 partition, then copied my old stuff back over
 

dixeflatline

Active Member
Newcomer
Joined
Dec 16, 2010
Messages
43
Trophies
0
Location
Somewhere near you
XP
279
Country
United States
That sounds great.

For the meantime ill use lakka. how do i dual boot lakka with ubuntu. I cant resize the first partition of 500MB so its larger. I tried in ubuntu and and windows easeus. I made a new partition for the unallocated space made it fat32, 5gb size and tried to make it the primary partition to boot with but doesnt work. Any ideas?

To be honest, I think if you copy the update 1.2 and overwrite the current 1.3.1 files, should bring you back to a working retroarch state, I have not tried it but I can let you know on that spare SD Card with the fresh setup to 1.3.1. Give me like 30min and will let you know if that works or blows shit up.
 

dixeflatline

Active Member
Newcomer
Joined
Dec 16, 2010
Messages
43
Trophies
0
Location
Somewhere near you
XP
279
Country
United States
To be honest, I think if you copy the update 1.2 and overwrite the current 1.3.1 files, should bring you back to a working retroarch state, I have not tried it but I can let you know on that spare SD Card with the fresh setup to 1.3.1. Give me like 30min and will let you know if that works or blows shit up.

update: @Drban789 / @MrSaturn I reapplied 1.2 over 1.3.1, still having the same issues in RA.
 

dixeflatline

Active Member
Newcomer
Joined
Dec 16, 2010
Messages
43
Trophies
0
Location
Somewhere near you
XP
279
Country
United States
Do you think the update and upgrade command is installing things which conflict with retroarch.

Maybe just a fresh install without applying update upgrade and just unpack the retro ppa files and install retro is sufficient?

My opinion, no, am i a developer, no. ill be playing around with it some more today though, will let you know if i get anywhere.
 
  • Like
Reactions: Drban789

Drban789

Well-Known Member
Member
Joined
Jun 28, 2018
Messages
105
Trophies
0
XP
381
Country
United Kingdom
My opinion, no, am i a developer, no. ill be playing around with it some more today though, will let you know if i get anywhere.

just want to play final fantasy VIII on my switch lol.
Gonna try figure out how to resize my 500mb ubuntu fat32 partition. I may delete the partition and recreate it. Or try figure out the u-boot things to change it to partition 3.
 
Last edited by Drban789,

dixeflatline

Active Member
Newcomer
Joined
Dec 16, 2010
Messages
43
Trophies
0
Location
Somewhere near you
XP
279
Country
United States
just want to play final fantasy VIII on my switch lol.
Gonna try figure out how to resize my 500mb ubuntu fat32 partition. I may delete the partition and recreate it. Or try figure out the u-boot things to change it to partition 3.
I use gparted for all my partitioning. If you dont have a day to day linux machine you can download a live image gparted. just burn to disc or usb drive and boot from said device. If you are unfamiliar with gparted or partitioning software in general, leave SD Card plugged into PC when booting to gparted. Navigate to SD Card > unmount both partitions with the right click 'unmount', move your 2nd partition to the right by right click partition 'move', then right click 1st partition and 'resize' move the slider, apply, reboot, SD Card back in switch... should be good, though i am not infront my PC I cant be 100% that is fully accurate but should at least get you started. URL: gparted.org/download.php
 

MrSaturn

Member
Newcomer
Joined
May 29, 2019
Messages
11
Trophies
0
Age
30
XP
66
Country
United States
So apt update will never mess things up for you. Update updates the list of possibly upgradable packages. Apt upgrade actually downloads and applies the updates.

Thanks for letting me know not to try 1.2, that was what I was going to try next. How's Lakka? I might head there until this issue is resolved here.
 

dixeflatline

Active Member
Newcomer
Joined
Dec 16, 2010
Messages
43
Trophies
0
Location
Somewhere near you
XP
279
Country
United States
I'm on 1.3.1 and retroarch is working fine for me (I only tested with mupen64), I'm currently uploading an image of switch sd card, I'll let you guys know here when I post it.

How did you install RA? I was thinking of compiling later and also wanted to try with flatpack or snap. I know flatpack and or snap may not work but figured why not at least try. Think i saw someone say they had success using snap for other packages. I mean, if you have an image you want to share that has no personal info or a vanillia pre-configured image sure, i have plenty of cards laying around. But dont post anything up that has any of your info and thank you for the offer. :D
 

Refriger8tor

Well-Known Member
Member
Joined
Sep 2, 2013
Messages
135
Trophies
0
Location
A kitchen near you.
XP
458
Country
United States
How did you install RA? I was thinking of compiling later and also wanted to try with flatpack or snap. I know flatpack and or snap may not work but figured why not at least try. Think i saw someone say they had success using snap for other packages. I mean, if you have an image you want to share that has no personal info or a vanillia pre-configured image sure, i have plenty of cards laying around. But dont post anything up that has any of your info and thank you for the offer. :D

Oh no worries I've been working on this image for a while, it's to help out people who are new to linux!

As to how I installed, I compiled from the testing repo with the following:

sudo add-apt-repository ppa:libretro/testing
sudo apt-get install retroarch* libretro*
sudo apt-get update && sudo apt-get upgrade

Afterwards I had to change the directory where the cores were located, I'll check where exactly later.

Anyway, here's the post with the my image: https://gbatemp.net/threads/noob-friendly-l4t-ubuntu.539817/

EDIT
It worked the first time I opened it on 1.3.1 but now I'm getting segmentation faults. No clue what's going on lmao
 
Last edited by Refriger8tor,

Refriger8tor

Well-Known Member
Member
Joined
Sep 2, 2013
Messages
135
Trophies
0
Location
A kitchen near you.
XP
458
Country
United States
Oh no worries I've been working on this image for a while, it's to help out people who are new to linux!

As to how I installed, I compiled from the testing repo with the following:

sudo add-apt-repository ppa:libretro/testing
sudo apt-get install retroarch* libretro*
sudo apt-get update && sudo apt-get upgrade

Afterwards I had to change the directory where the cores were located, I'll check where exactly later.

Anyway, here's the post with the my image: https://gbatemp.net/threads/noob-friendly-l4t-ubuntu.539817/

EDIT
It worked the first time I opened it on 1.3.1 but now I'm getting segmentation faults. No clue what's going on lmao

EDIT 2
Snap didn't work, just threw libGL errors and then segfaulted.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    AncientBoi @ AncientBoi: Oh? What did you take to get Hi? :angry: