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,
D

Deleted User

Guest
Paintown? The MUGEN source code? As in, not IKEMEN, but MUGEN's source code?

yeah. Been awhile since I looked at paintown but that was the claim made. Interesting. Oh well. It is one of those things where i just assumed since it was once explained to me it would be impossible to compile that it still had not been done. Oh well just figured i would share for the one fellow and perhaps he didn’t know about paintown ya know? In my case i was looking into installing paintown to see if i could get sound working on ps4 gentoo. Pretty frustrating since i have the engine working great and controls. But alas it is always something. I am also not that great with linux so that doesn’t help.
 

Silent_Gunner

Crazy Cool Cyclops
Banned
Joined
Feb 16, 2017
Messages
2,696
Trophies
0
Age
29
XP
4,727
Country
United States
yeah. Been awhile since I looked at paintown but that was the claim made. Interesting. Oh well. It is one of those things where i just assumed since it was once explained to me it would be impossible to compile that it still had not been done. Oh well just figured i would share for the one fellow and perhaps he didn’t know about paintown ya know? In my case i was looking into installing paintown to see if i could get sound working on ps4 gentoo. Pretty frustrating since i have the engine working great and controls. But alas it is always something. I am also not that great with linux so that doesn’t help.

OK, double checked Paintown, and it's kind of like if OpenBOR and MUGEN had some rough sex and made a baby?

The only problem is that it's mainly MUGEN Pre-1.0 that's supported. While stages may not be a problem, considering how many characters have been updated to be up to MUGEN 1.0's code standard at the very least, not to mention features exclusive to MUGEN 1.0 and especially the leaked 1.1 beta, it could be a pain to get characters in this thing, especially when you consider that many old MUGEN sites have officially closed down, the Wayback Machine and the shithole of cunts that is the MUGEN Archive notwithstanding.
 

Silent_Gunner

Crazy Cool Cyclops
Banned
Joined
Feb 16, 2017
Messages
2,696
Trophies
0
Age
29
XP
4,727
Country
United States
Back on topic, I decided to just reflash the image, and after downloading RA from the Software app and having it do the same thing as before, this is where I throw the towel in on the nuisance that is Linux. All I really care for at this point is LakkArch.or HorizonArch finally getting a Flycast core in the case of the latter or the former finally being able to dock and use wireless controllers. IDC that much about playing the few GC games that run with no hiccups, or the attempts to port over what is honestly a very young emulation scene in Saturn emulation that only has PS1 ports with some extra content and a few gems Sega and/or other companies could get off of their asses and port the games to modern marketplaces for the stuff they still have the source code and assets for.

Shockingly, not everyone on this forum is a software Gandhi enough to where they can troubleshoot an OS where the landscape is much like how PCs were in the 90's going into the mid 2000's in terms of a lack of standardization. This might be fine if you're a programmer, but trust me, if I had anything even approaching @Gavin_Darkglider or @m4xw's talent, I wouldn't be metaphorically banging my head against the wall like I am right now in frustration from the lack thereof.
 

m4xw

Ancient Deity
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,958
Country
Germany
Back on topic, I decided to just reflash the image, and after downloading RA from the Software app and having it do the same thing as before, this is where I throw the towel in on the nuisance that is Linux. All I really care for at this point is LakkArch.or HorizonArch finally getting a Flycast core in the case of the latter or the former finally being able to dock and use wireless controllers. IDC that much about playing the few GC games that run with no hiccups, or the attempts to port over what is honestly a very young emulation scene in Saturn emulation that only has PS1 ports with some extra content and a few gems Sega and/or other companies could get off of their asses and port the games to modern marketplaces for the stuff they still have the source code and assets for.

Shockingly, not everyone on this forum is a software Gandhi enough to where they can troubleshoot an OS where the landscape is much like how PCs were in the 90's going into the mid 2000's in terms of a lack of standardization. This might be fine if you're a programmer, but trust me, if I had anything even approaching @Gavin_Darkglider or @m4xw's talent, I wouldn't be metaphorically banging my head against the wall like I am right now in frustration from the lack thereof.
Dont confuse talent with lots of effort and experience.
Moments like these, when you bang your head against the wall, are moments that ultimately improve yourself.
Bang you head against the wall until the wall breaks ;)
 

nerirififi

Well-Known Member
Member
Joined
Nov 18, 2015
Messages
160
Trophies
0
Age
43
XP
607
Country
France
Hello,

