Release: libnx 1.4.0 and hardware acceleration for Switch homebrews
libnx, the library for people wanting to build homebrew on the Nintendo switch, has been updated to version 1.4.0, with a massive refactor of graphics support, among other improvements.
Additionally, the people behind devkitpro (a set of homebrew toolchains for multiple consoles) have added experimental support for OpenGL on the console, meaning Homebrew developers on the Switch can now give a try at GPU hardware acceleration.
For libnx specifically, the full changelog for version 1.4.0 is massive, you can find it on their github or at the source below.
Download and install libnx + libraries
From fincs on Devkitpro:
- libnx 1.4.0 is now available via pacman. Use sudo (dkp-)pacman -Syu to update or sudo (dkp-)pacman -S libnx to install.
- The initial version of the mesa/nouveau port for Switch is now available! With this, we now provide support for OpenGL 4.3 (Core Profile), which means Switch homebrew can now take advantage of the GPU for graphics rendering. OpenGL ES 2.x and 3.x are also additionally available. You can use sudo (dkp-)pacman -S switch-mesa to install this package. Please note that this is the first (beta) release and there might be issues. Please don’t hesitate to come visit us at #switchdev @ EFnet if you find anything not working as it should.
- switch-examples were updated with brand new OpenGL examples. An audren example, as well as a sharedfont example have also been added. Use (dkp-)pacman -Syu to update or sudo (dkp-)pacman -S switch-examples to install.
- Finally, several portlibs were added that make it easier to use the new OpenGL support: switch-glm, switch-glad. These are required for building the OpenGL examples mentioned above.