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,

NazoKermit

New Member
Newbie
Joined
Mar 1, 2019
Messages
4
Trophies
0
Age
19
XP
67
Country
Australia
I don't think I have enough posts to PM yet but I'm still having trouble with L4T even with the update. I seem to have the same issue where the screen either stays black no backlight, stays black with backlight or just crashes after doing one of the two.
 

cots

Banned!
Banned
Joined
Dec 29, 2014
Messages
1,533
Trophies
0
XP
1,952
Country
United States
does any1 know how to set this up by SD Files instead of placing it in hidden partition?

The partition isn't hidden. It's a EXT4 partition and you need drivers to read and write to it if you're using Windows. As already mentioned you can use Paragon's EXT4 driver or you could just use a Live CD distro of Ubuntu Linux instead of using Windows to manage the EXT4 partition.

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

And I'm sure this highly confrontational post sounded nice in yours, as well.

To be clear, I'm not underestimating the effort that went into this, and in fact I do think it's good for the majority of users. I just don't see L4T as being sustainable long-term. Vendor kernels all tend to eventually bitrot and become subject to CVE after CVE.

Long term solution? Does that even exist in console homebrew scenes that last, what, 4-6 years? I don't see many normal homebrew from the 3DS scene being actively maintained. I suppose if you wanted something with better LTS support you could take all your CFW and kernel compiling knowledge and make, what you would call, a better distro?
 
  • Like
Reactions: Subtle Demise

iotdevnet

Active Member
Newcomer
Joined
Apr 29, 2019
Messages
29
Trophies
0
Age
46
XP
85
Country
Bulgaria
Nvidia don't provide vdpau, you need to use openmax (kodi and anything gstreamer based)
What is your ethernet adapter, I enabled lots in 1.1


Please add this one

Edimax usb2.0 10/100
Bus 002 Device 003: ID 0b95:772b ASIX Electronics Corp. AX88772B

this one is cheap and works evrywhere
Bus 002 Device 004: ID 0fe6:9700 Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter

Tplink usb3.0 10/100/1000
Bus 002 Device 005: ID 2357:0601

On nvidia site https://developer.nvidia.com/embedded/buy/jetson-nano-devkit is 99 usd and

Video Decode 4K @ 60 | 2x 4K @ 30 | 8x 1080p @ 30 | 18x 720p @ 30 (H.264/H.265)

I think in Nvidia ubuntu image must have this videodecode lib how they will provide H.265 decode ? So we must check this :)

Grate work to your team i use my Nintendo all day with ubuntu and is fantastic only this small issues i want to be fixed and if you can write guide how we can compile our own kernels will be fantastic !
 
  • Like
Reactions: achoissoumsaco

cots

Banned!
Banned
Joined
Dec 29, 2014
Messages
1,533
Trophies
0
XP
1,952
Country
United States
Is there any way to fix RTC shifting in Horizon OS? My Switch now shows a 2035 date even after an Internet time resync

You need to manually set the date and time back to what it's supposed to be. Seems internet sync doesn't do it properly.

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

Nvidia don't provide vdpau, you need to use openmax (kodi and anything gstreamer based)

Is there any way to get or configure mpv to use the gstreamer backend? I don't really like Kodi that much. Other than kodi, what other video players use gstreamer (if there is no way to get mpv to use it that is)?
 

iotdevnet

Active Member
Newcomer
Joined
Apr 29, 2019
Messages
29
Trophies
0
Age
46
XP
85
Country
Bulgaria
Black screen problem fix!

For this one of you who has problem with the black screen i found this problem in some reason when you reboot your Nintendo sometimes maybe memory is not been clean properly so try to hold power button for 7-8 sec then power up then hold again for 7-8 sec in this way all is been reset and black screen problem is gone to me is happens sometimes when i restart.
 

orangpelupa

Well-Known Member
Member
Joined
Aug 7, 2009
Messages
388
Trophies
1
XP
1,183
Country
Indonesia
anyone tried 3ds emulator with this?

gonna look for 16GB microsd for this, then i'll no longer need to bring my windows tablet to work. switch + dock will be enough hahaha
 

orangpelupa

Well-Known Member
Member
Joined
Aug 7, 2009
Messages
388
Trophies
1
XP
1,183
Country
Indonesia
just resized partitions using gparted and its working like a charm, dual boot baby

View attachment 165353

how do we do that?

  • split to two partitions (supposedly any partition manager can do it)
  • copy the image to second partition (but the info on page 1 says "first" partition right?)
  • put the hekate config... into first (FAT32) or second (EXT3/4) partition?
 

crow132

Well-Known Member
Member
Joined
Jan 19, 2016
Messages
302
Trophies
0
Age
34
XP
1,373
Country
Saint Helena
how do we do that?

  • split to two partitions (supposedly any partition manager can do it)
  • copy the image to second partition (but the info on page 1 says "first" partition right?)
  • put the hekate config... into first (FAT32) or second (EXT3/4) partition?
just write the ubuntu image on your sd card and then move and resize partitions from gparted
 

jug5

Member
Newcomer
Joined
Apr 29, 2019
Messages
8
Trophies
0
Age
113
XP
68
Country
United States
Hmm, I'll contact you with some builds to test in a few days
What modules do you want
To compile, setup kernel tree as in the manifest on nv-tegra then add/replace some repos with the ones on switch root. Build as normal

Thanks @bylaws, I'll give it a try again today. Which manifest do you mean, the nv-tegra link you've shared is just all their git repos? Do I need all of them?

I need only a few, first the kernel really should have support for NFS Client Support (version 3 & 4).
Also list most people that have mentioned it none of my USB3 ethernet adapters work, for mine I need ax88179_178a (CONFIG_USB_NET_AX88179_178A).
 
Last edited by jug5,

cots

Banned!
Banned
Joined
Dec 29, 2014
Messages
1,533
Trophies
0
XP
1,952
Country
United States
So I got Dolphin up and running. Performance isn't that great, but I guess it's a start.

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

Hmmm .... now to figure out how to encrypt the ext4 partition / linux file system after having it already installed. I imagine a headache is awaiting me.

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

Black screen problem fix!

For this one of you who has problem with the black screen i found this problem in some reason when you reboot your Nintendo sometimes maybe memory is not been clean properly so try to hold power button for 7-8 sec then power up then hold again for 7-8 sec in this way all is been reset and black screen problem is gone to me is happens sometimes when i restart.

Yes, this worked for me. I also do not have the time sync issue anymore after upgrading to the latest version. Horizon's time doesn't get set to far in the future anymore and both Linux and the date/time in Horizon is correct.
 

Attachments

  • l4t_ubuntu_docked_zelda_cc-switch.jpg
    l4t_ubuntu_docked_zelda_cc-switch.jpg
    552.3 KB · Views: 159

Site & Scene News

Popular threads in this forum

Recent Content

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=A0FyqCEfD0E