6.12 RT Kernel and NVIDIA

I build the 6.12 RT kernel, and use the nvidia.run installer
all the time using the environment variable
IGNORE_PREEMPT_RT_PRESENCE=1

# /etc/environment
# nvidia

IGNORE_PREEMPT_RT_PRESENCE=1
__GL_LOG_MAX_ANISO=0
__GL_SYNC_TO_VBLANK=0
__GL_YIELD=NOTHING

which suddenly has stopped working, and now the nvidia.run installer has stopped working complaining that it will not build against an RT kernel…

I’ve used the 6.12 kernel series with RT full preemption mode on, and the beta nvidia driver 565.57.01 since 6.12 was released, have built new kernels, and reinstalled the same driver almost every day since that point, and used them for testing video games. In my experience there are no problems, and everything is working great.

What I don’t understand is why this behavior would suddenly change for the Nvidia driver.

I guess I must of been using an older 565 driver version
then what is posted now 565.57.01, where I could install the driver against the 6.12 RT kernel without problems.

I’ll have to try finding an older version and see if that works.

Edit:

So I managed to fix this issue by using this command

sudo IGNORE_PREEMPT_RT_PRESENCE=1 sh ./nvidia.run

after trying to

export IGNORE_PREEMPT_RT_PRESENCE=1

and installing, which failed the check.

and trying different versions which failed, which suggests my environment settings aren’t working for some reason unknown to me

also FYI RT video games have like 0 latency, as long as the games aren’t too huge

So apparently this only happens with debian, as far as I can remember. (I hop around distros a lot playing around with everything)

on ubuntu, there is no problem, and IGNORE_PREEMPT_RT_PRESENCE=1 in /etc/environment, allows the nvidia installer to work without issues + the 6.12 kernel.

the installer btw complains even when the kernel is not built for real time preemption, and instead uses a lower level of preemption, and the 6.12 kernel.

Now I’m playing around with debian, and finally got trixie(testing) live cd to install, after using nomodeset on the grub commandline, removing splash and quiet, and pressing the space bar during the boot sequence, where it hangs for some reason I can’t tell, looks like some sort of prompt in the middle of nowhere.

Rebuilt the 6.12 kernel for debian testing,

disabled lightdm, like this: sudo systemctl disable lightdm,

and rebooted to install the nvidia driver with it’s run file.

the nvidia installer did not complain about having an RT kernel, when I ran it initially, and it disabled nouveau, I rebooted, ran it again (the typical method for installing the nvidia driver) and this time it complained about me having an RT kernel even though I had IGNORE_PREEMPT_RT_PRESENCE=1 in my /etc/environment file, so I had to fix it again using this command…

sudo IGNORE_PREEMPT_RT_PRESENCE=1 sh nvidia.run

which is really bizarre, but I guess I just never had these problems with ubuntu, or any other distro’s, until I started playing around with debian just recently