strange phenomenon with primus + nvidia-tesla

Patrice DUROUX patrice.duroux at igh.cnrs.fr
Fri Nov 15 21:23:40 GMT 2019


Hi,

Since version 418.88 of nvidia was removed from Debian, my laptop device that
is:
01:00.0 VGA compatible controller: NVIDIA Corporation GK208GLM [Quadro K610M] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev ff)
was no more supported anymore neither by the 390xx nor by the new 430xx.
So I decided to remove entirely all the stack primus nvidia to be back with nouveau
(but impossible to use primus tech with it, may be unsupported for this device).

Recently nvidia-tesla was pushed into experimental, so I am trying to setup
again primus + nvidia. Starting from a fresh boot of Debian Sid without any
related packages (to nvidia + primus) and then installing nvidia-tesla + primus,
I am able to get 'optirun glxgears -info' work fine (after some manual
adjustment moreover like setting glx alternative correctly).

But then after a reboot, it is no more working. Here is the log message:
[   56.224448] nvidia-nvlink: Nvlink Core is being initialized, major device number 241
[   56.224824] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=none
[   56.224847] NVRM: The NVIDIA GPU 0000:01:00.0
               NVRM: (PCI ID: 10de:12b9) installed in this system has
               NVRM: fallen off the bus and is not responding to commands.
[   56.224890] nvidia: probe of 0000:01:00.0 failed with error -1
[   56.224906] NVRM: The NVIDIA probe routine failed for 1 device(s).
[   56.224907] NVRM: None of the NVIDIA graphics adapters were initialized!
[   56.250709] nvidia-nvlink: Unregistered the Nvlink Core, major device number 241

Should it be possible that there are some bad interactions with the hda hdmi
audio driver that the kernel driver tries to setup?

nov. 15 21:50:40 hp-dark kernel: snd_hda_codec_hdmi hdaudioC1D0: Unable to sync register 0x4f0100. -5
nov. 15 21:50:40 hp-dark kernel: snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
nov. 15 21:50:40 hp-dark kernel: snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
nov. 15 21:50:40 hp-dark kernel: snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD buf size -1
nov. 15 21:50:40 hp-dark kernel: snd_hda_codec_hdmi hdaudioC1D0: out of range cmd 0:4:707:ffffffff
nov. 15 21:50:40 hp-dark kernel: snd_hda_codec_hdmi hdaudioC1D0: out of range cmd 0:4:707:ffffffbf
nov. 15 21:50:40 hp-dark kernel: snd_hda_codec_hdmi hdaudioC1D0: out of range cmd 0:4:707:ffffffff

I am currently able to reproduce this on my system. Removing everything,
rebooting, then install again the necessary packages, the adjusting a bit the
config and get it work with optirun. But then after a reboot I am loosing this
ability again.

Don't know how to help?

Thanks,
Patrice




More information about the pkg-nvidia-devel mailing list