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,
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.
 
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.
 
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
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?
 
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.
 
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
 
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.
 
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
 
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.
 
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.
 
update: @Drban789 / @MrSaturn I reapplied 1.2 over 1.3.1, still having the same issues in RA.

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?
 
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
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,
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
 
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.
 
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
 
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,
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