Tutorial  Updated

L4T Ubuntu Applcation Install guides.

So, instead of clogging up poor @bylaws L4T thread (sorry buddy!) with emulators apps, I figured it might be a good idea to try and make a separate thread for quick guides, and leave his one to troubleshooting actual L4T issues.

The intent for this thread is to leave behind quickshot guides for others to install applications we know works for Tegra Linux, so here's the one's I've managed so far, with the help of some folks in the L4T OS thread.

If others are going to add to this thread with their own little guides, try to keep each seperate command on it's own line, and if the command is too big for 1 line, seperate it as I have done in the Vulkan Dolphin guide. Little comments should go into square brackets and have the color changed to red. Try to keep it in a format that people can copy/paste each line as they're needed.

(It is advised to make a Swapfile, so please follow that guide first!)

sudo apt install nano
[You can change 1G to whatever size you want, I used 2G]
sudo fallocate -l 1G /swapfile
[If fallocate throws an error, you want to run the]
[next command, if it doesn't, skip it]

sudo dd if=/dev/zero of=/swapfile bs=1024 count=1048576
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo nano /etc/fstab
[You need to add this entry to the file you just opened]
[to make the change permanent:]

/swapfile swap swap defaults 0 0
[To verify that it installed correctly:]
sudo free -h
[Something like this should be the output:]

       [total        used         free       shared  buff/cache  available]
[Mem: 488M 158M 83M 2.3M 246M 217M]
[Swap: 1.0G 506M 517M]

echo performance | sudo tee /sys/devices/system/cpu/cpufreq/policy0/scaling_governor

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]

sudo add-apt-repository ppa:libretro/testing
sudo apt-get install retroarch* libretro*
sudo apt-get update && sudo apt-get upgrade
[Easy enough to install]

sudo apt-get install xserver-xorg-input-joystick

[To use your joycons as a mouse, press the sync buttons on the rail of each joycon, then use the bluetooth app to connect to them both. Once both are connected, hold them like you normally do, and press L+R (L1, R1 in Playstation terms), and that should be it!]
[Another easy install, to change sensitivity, go to system settings, mouse, and make your changes]

sudo apt-get install kodi
[After installing Kodi, you will need to logout. Do not shut down or reboot, but if you did, follow the same instructions.]
[Log out, and you'll be at the login menu. Click the account, and it'll ask you for your password.]
[Underneath the password box, is a cog. Click the cog, and click Unity.]
[From now on, Kodi will not automatically start upon booting up linux.]
[Yet another easy one, but this is a very powerful media box program]

