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 ,

everlast4291987

Member
Newcomer
Joined
Dec 11, 2017
Messages
5
Trophies
0
Age
36
XP
415
Country
United States
My only problems with Retro Arch is if you play Donkey Country 1 and let the Intro play it's lagging behind where Grandpa throws the TNT and it blows up. No matter what audio Latency I use and Re-sampler Quality I can not get it to sync. I also noticed that Super Metroid Intro Music is out of sync same problem along with the sound is way off in terms of Quality of sound. I have the SNES version of the game and it sounds nothing like it or any YouTube video of the Intro Music. I could use someones help if they have found answer to what may be going on or if that is what we are stuck with for now Audio Quality wise.
 

gameus

Well-Known Member
Member
Joined
Apr 5, 2015
Messages
108
Trophies
0
Age
28
XP
382
Country
United States
Anyone able to get any sort of remote desktop to work? Desktop Sharing built in doesn't open up for me, and I've tright TightVNC and all I get on the client is the nvidia logo.

My dock is broke and I don't have bluetooth keyboard/mouse currently so I was hoping to remote control so I could use an actual keyboard and mouse for a few things that SSH just couldn't do for me. At least until OTG is fixed.
 

monokin1114

Well-Known Member
Newcomer
Joined
Apr 21, 2019
Messages
46
Trophies
0
Age
29
XP
544
Country
Canada
Just wanted to share: I use NoMachine to remote control my switch's linux. It's like an open version of teamviewer. To use, download it on your pc (windows, linux, mac, android, whatever), then download and install on your L4T switch (download the ARM64 deb here: www.nomachine.com/download/download&id=114&s=ARM) then install with "sudo dpkg -i nomachine_6.6.8_7_arm64.deb". Works great out of the box. Sometimes disconnects when you switch user or logout/logon, in which case just connect again.

That is how to get a remote desktop. Doesnt work perfectly but works well enough
 

gameus

Well-Known Member
Member
Joined
Apr 5, 2015
Messages
108
Trophies
0
Age
28
XP
382
Country
United States
Worked perfect, thanks

One more thing, any sort of recommended settings for Ishiiruka dolphin, haven't launched it yet but getting ready to.
 

monokin1114

Well-Known Member
Newcomer
Joined
Apr 21, 2019
Messages
46
Trophies
0
Age
29
XP
544
Country
Canada
Worked perfect, thanks

One more thing, any sort of recommended settings for Ishiiruka dolphin, haven't launched it yet but getting ready to.

I havent had much time to mess with settings but once I do if I find some that work well I will post them here
 
  • Like
Reactions: gameus

Refriger8tor

Well-Known Member
Member
Joined
Sep 2, 2013
Messages
135
Trophies
0
Location
A kitchen near you.
XP
458
Country
United States
I made an arm64 build of chrisknepper's unofficial Google Messages client. This will allow you to send and receive your texts on the Switch. This app also saves a lot of CPU and memory resources as opposed to having a web browser up all the time to run Google Messages. It also supports notification sounds and preview notifications.

To install, open Terminal and then enter the following:
sudo apt update
sudo apt-get install git
git clone https://github.com/jjhaywor/android-messages-desktop-arm64
mv android-messages-desktop-arm64/Messages.AppImage ~/Desktop/

Now on your desktop there will be a file called Messages.AppImage that will launch when you double click (or tap).
Be sure to tap the "Remember this computer" switch under the QR code.
On your phone, open Google Messages, tap the three vertical dots in the top right corner, then tap "Messages for web"
Hit "QR code scanner"
Point your phone at the QR code and then you should be good to go.

Optionally to give an icon to the AppImage you can right click it, hit "Properties", and then just click the default icon to open the file browser. From there you can pick any picture you want, or the one that I provided in the android-messages-desktop-arm64 folder.

Lmk if you have any questions or if you run into any errors.
 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,818
