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,
Anybody?? I looked at YouTube to compared Ubunta and Lakka and Switchroot. Which is so much better ?

So I think Lakka is best. I feel its perfromance for games such as Gamecube, and the "tougher" games, is better, and also the UI is for the emulation. As far as Switchroot goes, the only real advantage it has over the others, is its DS emulation being basically perfect. But besides that, I'd say Lakka is best. I think of Ubuntu as kind of a "Lakka minus". It ran the bigger games slower for me, than Lakka had.
 
So I think Lakka is best. I feel its perfromance for games such as Gamecube, and the "tougher" games, is better, and also the UI is for the emulation. As far as Switchroot goes, the only real advantage it has over the others, is its DS emulation being basically perfect. But besides that, I'd say Lakka is best. I think of Ubuntu as kind of a "Lakka minus". It ran the bigger games slower for me, than Lakka had.

Hmmm.. I see. Thanks for your opinion.
 
  • Like
Reactions: Silent_Gunner
Anybody?? I looked at YouTube to compared Ubunta and Lakka and Switchroot. Which is so much better ?
None are really the "best". They all run on the same L4T kernel + drivers and should in theory perform exactly the same on practically everything.

It's mostly a matter of whether you want android, a desktop linux environment, or a pure emulation machine.
 
or don't be a fucking dick to the newbie who's asking on the literal thread about the product he's asking about...? Jesus some people here are cunts just to be cunts. Fuck off, guy.
Is being a newbie on a new site an excuse to dupe post 3 other times?
The info is there if you look just a little bit. "Friggin'" to aggressive for ya?
 
Last edited by SK91,
  • Like
Reactions: Silent_Gunner
Is being a newbie on a new site an excuse to dupe post 3 other times?
The info is there if you look just a little bit. "Friggin'" to aggressive for ya?
No, but you can bear with him, because he's still learning, and probably doesn't know his way around the site. Don't be an asshole. And the fact that you're defending your asshole behaviour shows that your really are an asshole. Take 10 steps back and sit in the corner for a while. Come back when you feel like treating the new people kindly.
 
So I think Lakka is best. I feel its perfromance for games such as Gamecube, and the "tougher" games, is better, and also the UI is for the emulation. As far as Switchroot goes, the only real advantage it has over the others, is its DS emulation being basically perfect. But besides that, I'd say Lakka is best. I think of Ubuntu as kind of a "Lakka minus". It ran the bigger games slower for me, than Lakka had.
The only reason lakka is faster is because it doesnt have a whole OS eating resources in the background. And actually it would probably perform better if it were updated to use minerva, instead of the binary blob crap code for memory training that fOf implemented in coreboot. lol. Ubuntu has more overhead than lakka, and so does android, Lakka is a stripped down linux distribution with only 1 thing in mind.

Also, lakka currently has no wireless joycon support, dock support, bluetooth support, cuda supports, reboot2payload, etc. The joycon rail driver that is used there is also crap, and has no rumble, will break randomly if you disconnect joycons, etc. All of this has sense been fixed, and I am working on updating it, but I cant build it currently, as it wants an outdated build machine to compile it on, or it has issues. lol.

None are really the "best". They all run on the same L4T kernel + drivers and should in theory perform exactly the same on practically everything.

It's mostly a matter of whether you want android, a desktop linux environment, or a pure emulation machine.

This is the answer that should have been given, as it really depends on what you want to do with it, before you go into detail on how to go about it. Ubuntu has all around better hardware support than lakka, but I have plans to include things like mtp and what not to lakka as well, for easier rom/bios transfers and the like. Should make it easier for people to add roms, if all they have to do is drag and drop, then when they disconnect lakka will auto rescan. ;) Which ironically doesnt work in android. lol. It should in pie though.
 
Does that mean I should use Ubuntu instead of Lakka due to a better hardware support since Lakka doesn't have wireless joy con support, dock support, bluetooth support, and etc ?
 
Does that mean I should use Ubuntu instead of Lakka due to a better hardware support since Lakka doesn't have wireless joy con support, dock support, bluetooth support, and etc ?
It does means you should use wharever switch you better.

Are you using it as a complete OS or for emulators only?
OS: no doubt, go for Ubuntu.
Emulators only: are you using wireless joycon and/or docked mode?
Yes: Go for Ubuntu.
No: Go for Lakka.

Simple like that.
 
It does means you should use wharever switch you better.

Are you using it as a complete OS or for emulators only?
OS: no doubt, go for Ubuntu.
Emulators only: are you using wireless joycon and/or docked mode?
Yes: Go for Ubuntu.
No: Go for Lakka.

