Debian9Unstable - Bumblebee - Vulkan Not Working on both GPU

If it doesn't relate to Debian, but you still want to share it, please do it here

Debian9Unstable - Bumblebee - Vulkan Not Working on both GPU

Postby MSB » 2018-09-12 11:46

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.

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


Code: Select all
/usr/share/vulkan/icd.d/nvidia_icd.json file is here:

{
    "file_format_version" : "1.0.0",
    "ICD": {
        "library_path": "libGL.so.1",
        "api_version" : "1.0.65"
    }
}


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


Code: Select all
dpkg -l | grep vulkan
ii  libvulkan1:amd64                                  1.1.73+dfsg-1                        amd64        Vulkan loader library
ii  libvulkan1:i386                                   1.1.73+dfsg-1                        i386         Vulkan loader library
ii  mesa-vulkan-drivers:amd64                         18.0.4-1                             amd64        Mesa Vulkan graphics drivers
ii  nvidia-nonglvnd-vulkan-common                     390.67-3deepin                       amd64        NVIDIA Vulkan driver - common files (non-GLVND variant)
ii  nvidia-nonglvnd-vulkan-icd:amd64                  390.67-3deepin                       amd64        NVIDIA Vulkan ICD (non-GLVND variant)
ii  nvidia-nonglvnd-vulkan-icd:i386                   390.67-3deepin                       i386         NVIDIA Vulkan ICD (non-GLVND variant)
ii  vulkan-utils                                      1.1.73+dfsg-1                        amd64        Miscellaneous Vulkan utilities


Code: Select all
dpkg -l | grep mesa
ii  glx-alternative-mesa                              0.8.7                                amd64        allows the selection of MESA as GLX provider
ii  libegl-mesa0:amd64                                18.0.4-1                             amd64        free implementation of the EGL API -- Mesa vendor library
ii  libegl1-mesa:amd64                                18.0.4-1                             amd64        transitional dummy package
ii  libgl1-mesa-dri:amd64                             18.0.4-1                             amd64        free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-dri:i386                              18.0.4-1                             i386         free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-glx:amd64                             18.0.4-1                             amd64        transitional dummy package
ii  libgl1-mesa-glx:i386                              18.0.4-1                             i386         transitional dummy package
ii  libglapi-mesa:amd64                               18.0.4-1                             amd64        free implementation of the GL API -- shared library
ii  libglapi-mesa:i386                                18.0.4-1                             i386         free implementation of the GL API -- shared library
ii  libgles2-mesa:amd64                               18.0.4-1                             amd64        transitional dummy package
ii  libglu1-mesa:amd64                                9.0.0-2.1                            amd64        Mesa OpenGL utility library (GLU)
ii  libglu1-mesa:i386                                 9.0.0-2.1                            i386         Mesa OpenGL utility library (GLU)
ii  libglx-mesa0:amd64                                18.0.4-1                             amd64        free implementation of the OpenGL API -- GLX vendor library
ii  libglx-mesa0:i386                                 18.0.4-1                             i386         free implementation of the OpenGL API -- GLX vendor library
ii  mesa-opencl-icd:amd64                             18.0.4-1                             amd64        free implementation of the OpenCL API -- ICD runtime
ii  mesa-utils                                        8.4.0-1                              amd64        Miscellaneous Mesa GL utilities
ii  mesa-utils-extra                                  8.4.0-1                              amd64        Miscellaneous Mesa utilies (opengles, egl)
ii  mesa-va-drivers:amd64                             18.0.4-1                             amd64        Mesa VA-API video acceleration drivers
ii  mesa-vulkan-drivers:amd64                         18.0.4-1                             amd64        Mesa Vulkan graphics drivers


