I’ve been trying this for days now and it’s beginning to piss me off. Hopefully after some discussion here I can create a list of specific instructions for how to compile Lakka with X11 and the binary NVIDIA driver. When successful I’ll post the resulting Lakka image for download for public testing and convenience. My target platform is currently PC and I’m using Mint 17.3 (Debian/Ubuntu-based) to compile.
So far the basics are:
-
Install perl XML::Parser module. Follow instructions here: http://mynixworld.info/2014/02/17/xmlparser-perl-module-required-intltool/
-
Install git.sudo apt-get install git
-
Download the Lakka source code.git clone https://github.com/libretro/Lakka.git
-
Revert source code to before Real Time kernel changes.git checkout bd067b2db6a984857f841f08a70a8fc5537a8e69 This worked the first time I tried it (or so I thought), and now it doesn’t.
-
Apply pull request 391.No idea how to do this; I manually edited the changed files.
-
Increase the allocated Lakka image size from 256 MB to 512 MB or higher.Edit the file Lakka/scripts/mkimage
-
Set the appropriate binary NVIDIA driver version for your video card.Edit the file Lakka/packages/x11/driver/xf86-video-nvidia/package.mk
-
Compile Lakka and create a bootable image.In the Lakka directory: DISTRO=Lakka PROJECT=Generic ARCH=x86_64 NVIDIAX11=yes make image
-
Write the Lakka image to a pen drive for live session or installation.Extract the .img file from the .tar.gz archive created in Lakka/target/ Use your favorite utility to write the .img file to a pen drive.
I need to know if these basic instructions are correct and specifically how to accomplish steps 4 and 5 (the exact commands to run and in which directories). Any log files, terminal output or Lakka images during testing will be posted here: http://eightvirtues.com/lakka/
References:Everything I’ve tried so far (where this started): https://github.com/libretro/RetroArch/issues/3105 Pull request 391 (enables X11 and binary NVIDIA driver): https://github.com/libretro/Lakka/pull/391 Last commit before enabling Real Time Kernel: https://github.com/libretro/Lakka/commit/bd067b2db6a984857f841f08a70a8fc5537a8e69