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,

EpicLPer

Your friendly Austrian IT Guy
Member
Joined
Mar 13, 2015
Messages
1,060
Trophies
0
Age
28
Location
Austria
Website
epiclper.com
XP
1,141
Country
Austria
Can you explain that?
I don't wanna start a drama in an unrelated thread but long story short he and his team kept an exploit secret for almost 2 years which, after others finally found another way to do the same without their methods, finally kickstarted Homebrew on the Wii U.

Anyways, too off topic, back on track now.
 
  • Like
Reactions: Neo_

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
Go to terminal and paste this whenever that happens, should fix it:
sudo service network-manager restart

I have noticed similar issues with wifi when using bluetooth audio on my gentoo build. :( On top of that, for some reason while I have sound, the on board audio sounds horrible, compared to ubuntu or horizon. On top of that the headphone jack will not work. :( back to the alsa drawing board. lol.
 

mattyxarope

Well-Known Member
Member
Joined
Jan 15, 2019
Messages
544
Trophies
0
XP
1,995
Country
United States
I have noticed similar issues with wifi when using bluetooth audio on my gentoo build. :( On top of that, for some reason while I have sound, the on board audio sounds horrible, compared to ubuntu or horizon. On top of that the headphone jack will not work. :( back to the alsa drawing board. lol.

Appreciate your work but I could have sworn in your thread you stated you weren't going to support your build at all? What made you continue?
 

Gavin_Darkglider

Well-Known Member
Member
Joined
May 20, 2019
Messages
232
Trophies
0
Age
34
XP
581
Country
United States
Appreciate your work but I could have sworn in your thread you stated you weren't going to support your build at all? What made you continue?

This is a different build altogether. This is gentoo l4t, hince why I am not suporting the gentoo mainline 32bit build. That build is full of issues, and the hardware support wont get any better for a while.... at least until mainline catches up with l4t, at least with sound, vulkan, and sleep mode. By the time these things exist, that build will be almost impossible to update.
 
  • Like
Reactions: mattyxarope

Gameboyandwatch

Well-Known Member
Member
Joined
May 13, 2016
Messages
207
Trophies
0
XP
423
Country
United States
Yes it worked in the initial release.
Okay, thank you.

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

Also, how do I overclock it? Do I type exactly what was in the overclock section into my terminal? Because I did that and it said bash: /sys/kernel/tegra_cpufreq/overclock: Permission denied
 

Refriger8tor

Well-Known Member
Member
Joined
Sep 2, 2013
Messages
135
Trophies
0
Location
A kitchen near you.
XP
458
Country
United States
Okay, thank you.

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

Also, how do I overclock it? Do I type exactly what was in the overclock section into my terminal? Because I did that and it said bash: /sys/kernel/tegra_cpufreq/overclock: Permission denied

Did you put "sudo" in front of the command? Ik u posted on my thread earlier, if you're on my image there's a desktop icon that says "2GHz" that you can just double click and then put in the password (switch)
 

stick267

Well-Known Member
Member
Joined
Dec 17, 2018
Messages
586
Trophies
0
Age
33
XP
1,172
Country
United States
Okay, thank you.

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

Also, how do I overclock it? Do I type exactly what was in the overclock section into my terminal? Because I did that and it said bash: /sys/kernel/tegra_cpufreq/overclock: Permission denied
You have to put "sudo" (without quotes) before the rest of the command. And then type your password and hit enter (you won't see the cursor move while you type your password).
 

Gameboyandwatch

Well-Known Member
Member
Joined
May 13, 2016
Messages
207
Trophies
0
XP
423
Country
United States
Did you put "sudo" in front of the command? Ik u posted on my thread earlier, if you're on my image there's a desktop icon that says "2GHz" that you can just double click and then put in the password (switch)
I'm not using it, I tried at first and I didn't know how to use gparted so I just followed this thread. I would've definitely used your image though if I had known you could just resize the partition in linux.

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

You have to put "sudo" (without quotes) before the rest of the command. And then type your password and hit enter (you won't see the cursor move while you type your password).
  • Code:
    echo 1 | sudo tee /sys/kernel/tegra_cpufreq/overclock
    echo 2091000 | sudo tee /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq
    then run the command to force max freq if you want to use anything intensive.
  • To always use 2.0ghz mode copy
    Code:
    #!/bin/bash
    echo 1 > /sys/kernel/tegra_cpufreq/overclock
    echo 2091000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq
    exit 0
(copied from initial post)
I entered the commands exactly as shown on these things and it didn't work.
 

uyjulian

Homebrewer
Member
Joined
Nov 26, 2012
Messages
2,568
Trophies
2
Location
United States
Website
sites.google.com
XP
3,899
Country
United States
I'm not using it, I tried at first and I didn't know how to use gparted so I just followed this thread. I would've definitely used your image though if I had known you could just resize the partition in linux.

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


  • Code:
    echo 1 | sudo tee /sys/kernel/tegra_cpufreq/overclock
    echo 2091000 | sudo tee /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq
    then run the command to force max freq if you want to use anything intensive.
  • To always use 2.0ghz mode copy
    Code:
    #!/bin/bash
    echo 1 > /sys/kernel/tegra_cpufreq/overclock
    echo 2091000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq
    exit 0
(copied from initial post)
I entered the commands exactly as shown on these things and it didn't work.
How did it not work?
 

uyjulian

Homebrewer
Member
Joined
Nov 26, 2012
Messages
2,568
Trophies
2
Location
United States
Website
sites.google.com
XP
3,899
Country
United States
It just said Permission denied. Also, on all the commands I entered, the only output I got was the echo. Sorry, I'm not very savvy with linux. Also, for some reason, in dolphin now, all the sounds are really deep. Not sure wtf I did.
try running "sudo apt-get update" first then run the command "echo 1 | sudo tee /sys/kernel/tegra_cpufreq/overclock;echo 2091000 | sudo tee /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq"
 

Gameboyandwatch

Well-Known Member
Member
Joined
May 13, 2016
Messages
207
Trophies
0
XP
423
Country
United States
try running "sudo apt-get update" first then run the command "echo 1 | sudo tee /sys/kernel/tegra_cpufreq/overclock;echo 2091000 | sudo tee /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq"
I dont know if it worked or not but the only thing that showed up was the echo
This is how my terminal looked:
Code:
1
2091000
How do I know if it worked?

Also, how do I transfer the contents of the sd I'm using to another sd? windows 10 doesnt see the ext4 partition.
 
Last edited by Gameboyandwatch,

mvfsullivan

Member
Newcomer
Joined
Aug 26, 2018
Messages
21
Trophies
0
Age
32
XP
131
Country
Canada
Whats the best way to expand the volume after a fresh install of L4T?

Volume of my 32GB card in L4T shows as 500MB

I want to dual boot L4T and Lakka. Is there a guide somewhere?
 
Last edited by mvfsullivan,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • AncientBoi @ AncientBoi:
    ooowwww a new way for me to beat NFS 510 :D @SylverReZ
    +1
  • SylverReZ @ SylverReZ:
    @AncientBoi, Yeah, believe you can do PSP games as well. But a Pi5 is much powerful in comparison.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure about other models of Pi4 but the Pi 4 B with 8GBs OCed to 2Ghz handles PSP really great except like 1 game I found and it is playable it just looks bad lol Motor Storm Arctic something or other.
  • Psionic Roshambo @ Psionic Roshambo:
    Other games I can have turned up to like 2X and all kinds of enhancements, Motorstorm hmmm nope 1X and no enhancements lol
  • Veho @ Veho:
    Waiting for Anbernic's rg[whatever]SP price announcement, gimme.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I will admit that one does seem more interesting than the usual Ambernic ones, and I already liked those.
  • Veho @ Veho:
    I dread the price point.
    +1
  • Veho @ Veho:
    This looks like one of their premium models, so... $150 :glare:
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    To me that seems reasonable.
  • Psionic Roshambo @ Psionic Roshambo:
    I mean since basically all the games are errmmm free lol
  • Veho @ Veho:
    I mean yeah sure but the specs are the same as a $50 model, it's just those pesky "quality of life" things driving up the price, like an actually working speaker, or buttons that don't melt, and stuff like that.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I think all in my Pi 4 was well north of 200 bucks 150ish for the Pi 4 the case the fancy cooler, then like 70 for the 500GB MicroSD then like 70 for the Xbox controller. But honestly it's a nice set up I really enjoy and to me was worth every penny. (even bought more controllers for 2 or 4 player games.) hmmm have never played any 2 player games yet :(
  • Veho @ Veho:
    Yeah that's what I hate about the RPi, it's supposedly $30 or something but it takes an additional $200 of accessories to actually turn it into a working something.
  • Psionic Roshambo @ Psionic Roshambo:
    yes that's the expensive part lol
  • Veho @ Veho:
    I mean sure it's flexible and stuff but so is uremum but it's fiddly.
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah a lot of it I consider a hobby, using Batocera I am constantly adjusting the collection adding and removing stuff, scraping the artwork. Haven't even started on some music for the theme... Also way down the road I am considering attempting to do a WiiFlow knock off lol
  • Veho @ Veho:
    I want everything served on a plate plz ktnx, "work" is too much work for me.
  • Veho @ Veho:
    Hmm, with that in mind, maybe a complete out-the-box solution with all the games collected, pacthed and optimized for me would be worth $150 :unsure:
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah it's all choice and that's a good thing :)
  • Bunjolio @ Bunjolio:
    animal crossing new leaf 11pm music
  • Bunjolio @ Bunjolio:
    avatars-kKKZnC8XiW7HEUw0-KdJMsw-t1080x1080.jpg
    wokey d pronouns
  • SylverReZ @ SylverReZ:
    What its like to do online shopping in 1998: https://www.youtube.com/watch?v=vwag5XE8oJo
    SylverReZ @ SylverReZ: What its like to do online shopping in 1998: https://www.youtube.com/watch?v=vwag5XE8oJo