Code: Select all
dpkg -l | grep nvidia
ii  bumblebee-nvidia                                  3.2.1-17                             amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
ii  glx-alternative-nvidia                            0.8.7                                amd64        allows the selection of NVIDIA as GLX provider
ii  libegl-nvidia0:amd64                              390.67-3deepin                       amd64        NVIDIA binary EGL library
ii  libegl-nvidia0:i386                               390.67-3deepin                       i386         NVIDIA binary EGL library
ii  libegl1-nvidia:amd64                              390.67-3deepin                       amd64        NVIDIA binary EGL library (non-GLVND variant)
ii  libegl1-nvidia:i386                               390.67-3deepin                       i386         NVIDIA binary EGL library (non-GLVND variant)
ii  libgl1-nvidia-glx:amd64                           390.67-3deepin                       amd64        NVIDIA binary OpenGL/GLX library (non-GLVND variant)
ii  libgl1-nvidia-glx:i386                            390.67-3deepin                       i386         NVIDIA binary OpenGL/GLX library (non-GLVND variant)
ii  libgles-nvidia1:amd64                             390.67-3deepin                       amd64        NVIDIA binary OpenGL|ES 1.x library
ii  libgles-nvidia1:i386                              390.67-3deepin                       i386         NVIDIA binary OpenGL|ES 1.x library
ii  libgles-nvidia2:amd64                             390.67-3deepin                       amd64        NVIDIA binary OpenGL|ES 2.x library
ii  libgles-nvidia2:i386                              390.67-3deepin                       i386         NVIDIA binary OpenGL|ES 2.x library
ii  libglx-nvidia0:amd64                              390.67-3deepin                       amd64        NVIDIA binary GLX library
ii  libglx-nvidia0:i386                               390.67-3deepin                       i386         NVIDIA binary GLX library
ii  libnvidia-cfg1:amd64                              390.67-3deepin                       amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-cfg1:i386                               390.67-3deepin                       i386         NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-egl-wayland1:amd64                      390.67-3deepin                       amd64        NVIDIA binary Wayland EGL external platform library
ii  libnvidia-egl-wayland1:i386                       390.67-3deepin                       i386         NVIDIA binary Wayland EGL external platform library
ii  libnvidia-eglcore:amd64                           390.67-3deepin                       amd64        NVIDIA binary EGL core libraries
ii  libnvidia-eglcore:i386                            390.67-3deepin                       i386         NVIDIA binary EGL core libraries
ii  libnvidia-glcore:amd64                            390.67-3deepin                       amd64        NVIDIA binary OpenGL/GLX core libraries
ii  libnvidia-glcore:i386                             390.67-3deepin                       i386         NVIDIA binary OpenGL/GLX core libraries
ii  libnvidia-ml1:amd64                               390.67-3deepin                       amd64        NVIDIA Management Library (NVML) runtime library
ii  nvidia-alternative                                390.67-3deepin                       amd64        allows the selection of NVIDIA as GLX provider
ii  nvidia-driver                                     390.67-3deepin                       amd64        NVIDIA metapackage
ii  nvidia-driver-bin                                 390.67-3deepin                       amd64        NVIDIA driver support binaries
ii  nvidia-driver-libs-nonglvnd:amd64                 390.67-3deepin                       amd64        NVIDIA metapackage (non-GLVND OpenGL/GLX/EGL/GLES libraries)
ii  nvidia-driver-libs-nonglvnd:i386                  390.67-3deepin                       i386         NVIDIA metapackage (non-GLVND OpenGL/GLX/EGL/GLES libraries)
ii  nvidia-driver-libs-nonglvnd-i386:i386             390.67-3deepin                       i386         NVIDIA metapackage (non-GLVND OpenGL/EGL/etc. 32-bit libraries)
ii  nvidia-egl-wayland-common                         390.67-3deepin                       amd64        NVIDIA binary Wayland EGL external platform - common files
ii  nvidia-egl-wayland-icd:amd64                      390.67-3deepin                       amd64        NVIDIA Wayland EGL external platform library (ICD)
ii  nvidia-egl-wayland-icd:i386                       390.67-3deepin                       i386         NVIDIA Wayland EGL external platform library (ICD)
ii  nvidia-installer-cleanup                          20151021+8                           amd64        cleanup after driver installation with the nvidia-installer
ii  nvidia-kernel-common                              20151021+8                           amd64        NVIDIA binary kernel module support files
ii  nvidia-kernel-dkms                                390.67-3deepin                       amd64        NVIDIA binary kernel module DKMS source
ii  nvidia-kernel-support                             390.67-3deepin                       amd64        NVIDIA binary kernel module support files
ii  nvidia-legacy-check                               390.67-3deepin                       amd64        check for NVIDIA GPUs requiring a legacy driver
ii  nvidia-modprobe                                   390.25-1                             amd64        utility to load NVIDIA kernel modules and create device nodes
ii  nvidia-nonglvnd-vulkan-common                     390.67-3deepin                       amd64        NVIDIA Vulkan driver - common files (non-GLVND variant)
ii  nvidia-nonglvnd-vulkan-icd:amd64                  390.67-3deepin                       amd64        NVIDIA Vulkan ICD (non-GLVND variant)
ii  nvidia-nonglvnd-vulkan-icd:i386                   390.67-3deepin                       i386         NVIDIA Vulkan ICD (non-GLVND variant)
ii  nvidia-persistenced                               390.25-1                             amd64        daemon to maintain persistent software state in the NVIDIA driver
ii  nvidia-settings                                   390.48-2                             amd64        tool for configuring the NVIDIA graphics driver
ii  nvidia-support                                    20151021+8                           amd64        NVIDIA binary graphics driver support files
ii  nvidia-vdpau-driver:amd64                         390.67-3deepin                       amd64        Video Decode and Presentation API for Unix - NVIDIA driver
ii  xserver-xorg-video-nvidia                         390.67-3deepin                       amd64        NVIDIA binary Xorg driver



