↓
 

Adventures With Linux ™

Linux Technologies and Fun Times..

  • Home
  • About the Author…
  • Copyright and Trademarks..

Category Archives: compilation

Post navigation

← Older posts
Newer posts →

NVIDIA – Patch for Kernel 5.14-rc. Support..

Adventures With Linux ™ Posted on July 13, 2021 by RGJuly 13, 2021

Thanks (again) to Joan Bruguera, there is a patch available for NVIDIA driver 465.31, at https://gist.github.com/joanbm/144a965c36fc1dc0d1f1b9be3438a368 I have tested this with the latest beta driver – 470.42.01 – and kernel 5.14-rc1, and it does apply OK (with some offsets): …… patching file a/kernel/common/inc/nv-time.h Hunk #2 succeeded at 215 (offset 9 lines). patching file a/kernel/nvidia-drm/nvidia-drm-drv.c Hunk #2 succeeded … Continue reading →

Posted in compilation, fix, kernel, Linux, NVIDIA, Opinion | Tagged kernel 5.14, ndidia, patch for 465.31, tested with 470.42.01 | 5 Replies

Kernel – 5.14-rc1 – OK with Patched VMware, Breaks NVIDIA..

Adventures With Linux ™ Posted on July 11, 2021 by RGJuly 11, 2021

Kernel 5.14-rc1 has been released, and brief details are here:   http://lkml.iu.edu/hypermail/linux/kernel/2107.1/02943.html The latest VMware 16.1.2 patch includes a fix for 5.14-rc, and compiles and runs OK (tested with 5.14-rc1).   Find it at:  https://github.com/mkubecek/vmware-host-modules/tree/workstation-16.1.2 NVIDIA 470.42.01 compile failed: …………. /home/rgadsdon/NVIDIA-Linux-x86_64-470.42.01/kernel/common/inc/nv-time.h: In function ‘nv_sleep_ms’: /home/rgadsdon/NVIDIA-Linux-x86_64-470.42.01/kernel/common/inc/nv-time.h:217:18: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘__state’? 217 | … Continue reading →

Posted in compilation, Hacks, kernel, Linux, NVIDIA, Opinion, VMware | Tagged 16.1.2, 470.42.01, kernel 5.14-rc1 released, nvidia compile fails, vmware patched ok | 4 Replies

NVIDIA – New Driver 465.31 – OK with Kernel 5.13..

Adventures With Linux ™ Posted on May 20, 2021 by RGMay 20, 2021

NVIDIA have released driver 465.31, and this now compiles OK with Kernel 5.13 (tested with 5.13-rc2)..   Details are here:  https://forums.developer.nvidia.com/t/linux-solaris-and-freebsd-driver-465-31-new-feature-branch-release/178316 ………………………………… ld -r -o /home/rgadsdon/NVIDIA-Linux-x86_64-465.31/kernel/nvidia-modeset/nv-modeset-interface.o /home/r gadsdon/NVIDIA-Linux-x86_64-465.31/kernel/nvidia-modeset/nvidia-modeset-linux.o /home/rgadsdon/NVIDIA-L inux-x86_64-465.31/kernel/nvidia-modeset/nv-kthread-q.o  MODPOST /home/rgadsdon/NVIDIA-Linux-x86_64-465.31/kernel/Module.symvers  CC [M]  /home/rgadsdon/NVIDIA-Linux-x86_64-465.31/kernel/nvidia-drm.mod.o  LD [M]  /home/rgadsdon/NVIDIA-Linux-x86_64-465.31/kernel/nvidia-drm.ko  CC [M]  /home/rgadsdon/NVIDIA-Linux-x86_64-465.31/kernel/nvidia-ib-peermem-stub.mod.o  LD [M]  /home/rgadsdon/NVIDIA-Linux-x86_64-465.31/kernel/nvidia-ib-peermem-stub.ko  CC [M]  /home/rgadsdon/NVIDIA-Linux-x86_64-465.31/kernel/nvidia-modeset.mod.o  LD [M]  /home/rgadsdon/NVIDIA-Linux-x86_64-465.31/kernel/nvidia-modeset.ko  CC [M]  /home/rgadsdon/NVIDIA-Linux-x86_64-465.31/kernel/nvidia-peermem.mod.o  LD [M]  /home/rgadsdon/NVIDIA-Linux-x86_64-465.31/kernel/nvidia-peermem.ko  CC [M] … Continue reading →

