Developing Games on Intel Graphics
If you are gaming on graphics integrated in your Intel Processor, this is the place for you! Find answers to your questions or post your issues with PC games
489 Discussions

support VK_direct_mode_display for vulkan?

D__J
Beginner
917 Views

I was thinking with vulkan samples and found that there was a compile option for linux to enable direct to display extension.  I have an intel GPU on my linux box and it results that it cannot find the extension.  

doing some digging tonight I found that nVIdia released a driver in May 2017 that supports it...

http://news.softpedia.com/news/nvidia-381-22-video-driver-supports-newer-linux-kernels-more-vulkan-extensions-515570.shtml

 

This is the extension name in vulkan headers...

https://github.com/ARM-software/vulkan-sdk/blob/master/include/vulkan/vulkan.h#L3379

https://www.khronos.org/registry/vulkan/specs/1.0-extensions/html/vkspec.html#VK_EXT_direct_mode_display

Vulkan samples referencing said extension...

https://github.com/SaschaWillems/Vulkan/blob/master/base/vulkanexamplebase.cpp#L35 ; (
https://github.com/SaschaWillems/Vulkan/blob/master/base/VulkanSwapChain.hpp#L514  ;

Please Add support for vulkan direct to display?  I have a framework already that works as a window driver that doesn't require X... it can work with just framebuffer, but would really like to leverage 3D and accelerated 2D output which OpenGL Never was able to support.  
was just testing on my router which is able to run Vulkan samples through wayland, my next attempt was going to be on my Intel NUC; but realized it had intel chip too... so I started digging to see if it was just a driver issue, and have only found reference to nVidia supporting said mode.  

0 Kudos
3 Replies
D__J
Beginner
917 Views

Noone reads these?

0 Kudos
Michael_C_Intel2
Employee
917 Views

For questions and issues with the Mesa driver, your best options are:

I suggest that you open a Bugzilla ticket with the information in this post. The team will probably then ask you a lot of clarifying questions (OS? gpu pci id? Mesa version? etc etc).

Also, it's often helpful to directly contact the owner of the Mesa package for your Linux distribution. Sometimes the package owner is very familiar with frequent bugs that are specific to that distribution. On RPM based distros, such as Fedora, you can find the packager by examining the package's changelog with this command: `rpm -q --changelog mesa-libGL`. On Debian based distros, such as Ubuntu, I think the apt-cache command gives you the needed info.

0 Kudos
D__J
Beginner
917 Views

Thank you for the additional avenues to pursue this :)

0 Kudos
Reply