Code: Select all
xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.21*+  60.01    59.97    59.96    59.93 
   1680x1050     59.95    59.88 
   1600x1024     60.17 
   1400x1050     59.98 
   1600x900      59.99    59.94    59.95    59.82 
   1280x1024     60.02 
   1440x900      59.89 
   1400x900      59.96    59.88 
   1280x960      60.00 
   1440x810      60.00    59.97 
   1368x768      59.88    59.85 
   1360x768      59.80    59.96 
   1280x800      59.99    59.97    59.81    59.91 
   1152x864      60.00 
   1280x720      60.00    59.99    59.86    59.74 
   1024x768      60.04    60.00 
   960x720       60.00 
   928x696       60.05 
   896x672       60.01 
   1024x576      59.95    59.96    59.90    59.82 
   960x600       59.93    60.00 
   960x540       59.96    59.99    59.63    59.82 
   800x600       60.00    60.32    56.25 
   840x525       60.01    59.88 
   864x486       59.92    59.57 
   800x512       60.17 
   700x525       59.98 
   800x450       59.95    59.82 
   640x512       60.02 
   720x450       59.89 
   700x450       59.96    59.88 
   640x480       60.00    59.94 
   720x405       59.51    58.99 
   684x384       59.88    59.85 
   680x384       59.80    59.96 
   640x400       59.88    59.98 
   576x432       60.06 
   640x360       59.86    59.83    59.84    59.32 
   512x384       60.00 
   512x288       60.00    59.92 
   480x270       59.63    59.82 
   400x300       60.32    56.34 
   432x243       59.92    59.57 
   320x240       60.05 
   360x202       59.51    59.13 
   320x180       59.84    59.32 
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)


Note: I changed nvidia_icd.json like that:
Code: Select all
{
    "file_format_version" : "1.0.0",
    "ICD": {
        "library_path": "libGL.so.1",
        "api_version" : "1.0.65"
    }
}

to
Code: Select all
{
    "file_format_version" : "1.0.0",
    "ICD": {
        "library_path": "libGLX_nvidia.so.0",
        "api_version" : "1.0.65"
    }
}

After this edit, Error output is here:
Code: Select all
vulkaninfo | grep ERROR
Xlib:  extension "NV-GLX" missing on display ":0".
INTEL-MESA: warning: Haswell Vulkan support is incomplete
INTEL-MESA: warning: ../../../src/intel/vulkan/anv_device.c:988: FINISHME: Implement pop-free point clipping


Hopefully, the problem will be solved with your helps. Thanks a lot for your attention.
Last edited by MSB on 2018-09-15 10:51, edited 2 times in total.
MSB
 
Posts: 9
Joined: 2018-06-23 08:07

Re: Debian8 - Bumblebee - Vulkan Not Working on both GPU

Postby None1975 » 2018-09-12 12:56

Hello. It is a Debian users forum, not DeepinOS users forum. I would suggest that you contact the appropriate forum.
OS: Debian 9.4 / WM: Xmonad
Debian Wiki | DontBreakDebian, My config files in github
Linux User #607425
User avatar
None1975
 
Posts: 627
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Debian8 - Bumblebee - Vulkan Not Working on both GPU

Postby MSB » 2018-09-12 16:26

None1975 wrote:Hello. It is a Debian users forum, not DeepinOS users forum. I would suggest that you contact the appropriate forum.


Deepin is also based Debian 8 Jessie, what is wrong with that? And the issue, as i know, not specifically about Deepin. Still you dont want to help?
MSB
 
Posts: 9
Joined: 2018-06-23 08:07

Re: Debian8 - Bumblebee - Vulkan Not Working on both GPU

Postby None1975 » 2018-09-12 17:06

