L4T Lakka Switch - now with audio and Vulkan

logonav.png

Lakka Switch, L4T edition
I am proud to finally release the L4T version of Lakka Switch!
New kernel, new logo, new drivers, audio... everything is fresh and clean.

Did I mention Rayman 3 was full speed on Dolphin? ( ͡° ͜ʖ ͡°)

General system updates
  • New Linux kernel and underlying operating system, based on Linux4Tegra and Jetson Nano drivers
    • mainline kernel has been deprecated
    • system features should now be on par with the L4T Ubuntu distribution, except for dock support
    • Bluetooth was lost in the battle and needs some rest to come back stronger
  • aarch64 is now the default and mainly supported architecture
    • arm has been deprecated since L4T doesn't support it
  • New logo made with the help of jaames and the R:S community
New features and improvements
  • Audio now works through the internal speakers and headphones
  • The new GPU driver supports both Vulkan and OpenGL
  • RAM is now locked at full speed (1600Mhz), was 800MHz before
  • The system is now way more stable and should boot for everyone with a decent SD card (no more black screen of death)
  • RetroArch has been updated to add menu widgets (fancy onscreen notifications)
  • Overclock profiles have been updated :
    • Renamed all profiles
    • Added more overclock profiles
    • Added underclock profiles
New cores
  • mupen64plus-next (N64 emulator)
    • The core is full speed, even on aarch64 thanks to the new dynarec
    • Includes the updated version of the GlideN renderer
  • picodrive (various Sega consoles)
    • The core replaces Genesis Plus GX (Game Gear support has been dropped)
  • Beetle PSX HW (PSX emulator with OpenGL and Vulkan renderer)
    • The core performs worse than PCSX ReARMed for now, even with Vulkan
  • reicast (Dreamcast emulator)
    • The core is full speed on all commercial games, no visual glitches
    • The OIT renderer works (better accuracy), speed is still good on 1x resolution
    • The core needs the Dreamcast BIOS files to be placed in /lakka/storage/system/DC
    • WinCE games are currently not supported - there is a WinCE version of the reicast core in the works but the aarch64 dynarec is too slow for the games to be playable (for now)
  • Yaba Sanshiro (Saturn emulator)
    • The core is full speed on all commercial games
    • Yabause and Kronos were also added but both perform worse than Yaba Sanshiro
  • theodore (Thomson MO/TO emulator)
Updated cores
  • Dolphin : Vulkan support
    • With Vulkan, Dolphin runs decently - some games are playable, some are full speed... see for yourself, try it and experiment with different games and settings!
  • PCSX ReARMed : Switch optimizations and CHD support
  • PPSSPP : doesn't crash anymore when closing content
Removed cores
  • mupen64plus
  • parallel-n64
  • Genesis Plus GX
  • Ishiiruka
    • It might come back once the core is updated with the (beta) Vulkan renderer
Credits
  • Kernel and drivers work: NVIDIA, switchroot team (especially ByLaws and langerhans)
  • Lakka Switch work: natinusala and plaidman
  • RetroArch, original Lakka distribution: libretro team
  • mupen64plus-next: Gillou and m4xw
  • PCSX ReARMed: Switch optimizations by m4xw, CHD support by aliaspider
  • Dolphin core: aliaspider
  • reicast core: flyinghead

Download link

The Lakka Switch website has been updated with the new version: https://lakka-switch.github.io/documentation/

Please note that you can't dual boot Ubuntu and Lakka Switch for now (it will always boot Ubuntu).
 

enderer

Well-Known Member
Member
Joined
Jul 19, 2015
Messages
381
Trophies
0
Age
34
XP
1,652
Country
United States
so can i just update cores individually to get touch controls for light gun games (1.7.8)? or do i have to wait for an official lakka update?
 

Turnbl

Member
Newcomer
Joined
Oct 4, 2017
Messages
24
Trophies
0
Age
48
XP
267
Country
United Kingdom
I tried some more testing tonight - no joy.