Posted in compilation, kernel, Linux, NVIDIA, Opinion, Wayland | Tagged 465.31, compiles ok, nvidia, ok with kernel 5.13, tested with 5.13-rc2 | Leave a reply

Kernel – 5.13-rc1 – OK with patched VMware, Breaks NVIDIA..

Adventures With Linux ™ Posted on May 10, 2021 by RGMay 10, 2021

Kernel 5.13-rc1 is out and brief details are here:   http://lkml.iu.edu/hypermail/linux/kernel/2105.1/00457.html VMware 16.1.1 (patched..) compiles and loads OK, but NVIDIA 465.27 compile fails: ……………………………. /home/rgadsdon/NVIDIA-Linux-x86_64-465.27/kernel/nvidia-drm/nvidia-drm-crtc.c: At top level: /home/rgadsdon/NVIDIA-Linux-x86_64-465.27/kernel/nvidia-drm/nvidia-drm-crtc.c:454:23: error: initialization of ‘int (*)(struct drm_plane *, struct drm_atomic_state *)’ from incompatible pointer type ‘int (*)(struct drm_plane *, struct drm_plane_state *)’ [-Werror=incompatible-pointer-types] 454 | .atomic_check = nv_drm_plane_atomic_check, | ^~~~~~~~~~~~~~~~~~~~~~~~~ … Continue reading →

Posted in compilation, kernel, Linux, NVIDIA, Opinion, VMware | Tagged 16.1.1, 465.27, kernel 5.13-rc1, nvidia compile fails, vmware ok | 5 Replies

Compiler – Fun with CLANG – Kernel, NVIDIA, and VMware…

Adventures With Linux ™ Posted on March 27, 2021 by RGMarch 30, 2021

I have been carrying out some preliminary tests to see how feasible it is to compile the Linux Kernel, and NVIDIA drivers, and VMware, using the ‘alternative’ to GCC – CLANG.. The kernel compile is relatively easy, and well documented: # make CC=clang HOSTCC=clang -j8 (for a 4-core system) The compile seems to be slower than GCC, … Continue reading →

Posted in clang, compilation, Fedora, gcc, kernel, Linux, NVIDIA, Opinion, Performance, quirks, VMware | Tagged clang, compile tests, gcc alternative, kernel, nvidia, success, vmware | 1 Reply

Kernel – 5.12-rc1 is Out. OK with Patched VMware, NVIDIA fails..

Adventures With Linux ™ Posted on February 28, 2021 by RGFebruary 28, 2021

Kernel 5.12-rc1 has been released, and brief details are here:   http://lkml.iu.edu/hypermail/linux/kernel/2102.3/03831.html Patched VMware 16.1.0 compiles and loads OK, but latest NVIDIA (460.56) compile fails: ………………………. /home/rgadsdon/NVIDIA-Linux-x86_64-460.56/kernel/nvidia-drm/nvidia-drm-drv.c: In function ‘nv_drm_update_drm_driver_features’: /home/rgadsdon/NVIDIA-Linux-x86_64-460.56/kernel/nvidia-drm/nvidia-drm-drv.c:822:38: error: ‘drm_gem_dumb_destroy’ undeclared (first use in this function); did you mean ‘drm_mode_destroy’? 822 | nv_drm_driver.dumb_destroy = drm_gem_dumb_destroy;                                 | ^~~~~~~~~~~~~~~~~~~~ | drm_mode_destroy /home/rgadsdon/NVIDIA-Linux-x86_64-460.56/kernel/nvidia-drm/nvidia-drm-drv.c:822:38: note: each undeclared identifier … Continue reading →

Posted in compilation, kernel, Linux, NVIDIA, Opinion, VMware | Tagged drm_gem_dumb_destroy, kernel 5.12-rc1, nvidia 460.56 compile fail, patched vmware 16.1.0 ok, released | 2 Replies

Kernel – 5.10-rc1 Out – Fix for NVIDIA, Problem with VMware..

Adventures With Linux ™ Posted on October 26, 2020 by RGOctober 26, 2020

