↓
 

Adventures With Linux ™

Linux Technologies and Fun Times..

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

Category Archives: Hacks

Post navigation

← Older posts

NVIDIA – Simple Workaround for GCC15 in Fedora 42..

Adventures With Linux ™ Posted on May 1, 2025 by RGMay 1, 2025

Now that Fedora 42 is out, including GCC 15 (currently GCC 15.1.1-1) there is a simple workaround for compilation, thanks to Rudi Heitbaum.    The change is documented at https://github.com/NVIDIA/open-gpu-kernel-modules/pull/841/commits/448b236d893170edc8fc4dff029044948516352b, and must be seen as a workaround, not a fix, as it effectively removes some of the warnings/errors flagged by the latest GCC version.. For NVIDIA-Linux-x86_64-570.144/kernel/Kbuild, add the … Continue reading →

Posted in compilation, Hacks, kernel, Linux, NVIDIA, Opinion | Tagged -std=gnu17, compile fix, fedora 42, gcc 15, nvidia | Leave a reply

VMware – Simple Fixes for Kernel 6.15-rc..

Adventures With Linux ™ Posted on April 20, 2025 by RGApril 20, 2025

With clues from the NVIDIA patches in the previous article, I have managed to find/create patches for vmmon and vmnet.. vmmon failed with: ……………… common/crosspage.c:50:13: fatal error: driver-config.h: No such file or directory 50 | # include “driver-config.h” | ^~~~~~~~~~~~~~~~~ compilation terminated. common/moduleloop.c:30:13: fatal error: driver-config.h: No such file or directory 30 | # include “driver-config.h” | … Continue reading →

Posted in compilation, Hacks, kernel, Linux, Opinion, VMware | Tagged 17.6.3, archlinux, complie fail, del_timer_sync, extra_ccflags, fixed, kernel 6.15, patches created, vmmon, vmnet, vmware | 2 Replies

NVIDIA – Finally, a Fix for Kernel 6.15-rc..

Adventures With Linux ™ Posted on April 20, 2025 by RGApril 20, 2025

Thanks to efforts by Willy Frissen and Joan Bruguera Micó, I have managed to cobble together a patch for NVIDIA driver 575.51.02 and Kernel 6.15 – tested with 6.15-rc2.. The compilation failed with Kernel 6.15 due principally to changes removing obsolete EXTRA_CFLAGS and replacing it by ccflags-y, and del_timer_sync replacement by timer_delete_sync: …………………… nvidia/nv.c:31:10: fatal error: nv-firmware.h: … Continue reading →

Posted in compilation, Hacks, kernel, Linux, NVIDIA, Opinion | Tagged 575.51.02, compile fail, del_timer:sync, extra_cflags, fixed, kernel 6.15, nvidia, patch created | 3 Replies

NVIDIA – GCC15 on Fedora 42 Wrecks Compilation – and a Workaround..

Adventures With Linux ™ Posted on March 15, 2025 by RGMarch 15, 2025

Recently updated the test system to Fedora 42, and everything seemed OK (including the latest VMware Workstation) – except the NVIDIA driver install.. The latest driver 570.124.04 compiles and installs OK with GCC14 and Fedora 41, on 6.13.x and also 6.14-rc kernels, but the NVIDIA source install scripts/tests etc. seem to be completely useless when compiling under … Continue reading →

Posted in compilation, Fedora, Hacks, kernel, Linux, NVIDIA, Opinion | Tagged compiled kernel, fedora 42, gcc 15, gcc for fedora 42 available, install fails, nvidia, options, workaround | Leave a reply

NVIDIA – Inconsistent Install Problems with Latest Drivers..

Adventures With Linux ™ Posted on February 3, 2025 by RGFebruary 3, 2025

Systems are Intel Dual-Xeon with Fedora 41 and GCC 14.2.1..  Kernel compiled from kernel.org source.. Starting with driver 550.144.03, and now with the latest driver 570.86.16 I have been experiencing odd and inconsistent problems with the usual install process.. Running ./NVIDIA-Linux-x86_64-570.86.16.run fails with “ERROR: Unable to load the kernel module ‘nvidia-drm.ko’.” and later “-> Kernel module load … Continue reading →

Posted in compilation, Hacks, Linux, NVIDIA, Opinion | Tagged code quality, inconsistent, install failures, manual compile workaround, nvidia | 1 Reply

Kernel – Pre-6.14rc testing – VMware OK, and Simple Fix for NVIDIA..

Adventures With Linux ™ Posted on January 27, 2025 by RGJanuary 27, 2025

Kernel 6.14-rc1 will be released soon, and I have been testing the code changes submitted so far (February 26th) with the following results: VMware 17.6.2 – including ‘clean up’ patchset from https://github.com/64kramsystem/vmware-host-modules-fork/tree/workstation-17.6.2-sav – compiles OK, but with the usual host of ‘warnings’, which seem to be accepted as good-enough these days.. NVIDIA 550.144.03 compile fails with: ………………….. … Continue reading →

