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,
D

Deleted User

Guest
Run these commands in terminal:

Code:
sudo add-apt-repository ppa:dolphin-emu/ppa
sudo apt-get update
sudo apt install dolphin-emu-master

That will get you Dolphin.

I'm using an unofficial build of Dolphin called Ishiiruka since it works better with Vulkan and gives a bit of a performance boost.
https://github.com/Tinob/Ishiiruka

It's a lot more involved to install Ishiiruka, but it's not necessarily difficult. You'll get a bunch of dependency errors that you have to manually install.
ok cool, ty. I'll wait and see if someone does a guide for the Vulkan build then, since that seems to be the better option.
 
  • Like
Reactions: Xolono

stick267

Well-Known Member
Member
Joined
Dec 17, 2018
Messages
586
Trophies
0
Age
33
XP
1,172
Country
United States
ok cool, ty. I'll wait and see if someone does a guide for the Vulkan build then, since that seems to be the better option.
You might as well install stock Dolphin, I believe Ishiiruka relies on many of its libraries.

To get started installing Ishiiruka:

Code:
git clone https://github.com/Tinob/Ishiiruka.git
cd Ishiiruka
mkdir build
cd build
cmake ..

When you run cmake is where you'll start to get dependency errors. You'll see errors like "package name is required but not found". Just google the package name, install it thru terminal (sudo apt install package-name), and run "cmake .." again. You'll get another error. Rinse and repeat until it finishes without error. Then run
Code:
make
and it'll compile for like an hour. Then run
Code:
sudo make install
and voila you have Ishiiruka Dolphin with Vulkan support.
 
Last edited by stick267,
D

Deleted User

Guest
You might as well install stock Dolphin, I believe Ishiiruka relies on many of its libraries.

To get started installing Ishiiruka:

Code:
git clone https://github.com/Tinob/Ishiiruka.git
cd Ishiiruka
mkdir build
cd build
cmake ..

When you run cmake is where you'll start to get dependency errors. You'll see errors like "package name is required but not found". Just google the package name, install it thru terminal (sudo apt install package-name), and run "cmake .." again. You'll get another error. Rinse and repeat until it finishes without error. Then run
Code:
make
and it'll compile for like an hour. Then run
Code:
sudo make install
and voila you have Ishiiruka Dolphin with Vulkan support.
Sweet stuff, I'll get tight on it! Thank you!

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

You might as well install stock Dolphin, I believe Ishiiruka relies on many of its libraries.

To get started installing Ishiiruka:

Code:
git clone https://github.com/Tinob/Ishiiruka.git
cd Ishiiruka
mkdir build
cd build
cmake ..

When you run cmake is where you'll start to get dependency errors. You'll see errors like "package name is required but not found". Just google the package name, install it thru terminal (sudo apt install package-name), and run "cmake .." again. You'll get another error. Rinse and repeat until it finishes without error. Then run
Code:
make
and it'll compile for like an hour. Then run
Code:
sudo make install
and voila you have Ishiiruka Dolphin with Vulkan support.
Sorry to come bacj and bother again, but I'm trying to run cmake after cding into the build folder we made, but I'm getting an error for no cmake command being found. Is that something I also must install?
 
  • Like
Reactions: hojas86

avattar

Member
Newcomer
Joined
Apr 29, 2019
Messages
12
Trophies
0
Age
40
XP
183
Country
Brazil
THat installed, Cmake continued, threw more errors, thought I knew what I was looking for now and just not finding, so fuck it, I give up for the moment. This shit is why I use windows.
Try following the instructions for building regular dolphin on Ubuntu, that's what worked for me: wiki.dolphin-emu.org/index.php?title=Building_Dolphin_on_Linux#16.04_LTS
 

uyjulian

Homebrewer
Member
Joined
Nov 26, 2012
Messages
2,568
Trophies
2
Location
United States
Website
sites.google.com
XP
3,922
Country
United States
THat installed, Cmake continued, threw more errors, thought I knew what I was looking for now and just not finding, so fuck it, I give up for the moment. This shit is why I use windows.
https://askubuntu.com/questions/160897/how-do-i-search-for-available-packages-from-the-command-line
To search for a particular package by name or description:
From the command-line, use:

apt-cache search keyword

where the search keyword can be all or part of a package name or any words used in its description.

For example, apt-cache search proxy includes both these packages:

tinyproxy - A lightweight, non-caching, optionally anonymizing HTTP proxy
tircd - ircd proxy to the twitter API

Note: the list may be long, so you can pipe the output to less to make it scrollable one line or one screen at a time, i.e. apt-cache search something | less.

To get a list of ALL packages
apt-cache search .
 

bylaws

Well-Known Member
OP
Member
Joined
Dec 11, 2018
Messages
129
Trophies
0
XP
1,655
Country
United Kingdom
I just wanna know, can it run Java minecraft? Why? Because A. Portable Java Minecraft would be great. B. My PC literally can't run it kek.

Also can we run steam and dolphin and all that stuff?
yup
Is there any way to fix RTC shifting in Horizon OS? My Switch now shows a 2035 date even after an Internet time resync
its kinda hard to do, i can turn of rtc in linux but thatll cause that to have wrong date
Has anyone had any issues with their Joy Con sticks being mis-calibrated (specifically the right Joy Con)? My right Joy Con's stick shows as being pushed all the way right in L4T, but it functions normally in Horizon.

View attachment 165328
Screenshot showing the issue. The "Main Stick" (left Joy Con) is fine, but the "C-Stick" (right Joy Con) is pushed all the way to the right by default.

Re-calibrating in Horizon doesn't do anything. I also tried using jstest-gtk to re-calibrate within L4T, and while it makes a difference the calibration is still way off. Any ideas?
yup, fix coming in 2 min
 
D

Deleted User

Guest
Last edited by ,
  • Like
Reactions: Subtle Demise

stick267

Well-Known Member
Member
Joined
Dec 17, 2018
Messages
586
Trophies
0
Age
33
XP
1,172
Country
United States
The ones that I'm missing don't get found by the search. This is weird. I'm googling for fixes and help and such.
I hate linux sometimes haha
Just google them. "How to install xxx on ubuntu".

A lot of them will just be adding "lib" as prefix or "-dev" to the end, or both. For example I got an error that told me I needed "evdev". The actual package name for it was "libevdev-dev".

I should've just wrote down a list of all of the missing dependencies when I was going through it :rofl:.
 

bylaws

Well-Known Member
OP
Member
Joined
Dec 11, 2018
Messages
129
Trophies
0
XP
1,655
Country
United Kingdom
The ones that I'm missing don't get found by the search. This is weird. I'm googling for fixes and help and such.
I hate linux sometimes haha
FFmpeg (and it's got a list of sublibraries)
LIBUDEV
libevdev

tried appending -dev to them, still nothing.

I'm sorry sorry folks for the amount of help I'm needing folks, this is embarassing.
dolphin wiki has a list iirc
 
D

Deleted User

Guest
GOT IT!
So, just for future folks trying to install

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

this is the command you can copy/paste into terminal to make this.

It's currently compiling on my switch right now :)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    BigOnYa @ BigOnYa: I played the intro to far cry 5, that is like some crazy Jim Jones cult shit. Still its petty...