Bug#1099016: nvidia-legacy-340xx-driver: Unpatched return thunk in use. This should not happen!
Andreas Beckmann
anbe at debian.org
Fri May 23 09:38:34 BST 2025
On 5/23/25 09:47, Fab Stz wrote:
> Hello Andreas,
>
> At last I could have a check on that computer.
>
> Actually the driver seems to load fine despite the kernel warning but
> the nvidia logo is not displayed and nothing is displayed on screen. But
> the computer responds. I can reboot by doing Ctrl+Alt+F1 and then
> Ctrl+Alt+Del.
>
> I additionally created a symlink in /usr/lib/xorg/modules/drivers/
> nv_drv.so -> nvidia_drv.so because this seems required. Maybe X is now
> searching for "nv" instead of "nvidia" ?
There is/was a 'nv' driver in Xorg, but it is no longer packaged in
Debian. It was likely superseded by 'nouveau'.
If xorg.conf does not specify a driver, Xorg will try all possibly
fitting driver names for the detected hardware, thus you see the failure
to load nv, but that does not matter.
But you shouldn't rename/symlink the drivers, as that's a source for
major confusion. Please revert.
You might try a minimal xorg.conf (or xorg.conf.d/*.conf snippet)
containing only
Section "Device"
Identifier "My GPU"
Driver "nvidia"
EndSection
to specifically select the proprietary driver and skip autoprobing.
Should help to avoid irrelevant error messages from autoprobed drivers.
But it may well be that the driver is no longer compatible with current
Xorg versions.
Andreas
More information about the pkg-nvidia-devel
mailing list