Trophies
2
XP
7,841
Country
United Kingdom
Is Retroarch not working with Vulkan? Every time I set the video driver to Vulkan and close Retroarch I can't open it back up unless I delete the config file.
Hmm I think something similar happened to me but I cant start Retroarch at all now :/ Even after I remove and reinstall retroarch?
Where is the location of the Retroarch config file? is it /etc/retroarch.cfg?
 

KingAsix

ByJustAsix
Member
Joined
Jun 25, 2008
Messages
1,684
Trophies
1
Age
32
Location
ICS
Website
www.byjustasix.com
XP
2,391
Country
United States
Hmm I think something similar happened to me but I cant start Retroarch at all now :/ Even after I remove and reinstall retroarch?
Where is the location of the Retroarch config file? is it /etc/retroarch.cfg?

I believe it is in ~/.config/retroarch (~ being your home directory)
 
  • Like
Reactions: ploggy

Techjunky90

Well-Known Member
Member
Joined
Apr 7, 2017
Messages
487
Trophies
0
Age
33
XP
882
Country
United States
Worked perfect, thanks

One more thing, any sort of recommended settings for Ishiiruka dolphin, haven't launched it yet but getting ready to.
It depends on the game you're playing. For example Wind Waker works decently with stock settings, Metroid Prime works best with emulated clock speeds set at around 60%
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Maximumbeans @ Maximumbeans:
    I think that's why I focus on just enjoying single player experiences that aren't too competitive
  • Maximumbeans @ Maximumbeans:
    How are you doing?
  • SylverReZ @ SylverReZ:
    There's also this thing where I'm hyperfocused at night and cannot get to sleep.
  • SylverReZ @ SylverReZ:
    @Maximumbeans, I'm doing alright, thanks.
    +1
  • Maximumbeans @ Maximumbeans:
    That must be rough. Productive I'm sure but hard to balance with daily life
    +1
  • SylverReZ @ SylverReZ:
    @Maximumbeans, Indeed. I've been working on getting this Infecutus chip to work on my PS2. But after soldering, I realised that a plastic piece was missing from the power ribbon cable to the power and eject buttons.
  • SylverReZ @ SylverReZ:
    Now I could go with soldering the contacts from the cable to the connector on the mobo, but doesn't sound like a good permanent solution.
  • Maximumbeans @ Maximumbeans:
    Man, that's beyond my brain :rofl: I'm no good with hardware for now. I'd like to get into hardmods in future though
  • SylverReZ @ SylverReZ:
    @Maximumbeans, Maybe start practice soldering. Get a cheap-ass soldering iron and follow some good YouTube tutorials.
    +1
  • SylverReZ @ SylverReZ:
    Least my experience has gotten better than over a decade ago. My iron would constantly bump into components and break them.
  • Maximumbeans @ Maximumbeans:
    Sounds good. I actually did soldering but like 16 years ago for school so uuuuh probably rusty haha
  • SylverReZ @ SylverReZ:
    @Maximumbeans, Same here. I did soldering at school from a teacher who I honestly liked since he had plenty of good electronics experience.
    +1
  • Maximumbeans @ Maximumbeans:
    I wish I could play chess well
    +1
  • Maximumbeans @ Maximumbeans:
    Useless but a true art
    +1
  • SylverReZ @ SylverReZ:
    @Maximumbeans, I had a friend who had a glass chess set for their birthday.
  • SylverReZ @ SylverReZ:
    It was like all clear and fancy. Tbf I'm not too experienced with chess, but would like to learn someday.
  • Maximumbeans @ Maximumbeans:
    That sounds really cool
  • Maximumbeans @ Maximumbeans:
    I know the basics but no strategy at all :rofl:
  • Veho @ Veho:
    Watch chess streamers on Twitch and you'll pick up a thing or two.
  • Veho @ Veho:
    Not to mention there's an infinite number of chess games for every possible platform.
  • DinohScene @ DinohScene:
    just play it, get beaten a few times and start dominating
  • K3Nv2 @ K3Nv2:
    Nude chess is best
  • DinohScene @ DinohScene:
    strip checkers > nude chess
  • K3Nv2 @ K3Nv2:
    Nude checkers get jumped
    K3Nv2 @ K3Nv2: Nude checkers get jumped