Driver Wars

nvidia-drivers-390.67 vs. kernel 4.17+

I’m not sure whether this is against the 4.17 release or a precursor to 4.18-rc1, but I was welcomed to a small error in my nvidia-installer.log yesterday: In file included from /mnt/gentoo/usr/src/linux/include/drm/drmP.h:82:0, from /tmp/selfgz5244/NVIDIA-Linux-x86_64-390.67/kernel/nvidia-drm/nvidia-drm-priv.h:30, from /tmp/selfgz5244/NVIDIA-Linux-x86_64-390.67/kernel/nvidia-drm/nvidia-drm-drv.c:25: /tmp/selfgz5244/NVIDIA-Linux-x86_64-390.67/kernel/nvidia-drm/nvidia-drm-drv.c:637:23: error: ‘DRM_CONTROL_ALLOW’ undeclared here (not in a function); did you mean ‘DRM_RENDER_ALLOW’? DRM_CONTROL_ALLOW|DRM_UNLOCKED), ^ It’s a small problem. […]

virtualbox-5.2.10 vs. kernel 4.17-rc1+

One thing I don’t understand about Linux kernel development is the reasoning behind saying, “Oh, we don’t use this anymore, therefore nobody else is using it,” and renaming or removing something accordingly. This recently happened with pci_get_bus_and_slot(), breaking VirtualBox modules once again. You’ll see this error because of it: /var/tmp/portage/app-emulation/virtualbox-modules-5.2.10/work/vboxpci/linux/VBoxPci-linux.c: In function ‘vboxPciLinuxDevDetachHostDriver’: /var/tmp/portage/app-emulation/virtualbox-modules-5.2.10/work/vboxpci/linux/VBoxPci-linux.c:92:40: error: […]

nvidia drivers 390.48 vs. kernel 4.17-rc1+

I though when I saw there was a 390.48 (previously I was running 390.25) that nvidia would have caught up with the removal of EXPORT_GPL from some of the kernel’s memory mapping functions. But alas, building the nvidia kernel modules still bombs with unresolved symbols, so you’ll need the following patch to build this particular […]

nvidia drivers 390.25 vs kernel 4.16

This one is a quickie. This commit broke compatibility with nvidia drivers. I’m not sure who is being the jerk here. Is nvidia for using exports that they should know they shouldn’t be using? Or are the Linux kernel developers for constantly changing what’s exported and what’s not? I just did a git revert 4bd89ed39b2ab8dc4ac4b6c59b07d420b0213bec on […]

Driver Wars: nvidia-drivers-375.39 vs. kernel-4.11.0-rc4

Oh my gosh, it hurts so bad; I’m having trouble deciding where to even begin. I haven’t seen it this bad in years. I’m going to do things a little bit differently this time. I’m going to post the patch first, instead of last, then break it down from there. So, here’s everything I had […]