Re: bumblebee fails to disable discrete graphics card after upgrade nvidia driver to 430.40-2

[email protected] Fri, 6 Sep 2019 09:38:01 +0800 (GMT+08:00)
Newsgroups gmane.linux.debian.user.laptop
Message-ID <[email protected]>
When I run opengl program with optirun or primusrun, the program can not run and I got a error message as below:


$ optirun freecad
[  614.056579] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)

[  614.056596] [ERROR]Aborting because fallback start is disabled.


$ primusrun freecad
/usr/bin/primusrun: line 41: warning: command substitution: ignored null byte in input
primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)




Best regards,
Gulfstream


-----原始邮件-----
发件人:[email protected]
发送时间:2019-09-05 21:30:52 (星期四)
收件人: [email protected]
抄送:
主题: bumblebee fails to disable discrete graphics card after upgrade nvidia driver to 430.40-2

I upgrade my debian just now. The nvidia-driver and other nvidia packages were upgraded to 430.40-2. Then I found that bumblebee fails to disable discrete graphics card. We can not run opengl software with command "optirun", and when I run command "lspci -nn | grep VGA", I got:

00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:3e94]
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107GLM [Quadro P2000 Mobile] [10de:1cba] (rev al)

It seem that the nvidia video card can not be disabled.

My laptop is Thinkpad P1. How do I resolve this error?

Thank you very much!


Best regards,
Gulfstream