Bumblebee - Vulkan Not Working on both GPU
Tofloor
poster avatar
msb
deepin
2018-09-13 11:56
Author
After clean install of DeepinOS 15.7, installed bumblebee with debian bumblebee instructions.
Nvidia version is 390.67
First log is the one of Error logs.


  1. vulkaninfo | grep ERROR
  2. ERROR: [Loader Message] Code 0 : loader_scanned_icd_add: Attempt to retrieve either 'vkGetInstanceProcAddr' or 'vk_icdGetInstanceProcAddr' from ICD libGL.so.1 failed.
  3. INTEL-MESA: warning: Haswell Vulkan support is incomplete
  4. INTEL-MESA: warning: ../../../src/intel/vulkan/anv_device.c:988: FINISHME: Implement pop-free point clipping
Copy the Code


  1. /usr/share/vulkan/icd.d/nvidia_icd.json file is here:

  2. {
  3.     "file_format_version" : "1.0.0",
  4.     "ICD": {
  5.         "library_path": "libGL.so.1",
  6.         "api_version" : "1.0.65"
  7.     }
  8. }
Copy the Code


  1. lspci | egrep "VGA|3D|Display"
  2. 00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
  3. 01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev ff)
Copy the Code


  1. dpkg -l | grep vulkan
  2. ii  libvulkan1:amd64                                  1.1.73+dfsg-1                        amd64        Vulkan loader library
  3. ii  libvulkan1:i386                                   1.1.73+dfsg-1                        i386         Vulkan loader library
  4. ii  mesa-vulkan-drivers:amd64                         18.0.4-1                             amd64        Mesa Vulkan graphics drivers
  5. ii  nvidia-nonglvnd-vulkan-common                     390.67-3deepin                       amd64        NVIDIA Vulkan driver - common files (non-GLVND variant)
  6. ii  nvidia-nonglvnd-vulkan-icd:amd64                  390.67-3deepin                       amd64        NVIDIA Vulkan ICD (non-GLVND variant)
  7. ii  nvidia-nonglvnd-vulkan-icd:i386                   390.67-3deepin                       i386         NVIDIA Vulkan ICD (non-GLVND variant)
  8. ii  vulkan-utils                                      1.1.73+dfsg-1                        amd64        Miscellaneous Vulkan utilities
Copy the Code


  1. dpkg -l | grep mesa
  2. ii  glx-alternative-mesa                              0.8.7                                amd64        allows the selection of MESA as GLX provider
  3. ii  libegl-mesa0:amd64                                18.0.4-1                             amd64        free implementation of the EGL API -- Mesa vendor library
  4. ii  libegl1-mesa:amd64                                18.0.4-1                             amd64        transitional dummy package
  5. ii  libgl1-mesa-dri:amd64                             18.0.4-1                             amd64        free implementation of the OpenGL API -- DRI modules
  6. ii  libgl1-mesa-dri:i386                              18.0.4-1                             i386         free implementation of the OpenGL API -- DRI modules
  7. ii  libgl1-mesa-glx:amd64                             18.0.4-1                             amd64        transitional dummy package
  8. ii  libgl1-mesa-glx:i386                              18.0.4-1                             i386         transitional dummy package
  9. ii  libglapi-mesa:amd64                               18.0.4-1                             amd64        free implementation of the GL API -- shared library
  10. ii  libglapi-mesa:i386                                18.0.4-1                             i386         free implementation of the GL API -- shared library
  11. ii  libgles2-mesa:amd64                               18.0.4-1                             amd64        transitional dummy package
  12. ii  libglu1-mesa:amd64                                9.0.0-2.1                            amd64        Mesa OpenGL utility library (GLU)
  13. ii  libglu1-mesa:i386                                 9.0.0-2.1                            i386         Mesa OpenGL utility library (GLU)
  14. ii  libglx-mesa0:amd64                                18.0.4-1                             amd64        free implementation of the OpenGL API -- GLX vendor library
  15. ii  libglx-mesa0:i386                                 18.0.4-1                             i386         free implementation of the OpenGL API -- GLX vendor library
  16. ii  mesa-opencl-icd:amd64                             18.0.4-1                             amd64        free implementation of the OpenCL API -- ICD runtime
  17. ii  mesa-utils                                        8.4.0-1                              amd64        Miscellaneous Mesa GL utilities
  18. ii  mesa-utils-extra                                  8.4.0-1                              amd64        Miscellaneous Mesa utilies (opengles, egl)
  19. ii  mesa-va-drivers:amd64                             18.0.4-1                             amd64        Mesa VA-API video acceleration drivers
  20. ii  mesa-vulkan-drivers:amd64                         18.0.4-1                             amd64        Mesa Vulkan graphics drivers
