Author Topic: Has someone been able to run vulkan on an optimus pc?  (Read 582 times)

0 Members and 1 Guest are viewing this topic.

Offline eduardo

  • Sr. Mitglied
  • ****
  • Posts: 316
  • Branch: testing
  • Desktop: KDE plasma 5
  • GPU Card: Intel HDGraphics 4400 / Nvidia Geforce 960M
  • GPU driver: non-free on nvidia
  • Kernel: linux44, linux45_RC
  • Skill: Novice
Hello, I have issues running vulkan programs on manjaro, I have tried with vulkan demos on wine (since to try linux native demos is needed to compile and etc), and also with The talos principle. But, with none of those vulkan works at all, so I want to know if someone succeeded (using bumblebee), and how?

Offline eduardo

  • Sr. Mitglied
  • ****
  • Posts: 316
  • Branch: testing
  • Desktop: KDE plasma 5
  • GPU Card: Intel HDGraphics 4400 / Nvidia Geforce 960M
  • GPU driver: non-free on nvidia
  • Kernel: linux44, linux45_RC
  • Skill: Novice
Re: Has someone been able to run vulkan on an optimus pc?
« Reply #1 on: 08. May 2016, 06:09:49 »
Seems to be than bumblebee doesnt support Vulkan at all. To prove it, here is part of the log of the talos principle, this is when its running opengl

Code: [Select]
21:56:54 INF:  Gfx API: OpenGL
21:56:54 INF:  Resolution: 1920 x 1080
21:56:54 INF:  Vendor: Intel (0x8086)
21:56:54 INF:  Driver: NVIDIA Corporation (0x0416)
21:56:54 INF:  Renderer: GeForce GTX 960M/PCIe/SSE2
21:56:54 INF:  Version: 4.5.0 NVIDIA 364.19
21:56:54 INF:  Video memory size: 2048 MB
21:56:54 INF:  Available for textures: 2048 MB
21:56:54 INF:  Shader model version: 5.0
21:56:54 INF:  Active GPU(s): 1
21:56:54 INF:  GPU architecture: forward conventional rendering
21:56:54 INF:  Allowed memory size used for streaming: 1536.0 MB
21:56:54 INF:  Unable to check for correct version of display driver!
21:56:54 LOG:  Processing file Content/Talos/Config/SystemCompatibility.lua
21:56:54 LOG:  Loaded "/media/DocumentosEXT4/SteamLibrary/steamapps/common/The Talos Principle/Bin/x64/SfxOAL.so".
21:56:54 LOG:  Loaded "libopenal.so.1".
21:56:54 TRC:  EAX is not supported.
21:56:54 LOG:  Loaded "/media/DocumentosEXT4/SteamLibrary/steamapps/common/The Talos Principle/Bin/x64/SfxSWM.so".
21:56:54 WRN:  Unknown number of speakers, defaulting to stereo output
21:56:54 LOG:  Initialized mixer output with 2 output channels.
21:56:54 LOG:  Created thread 003786B84D7F0000(SoftwareMixer).
21:56:54 INF:  Failed setting thread priority. (Error: 13 - Permission denied)

and here when I try to run the game with the vulkan renderer (primusrun (bumblebee) is being used of course)

Code: [Select]
21:57:09 INF:  Gfx API: Vulkan
21:57:09 INF:  Resolution: 1920 x 1080
21:57:09 INF:  Vendor: Intel (0x8086)
21:57:09 INF:  Driver: Vulkan (0x0416)
21:57:09 INF:  Renderer: Intel(R) Haswell Mobile
21:57:09 INF:  Version: 1
21:57:09 INF:  Video memory size: 1517 MB
21:57:09 INF:  Available for textures: 758 MB
21:57:09 INF:  Shader model version: 5.0
21:57:09 INF:  Active GPU(s): 1
21:57:09 INF:  GPU architecture: forward conventional rendering
21:57:09 INF:  Allowed memory size used for streaming: 758.0 MB
21:57:10 LOG:  Create prepared shaders took 1.09 seconds
21:57:10 LOG:  Created HDR render-target of 1920x1080.
21:57:10 INF:  Crash! (Segmentation fault)

So here it is

Offline eduardo

  • Sr. Mitglied
  • ****
  • Posts: 316
  • Branch: testing
  • Desktop: KDE plasma 5
  • GPU Card: Intel HDGraphics 4400 / Nvidia Geforce 960M
  • GPU driver: non-free on nvidia
  • Kernel: linux44, linux45_RC
  • Skill: Novice
Re: Has someone been able to run vulkan on an optimus pc?
« Reply #2 on: 13. May 2016, 02:27:23 »
I discovered than bumblebee doesnt support vulkan, and since there is not an easy way to enable prime on manjaro I guess than the distro just doesnt support vulkan if you use optimus