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 ,

Centergaming

Well-Known Member
Member
Joined
Apr 17, 2016
Messages
695
Trophies
0
XP
923
Country
United States
This is false. Mainline Dolphin is much, much, much faster than Ishiiruka on arm64. I tried both.

I can't seem to get the mainline dolphin to work... always gives me a "Failed buffer" or smth for both Dolphin-Emu and Dolphin-Master... Mind explaining how you got it working, please? :/

Edit: Nvm, just checked the Backend and changed it to OpenGL, apparently Vulkan is broken
 
Last edited by Centergaming,

snoofly

Well-Known Member
Member
Joined
Aug 18, 2015
Messages
1,012
Trophies
0
Age
54
XP
2,133
Country
United Kingdom
I’ve been using flatpak to install a few apps with good success, Dolphin, Fuse and Vice stand-alone emus for ex. Moonlight and kodi should work too

Recommend anyone to look into setting it. Just google ubuntu flatpak
 

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
I can't seem to get the mainline dolphin to work... always gives me a "Failed buffer" or smth for both Dolphin-Emu and Dolphin-Master... Mind explaining how you got it working, please? :/

Edit: Nvm, just checked the Backend and changed it to OpenGL, apparently Vulkan is broken
For Vulkan you need to enable fullscreen, it's weird
 
  • Like
Reactions: Centergaming

tansoftware

Active Member
Newcomer
Joined
Apr 15, 2019
Messages
36
Trophies
0
Age
42
XP
351
Country
Canada
I’ve been using flatpak to install a few apps with good success, Dolphin, Fuse and Vice stand-alone emus for ex. Moonlight and kodi should work too

Recommend anyone to look into setting it. Just google ubuntu flatpak

How did you get flatpak to work ?

I thought flatpak needs squashfs to work. Squashfs is still broken in Ubuntu L4T. @bylaws even confirmed that it was still a work in progress at this point.

It would be great if you could explain how you got flatpak to work.

Thanks.
 

snoofly

Well-Known Member
Member
Joined
Aug 18, 2015
Messages
1,012
Trophies
0
Age
54
XP
2,133
Country
United Kingdom
How did you get flatpak to work ?

I thought flatpak needs squashfs to work. Squashfs is still broken in Ubuntu L4T. @bylaws even confirmed that it was still a work in progress at this point.

It would be great if you could explain how you got flatpak to work.

Thanks.
I had no issues, just followed these steps
https://flatpak.org/setup/Ubuntu/
using the ppa option.
Re usage, I think some small niggle came and found advice for step3 to ensure the repo was deleted and then not to use the if-no-exists
but really had no problems with it at all aside from flatpakref files not seeming to be recognised so i always use the command line install
 

MushCow

New Member
Newbie
Joined
May 7, 2019
Messages
4
Trophies
0
Age
36
XP
145
Country
Germany
A little tutorial for Microsoft Office Online.
Download microsoft_online_apps.zip
Unpack .zip (microsoft_online_apps.deb)


cd Downloads/
sudo dpkg -i microsoft_online_apps.deb

Now you have Word, Excel, Powerpoint, ... shortcuts for your desktop.

Source: sites.google /site/linuxwebapps/microsoft-online-apps (offline)
 

Attachments

  • microsoft_online_apps.zip
    18.7 KB · Views: 169
Last edited by MushCow,
  • Like
Reactions: Carlos_DobleC

Neo_

Well-Known Member
Newcomer
Joined
Jan 28, 2017
Messages
56
Trophies
0
Age
22
XP
611
Country
I installed Desmume!
sudo apt install desmume
Although It is a bit slow. Tried Pokémon White and Super Mario 64, they don't work full speed. SM64 is playable, but PW is too slow. Maybe there is a build of Desmume that works better for L4T?
 
  • Like
Reactions: mattyxarope

Qubarf

Well-Known Member
Member
Joined
Dec 14, 2018
Messages
239
Trophies
0
Age
33
XP
967
Country
Pakistan
You can open the keyboard app and use it. Its finicky but works
I mean like in consoles, where you can select keys by pushing joystick in certain directions. I know it's specific but i find reaching my fingers onto the keyboard both difficult and finicky
 

monokin1114

Well-Known Member
Newcomer
Joined
Apr 21, 2019
Messages
46
Trophies
0
Age
29
XP
544
Country
Canada
I mean like in consoles, where you can select keys by pushing joystick in certain directions. I know it's specific but i find reaching my fingers onto the keyboard both difficult and finicky
If you have the joycon setup as a mouse you can use thet instead of the touch screen. But it isnt ideal I have found
 

Refriger8tor