Simple like that.
Idk. From my experience lakka runs most gcn games (for example) far better than ubuntu. Probably because there are less resources being taken up by the OS, whereas ubuntu is a full OS with other areas taking up available memory and such
 
Idk. From my experience lakka runs most gcn games (for example) far better than ubuntu. Probably because there are less resources being taken up by the OS, whereas ubuntu is a full OS with other areas taking up available memory and such
Interesting. I have never tested gcn games so I didn't know that. I think a "gaming mode" may fix it, maybe creating a gaming session (xserver + retroarch) instead of gnome. Dunno how hard is it, though.
 
Idk. From my experience lakka runs most gcn games (for example) far better than ubuntu. Probably because there are less resources being taken up by the OS, whereas ubuntu is a full OS with other areas taking up available memory and such



IDK kid, I think you're just splitting hairs at this point...if your arguments had any merit to them in the first place, my sweet @Josshy0125. ;)
 
It does means you should use wharever switch you better.

Are you using it as a complete OS or for emulators only?
OS: no doubt, go for Ubuntu.
Emulators only: are you using wireless joycon and/or docked mode?
Yes: Go for Ubuntu.
No: Go for Lakka.

Simple like that.

Makes sense.
 
The only reason lakka is faster is because it doesnt have a whole OS eating resources in the background. And actually it would probably perform better if it were updated to use minerva, instead of the binary blob crap code for memory training that fOf implemented in coreboot. lol. Ubuntu has more overhead than lakka, and so does android, Lakka is a stripped down linux distribution with only 1 thing in mind.

Also, lakka currently has no wireless joycon support, dock support, bluetooth support, cuda supports, reboot2payload, etc. The joycon rail driver that is used there is also crap, and has no rumble, will break randomly if you disconnect joycons, etc. All of this has sense been fixed, and I am working on updating it, but I cant build it currently, as it wants an outdated build machine to compile it on, or it has issues. lol.



This is the answer that should have been given, as it really depends on what you want to do with it, before you go into detail on how to go about it. Ubuntu has all around better hardware support than lakka, but I have plans to include things like mtp and what not to lakka as well, for easier rom/bios transfers and the like. Should make it easier for people to add roms, if all they have to do is drag and drop, then when they disconnect lakka will auto rescan. ;) Which ironically doesnt work in android. lol. It should in pie though.

Yo, you actually the one working on Lakka for Switch? Or is this build you're detailing different from that of @natinusala 's? I'm curious because LakkArch, if it had all of those missing features implemented atm, might be my Switch emulation solution of choice if it could be used with a dock as opposed to the current situation right now.
 
Yo, you actually the one working on Lakka for Switch? Or is this build you're detailing different from that of @natinusala 's? I'm curious because LakkArch, if it had all of those missing features implemented atm, might be my Switch emulation solution of choice if it could be used with a dock as opposed to the current situation right now.

I was working on updating what Nati had finished, but with the new kernel, and implementing dock support, sleep support, and probably the drivers. I wasnt actually going to update retroarch.
 
  • Like
Reactions: Silent_Gunner
I was working on updating what Nati had finished, but with the new kernel, and implementing dock support, sleep support, and probably the drivers. I wasnt actually going to update retroarch.

That was what I meant. Rock on! ;)

(No, but it feels like such a long time since anything has happened in this particular part of the forum)
 
I got it installed on my switch, Ubuntu is running very well!
But just a stupid question, do I need to inject hekate every time I want to boot Ubuntu? Or is there another way to boot Ubuntu? (like a grub or something that let me choose stock os or Ubuntu?)

Inviato dal mio MI 9 Transparent Edition utilizzando Tapatalk
 
I got it installed on my switch, Ubuntu is running very well!
But just a stupid question, do I need to inject hekate every time I want to boot Ubuntu? Or is there another way to boot Ubuntu? (like a grub or something that let me choose stock os or Ubuntu?)

Inviato dal mio MI 9 Transparent Edition utilizzando Tapatalk
What did you get installed? Latest kernel, from sources, or base ubuntu image. If latest, it runs so much better. lol. so does Android Pie, which is also still in development. That being said, everything you need is on gitlab, excepting the working sc7 entry, and the rebootstub from atmosphere.
Hekate does exactly that, we use u-boot, grub is for x86, and screen doesnt come up until X starts, so grub probably wont happen. There is reboot2payload that will reboot from linux/android/atmosphere back to hekate, or you could disable reboot2payload, and autorcm, and it will reboot back to stock hos directly, but you will have to inject something everytime you boot, there is no cold boot option.
 

Site & Scene News

Popular threads in this forum