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,

ed58

Member
Newcomer
Joined
Mar 15, 2016
Messages
21
Trophies
0
Age
28
XP
133
Country
United States
Does ishiiruka have to be made from source? I get too many errors when trying that. Vulcan backend doesn’t seem to work at all on the latest dolphin build
 

Pipistrele

Well-Known Member
Member
Joined
Jan 21, 2019
Messages
770
Trophies
0
Age
30
XP
1,648
Country
Russia
A fun thing to mess around with, but kinda hard to use for anything practical due to everything being so zoomed out (pain in the ass to tap small icons), lack of sleep mode, chaotic onscreen keyboard behavior and no OTG. A good beginning for sure though; some further quality of life additions, and it'll make for an awesome ARM-powered Linux tablet c:
 
Last edited by Pipistrele,

Pipistrele

Well-Known Member
Member
Joined
Jan 21, 2019
Messages
770
Trophies
0
Age
30
XP
1,648
Country
Russia
What's so great about this release? Out of curiousity?
Welp, it's a full-fledged Linux OS on your Switch (although on ARM, which means not all apps will work). You can do all sorts of stuff with it, from Word/Excel documents to internet browsing to coding etc. etc.
 

iotdevnet

Active Member
Newcomer
Joined
Apr 29, 2019
Messages
29
Trophies
0
Age
46
XP
85
Country
Bulgaria
I wonder is it possible we to use first part of the sd card just ot load the kernel and after that continue booting the file-system from usb-hdd cos usb3.0 port is pretty fast and we can use even ssd i know switch must be in dock mode but still is intersting to test but as i`m not aware on arm where is the conf file who told the kernel from where to load the filesystem cos on arm we don`t have grup bootloader

P.S i tested 4k h265 in kodi and was choppy :) so i think nvidia hw decoder is not been used from kodi :)

P.S2 found some commend in youtube for hwdec in tx1 chip.

