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,

Drban789

Well-Known Member
Member
Joined
Jun 28, 2018
Messages
105
Trophies
0
XP
381
Country
United Kingdom
Hello,

Is there any way to configure the switch joycons on retroarch without using a keyboard? Right now i can only scroll through the main menu on retroarch but i cant click anything
 

dixeflatline

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

Is there any way to configure the switch joycons on retroarch without using a keyboard? Right now i can only scroll through the main menu on retroarch but i cant click anything

If its not an OS related issue, try to post over at https://gbatemp.net/threads/l4t-ubuntu-applcation-install-guides.537579/ that seems to be where application help is going on at. You need to configure whatever controller your using inside of RA. Settings > Input > User 1 Binds > (change seetings accordinly) > User 1 bind all.

Should be done.
 

tabzer

This place is a meme.
Member
Joined
Feb 15, 2019
Messages
5,844
Trophies
1
Age
39
XP
4,911
Country
Japan
I am trying to get the "HORI Nintendo Switch Multiport USB Playstand" to work with L4T. Charges fine, but USB doesn't seem to be working. Anyone know why?
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
How do you install software? are there repos, or do you have to compile from source?

There are repos..... Mainly the Ubuntu Arm64 repo, which is lacking a lot, and hasnt been updated in quite a while..... Kodi hasnt even been upgraded to 18 yet in those repos. :( I am in the middle of building gentoo for the switch, which would take things back to being compiled, but at least the stuff that has newer upgrades, can get those upgrades, without breaking ubuntu. lol.

I am trying to get the "HORI Nintendo Switch Multiport USB Playstand" to work with L4T. Charges fine, but USB doesn't seem to be working. Anyone know why?

Because non official docks are not supported on L4T. They handle dock negotiations a little different, and the driver doesnt support those docks(yet?) Use the official dock, or get some dmesg dumps, and see what is going on with the bm92t driver. so something along the lines of dmesg | grep bm92, and it will tell you about the negotiation, and what state the chip is in(Dock, usb host, usb device, etc.) There are a few different modes, but I have a feeling it isnt changing like it should, due to the custom stuff that was needed for the switch dock.
 
Last edited by Gavin_Darkglider,
  • Like
Reactions: Worldblender

Vigg

Member
Newcomer
Joined
Jul 5, 2018
Messages
22
Trophies
0
Age
24
XP
305
Country
Netherlands
Hey i've been trying to install anbox, but I cant't find a working arm64 port. It says in the patch notes that it now has the right modules for it right? Can someone maybe help me or link me a working tutorial. I'm not that inapt so a little direction is all I need.
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
Hey i've been trying to install anbox, but I cant't find a working arm64 port. It says in the patch notes that it now has the right modules for it right? Can someone maybe help me or link me a working tutorial. I'm not that inapt so a little direction is all I need.

I was looking into it, and it seems you need a special built arm64 android root. The best I found was: https://github.com/HarleyPato/anbox-arm64 and even that seems to have issues listed.... But what on github doesnt. lol. I was going to work that out later for my build, but I am having enough issues fighting with the updates, and software install trying to keep both gentoo, and the nvidia drivers happy. lol. Really, it has nothing to do with with the nvidia drivers, but more on gentoo's dependence on perl, which the version they want you to have doesnt work with perl-cross yet, but it doesnt want to continue since it cant build that 1 package, because so much of the base system depends on it. It is a work in progress though. and goes fairly quick, since I told it to build binary packages as well. lol.

Edit: Think I found a fix for the perl issue..... now I go back to waiting. lol.
 
Last edited by Gavin_Darkglider,

Vigg

Member
Newcomer
Joined
Jul 5, 2018
Messages
22
Trophies
0
Age
24
XP
305
Country
Netherlands
I was looking into it, and it seems you need a special built arm64 android root. The best I found was: https://github.com/HarleyPato/anbox-arm64 and even that seems to have issues listed.... But what on github doesnt. lol. I was going to work that out later for my build, but I am having enough issues fighting with the updates, and software install trying to keep both gentoo, and the nvidia drivers happy. lol. Really, it has nothing to do with with the nvidia drivers, but more on gentoo's dependence on perl, which the version they want you to have doesnt work with perl-cross yet, but it doesnt want to continue since it cant build that 1 package, because so much of the base system depends on it. It is a work in progress though. and goes fairly quick, since I told it to build binary packages as well. lol.

Edit: Think I found a fix for the perl issue..... now I go back to waiting. lol.
Oh oke thnx for clarification. Guess I'll just have to wait for news then.
 

ZeroFX

why?
Member
Joined
Jun 18, 2018
Messages
1,118
Trophies
1
Location
napaJ
XP
3,028
Country
Japan
I was looking into it, and it seems you need a special built arm64 android root. The best I found was: https://github.com/HarleyPato/anbox-arm64 and even that seems to have issues listed.... But what on github doesnt. lol. I was going to work that out later for my build, but I am having enough issues fighting with the updates, and software install trying to keep both gentoo, and the nvidia drivers happy. lol. Really, it has nothing to do with with the nvidia drivers, but more on gentoo's dependence on perl, which the version they want you to have doesnt work with perl-cross yet, but it doesnt want to continue since it cant build that 1 package, because so much of the base system depends on it. It is a work in progress though. and goes fairly quick, since I told it to build binary packages as well. lol.

Edit: Think I found a fix for the perl issue..... now I go back to waiting. lol.
Could not get anbox to work, look at that: https://github.com/anbox/anbox/issues/1043

I cant get it to build because libboost.
 

Qubarf

Well-Known Member
Member
Joined
Dec 14, 2018
Messages
239
Trophies
0
Age
33
XP
967
Country
Pakistan
Has anybody tried shashlik yet?
And Bylaws, just asking, are you still thinking about making android work?
It’s my personal opinion but I think android would be much more practical on a switch than Ubuntu.
Thanks!

--------------------- MERGED ---------------------------

The linux L4T release has done a lot of the groundwork for Android, they're waiting for nvidia to release updated drivers for a new android release.

The android remote play client can be made to run on non-sony devices, the hardest part is getting the controller working.
Is this true, just want to confirm
 
  • Like
Reactions: trohn_javolta

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
Could not get anbox to work, look at that: https://github.com/anbox/anbox/issues/1043

I cant get it to build because libboost.
My build already has libboost, and the headers installed, so building anbox wont be the issue, but building the special arm64 android root might be. Should be fun, as I havnt tried to build it before. lol.

Has anybody tried shashlik yet?
And Bylaws, just asking, are you still thinking about making android work?
It’s my personal opinion but I think android would be much more practical on a switch than Ubuntu.
Thanks!

--------------------- MERGED ---------------------------


Is this true, just want to confirm

I am not sure l4t is the answer for android, especially since I have seen no video card drivers for android in any of the bsp releases I have gone through. If there were, I am sure Bylaws would have released Android Switch by now. As I am rebuilding my build again, to see if I managed to fix the build issues I was having, it might be a while until it is ready for that.

Actually, after looking into it a bit more, I found this, which might make l4t a viable android candidate: http://nv-tegra.nvidia.com/gitweb/?...git;a=shortlog;h=refs/heads/rel-30-r2-partner I am not sure if this is the correct version for this kernel, but I would think it would be worth a try. I am not a huge fan of android, so I do not plan on attempting to build android with this, but it would be cool to see working android and linux.
 
Last edited by Gavin_Darkglider,
  • Like
Reactions: lordelan

Qubarf

Well-Known Member
Member
Joined
Dec 14, 2018
Messages
239
Trophies
0
Age
33
XP
967
Country
Pakistan

bylaws

Well-Known Member
OP
Member
Joined
Dec 11, 2018
Messages
129
Trophies
0
XP
1,655
Country
United Kingdom
I was looking into it, and it seems you need a special built arm64 android root. The best I found was: https://github.com/HarleyPato/anbox-arm64 and even that seems to have issues listed.... But what on github doesnt. lol. I was going to work that out later for my build, but I am having enough issues fighting with the updates, and software install trying to keep both gentoo, and the nvidia drivers happy. lol. Really, it has nothing to do with with the nvidia drivers, but more on gentoo's dependence on perl, which the version they want you to have doesnt work with perl-cross yet, but it doesnt want to continue since it cant build that 1 package, because so much of the base system depends on it. It is a work in progress though. and goes fairly quick, since I told it to build binary packages as well. lol.

Edit: Think I found a fix for the perl issue..... now I go back to waiting. lol.
Regular anboz works
Could not get anbox to work, look at that: https://github.com/anbox/anbox/issues/1043

I cant get it to build because libboost.
It won't work anyway, it will eventually once you get it running think its being ran from /mnt and that messes up stuff, I guess probably some fs namespace issue in kernel.
My build already has libboost, and the headers installed, so building anbox wont be the issue, but building the special arm64 android root might be. Should be fun, as I havnt tried to build it before. lol.



I am not sure l4t is the answer for android, especially since I have seen no video card drivers for android in any of the bsp releases I have gone through. If there were, I am sure Bylaws would have released Android Switch by now. As I am rebuilding my build again, to see if I managed to fix the build issues I was having, it might be a while until it is ready for that.

Actually, after looking into it a bit more, I found this, which might make l4t a viable android candidate: http://nv-tegra.nvidia.com/gitweb/?...git;a=shortlog;h=refs/heads/rel-30-r2-partner I am not sure if this is the correct version for this kernel, but I would think it would be worth a try. I am not a huge fan of android, so I do not plan on attempting to build android with this, but it would be cool to see working android and linux.
Nope, nvs source is botched and terrible, it will come whenever its fixed.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +1
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
    rqkaiju2 @ rqkaiju2: i like physical media because it actually feels like you own it. thats why i plan on burning...