So I tried another SD card - a 32GB Samsung Evo - this allowed me to format using Windows itself rather than guiformat, I tried 8192 & 64 size sections. I also tried the SD card not named LAKKASD in case there was a weird conflict.

Gamecube, Dreamcast & MAME games all crash out to retroarch menu like you say with a black x cursor on the screen, after 2-2.5 minutes.

All that was with a copy of the file structure on my also not working 400GB sd card. So next I’ll try the same again with a fresh new Lakka copy from windows. After that I don’t really know what else to try? It’s not bios files. It’s not rom files. I can’t imagine it’s the sd card makes or sizes.

Does anybody know if retroarch game crash errors are stored to log files?

So I've tried re-installing from scratch again on the Samsung EVO 32GB. I've updated 7z in case that was causing an issue unpacking the release (v18.05>v19).

Still the same issue exists - after around 2 to 2.5 mins play on any game/core the game will exit to the Retroarch menu with a black cross on black background.

This includes Dreamcast (with bios under system\DC), GameCube (no bios), MAME2003 and MAME2010.

I also wondered if it was network related so I've connected to wifi within retroarch just in case - no change, still the same problem.

My final extra clue found tonight is this could be not game related - if i'm navigating the retroarch menu for a few minutes - the same black cross/background crash can happen, which then recovers to the retrorarch menu.

This still could be micro SD card related (only 2 tried), network related (is Retroarch making calls out that are unhandled?), or hardware related (do i have a random version of the Switch with a bad part or revision?)

Any ideas anybody? Is there any local logging to give more clues as to the crash?
 
  • Like
Reactions: Csmrcc

Csmrcc

Well-Known Member
Member
Joined
Sep 13, 2018
Messages
412
Trophies
0
Age
37
XP
905
Country
Spain
So I've tried re-installing from scratch again on the Samsung EVO 32GB. I've updated 7z in case that was causing an issue unpacking the release (v18.05>v19).

Still the same issue exists - after around 2 to 2.5 mins play on any game/core the game will exit to the Retroarch menu with a black cross on black background.

This includes Dreamcast (with bios under system\DC), GameCube (no bios), MAME2003 and MAME2010.

I also wondered if it was network related so I've connected to wifi within retroarch just in case - no change, still the same problem.

My final extra clue found tonight is this could be not game related - if i'm navigating the retroarch menu for a few minutes - the same black cross/background crash can happen, which then recovers to the retrorarch menu.

This still could be micro SD card related (only 2 tried), network related (is Retroarch making calls out that are unhandled?), or hardware related (do i have a random version of the Switch with a bad part or revision?)

Any ideas anybody? Is there any local logging to give more clues as to the crash?


