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
29
Location
Austria
Website
epiclper.com
XP
1,151
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,906
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,906
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
  • K3Nv2 @ K3Nv2:
    Thought I saw my ex on that new kingdom of the Apes poster
  • BigOnYa @ BigOnYa:
    I thought I saw a puttie snatch...
  • BigOnYa @ BigOnYa:
    I'm so pumped, NCAA football video game is back after a 10 year hiatus, coming to SeriesS/X, PS5 in July.
  • BigOnYa @ BigOnYa:
    Wish they would let us play the NCAA football 14 on newer xbox, its one of the only games I love and own on disc still, that is not back compatible, bs.
  • AdenTheThird @ AdenTheThird:
    @BigOnYa My dad recently bought a spare Series X off of me, got game pass, and saw Madden '24 on Game Pass, decided to try it out.

    ...He was a bit taken aback by the 60GB download size. Poor guy's still living in the 90s!
    +1
  • SylverReZ @ SylverReZ:
    @AdenTheThird, Bro's still in the PS2 age.
  • K3Nv2 @ K3Nv2:
    Lol charging your dad's classic unless he's the type that doesn't like taking things like that
  • AdenTheThird @ AdenTheThird:
    @K3Nv2 He was looking into consoles for his house anyway (for my younger siblings and himself) and I had a spare XSX and Switch I ended up selling him at pretty steep cuts. I would just give them to him, but I did buy them with the intent to sell them... and college is super expensive.
  • BigOnYa @ BigOnYa:
    A little yeah...
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, [insert wut here]
    +1
  • BigOnYa @ BigOnYa:
    I'm a little hi, but bout to fix that.
    +1
  • BigOnYa @ BigOnYa:
    Now I'm low, i was upstairs in my wifeys kitchen, now I'm downstairs in my dungeon.(My basement)
    +1
  • BakerMan @ BakerMan:
    do you mind? i snuck in with amiibo and jars, and am trying to do my thing brony style
  • BakerMan @ BakerMan:
    have you ever regretted saying something immediately after saying it?
    +1
  • BakerMan @ BakerMan:
    nah what i was doing was trying to cure my ever-so-apparent crabs
  • Xdqwerty @ Xdqwerty:
    @SylverReZ,
    my younger brother is forcing me to play with him and my cousins are here *sigh*
    +1
  • BigOnYa @ BigOnYa:
    @SylverReZ that Hack a hacked 360 vid was neat, never knew it existed.
    +1
  • SylverReZ @ SylverReZ:
    @BigOnYa, I thought it was interesting.
    +1
    Xdqwerty @ Xdqwerty: https://www.youtube.com/watch?v=RklRDirsON4