From what I have understood, old nVidia legacy drivers (even patched for new kernels) are not supported anymore by Leap 15.3.
Is there any explanation for this?
I have tried to build 340.108 patched drivers (downloaded from https://nvidia.if-not-true-then-false.com/) and this is the result:
fatal error: linux/ioctl32.h: No such file or directory
340.108 builds perfectly on Leap 15.2.
I have noticed that my Leap 15.2 installation uses kernel 5.3.x-preempt, while Leap 15.3 uses kernel 5.3.x-default.
The strange thing is that these patches install and work perfectly on openSUSE Leap 15.2.
On Leap 15.3 is the module building that fails (ERROR: Unable to build the NVIDIA kernel module.)-
And what can I do, if my 9800M GTX is supported by 340.108, but not with most recent legacy 390.144 driver according to nVIDIA?
Downgrade to 15.2 Leap and keep it until the laptop fails?
It should be possible to run it, right?
I just wonder why a 64-bit driver package asks for an ioctl32.h file… :\
Hi and welcome to the Forum
Head over to the Nvidia forums, you should find some patches for the run file and use that for you older GPU, else just run nouveau.
Thanks for the hint. It is a bit frustrating, but I try.
I have nouveau installed now. It works for desktop ok, but performance sucks big time and it doesn’t seem to even work with Quake (1), hence 3D acceleration seems not to work properly.
Well, I guess, if I want to play modern AAA games I stay with my Win10 PC instead anyway, but I hoped my old laptop would do for a few older games as well. Still, even Shapez runs more slowly, and Factorio is much slower and unplayable on nouveau.
I was wondering if the G04 (nVidia 309.144 driver could work with my 9800m GTX without frying it. I’m afraid to test it.
I found some patch in the previously mentioned file. I even managed to fix the kernel parameter in the nv-linux.h and build the patched version. Then it didn’t get the same error with ioctrl32.h anymore, but another one… Maybe wrong kernel or patch, but I am tired of working with console trying to edit some config files. Maybe openSuSE is a bit special case with their kernel versioning or whatever.
The patch script doesn’t work for me, so at least for now I decided to give up and use nouveau… sigh
I’m afraid it may even impact the entire mainboard of the laptop if the GFX adapter is accidentally overclocked or something similar. I understand too little about nVIDIA daughterboard, if it exists and how to replace on a Toshiba Qosmio… I would probably need to go to eBay or something to get a replacement, but that whole process would be too troublesome.
I had another try on this with the assumption that suse kernel is mostly version 5.9 but pretends to be 5.3.
So I changed all LINUX_VERSION_CODE defines between those versions to match that. And since I got compile errors I changed the defines back that caused them until the module compiled with those changes:
The nvidia module builds, but hangs on loading, so I also give up here.
For now I use the still maintained 15.2 kernels while the rest of the system is 15.3. If that proves to be hard to maintain for me I probably switch to the latest vanilla kernel supported by the true/false-script or even the distro they support best.