Easy way to compile with Nvidia driver and X11#391
Easy way to compile with Nvidia driver and X11#391Alexandre-Garcia wants to merge 6 commits intolibretro:lakkafrom
Conversation
…_x11 Update branch with new commits from Lakka
|
Ok thanks for the information. I'm trying to build an X11 image with all the drivers, not just the nvidia ones. I have problems compiling xf86-video-intel |
|
I also faces problems compiling xf86-video-intel, and for this I put a way to compile only with the Nvidia drivers for now. |
|
I guess I will have to digg in the OpenELEC history for xf86-video-intel and find what version is compatible with our kernel. |
|
I'm having some trouble getting Lakka to compile using X11 and the binary NVIDIA driver. If anyone here has any insight or has gotten it to work, the thread's here: http://libretro.com/forums/showthread.php?t=6143 |
|
This problem is due to the RT kernel patches from @larskj that we merged. |
|
I used the command "git reset --hard bd067b2" to try and revert the code back to the last commit before the RT kernel patches: bd067b2 I checked a source file for the RT kernel changes made after that commit and they weren't there, so it seems to have worked. The error I'm getting now is this: I'd try the suggested "make oldconfig" command but don't know which directory to run it in or if it's BS. |
|
What do you see in projects/Generic/linux/ ? Are the changes to the kernel config reverted too? Anyway to do a make oldconfig, you can go to build-Lakka.Generic_/linux-_/ and type Then copy the .config to projects/Generic/linux/ to save it |
I believe that this is the easiest way to provide a way to compile using the proprietary Nvidia drivers for X11.
Thus, for example, to compile with this driver is used:
"DISTRO=Lakka PROJECT=Generic ARCH=x86_64 NVIDIAX11=yes make image"
When used without "NVIDIAX11=yes" will compile with DRM.