Well-Known Member
Member
Joined
Sep 2, 2013
Messages
135
Trophies
0
Location
A kitchen near you.
XP
458
Country
United States
So joycons work for me as a mouse and in dolphin, and I was able to get them set up to control the menu in Retroarch, but they don't seem to work in-game? I have it all mapped out under User 1 in the menu.
 

ZachyCatGames

Well-Known Member
Member
Joined
Jun 19, 2018
Messages
3,398
Trophies
1
Location
Hell
XP
4,209
Country
United States
Hello why is there an installation for 1.7ghz overclock? Isnt l4t ubuntu 1.2 patch already use 1.7ghz?
The command forces it to run at the highest speed possible (which is either 1.7ghz or 2ghz depending on your settings). By default it adjusts its speed based on CPU load
 

MrSaturn

Member
Newcomer
Joined
May 29, 2019
Messages
11
Trophies
0
Age
30
XP
66
Country
United States
When I launch retroarch I just get a black screen with an _occasional_ yellow blur - should I reinstall? I thought Retroarch had some sort of UI now but I haven't used it since like 2014
 

Drban789

Well-Known Member
Member
Joined
Jun 28, 2018
Messages
105
Trophies
0
XP
381
Country
United Kingdom
hello ive tried everything to install retroarch im about to get a hammer and smash my switch. Ubuntu is like a stubborn child who wont stfu when he needs to do as his told.
!Anyways i followed the guide how to install. The packages the program the update commands etc.
Once i actually to open it a pixelated yellow weird looking huge logo areas and then retoarch goes blanks.
How am i the only one experiencing this lol. need assitance
 

pietempgba

Well-Known Member
Member
Joined
Jun 9, 2016
Messages
1,049
Trophies
0
XP
1,515
Country
United States
hello ive tried everything to install retroarch im about to get a hammer and smash my switch. Ubuntu is like a stubborn child who wont stfu when he needs to do as his told.
!Anyways i followed the guide how to install. The packages the program the update commands etc.
Once i actually to open it a pixelated yellow weird looking huge logo areas and then retoarch goes blanks.
How am i the only one experiencing this lol. need assitance
you're not the onlyone with the issue
 

Neo_

Well-Known Member
Newcomer
Joined
Jan 28, 2017
Messages
56
Trophies
0
Age
22
XP
611
Country
How do I activate Vulkan graphics in Dolphin? I know you have to go fullscreen but I can only select OpenGL or software renderer and fullscreen changes nothing.
 

MrSaturn

Member
Newcomer
Joined
May 29, 2019
Messages
11
Trophies
0
Age
30
XP
66
Country
United States
@dixeflatline tried it, no dice. I tried 1.7.6, but after installation it showed as 1.7.7 anyway? Then I tried the other available version on apt, 1.4.1, but it didn't work either.
 

dixeflatline

Active Member
Newcomer
Joined
Dec 16, 2010
Messages
43
Trophies
0
Location
Somewhere near you
XP
279
Country
United States
@dixeflatline tried it, no dice. I tried 1.7.6, but after installation it showed as 1.7.7 anyway? Then I tried the other available version on apt, 1.4.1, but it didn't work either.

What i did to get working and @Refriger8tor was able to do what I did confirmed mupen64 was working.

##Creating RetroArch.list file with PPA from https://launchpad.net/~libretro/+archive/ubuntu/stable?field.series_filter=bionic
echo "deb http://ppa.launchpad.net/libretro/stable/ubuntu bionic main
deb-src http://ppa.launchpad.net/libretro/stable/ubuntu bionic main" | sudo tee /etc/apt/sources.list.d/RetroArch.list

#Removing testing/PPA of RA
sudo rm -f /etc/apt/sources.list.d/libretro-ubuntu-*

#Backup retroarch.cfg
cp ~/.config/retroarch/retroarch.cfg /tmp/retroarch.cfg.bak

#Uninstall and remove RA
sudo apt remove -y retroarch* libretro-*
rm -rf ~/.config/retroarch

#Install RA
sudo apt-get update
sudo apt-get -y install retroarch*
sudo apt-get install --only-upgrade -y retroarch*

#Install ALL cores
sudo apt-get update
sudo apt-get -y install libretro*
sudo apt-get install --only-upgrade -y libretro*

#Copy back original retroarch config
cp /tmp/retroarch.cfg.bak ~/.config/retroarch/retroarch.cfg

#Output RA Version
retroarch --version

#Lock package from upgrading once you confirmed on 1.7.6.
sudo apt-mark hold retroarch*

#unlock package once issues with newer RA builds work for upgrading past 1.7.6
sudo apt-mark unhold retroarch*
 
Last edited by dixeflatline,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: good night