Added a option to use X11 for Generic builds #640
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds nvidia and nvidia-legacy binary drivers to better support wide range of nvidia GPUs. It supersedes #391.
To use X11 + nvidia-binary drivers instead of DRM/KMS + nouveau set
X11SERVER=yes
when building Lakka, for example:DISTRO=Lakka PROJECT=Generic ARCH=x86_64 X11SERVER=yes make image
DRM/KMS builds should work as earlier, just don't add
X11SERVER=yes
.DRM in-kernel drivers are now compiled as modules, as nouveau conflicts with nvidia drivers and needs to be blacklisted. RT kernel patch is reverted as it don't work with nvidia drivers.
There are various buildfixes which were needed to build Lakka after the changes, as well as updated kernel configs.
In the future, to reduce maintenance burden, xf86-video-* DDX drivers could be ditched in favour of the generic xf86-video-modesetting driver. It'll probably require update of xorg-server.