Posted in compilation, Hacks, kernel, Linux, NVIDIA, Opinion | Tagged date parameter, kernel 6.14 - pre test, nvidia fix, nvidia-drm-drv.c, removed, vmware ok | Leave a reply

Kernel – 6.13-rc1 Released, VMware OK, NVIDIA Fails – and Fix..

Adventures With Linux ™ Posted on December 4, 2024 by RGDecember 4, 2024

Kernel 6.13-rc1 is out, and brief details are here:   https://lkml.iu.edu/hypermail/linux/kernel/2412.0/00203.html VMware 17.6.1 compiles OK, with patches from here: https://aur.archlinux.org/cgit/aur.git/tree/?h=vmware-workstation  There are now multiple patchsets available… NVIDIA 550.35 throws an odd error, and compile/load fails: ….. SYMLINK nvidia/nv-kernel.o LD [M] nvidia.o ld: cannot find ./nvidia/nv-kernel.o: No such file or directory make[4]: *** [/usr/src/linux-6.13-rc1/scripts/Makefile.build:387: nvidia.o] Error 1 make[3]: *** … Continue reading →

Posted in compilation, Hacks, kernel, Linux, NVIDIA, VMware | Tagged fix available, kernel 6.13-rc1, nvidia 550.135 fails, symlink, vmware 17.6.1 ok | 3 Replies

NVIDIA – Kernel 6.11 support, and possible GTX10XX blank screens again..

Adventures With Linux ™ Posted on November 2, 2024 by RGNovember 2, 2024

Further testing for Kernel 6.11 support: All latest versions (as of November 2nd 2024), fail to load/run with Kernel 6.11.x, with the same error: ld -r -o /home/rgadsdon/NVIDIA-Linux-x86_64-565.57.01/kernel/nvidia-modeset/nv-modeset-interface.o /home/rgadsdon/NVIDIA-Linux-x86_64-565.57.01/kernel/nvidia-modeset/nvidia-modeset-linux.o /home/rgadsdon/NVIDIA-Linux-x86_64-565.57.01/kernel/nvidia-modeset/nv-kthread-q.o MODPOST /home/rgadsdon/NVIDIA-Linux-x86_64-565.57.01/kernel/Module.symvers ERROR: modpost: “drm_fbdev_ttm_setup” [/home/rgadsdon/NVIDIA-Linux-x86_64-565.57.01/kernel/nvidia-drm.ko] undefined! make[3]: *** [scripts/Makefile.modpost:145: /home/rgadsdon/NVIDIA-Linux-x86_64-565.57.01/kernel/Module.symvers] Error 1 make[2]: *** [/usr/src/linux-6.11.6/Makefile:1878: modpost] Error 2 make[1]: *** [Makefile:224: __sub-make] Error 2 make[1]: Leaving … Continue reading →

Posted in compilation, Hacks, kernel, Linux, NVIDIA, Opinion | Tagged blank screen again?, drm_fbdev_ttm_setup, executable quirks, kernel 6.11, nvidia, simple fix, workaround | Leave a reply

VMware Workstation – Multiple Patch Forks Since Broadcom..

Adventures With Linux ™ Posted on September 15, 2024 by RGSeptember 15, 2024

I would like to start by thanking Michal Kubeček for his many years of expert support of the VMware vmmon/vmnet modules for later kernel versions.. Since the Broadcom takeover of VMware, his patches have been forked multiple times, for 17.5.2 and now 17.6 support, with varying degrees of success..    I have tested most of these and – … Continue reading →

Posted in compilation, Hacks, Linux, Opinion, Performance, VMware | Tagged 17.6, available, broadcom, forks, patches, vmmon / vmnet, vmware | 4 Replies

Kernel – 6.11 Pre-Testing.. OK so far with Latest NVIDIA and VMware (patched)

Adventures With Linux ™ Posted on July 22, 2024 by RGJuly 22, 2024

Tested the latest (July 21st) git version of pre-release Kernel 6.11, and this was OK with NVIDIA 555.58 and (patched) VMware 17.5.2..  (from https://github.com/nan0desu/vmware-host-modules/tree/tmp/workstation-17.5.2-k6.9-sharishth ) Obviously, there will be more potential for ‘breakages’ before -rc1 is released in a weeks time.. Robert Gadsdon   July 22nd 2024. … Continue reading →

Posted in Hacks, kernel, Linux, NVIDIA, Opinion, VMware | Tagged 6.11 pre release, kernel, ok with latest nvidia and patched vmware | 2 Replies

Post navigation

← Older posts
Original content © Robert Gadsdon 2013
↑