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

2019-09-06 Thread Manu Baylac

Hi,

Exactly same problem here (bullseye uptodate).
Debian bumblebee wiki page (and other searches on the net) didn't help


More info :


$ systemctl status bumblebeed.service
  bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/lib/systemd/system/bumblebeed.service; enabled; 
vendor preset: enabled)

   Active: active (running) since Fri 2019-09-06 10:50:41 CEST; 6min ago
 Main PID: 947 (bumblebeed)
Tasks: 1 (limit: 4915)
   Memory: 24.7M
   CGroup: /system.slice/bumblebeed.service
   └─947 /usr/sbin/bumblebeed

sept. 06 10:55:39 ldlc bumblebeed[947]: [  312.419291] [ERROR][XORG] (EE)
sept. 06 10:55:39 ldlc bumblebeed[947]: [  312.419293] [ERROR][XORG] 
(EE) Segmentation fault at address 0x7f3873afa000

sept. 06 10:55:39 ldlc bumblebeed[947]: [  312.419296] [ERROR][XORG] (EE)
sept. 06 10:55:39 ldlc bumblebeed[947]: [  312.419298] [ERROR][XORG] 
(EE) Caught signal 11 (Segmentation fault). Server aborting

sept. 06 10:55:39 ldlc bumblebeed[947]: [  312.419301] [ERROR][XORG] (EE)
sept. 06 10:55:39 ldlc bumblebeed[947]: [  312.419304] [ERROR][XORG] (EE)
sept. 06 10:55:39 ldlc bumblebeed[947]: [  312.419308] [ERROR][XORG] 
(EE) Please also check the log file at "/var/log/Xorg.8.log" for additi

sept. 06 10:55:39 ldlc bumblebeed[947]: [  312.419311] [ERROR][XORG] (EE)
sept. 06 10:55:39 ldlc bumblebeed[947]: [  312.426969] [ERROR][XORG] 
(EE) Server terminated with error (1). Closing log file.
sept. 06 10:55:39 ldlc bumblebeed[947]: [  312.426997] [ERROR]X did not 
start properly



$ cat  /var/log/Xorg.8.log

[   312.408] (II) Initializing extension GLX
[   312.408] (II) Initializing extension GLX
[   312.408] (II) Indirect GLX disabled.
[   312.408] (II) GLX: Another vendor is already registered for screen 0
[   312.408] (II) Initializing extension XFree86-VidModeExtension
[   312.408] (II) Initializing extension XFree86-DGA
[   312.408] (II) Initializing extension XFree86-DRI
[   312.408] (II) Initializing extension DRI2
[   312.408] (II) Initializing extension NV-GLX
[   312.408] (II) Initializing extension NV-CONTROL
[   312.415] (EE)
[   312.415] (EE) Backtrace:
[   312.418] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139) 
[0x556f6ef4f2c9]
[   312.418] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 
(funlockfile+0x50) [0x7f387750377f]
[   312.418] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (memcpy+0x1f) 
[0x7f38773d003f]
[   312.418] (EE) 3: 
/usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.430.40 
(_nv043glcore+0x27ff39) [0x7f3876003339]
[   312.418] (EE) 4: 
/usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.430.40 
(_nv043glcore+0x28009d) [0x7f387600365d]
[   312.418] (EE) 5: 
/usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.430.40 
(_nv015glcore+0x49bb8) [0x7f3875ab5ba8]

[   312.418] (EE) unw_get_proc_name failed: no unwind info found [-10]
[   312.419] (EE) 6: /usr/lib/nvidia/nvidia/libglxserver_nvidia.so 
(?+0x0) [0x7f3873a00d32]

[   312.419] (EE)
[   312.419] (EE) Segmentation fault at address 0x7f3873afa000
[   312.419] (EE)
Fatal server error:
[   312.419] (EE) Caught signal 11 (Segmentation fault). Server aborting
[   312.419] (EE)
[   312.419] (EE)
Please consult the The X.Org Foundation support
 at http://wiki.x.org
 for help.
[   312.419] (EE) Please also check the log file at 
"/var/log/Xorg.8.log" for additional information.

[   312.419] (EE)
[   312.421] (EE) Server terminated with error (1). Closing log file.



Maybe a bug ?

Thanks !

--
Manu







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

2019-09-05 Thread wglxy
 I upgrade my debian testing yesterday. 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.




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)







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

Thank you very much!


Best regards,
Gulfstream