Copy the Code

Note: I changed nvidia_icd.json like that:

  1. {
  2.     "file_format_version" : "1.0.0",
  3.     "ICD": {
  4.         "library_path": "libGL.so.1",
  5.         "api_version" : "1.0.65"
  6.     }
  7. }
Copy the Code

to

  1. {
  2.     "file_format_version" : "1.0.0",
  3.     "ICD": {
  4.         "library_path": "libGLX_nvidia.so.0",
  5.         "api_version" : "1.0.65"
  6.     }
  7. }
Copy the Code

After this edit, Error output is here:

  1. vulkaninfo | grep ERROR
  2. Xlib:  extension "NV-GLX" missing on display ":0".
  3. INTEL-MESA: warning: Haswell Vulkan support is incomplete
  4. INTEL-MESA: warning: ../../../src/intel/vulkan/anv_device.c:988: FINISHME: Implement pop-free point clipping
Copy the Code


Hopefully, the problem will be solved with your helps. Thanks a lot for your attention.

Reply Favorite View the author
All Replies
msb
deepin
2018-09-15 07:20
#1
Edited by msb at 2018-9-14 23:37

Nobody helps to us. Nice forum and support. Thanks for your attention!

Even guys replied me in max 1 day (Actually in same day but doesn't matter) who in Debian forums. Deepin Support is really shining!
Reply View the author
dance707
deepin
2018-09-15 13:28
#2
https://bbs.deepin.org/post/168807
Edited by msb at 2018-9-14 23:37

Nobody helps to us. Nice forum and support. Thanks for your atte ...

There is no need to criticize the small amount of community members here. Some only visit the forum on a weekly basis. Debian has larger base of active members. There are many posts in the Deepin forum that you can search for nvidia and bumblebee, you might need Yandex translate or google. Also try the Arch forums, My guess is to try different kernel or try Deepin's nvidia 352.79 driver.
There is a mint post here that is marked as solved GTX 960M
https://forums.linuxmint.com/viewtopic.php?t=202980

If your interested in Deepin full service support, you may find the paid version here.
https://www.deepin.com/深度桌面操作系统
Reply View the author
msb
deepin
2018-09-16 00:21
#3
Edited by msb at 2018-9-15 17:27
https://bbs.deepin.org/post/168807
There is no need to criticize the small amount of community members here. Some only visit the foru ...

I am criticize the offical deepin support, because i report 2 more isse before 3 months and they even not checked issues. They are fixing Chinese users issues but if you have luck, then maybe they will help you (in this case its me). I am using Telegram channels of Official Deepin, Official Deepin Forum, and also Debian forums. Debian guys don't want to help because its DeepinOS, guys who on Official Deepin Telegram Channel didn't helped. Looked on Google for this issue but there is no solution to fix it but downgrade drivers. This issue happened before version 384 and when people upgraded their drivers, than problem was fixed.

I don't want to downgrade, Downgrade is not a solution (Of Course if there is no way it is temp-solution). We need support and we dont have support (specially official support), and thats the point.
Reply View the author