Kernel 5.10-rc1 is finally released, and brief details are here:  http://lkml.iu.edu/hypermail/linux/kernel/2010.3/00552.html Thanks to Joan Bruguera, there is a work-in-progress fix for NVIDIA 455.28, here:  https://gist.github.com/joanbm/beaccedd729589df98332d70a1754e9a (and thanks to Willy Frissen for the notification..) ld -r -o /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia-modeset/nv-modeset-interface.o /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia-modeset/nvidia-modeset-linux.o /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia-modeset/nv-kthread-q.o MODPOST /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/Module.symvers CC [M] /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia-drm.mod.o LD [M] /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia-drm.ko CC [M] /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia-modeset.mod.o LD [M] /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia-modeset.ko CC [M] /home/rgadsdon/NVIDIA-Linux-x86_64-455.28/kernel/nvidia-uvm.mod.o LD … Continue reading →

Posted in compilation, fix, kernel, Linux, NVIDIA, Opinion, VMware | Tagged kernel 5.10-rc1 released, nvidia 455.28 patch available, vmware patch available, vmware runtime problem, waiting for connection | Leave a reply

Kernel – 5.9-rc6 – Rare Compile Fail!

Adventures With Linux ™ Posted on September 20, 2020 by RGSeptember 20, 2020

Kernel 5.9-rc6 has been released, and brief details are here:  http://lkml.iu.edu/hypermail/linux/kernel/2009.2/05870.html In a very rare occurrence, the kernel compile actually fails: …………………………….. CALL scripts/checksyscalls.sh CALL scripts/atomic/check-atomics.sh DESCEND objtool CHK include/generated/compile.h CC drivers/dax/super.o drivers/dax/super.c:325:6: error: redefinition of ‘dax_supported’ 325 | bool dax_supported(struct dax_device *dax_dev, struct block_device *bdev, | ^~~~~~~~~~~~~ In file included from drivers/dax/super.c:16: ./include/linux/dax.h:162:20: note: previous definition … Continue reading →

Posted in compilation, Hacks, kernel, Linux, NVIDIA, Opinion, VMware | Tagged inherited taint, kernel 5.9-rc6, nvidia 450.66 455.23.04, nvidia-uvm, patched, rare compile fail, revert dax patch, vmware 16 ok, workaround | 1 Reply

VMware – Workstation 16.0.0 Released – OK with Kernel 5.8, and 5.9-rc..

Adventures With Linux ™ Posted on September 16, 2020 by RGSeptember 16, 2020

VMware have now released Workstation Pro 16.0.0, and details are here:  https://docs.vmware.com/en/VMware-Workstation-Pro/16/rn/VMware-Workstation-16-Pro-Release-Notes.html This version now works correctly – and compiles, with multiple warnings – on Kernel 5.8 (tested with 5.8.9) and also on Kernel 5.9-rc5. To fix the messy compile – and thanks again to Michal Kubeček – there is a patchset for vmmon/vmware available, here:  https://github.com/mkubecek/vmware-host-modules/tree/workstation-16.0.0 … Continue reading →

Posted in compilation, fixed, kernel, Linux, Opinion, patches, VMware | Tagged ok with 5.9-rc, ok with kernel 5.8, patchset available, vmware 16 released | 3 Replies

Kernel – 5.9-rc4 Released. VMware 5.8 patch works. NVIDIA Still Tainted..

Adventures With Linux ™ Posted on September 6, 2020 by RGSeptember 6, 2020

Kernel 5.9-rc4 is out, and details are here:   http://lkml.iu.edu/hypermail/linux/kernel/2009.0/06783.html The new VMware  ‘kernel 5.8’ patchset ( http://rglinuxtech.com/?p=2819 ) works with 5.9-rc4, but nvidia-drm from driver 450.66 still shows as ‘tainted’.    It is possible to get a graphical screen by just using the nvidia.ko module by itself.. Robert Gadsdon.   September 6th 2020. … Continue reading →

Posted in compilation, kernel, Linux, NVIDIA, Opinion, VMware | Tagged kernel 5.9-rc4, nvidia-drm still tainted, vmware 5.8 patches work | 3 Replies

Post navigation

← Older posts
Newer posts →
Original content © Robert Gadsdon 2013
↑