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,
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 :(
 
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?
 
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
 
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
 
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,
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
 
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.
 
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.
 
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.
it's not fixed on 1.2 either
 
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.
 
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