as i told you this happens to me, i tried like 4 sd cards, no way :( i´m starting to think that is because of the hardware somehow different
had you tried having the switch charging while playing?
 

EmulateLife

Well-Known Member
Member
Joined
May 30, 2016
Messages
3,979
Trophies
0
Age
42
XP
1,889
Country
United States
This may be no connection to you guys problems but that happens to me using the Saturn core Yaba Sanshiro only. Almost every game crashes within a few minutes. Every other core that I've tried doesn't crash though so it's probably just a problem with that core.
 

Silent_Gunner

Crazy Cool Cyclops
Banned
Joined
Feb 16, 2017
Messages
2,696
Trophies
0
Age
29
XP
4,727
Country
United States
This may be no connection to you guys problems but that happens to me using the Saturn core Yaba Sanshiro only. Almost every game crashes within a few minutes. Every other core that I've tried doesn't crash though so it's probably just a problem with that core.

Saturn emulation's better than it's ever been (fuck SSF and having to use Daemon Tools *growls in frustration* and the lack of documentation worse than UNIB's story mode translation), but it's still far from being practical. Case-in-point: the RetroArch core of Yabause (and while we're on the subject of Saturn emulation, the fuck is the difference between this, Yaba Sanshiro, and the beetle core? Which one is generally the best on Windows?) runs 2D games just fine on my ODroid XU4, but the moment anything 3D is rendered, that framerate tanks! And it can run Soul Calibur and other 3D games on DC at a playable framerate, even NAOMI games!

I know, Saturn was such a failure that it was forgotten outside of having a good port of Virtua Fighter 2, the hardware is like having a multi-core CPU in a console before that was the standard, the 3D support wasn't optimized if you weren't making a first party game, there's not much documentation in English about the what all the Saturn can do, etc..
 

Basketto

Well-Known Member
Member
Joined
Jun 25, 2019
Messages
567
Trophies
0
Age
33
XP
628
Country
Australia
So I've tried re-installing from scratch again on the Samsung EVO 32GB. I've updated 7z in case that was causing an issue unpacking the release (v18.05>v19).

Still the same issue exists - after around 2 to 2.5 mins play on any game/core the game will exit to the Retroarch menu with a black cross on black background.

This includes Dreamcast (with bios under system\DC), GameCube (no bios), MAME2003 and MAME2010.

I also wondered if it was network related so I've connected to wifi within retroarch just in case - no change, still the same problem.

My final extra clue found tonight is this could be not game related - if i'm navigating the retroarch menu for a few minutes - the same black cross/background crash can happen, which then recovers to the retrorarch menu.

This still could be micro SD card related (only 2 tried), network related (is Retroarch making calls out that are unhandled?), or hardware related (do i have a random version of the Switch with a bad part or revision?)

Any ideas anybody? Is there any local logging to give more clues as to the crash?

Can i suggest(if you have a friend with an exploitable switch) trying the exact same sd card on his switch in its current state.
Honestly, the only thing I can think of is 1) for some reason your .cfg files are getting corrupted on the initial lakka boot.
2) The hardware inside your switch is somehow causing this issue.
 

Turnbl

Member
Newcomer
Joined
Oct 4, 2017
Messages
24
Trophies
0
Age
48
XP
267
Country
United Kingdom
as i told you this happens to me, i tried like 4 sd cards, no way :( i´m starting to think that is because of the hardware somehow different
had you tried having the switch charging while playing?

Reading back through your posts I see your Switch revision number starts XAJ7001... mine starts XAJ70001... so could well be a specific hardware issue? Unless anybody else can confirm their Lakka works fine with that revision?

Another clue in case it means anything to anyone - as well as it seems Retroarch itself is crashing periodically in the menu with the black cross and background, before recovering to the menu so possibly not game related - after leaving the device for a bit longer, I have seen Retroarch re-orientate itself to portrait mode (i.e. the text turns 90 degrees like in TATE mode). This remains until i reboot.

A few more questions just to check with everybody:

1) I'm using RCMloader & Hekate. I assume i am payloading correctly by choosing: Launch -> (down twice) More Configs... -> (down once) Lakka?
2) I'm removing the payload & jig after Retroarch menu appears on boot and sliding the right joycon in. Assume this is correct?
3) I can't find specific information anywhere of what cluster the SD card should be formatted to? I'm going to try 32kb a final time.
4) I haven't used the add games method - i've only ever browsed to the game itself in a folder. I shall try this method although I'm not sure this is a requirement?

My current test games are:
Sonic Adventure 2 (DC) - for a bios test
Mario Golf (GC) - for a non bios test on a stable emulator
Frogger (MAME2003) - for a simple lightweight game not maxing the processors

But like I say it's probably not game related now... Unfortunately I don't have a friend with a Switch so can't test my SD image on other hardware.
 
Last edited by Turnbl,
  • Like
Reactions: Csmrcc

Csmrcc

Well-Known Member
Member
Joined
Sep 13, 2018
Messages
412
Trophies
0
Age
37
XP
905
Country
Spain
Reading back through your posts I see your Switch revision number starts XAJ7001... mine starts XAJ70001... so could well be a specific hardware issue? Unless anybody else can confirm their Lakka works fine with that revision?

Another clue in case it means anything to anyone - as well as it seems Retroarch itself is crashing periodically in the menu with the black cross and background, before recovering to the menu so possibly not game related - after leaving the device for a bit longer, I have seen Retroarch re-orientate itself to portrait mode (i.e. the text turns 90 degrees like in TATE mode). This remains until i reboot.