[Original Post https://gbatemp.net/threads/tutoria...ling-moonlight-embedded-on-l4t-ubuntu.537429/ ]
sudo apt-get update
[Next line is all 1 command]
sudo apt-get install libopus0 libexpat1 libasound2 libudev1 libavahi-client3 libcurl3 libevdev2 libenet7 -y && sudo apt-get install libssl-dev libopus-dev libasound2-dev libudev-dev libavahi-client-dev libcurl4-openssl-dev libevdev-dev libexpat1-dev libpulse-dev uuid-dev libenet-dev cmake gcc g++ fakeroot debhelper
libavcodec-dev libsdl2-dev -y

git clone https://github.com/irtimmer/moonlight-embedded.git
cd moonlight-embedded
git submodule update --init
mkdir build
cd build/
cmake ../
make
sudo make install
sudo ldconfig

[Now reboot your switch]
moonlight pair <pc local ip>
moonlight stream <pc local ip>

[Where pc local ip, you must put in your pc's ip address. To find that, on windows, open Win+r, in the dialog box, put in cmd.exe. In the new window, type in ipconfg, then look for your systems ip address. if you computer is wired to your network, it'll fall under "Ethernet adapter Ethernet".
If it is Wireless, then it'll fall under "Wireless LAN adapter WiFi"
Either way, you'll want the IPv4 Address.]
[In linux, just open terminal, the command "ifconfig" and look for IPv4]


[To configure your joycons to work with Moonlight]
sudo gedit /usr/local/share/moonlight/gamecontroller.txt

[Scroll to the bottom and copy/paste one of these style codes into the file]
[For Nintendo Style:]
050000007e0500000620000001000000,Nintendo Switch Joy-Cons,a:b1,b:b0,back:b9,dpdown:b15,dpleft:b16,dpright:b17,dpup:b14,guide:b11,leftshoulder:b5,leftstick:b12,lefttrigger:b7,leftx:a0,lefty:a1,rightshoulder:b6,rightstick:b13,righttrigger:b8,rightx:a2,righty:a3,start:b10,x:b2,y:b3,

[For Microsoft Style:] 050000007e0500000620000001000000,Nintendo Switch Joy-Cons,a:b0,b:b1,back:b9,dpdown:b15,dpleft:b16,dpright:b17,dpup:b14,guide:b11,leftshoulder:b5,leftstick:b12,lefttrigger:b7,leftx:a0,lefty:a1,rightshoulder:b6,rightstick:b13,righttrigger:b8,rightx:a2,righty:a3,start:b10,x:b3,y:b2,

[Then,press CTRL + X. Then press Y. Then close terminal and reboot your switch.]
 
Last edited by ,

Halobro35

Member
Newcomer
Joined
May 2, 2019
Messages
10
Trophies
0
Age
37
XP
13
Country
United States
While the game is running in the background with fps being displayed, open up settings and make adjustments, watch the fps counter. That's what I have been doing. Have Zelda Wind Waker running decently at 720p.

You mean 720P internal resolution? If so, you mind sharing your settings?
I've found that I've needed to turn down emulated cpu in order to get decent performance.
 

tomman321

Well-Known Member
Member
Joined
Feb 4, 2016
Messages
130
Trophies
0
Age
26
XP
393
Country
United States
I get the error "Could not resolve 'turul.canonical.com'" whenever trying to update or install packages from terminal.
 

tomman321

Well-Known Member
Member
Joined
Feb 4, 2016
Messages
130
Trophies
0
Age
26
XP
393
Country
United States
I'm having an issue trying to update my system. Seems like nothing is actually installing. Here's the log:

tomman123@tomman123-laptop:~$ sudo apt update [sudo said:
password for tomman123:
Hit:1 http://repo.steampowered.com/steam precise InRelease
Hit:2 http://turul.canonical.com bionic InRelease
Get:3 http://turul.canonical.com bionic-updates InRelease [88.7 kB]
Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Hit:5 http://repo.switchroot.org unstable/ InRelease
Hit:6 http://turul.canonical.com bionic-backports InRelease
Hit:7 http://turul.canonical.com bionic-security InRelease
Ign:8 http://turul.canonical.com bionic/main i386 Packages
Ign:9 http://turul.canonical.com bionic/restricted i386 Packages
Ign:10 http://turul.canonical.com bionic/universe i386 Packages
Ign:11 http://turul.canonical.com bionic/multiverse i386 Packages
Ign:8 http://turul.canonical.com bionic/main i386 Packages
Ign:9 http://turul.canonical.com bionic/restricted i386 Packages
Ign:10 http://turul.canonical.com bionic/universe i386 Packages
Ign:11 http://turul.canonical.com bionic/multiverse i386 Packages
Ign:8 http://turul.canonical.com bionic/main i386 Packages
Ign:9 http://turul.canonical.com bionic/restricted i386 Packages
Ign:10 http://turul.canonical.com bionic/universe i386 Packages
Ign:11 http://turul.canonical.com bionic/multiverse i386 Packages
Err:8 http://turul.canonical.com bionic/main i386 Packages
404 Not Found [IP: 91.189.91.11 80]
Ign:9 http://turul.canonical.com bionic/restricted i386 Packages
Ign:10 http://turul.canonical.com bionic/universe i386 Packages
Ign:11 http://turul.canonical.com bionic/multiverse i386 Packages
Ign:12 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages
Ign:13 http://ports.ubuntu.com/ubuntu-ports bionic/universe i386 Packages
Ign:14 http://ports.ubuntu.com/ubuntu-ports bionic/restricted i386 Packages
Ign:15 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse i386 Packages
Ign:12 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages
Ign:13 http://ports.ubuntu.com/ubuntu-ports bionic/universe i386 Packages
Ign:14 http://ports.ubuntu.com/ubuntu-ports bionic/restricted i386 Packages
Ign:15 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse i386 Packages
Ign:12 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages
Ign:13 http://ports.ubuntu.com/ubuntu-ports bionic/universe i386 Packages
Ign:16 http://turul.canonical.com bionic-updates/main i386 Packages
Ign:14 http://ports.ubuntu.com/ubuntu-ports bionic/restricted i386 Packages
Ign:15 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse i386 Packages
Err:12 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages
404 Not Found [IP: 91.189.88.150 80]
Get:17 http://turul.canonical.com bionic-updates/main arm64 Packages [482 kB]
Ign:13 http://ports.ubuntu.com/ubuntu-ports bionic/universe i386 Packages
Ign:14 http://ports.ubuntu.com/ubuntu-ports bionic/restricted i386 Packages
Ign:15 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse i386 Packages
Ign:18 http://turul.canonical.com bionic-updates/restricted i386 Packages
Get:19 http://turul.canonical.com bionic-updates/universe arm64 Packages [830 kB]
Ign:20 http://turul.canonical.com bionic-updates/universe i386 Packages
Ign:21 http://turul.canonical.com bionic-updates/multiverse i386 Packages
Ign:16 http://turul.canonical.com bionic-updates/main i386 Packages
Ign:22 http://turul.canonical.com bionic-backports/main i386 Packages
Ign:23 http://turul.canonical.com bionic-backports/universe i386 Packages
Ign:24 http://turul.canonical.com bionic-security/main i386 Packages
Ign:25 http://turul.canonical.com bionic-security/restricted i386 Packages
Ign:26 http://turul.canonical.com bionic-security/universe i386 Packages
Ign:27 http://turul.canonical.com bionic-security/multiverse i386 Packages
Ign:18 http://turul.canonical.com bionic-updates/restricted i386 Packages
Ign:20 http://turul.canonical.com bionic-updates/universe i386 Packages
Ign:21 http://turul.canonical.com bionic-updates/multiverse i386 Packages
Ign:16 http://turul.canonical.com bionic-updates/main i386 Packages
Ign:22 http://turul.canonical.com bionic-backports/main i386 Packages
Ign:23 http://turul.canonical.com bionic-backports/universe i386 Packages
Ign:24 http://turul.canonical.com bionic-security/main i386 Packages
Ign:25 http://turul.canonical.com bionic-security/restricted i386 Packages
Ign:26 http://turul.canonical.com bionic-security/universe i386 Packages
Ign:27 http://turul.canonical.com bionic-security/multiverse i386 Packages
Ign:18 http://turul.canonical.com bionic-updates/restricted i386 Packages
Ign:20 http://turul.canonical.com bionic-updates/universe i386 Packages
Ign:21 http://turul.canonical.com bionic-updates/multiverse i386 Packages
Err:16 http://turul.canonical.com bionic-updates/main i386 Packages
404 Not Found [IP: 91.189.91.11 80]
Ign:22 http://turul.canonical.com bionic-backports/main i386 Packages
Ign:23 http://turul.canonical.com bionic-backports/universe i386 Packages
Ign:24 http://turul.canonical.com bionic-security/main i386 Packages
Ign:25 http://turul.canonical.com bionic-security/restricted i386 Packages
Ign:26 http://turul.canonical.com bionic-security/universe i386 Packages
Ign:27 http://turul.canonical.com bionic-security/multiverse i386 Packages
Ign:18 http://turul.canonical.com bionic-updates/restricted i386 Packages
Ign:20 http://turul.canonical.com bionic-updates/universe i386 Packages
Ign:21 http://turul.canonical.com bionic-updates/multiverse i386 Packages
Err:22 http://turul.canonical.com bionic-backports/main i386 Packages
404 Not Found [IP: 91.189.91.11 80]
Ign:23 http://turul.canonical.com bionic-backports/universe i386 Packages
Err:24 http://turul.canonical.com bionic-security/main i386 Packages
404 Not Found [IP: 91.189.91.11 80]
Ign:25 http://turul.canonical.com bionic-security/restricted i386 Packages
Ign:26 http://turul.canonical.com bionic-security/universe i386 Packages
Ign:27 http://turul.canonical.com bionic-security/multiverse i386 Packages
Fetched 1,401 kB in 4s (341 kB/s)
Reading package lists... Done
E: Failed to fetch http://turul.canonical.com/dists/bionic/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.11 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic/main/binary-i386/Packages 404 Not Found [IP: 91.189.88.150 80]
E: Failed to fetch http://turul.canonical.com/dists/bionic-updates/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.11 80]
E: Failed to fetch http://turul.canonical.com/dists/bionic-backports/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.11 80]
E: Failed to fetch http://turul.canonical.com/dists/bionic-security/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.11 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
tomman123@tomman123-laptop:~$
 
Last edited by tomman321,

Hiipswerf

Member
Newcomer
Joined
Apr 15, 2019
Messages
21
Trophies
0
Age
32
XP
85
Country
United States
I cant sync my joycons to it. I can sync the left but not the right and the left wont even do anything once it is synced
 

patar1991

Member
Newcomer
Joined
Apr 16, 2019
Messages
5
Trophies
0
Age
32
XP
84
Country
Ecuador
Excuse me guys i read all the post related to l4t ubuntu and i have some questions
1st i instal the ubuntu with the update but theres say that i need to put or update the kernel but

The kernel is on the update file (I mean insede the update atachment ) or i have to install it on repos?
 

monokin1114

Well-Known Member
Newcomer
Joined
Apr 21, 2019
Messages
46
Trophies
0
Age
29
XP
544
Country
Canada
Excuse me guys i read all the post related to l4t ubuntu and i have some questions
1st i instal the ubuntu with the update but theres say that i need to put or update the kernel but

The kernel is on the update file (I mean insede the update atachment ) or i have to install it on repos?

Its the update file you download. You just copy the contents to the fat32 partition
 

pietempgba

Well-Known Member
Member
Joined
Jun 9, 2016
Messages
1,049
Trophies
0
XP
1,515
Country
United States
Excuse me guys i read all the post related to l4t ubuntu and i have some questions
1st i instal the ubuntu with the update but theres say that i need to put or update the kernel but

The kernel is on the update file (I mean insede the update atachment ) or i have to install it on repos?
the kernel is inside the attachment. software updates are on the repo
 

patar1991

Member
Newcomer
Joined
Apr 16, 2019
Messages
5
Trophies
0
Age
32
XP
84
Country
Ecuador
Thank you guys now ill install it again so 1st format as a fat 32 primari partition all the micro sd 32 gb son (29.8 gb primary partition) then install all again then configure all (any way to increase the performance (In my 1st install seems that sometimes freeze or the icons didnt respond any way to fix it it that happen again) )sorry for my grammar mistakes btw
 

CalcProgrammer1

Member
Newcomer
Joined
May 4, 2019
Messages
19
Trophies
0
Age
34
XP
147
Country
United States
Hangover Installation Tutorial

1. Get L4T running on your Switch and connect to network. Going to assume you have the basics down. I had to reflash my SD card because I screwed up the DE so I'm writing this tutorial off of a fresh install.

2. Install required dependencies: sudo apt-get install git build-essential mingw-w64 mingw-w64-i686-dev mingw-w64-x86-64-dev libfreetype6-dev

3. Clone the Hangover repository: git clone <link removed because this forum is dumb, google "wine hangover github" and you'll find it>

4. cd into the hangover directory: cd hangover

5. Initialize submodules: git submodule update --init --recursive

6. Both times I've tried to build this, the qemu submodule seems to initialize to an empty commit. To fix this, cd into the qemu directory and reset: git reset --hard HEAD

7. cd back up to the hangover directory: cd ..

5. Build the project: make -j4

6. Rerun make -j4 until there are no errors. You may want to enable the overclock/performance mode for this step as it will take a while.

7. Symlink libgcc_s_sjlj-1.dll into hangover build: ln -s /usr/lib/gcc/i686-w64-mingw32/7.3-win32/libgcc_s_sjlj-1.dll build/qemu/x86_64-windows-user/qemu_guest_dll32/libgcc_s_sjlj-1.dll
 

specht

Well-Known Member
Member
Joined
Oct 26, 2008
Messages
234
Trophies
1
XP
917
Country
Canada
Here's a guide for OpenMW taken from their wiki aside from a small workaround:

sudo add-apt-repository ppa:openmw/openmw
sudo apt-get update
sudo apt-get install openmw openmw-launcher
sudo apt-get install openmw-cs

Run openmw-wizard (just type it in a terminal, it's included in the install) and setup the game data files copied from a Morrowind disc or your Steam/GOG installation.

openmw-launcher has an error with dbus so you have to run the below command first:

export DBUS_FATAL_WARNINGS=0

Then run openmw-launcher and away you go!

I haven't tried the joycons with it yet since my right joycon has a faulty rail on the LED, sr, sl, and sync buttons which makes it kinda impossible to pair through Bluetooth. But the game recognizes my 8bitdo SF30 Pro.
 
Last edited by specht, , Reason: Not sure if openmw-cs was needed but it doesn't hurt to have

gringuscharge57

Member
Newcomer
Joined
May 6, 2019
Messages
16
Trophies
0
XP
110
Country
United States
Hey, I can't seem to get Dolphin to work with the JoyCons/Pro Controller. I installed the mouse application, so I think it's conflicting with that. If someone could help, I'd appreciate it. Thank you!
 

nickham13

Member
Newcomer
Joined
Apr 12, 2019
Messages
5
Trophies
0
Age
28
XP
148
Country
United States
I followed the entire Ishiiruka Dolphin install guide, but whenever I type "Ishiiruka" it just says that the command wasn't recognize. I didn't make a Swapfile, if that has anything to do with it. I didn't know what it was. Any suggestions?

EDIT: As I typed this, I decided it wouldn't hurt to try typing it in all lower case. Well, that was the exact problem. You might wanna change the guide to say "iishiruka" instead of "Ishiiruka" to avoid confusion.
 
Last edited by nickham13,

Iceleader

Member
Newcomer
Joined
Jul 2, 2015
Messages
6
Trophies
0
Age
33
XP
206
Country
United States
Hey, I can't seem to get Dolphin to work with the JoyCons/Pro Controller. I installed the mouse application, so I think it's conflicting with that. If someone could help, I'd appreciate it. Thank you!

I had to manually map the buttons in controller config. Be sure to set the input to the pro controller/joycons and not the virtual pointer, or else you won't be able to set some buttons.
 

Thrashturbator

Active Member
Newcomer
Joined
Mar 13, 2019
Messages
29
Trophies
0
Age
32
Website
twitter.com
XP
269
Country
United States
Has anyone got Minecraft working on this bad boy? I used a “unofficial” launcher (that works perfectly on my windows laptop) and got lots of errors with vm arguements. I saw a few posts of people having problems with getting it working on 18.04. Has anyone here had any luck with it? Portable Minecraft with mods would be amazing.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    A @ anotherthing: The Nintendo servers are going down in 9 days anyway.