A very decent device (It's essentially a Shield TV Lite hardware-wise) which is let down by somewhat poor software support, at least in the video decoding field. Nvidia still uses a custom OMX decoder (they were using it since Tegra 2 or even Tegra 1 days) instead of VDPAU on all Tegra boards. And the only software framework they support for video decoding is gstreamer. That means you can forget about Kodi, VLC or anything else that uses FFMPEG or AVCodec. Heck, even gstreamer-based software will need to be patched to work with Tegra although patching is quite trivial (you just need to change the default video sink). As for all that AI stuff, it sounds a bit strange why is Nvidia trying to target such a narrow market when this board has potential to be a really decent general purpose SBC. My guess they just want to focus on their existing target market for Jetson boards - AI developers and researchers. So they can sell them a more expensive Jetson later when the Nano is no longer powerful enough.


Okay, they provide video accel via openmax, which only works in kodi and gstreamer

can we patch gstreamer ? to be able to use some player 4k h265 ?





REPLY
 
Last edited by iotdevnet,

burt111

Well-Known Member
Newcomer
Joined
Oct 30, 2016
Messages
48
Trophies
0
Age
26
XP
197
Country
United States
Or
Others have said yes, but I haven't looked into those yet.
yes works fine the only issue I had is you either compile every core yourself “bc of arm64” or you take the ones from the Lakka switch release which you can open the blank system file with the archive manager and find the so files and drop them and the info files in the right directories
 
D

Deleted User

Guest
I have a pen that i must turn on to use on screen like smartphone or switch, on HOS, actually i have to turn it on, and it work perfectly. When in ubuntu even with the pen OFF, the screen is like ultra sensitive and it work. I somewhat feel like a magnet on it sometime, but it feel really, really tiny, or it may be just my feeling. Only happen under L4T.

Maybe the screen sensivity is too hight, even after 1.1 update? I wonder how it work but if it can help @bylaws, otherwise, sorry to bother.

Did the pen run dolphin? of course.
 

stick267

Well-Known Member
Member
Joined
Dec 17, 2018
Messages
586
Trophies
0
Age
33
XP
1,172
Country
United States
Thank you all who tried to help me - eventually got a new MicroSD card and every previous problem was sorted out thanks to this.

I do have one issue with the Dolphin (L4T is updated to 1.1): I am unable to set my right joycon stick, it just doesm't do anything, when I move with the stick in controls settings. Left joycon stick works absolutely fine.
The right Joy Con stick was fixed in 1.1. Are you sure you applied the update? You have to download the separate package, it's not built in to the img file.

Does ishiiruka have to be made from source? I get too many errors when trying that. Vulcan backend doesn’t seem to work at all on the latest dolphin build
Yeah you have to build it from source. Run this command first to get all of the dependencies it needs:

Code:
sudo apt install git cmake ffmpeg libavcodec-dev libevdev-dev libusb-1.0-0-dev libavformat-dev libswscale-dev libsfml-dev libminiupnpc-dev libmbedtls-dev curl libhidapi-dev libwxbase3.0-dev libwxgtk3.0-dev libpangocairo-1.0-0 libgtk2.0-dev libbluetooth-dev qt5-default qtbase5-private-dev libudev-dev



I have a pen that i must turn on to use on screen like smartphone or switch, on HOS, actually i have to turn it on, and it work perfectly. When in ubuntu even with the pen OFF, the screen is like ultra sensitive and it work. I somewhat feel like a magnet on it sometime, but it feel really, really tiny, or it may be just my feeling. Only happen under L4T.

Maybe the screen sensivity is too hight, even after 1.1 update? I wonder how it work but if it can help @bylaws, otherwise, sorry to bother.

Did the pen run dolphin? of course.
I've noticed that the touch screen is really sensitive. A lot of times all you have to do is hover your finger over the screen and it will register as a touch without even making contact with the screen.
 
Last edited by stick267,
  • Like
Reactions: MartianMSK

DiscostewSM

Well-Known Member
Member
Joined
Feb 10, 2009
Messages
5,484
Trophies
2
Location
Sacramento, California
Website
lazerlight.x10.mx
XP
5,503
Country
United States
I will leave it charging once again for a couple of hours, will let you guys know.
Starting a charge from 0% is going to be extremely slow, but it was designed that way I believe to prevent damage. It's why li-ion batteries are recommended to never be fully depleted. Not only that, but the system was also designed to prevent being turned on when under a certain percentage (I think 5%). So even if it's plugged in, it won't be able to turn on until it gets above the forced-shutdown range, and that'll be slow. Patience is a must in these cases.
 

crow132

Well-Known Member
Member
Joined
Jan 19, 2016
Messages
302
Trophies
0
Age
34
XP
1,373
Country
Saint Helena
Yes, I have had this happen to me before, and holding down power, charging, then plugging it into my PC would trigger RCM. This is the first time where doing so didnt work out. Pretty sure it bricked my switch.
you use autorcm right?

did you hit the usb port or something? maybe the issue is a broken port

I also heard that if you run out of battery completly while autorcm is active you cant charge the system back, you should try plugin your battery into another switch
 

burt111

Well-Known Member
Newcomer
Joined
Oct 30, 2016
Messages
48
Trophies
0
Age
26
XP
197
Country
United States
you use autorcm right?

did you hit the usb port or something? maybe the issue is a broken port

I also heard that if you run out of battery completly while autorcm is active you cant charge the system back, you should try plugin your battery into another switch
I’ve never had this issue
 

GibboHull

Active Member
Newcomer
Joined
Apr 4, 2019
Messages
25
Trophies
0
Age
31
XP
176
Country
United Kingdom
Managed to break it attempting to install moonlight. Was probably something I did to be honest my linux skills are non-exsistent.

Tried to install it from the repo provided by moonlight got a "cant install snap store cant support snapd/ linux can't mount image squashfs image using squashfs mount" error. Then installed snap (seemingly worked fine) and then tried to install moonlight again and got the same error. Restarted L4T and now switch hangs on a black screen before resetting back to RCM.

Might format the SD card and try again, make sure it's not something I've missed. Anyone got any ideas?

Edit: Also, not sure if this is a known error but I got no touchpad popup when using the browser, this was the only place that it happened.
 

burt111

Well-Known Member
Newcomer
Joined
Oct 30, 2016
Messages
48
Trophies
0
Age
26
XP
197
Country
United States
Managed to break it attempting to install moonlight. Was probably something I did to be honest my linux skills are non-exsistent.

Tried to install it from the repo provided by moonlight got a "cant install snap store cant support snapd/ linux can't mount image squashfs image using squashfs mount" error. Then installed snap (seemingly worked fine) and then tried to install moonlight again and got the same error. Restarted L4T and now switch hangs on a black screen before resetting back to RCM.

Might format the SD card and try again, make sure it's not something I've missed. Anyone got any ideas?

Edit: Also, not sure if this is a known error but I got no touchpad popup when using the browser, this was the only place that it happened.
I did this it was something else you did that broke it
 

Site & Scene News

Popular threads in this forum

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