Hope I am in good section.
I try this linux version and everything is fine, I prefer archlinux but ubuntu give some new stuff with the switch.

I would like to use Netflix, I try everything since a couple of hours, and I got always error.
Someone know a good way for play Netflix ?

Thanks in advance.
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
Back on topic, I decided to just reflash the image, and after downloading RA from the Software app and having it do the same thing as before, this is where I throw the towel in on the nuisance that is Linux. All I really care for at this point is LakkArch.or HorizonArch finally getting a Flycast core in the case of the latter or the former finally being able to dock and use wireless controllers. IDC that much about playing the few GC games that run with no hiccups, or the attempts to port over what is honestly a very young emulation scene in Saturn emulation that only has PS1 ports with some extra content and a few gems Sega and/or other companies could get off of their asses and port the games to modern marketplaces for the stuff they still have the source code and assets for.

Shockingly, not everyone on this forum is a software Gandhi enough to where they can troubleshoot an OS where the landscape is much like how PCs were in the 90's going into the mid 2000's in terms of a lack of standardization. This might be fine if you're a programmer, but trust me, if I had anything even approaching @Gavin_Darkglider or @m4xw's talent, I wouldn't be metaphorically banging my head against the wall like I am right now in frustration from the lack thereof.
First off, I have spent 3 days working on the next update.... banging my head against the wall the whole time, but it might fix your issues, but you will have to compile retroarch.
And it has been a ton of banging my head on the wall, as nvidia didnt leave a decent way for updating the drivers. And I wanted to add an upgrade option for those that didnt want to reflash. I think it is all most ready, the updater script is going through the final rounds of testing today, then there is the whole can you still build things like retroarch against the new libs with the update, which was a bit of an issue, due to headers not being updated with libs, because of the way nvidia packages L4T, which in my opininon is overly convoluted. lol.
I know, but I want to use in docked mode with linux.
Android is the best option for playing netflix. Linux doesnt have support for aarch64 libwedivine. Unfortunatly in 2020 chromeOS is still using armhf userspace for arm64 cpus, and that is the only place I have found with a compatible lib. Even then, it still requires a modified version of kodi-netflix plugin, but in therory it should work if google would release the lib.

Dont hold your breath, but I did manage to get it to work on my mainline build, but none of the hardware is really supported in mainline, so that wont help you. There might be an option to use the hwcrypto stuff, I think it has wedivine keys, but I have no idea if they were included in the switch SOC, or how to get the software to interface with it.
 

nerirififi

Well-Known Member
Member
Joined
Nov 18, 2015
Messages
160
Trophies
0
Age
43
XP
607
Country
France
First off, I have spent 3 days working on the next update.... banging my head against the wall the whole time, but it might fix your issues, but you will have to compile retroarch.
And it has been a ton of banging my head on the wall, as nvidia didnt leave a decent way for updating the drivers. And I wanted to add an upgrade option for those that didnt want to reflash. I think it is all most ready, the updater script is going through the final rounds of testing today, then there is the whole can you still build things like retroarch against the new libs with the update, which was a bit of an issue, due to headers not being updated with libs, because of the way nvidia packages L4T, which in my opininon is overly convoluted. lol.

Android is the best option for playing netflix. Linux doesnt have support for aarch64 libwedivine. Unfortunatly in 2020 chromeOS is still using armhf userspace for arm64 cpus, and that is the only place I have found with a compatible lib. Even then, it still requires a modified version of kodi-netflix plugin, but in therory it should work if google would release the lib.

Dont hold your breath, but I did manage to get it to work on my mainline build, but none of the hardware is really supported in mainline, so that wont help you. There might be an option to use the hwcrypto stuff, I think it has wedivine keys, but I have no idea if they were included in the switch SOC, or how to get the software to interface with it.


I think I start to understand, the problem is the processor of the switch.
With another distrib of linux, I guess the problem should be the same.
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
I think I start to understand, the problem is the processor of the switch.
With another distrib of linux, I guess the problem should be the same.
Problem isnt the cpu, it is the fact we dont have an encryption library for the cpu, that can decrypt netflix streams. Big difference, it can do it fine. Just not in linux.
 
  • Like
Reactions: nerirififi

Silent_Gunner

Crazy Cool Cyclops
Banned
Joined
Feb 16, 2017
Messages
2,696
Trophies
0
Age
29
XP
4,727
Country
United States
So, I kept getting stuck at the step to build dependencies (something about sources.list), went and downloaded the RA off of the Software app, and it finally opens on a consistent basis.

