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,

pescu

Member
Newcomer
Joined
Apr 22, 2019
Messages
19
Trophies
0
Age
34
XP
81
Country
Romania
Hi is there a tuto to install ishiiruka dolphin ?
sudo add-apt-repository ppa:dolphin-emu/ppa
sudo apt-get update
git clone https://github.com/Tinob/Ishiiruka.git
cd Ishiiruka
mkdir build
cd build

[This next line is all in one, so copy/paste]
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 libxi-dev

cmake ..
make -j4
sudo make install

[Once installed, execute with]
ishiiruka
[Then lock it to the sidebar for easy access]

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

Can someone build an version of android with the L4T kernel? I am noob at doing these thing :(
 

ottemo

Member
Newcomer
Joined
May 12, 2019
Messages
15
Trophies
0
Age
44
XP
296
Country
Germany
Hello,

i cant boot L4T.
I followed the description step by step. Testing it with 2 differnt sd cards (both 32GB).
I tried it with and without applied updates. nothing works.

After selecting and launching L4T from Hekate (newest and older versions tested) the Screen Turn Black and nothing happens (backlight LED is still on).
I tried to boot it many times...

I applied the image to the sd card with ether and win32diskimager. With a Windows 10 PC.

Can you please help me?
 

pietempgba

Well-Known Member
Member
Joined
Jun 9, 2016
Messages
1,049
Trophies
0
XP
1,515
Country
United States
I noticed 2 things trying this out and wonder if these things are known:

  • The touch input seems pretty inacurate for me, maybe because I have a screen protector on.
So I connected my logitech smart keyboard via bluetooth which worked.
  • But now I noticed that I cannot select certain things...
    Like opening system settings works, but in there I cannot select anything with mouse cursor.
    If I hit tab it highlights the options and I can get into them but now I cannot move, minimize, enlarge or close the system settings window anymore :(
    Same in appstore: I can search for apps but I cannot select them..

Are these known bugs or does it just happen to me? Or do I have to change some bt settings for my keyboard to fix it?
touch is always weird that can't be fixed currently. Default settngs for xorg-input is X for left click B for right click and A for middle click. Also there's a weird error where the system completely freezes up which can only be fixed by a restart.

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

sudo add-apt-repository ppa:dolphin-emu/ppa
sudo apt-get update
git clone https://github.com/Tinob/Ishiiruka.git
cd Ishiiruka
mkdir build
cd build

[This next line is all in one, so copy/paste]
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 libxi-dev

cmake ..
make -j4
sudo make install

[Once installed, execute with]
ishiiruka
[Then lock it to the sidebar for easy access]

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

Can someone build an version of android with the L4T kernel? I am noob at doing these thing :(
bylaws is trying to get anbox working rn
 

Snomannen_kalle

Well-Known Member
Member
Joined
Sep 2, 2018
Messages
350
Trophies
0
Age
29
XP
2,374
Country
Norway
Hello,

i cant boot L4T.
I followed the description step by step. Testing it with 2 differnt sd cards (both 32GB).
I tried it with and without applied updates. nothing works.

After selecting and launching L4T from Hekate (newest and older versions tested) the Screen Turn Black and nothing happens (backlight LED is still on).
I tried to boot it many times...

I applied the image to the sd card with ether and win32diskimager. With a Windows 10 PC.

Can you please help me?
This is a known issue. Bylaws is working on it, and it might get fixed in the next update. The only option you have right now though, is to try a different SD card
 

specht

Well-Known Member
Member
Joined
Oct 26, 2008
Messages
234
Trophies
1
XP
917
Country
Canada
Has anyone attempted to run PCSX 2 through this? I know their is current footage of Xbox emulation running pretty slowly through XQEMU, was curious how PS2 emulation held up ;P.

As far as I know it wouldn't be worth trying since it'd need a recompiler for ARM which isn't supported. Though I've got Play! to compile and run by replacing glew with gles in the includes in OpenGLDef.h (due to an issue with qt and glew) and commenting out a couple IOS specific lines when they showed up in an error in make after making that change.

Of course that would've been a way too simple fix for this. I ran the only game I know that works fine on this emulator (Metal Gear 2 in the second disc of MGS3 Subsistence) and there was no video output, but I was able to navigate the menu still and hear everything. There may be some more platform specific stuff in GS that would need to be changed to work with gles?

Edit: success! Editing the CMakeLists.txt in GSH_OpenGL to remove the if( android or IOS ) and the associated endif worked!

http://imgur.com/R2e1KPy the memory card issue is a known glitch for MGS3

http://imgur.com/O6teU1B

Performance, even in Metal Gear 2 is stuttery but it's a start I suppose.

R2e1KPy
 
Last edited by specht,

d3xterr

Member
Newcomer
Joined
Jul 12, 2017
Messages
14
Trophies
0
Age
26
XP
156
Country
Germany
Yo, how can I access the sd card from a windows pc connected via usb to the switch? If i put the sd card into my card reader window says, the sd card needs to be formatted
 

GibboHull

Active Member
Newcomer
Joined
Apr 4, 2019
Messages
25
Trophies
0
Age
31
XP
176
Country
United Kingdom
Strangely i can't seem to resize my parition in linux ater upgrading to 1.2, i've just done a fresh install and that's usually part of my initial setup. I've got errors when doing it the last 3 times and then L4T fails to boot after doing it each time.

Is this a known bug? searched for it in the thread but couldn't find anything. After resizing it says I have no space left also.
 

Sticker

Well-Known Member
Newcomer
Joined
Oct 1, 2018
Messages
89
Trophies
0
Age
34
XP
683
Country
Vietnam
Does UI not responding fixed yet? I got this problem from the 1.0 and 1.1. When this happened Bluetooth mouse can automatically connect and I can move mouse pointer around but UI can not interactions at all.
 

gbAlfei

Member
Newcomer
Joined
May 13, 2019
Messages
10
Trophies
0
Location
Kansas City, MO
XP
81
Country
United States
Hello,

i cant boot L4T.
I followed the description step by step. Testing it with 2 differnt sd cards (both 32GB).
I tried it with and without applied updates. nothing works.

After selecting and launching L4T from Hekate (newest and older versions tested) the Screen Turn Black and nothing happens (backlight LED is still on).
I tried to boot it many times...

I applied the image to the sd card with ether and win32diskimager. With a Windows 10 PC.

Can you please help me?
So just to be sure, you did delete the boot folder and boot.scr file, right?
I'm not sure if it was originally under the 1.2 edit, but it caught my eye this morning and I'm about to check if it worked now.

What sd cards are you using by the way? The Samsung EVO 64gb doesn't seem to work, at least for me.
 

trohn_javolta

Active Member
Newcomer
Joined
Aug 9, 2018
Messages
25
Trophies
0
Age
43
XP
114
Country
Antigua and Barbuda
touch is always weird that can't be fixed currently. Default settngs for xorg-input is X for left click B for right click and A for middle click. Also there's a weird error where the system completely freezes up which can only be fixed by a restart.

Using joycons as mouse works, that's not the problem. Just the bt keyboard/touchpad input is weird: Moving cursor and all buttons work, left and right click on desktop also works but just doesn't work in the programs itself
Opening appstore or system settings works but in system settings I cannot select an item, just press tab key, dir keys and enter.
... Idk why, maybe a permission issue? I tried the same bt keyboard on 64bit ubuntu install without any problems. Makes no sense to me since it's just a normal bt connection.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: Brb