Hello, On Fri, 05 Aug 2016, Robert Munteanu wrote:
On Fri, Aug 5, 2016 at 7:48 PM, Richard Brown
wrote: Now I've said 'We told you so', I do hope this thread finds suitable workarounds for users who are affected, and if not, I'd strongly encourage the use of nouveau Nvidia drivers instead of the proprietary drivers,
(mostly for the sake of discoverability)
The NVidia binary driver already has an unofficial patch for Kernel 4.7. One location where you can find it is
https://build.opensuse.org/package/view_file/X11:Drivers:Video/nvidia-gfxG04...
There's a cleaner way to patch this by using version-code macros, see attached patch. The 370.23 is fixed. It's done by settings defines in conftest and using a "static inline" wrapper around the drm_gem_object_lookup() function. And yes, just #ifdef'ing radix_tree_empty() is just how nvidia does it in 370.23, just via a conftest-set define and not a kernel-version ifdef. And yes, that patch is by me and works with any kernel the driver supports and is functionally equivalent to the official changes in 370.23. HTH, -dnh -- "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -- Ernst Jan Plugge