MSB wrote:Deepin is also based Debian 8 Jessie, what is wrong with that?

Deepin is not Debian. It would be much easier for you to ask in Deepin forum.
MSB wrote:Still you dont want to help?

If I could, I would advise, but we still do not know how Deepin's developers pondered the Debian base ...
OS: Debian 9.4 / WM: Xmonad
Debian Wiki | DontBreakDebian, My config files in github
Linux User #607425
User avatar
None1975
 
Posts: 627
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Debian8 - Bumblebee - Vulkan Not Working on both GPU

Postby Wheelerof4te » 2018-09-12 17:32

I would advise installing the latest Debian Stable release. Jessie-based DeepinOS is most likely on LTS life-support.
User avatar
Wheelerof4te
 
Posts: 1134
Joined: 2015-08-30 20:14

Re: Debian8 - Bumblebee - Vulkan Not Working on both GPU

Postby MSB » 2018-09-12 18:58

Wheelerof4te wrote:I would advise installing the latest Debian Stable release. Jessie-based DeepinOS is most likely on LTS life-support.

I really want that, but Deepin is for me. Blur effects and user-friendly interface best in others.
MSB
 
Posts: 9
Joined: 2018-06-23 08:07

Re: Debian8 - Bumblebee - Vulkan Not Working on both GPU

Postby MSB » 2018-09-12 19:03

None1975 wrote:
MSB wrote:Deepin is also based Debian 8 Jessie, what is wrong with that?

Deepin is not Debian. It would be much easier for you to ask in Deepin forum.
MSB wrote:Still you dont want to help?

If I could, I would advise, but we still do not know how Deepin's developers pondered the Debian base ...

I've faced so many mistakes so far but none of them were specially about to DeepinOS. Solutions were the same as debian solutions. So I'm open to proposals for solutions. But if you don't want to help, i can understand. On the other hand, as i said, Debian solutions are good at this point.
MSB
 
Posts: 9
Joined: 2018-06-23 08:07

Re: Debian8 - Bumblebee - Vulkan Not Working on both GPU

Postby arzgi » 2018-09-13 07:03

MSB wrote:Deepin is also based Debian 8 Jessie, what is wrong with that? And the issue, as i know, not specifically about Deepin. Still you dont want to help?


There is nothing wrong you are using Debian based distro. There are about 130 of them. We don't know what they have changed so, that they are new distros instead of Debian.

Believe me, you are not the first to pull out that card: 'Yes, but this nnn is based on Debian!'

As pointed, you better ask on your own distro's forum. That is the standard and the best answer.
arzgi
 
Posts: 337
Joined: 2008-02-21 17:03
Location: Finland

Re: Debian8 - Bumblebee - Vulkan Not Working on both GPU

Postby MSB » 2018-09-13 09:24

arzgi wrote:
MSB wrote:Deepin is also based Debian 8 Jessie, what is wrong with that? And the issue, as i know, not specifically about Deepin. Still you dont want to help?


There is nothing wrong you are using Debian based distro. There are about 130 of them. We don't know what they have changed so, that they are new distros instead of Debian.

Believe me, you are not the first to pull out that card: 'Yes, but this nnn is based on Debian!'

As pointed, you better ask on your own distro's forum. That is the standard and the best answer.


Ok, i get it. I know what you are talking about. I also asked at Deepin Forum. But as i said, i want to take advice from this forum too.

MSB wrote:I've faced so many mistakes so far but none of them were specially about to DeepinOS. Solutions were the same as debian solutions. So I'm open to proposals for solutions. But if you don't want to help, i can understand. On the other hand, as i said, Debian solutions are good at this point.

So, you dont need to say that i need to ask my own distro's forum. I know and i did that, but also want to learn here too. So let's forget about deepin. I am using Debian. Please be kind and if you know something helpfull, please help me, or if you dont know something about my problem, you free to leave this topic.
MSB
 
Posts: 9
Joined: 2018-06-23 08:07

Re: Debian8 - Bumblebee - Vulkan Not Working on both GPU

Postby arzgi » 2018-09-13 10:35

MSB wrote:Ok, i get it. I know what you are talking about. I also asked at Deepin Forum. But as i said, i want to take advice from this forum too.

I've faced so many mistakes so far but none of them were specially about to DeepinOS. Solutions were the same as debian solutions. So I'm open to proposals for solutions. But if you don't want to help, i can understand. On the other hand, as i said, Debian solutions are good at this point.