IDK what I did differently, but I know not to set the video driver to Vulkan now.
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
I am working on getting rel32.3.1 root finished now, if all goes well, it should fix the userspace driver issues. Might even fix the vulkan issues in linux currently. Not sure. will need further testing, once it is finished.
 

Silent_Gunner

Crazy Cool Cyclops
Banned
Joined
Feb 16, 2017
Messages
2,696
Trophies
0
Age
29
XP
4,727
Country
United States
I am working on getting rel32.3.1 root finished now, if all goes well, it should fix the userspace driver issues. Might even fix the vulkan issues in linux currently. Not sure. will need further testing, once it is finished.

And you said we'll be able to update to this without reflashing? Is this what that Switchroot update URL entry within the system settings is going to be for?
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
No, I said I was hoping to get this out without needing to reflash, but that has proved to be harder than it is worth. 2.0.1 will probably be a new image, sorry.
:(
 

Silent_Gunner

Crazy Cool Cyclops
Banned
Joined
Feb 16, 2017
Messages
2,696
Trophies
0
Age
29
XP
4,727
Country
United States
No, I said I was hoping to get this out without needing to reflash, but that has proved to be harder than it is worth. 2.0.1 will probably be a new image, sorry.
:(



And back to waiting it will be. I kind of initially wrote off Ubuntu's performance as being all over the place when I tried that Noob-Friendly build early last year, but seeing the following video made me wonder if I was missing out.



Still, the sleep mode is really nice if one wanted to use this kind of setup portably.
 
Last edited by Silent_Gunner,

joejoemojo

Member
Newcomer
Joined
Nov 5, 2019
Messages
11
Trophies
0
Age
34
XP
95
Country
Antarctica
I haven't worked with linux before and don't have a dock (no mouse/keyboard either), so I'm figuring setup is gonna be a huge pain...

My reason for installing is emulators (more specifically XQEMU), would someone be able to do the works of the gods like @Refriger8tor did before he stopped updating and clone a n00b friendly Ubuntu 2.0 with setup and applications?
 

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
I haven't worked with linux before and don't have a dock (no mouse/keyboard either), so I'm figuring setup is gonna be a huge pain...

My reason for installing is emulators (more specifically XQEMU), would someone be able to do the works of the gods like @Refriger8tor did before he stopped updating and clone a n00b friendly Ubuntu 2.0 with setup and applications?
Setup is dead simple. Tap a few buttons, put in your timezone, PC name, then you’re done.
Also XQEMU will run like ass :P
 

joejoemojo

Member
Newcomer
Joined
Nov 5, 2019
Messages
11
Trophies
0
Age
34
XP
95
Country
Antarctica
Setup is dead simple. Tap a few buttons, put in your timezone, PC name, then you’re done.
Also XQEMU will run like ass :P

Oh aye, sure I may give it a go then! I saw a video one of the XQEMU devs posted up, Halo CE was running actually on a varying scale of half-decent to ass (low 20's-2 fps) on unoptimized code and he said he's looking into optimizing for the Switch with future releases. So maybe, one day...
 

Silent_Gunner

Crazy Cool Cyclops
Banned
Joined
Feb 16, 2017
Messages
2,696
Trophies
0
Age
29
XP
4,727
Country
United States
Oh aye, sure I may give it a go then! I saw a video one of the XQEMU devs posted up, Halo CE was running actually on a varying scale of half-decent to ass (low 20's-2 fps) on unoptimized code and he said he's looking into optimizing for the Switch with future releases. So maybe, one day...

Wait. Clearly, more updates and the like are incoming, and then you'll have to reflash.

Personally, I've never used XQEMU, but honestly, the only thing I've been looking for as of late is an ODroidXU4/RPi4 killer that can also be taken to other places. In an ideal world, LakkArch and HorizonArch would've reached their maximum potential by now, but who knows what goes on in the background these days, especially in this era of upgradeable consoles who's later releases feature legitimately more powerful than what their offerings at the start of the generation were unlike with something like the Wii or the PS3.
 

The-Nile

Member
Newcomer
Joined
Nov 29, 2018
Messages
6
Trophies
0
Age
24
XP
104
Country
Canada
I tried setting this up, but Ubuntu's stuck on "Applying changes" "Waiting for unattended-upgr to exit"

It's been there for about an hour now and I don't know what to do about it. Is it okay to press the cancel button or do I just leave it be?
 
  • Like
Reactions: vanraz86

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    ButterScott101 @ ButterScott101: +1