A few more questions just to check with everybody:

1) I'm using RCMloader & Hekate. I assume i am payloading correctly by choosing: Launch -> (down twice) More Configs... -> (down once) Lakka?
2) I'm removing the payload & jig after Retroarch menu appears on boot and sliding the right joycon in. Assume this is correct?
3) I can't find specific information anywhere of what cluster the SD card should be formatted to? I'm going to try 32kb a final time.
4) I haven't used the add games method - i've only ever browsed to the game itself in a folder. I shall try this method although I'm not sure this is a requirement?

My current test games are:
Sonic Adventure 2 (DC) - for a bios test
Mario Golf (GC) - for a non bios test on a stable emulator
Frogger (MAME2003) - for a simple lightweight game not maxing the processors

But like I say it's probably not game related now... Unfortunately I don't have a friend with a Switch so can't test my SD image on other hardware.
I have the rotation issues too, it's the same my problem and yours.
I though that the updated lakka maybe would fix this but I'm starting to think it's hardware related, and our same serial number supports that option.
:(
Maybe there is no lakka for us unfortunately.

Btw: I also tried Ubuntul4 on switch for playing Wii and gc games and also it installed properly but after that it worked badly like lakka, stopping, being slow. . .
 
Last edited by Csmrcc,

Shaneus

Well-Known Member
Member
Joined
May 25, 2006
Messages
117
Trophies
1
XP
519
Country
Australia
Is there a way to update ota?
And a way to run a script on boot?
Cores need to be manually compiled for each release (or something like that) and tested, so there's no online updating... at least for cores. It may be different for shaders/overlays etc.

It's different with Retroarch in Horizon, but not Lakka.
 
  • Like
Reactions: intellettuanale

Shaneus

Well-Known Member
Member
Joined
May 25, 2006
Messages
117
Trophies
1
XP
519
Country
Australia
Not wanting to nag, but what are the chances we'd get the Android/iOS lightgun touchscreen feature implemented into Lakka? I don't know if that's a difficult task or not, or if it's even possible.
 

Hemboy

New Member
Newbie
Joined
Sep 10, 2019
Messages
3
Trophies
0
Age
50
XP
34
Country
Spain
Loving this, great work :bow: Any ideas why the display isn't switching to my tv when docked though? Is there a display option to toggle somewhere? I can see it should be displaying as the overclock options include those for in the docked state. Any thoughts much appreciated :)
 

Jackson98

Well-Known Member
Member
Joined
Aug 8, 2017
Messages
235
Trophies
0
Age
27
XP
330
Country
Australia

JPZ5

Member
Newcomer
Joined
May 23, 2019
Messages
7
Trophies
0
Age
38
XP
69
Country
United States
Anyone having issues with Zelda games and Mupen? It seems to be emulating great, but cannot hit the start button, crashes immediately. Occurs on both OOT and MM. I know this didn't happen on the previous version of Lakka. I just upgraded to the new one, it was an upgrade, not a fresh install. I tried to do some googling but could not find anything specficially that caused it. I also downloaded 3 different versions of both US and EU verions and all crash when clicking start to open the menu.
 

Basketto

Well-Known Member
Member
Joined
Jun 25, 2019
Messages
567
Trophies
0
Age
33
XP
628
Country
Australia
Anyone having issues with Zelda games and Mupen? It seems to be emulating great, but cannot hit the start button, crashes immediately. Occurs on both OOT and MM. I know this didn't happen on the previous version of Lakka. I just upgraded to the new one, it was an upgrade, not a fresh install. I tried to do some googling but could not find anything specficially that caused it. I also downloaded 3 different versions of both US and EU verions and all crash when clicking start to open the menu.

If you want to use mupen64 mainly, i very strongly suggest the older build of L4T lakka(unless you want to play yoshis story). Using the older lakka release i can promise will fix zelda, (hdperpixel lighting mupen option-as a sidenote), fix conkers bad fur day, and reduces stuttering in a good few games. The plugin breaks zelda with the version you are running.
 
Last edited by Basketto,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-