So, you dont need to say that i need to ask my own distro's forum. I know and i did that, but also want to learn here too. So let's forget about deepin. I am using Debian. Please be kind and if you know something helpfull, please help me, or if you dont know something about my problem, you free to leave this topic.


Well, let's start again. This is Debian user forums. Perhaps we could trouble shoot your DeepinOS problem, but then it would be DeepinOS solution, and it might not help Debian users possibly in same kind of situation.

Here has been Ubuntu, Kali, you name it, users asking for help, and always they have been directed to use their own distro's forum. You are persistent.

Anyone is free to leave this topic, or join.
arzgi
 
Posts: 337
Joined: 2008-02-21 17:03
Location: Finland

Re: Debian8 - Bumblebee - Vulkan Not Working on both GPU

Postby MSB » 2018-09-13 11:03

arzgi wrote:
MSB wrote:Ok, i get it. I know what you are talking about. I also asked at Deepin Forum. But as i said, i want to take advice from this forum too.

I've faced so many mistakes so far but none of them were specially about to DeepinOS. Solutions were the same as debian solutions. So I'm open to proposals for solutions. But if you don't want to help, i can understand. On the other hand, as i said, Debian solutions are good at this point.

So, you dont need to say that i need to ask my own distro's forum. I know and i did that, but also want to learn here too. So let's forget about deepin. I am using Debian. Please be kind and if you know something helpfull, please help me, or if you dont know something about my problem, you free to leave this topic.


Well, let's start again. This is Debian user forums. Perhaps we could trouble shoot your DeepinOS problem, but then it would be DeepinOS solution, and it might not help Debian users possibly in same kind of situation.

Here has been Ubuntu, Kali, you name it, users asking for help, and always they have been directed to use their own distro's forum. You are persistent.

Anyone is free to leave this topic, or join.


You catched me. Ok, no more persistent.

Anyone is free to leave this topic, or join.
Didnt meant that but nevermind.
MSB
 
Posts: 9
Joined: 2018-06-23 08:07

Re: Debian8 - Bumblebee - Vulkan Not Working on both GPU

Postby Dai_trying » 2018-09-13 11:15

@MSB
The solution is quite simple, you need to install Debian and then try installing and using the packages you require, then if there is an error you could post here and will likely receive appropriate advice.
I have never used Deepin (except briefly in a VM some time ago) so cannot say how much of a difference there is, but needless to say there are differences otherwise you would be using Debian.
It is possible that the solution could be the same for either distro (if the issue arises in Debian [not known currently]) but how can a Debian user be sure the problem arises without installing the packages you have and then trying them out.
Most users here use their experience to help other users but I for one do not want to have to install another distro to troubleshoot something that might not even be a Debian issue...
Dai_trying
 
Posts: 531
Joined: 2016-01-07 12:25

Re: Debian8 - Bumblebee - Vulkan Not Working on both GPU

Postby None1975 » 2018-09-13 12:12

This time, I'll really repeat the last time. As oswaldkelso said some time ago:
Something to be aware of: Debian is a core or source distribution. This means there are many Debian-based distributions. THEY ARE NOT DEBIAN. Their information may or may not be useful or safely applied to Debian. Debian has no way of knowing what has been changed on these systems.
OS: Debian 9.4 / WM: Xmonad
Debian Wiki | DontBreakDebian, My config files in github
Linux User #607425
User avatar
None1975
 
Posts: 627
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Debian8 - Bumblebee - Vulkan Not Working on both GPU

Postby sunrat » 2018-09-13 23:39

There is an Off Topic section here where someone may be willing to help blunder through Deepin issues.
Bumblebee is a kludgy way to get Optimus dual graphics laptops working. There seems to be a specific way to do it but many ways to fail, and documentation is scarce. I would never buy a laptop with Optimus graphics with the intention of running Linux on it.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2429
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Debian8 - Bumblebee - Vulkan Not Working on both GPU

Postby MSB » 2018-09-14 11:40

sunrat wrote:There is an Off Topic section here where someone may be willing to help blunder through Deepin issues.
Bumblebee is a kludgy way to get Optimus dual graphics laptops working. There seems to be a specific way to do it but many ways to fail, and documentation is scarce. I would never buy a laptop with Optimus graphics with the intention of running Linux on it.


Thanks for advise, i'll try off-topic section with same information.
MSB
 
Posts: 9
Joined: 2018-06-23 08:07

Next

Return to Offtopic

Who is online

Users browsing this forum: No registered users and 1 guest

fashionable