* Masaru Nomiya <nomiya@lake.dti.ne.jp> [03-25-24 00:46]:
Hello,
In the Message;
Subject : Re: Again: error with kernel 6.8.1-1 when compiling nVidia Message-ID : <987fc246-4e3f-456e-b01f-f5128fcc8985@yahoo.de> Date & Time: Sat, 23 Mar 2024 20:28:12 +0100
[PM] == Peter Maffter via openSUSE Users <users@lists.opensuse.org> has written:
[...] PM> after editing nvidia-drm-drv.c and replacing DRM_UNLOCKED with 0 according to PM> https://github.com/CachyOS/kernel-patches/blob/master/6.8/misc/nvidia/0001-n... [...]
I don't think 'replacing DRM_UNLOCKED with 0' is correct. So, looking at 550.67, replacing 'DRM_RENDER_ALLOW|0' seems correct.
I've created a patch along these lines, so please give it a try.
The patched driver is created as follows;
$ sh ./NVIDIA-Linux-x86_64-390.157.run --apply-patch 390.patch
on my nvidia modules I see: static const enum drm_ioctl_flags DRM_UNLOCKED = 0; -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc