Bug 106570

Summary: support VK_direct_mode_display for vulkan?
Product: Mesa Reporter: d3ck0r
Component: Drivers/Vulkan/CommonAssignee: Keith Packard <keithp>
Status: RESOLVED MOVED QA Contact: mesa-dev
Severity: enhancement    
Priority: medium CC: airlied, chadversary, d3ck0r, daniel, jason
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description d3ck0r 2018-05-18 22:47:28 UTC
Referred here by... https://software.intel.com/en-us/comment/1922423#comment-1922423

-------------

I was tinkering 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...

 

This is the extension name in vulkan headers...

https://github.com/ARM-software/vulkan-sdk/blob/master/include/vulkan/vu...

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

Vulkan samples referencing said extension...

https://github.com/SaschaWillems/Vulkan/blob/master/base/vulkanexampleba...  (
https://github.com/SaschaWillems/Vulkan/blob/master/base/VulkanSwapChain...  

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.  

------
Comment 1 Jason Ekstrand 2018-05-18 22:56:10 UTC
It's already in progress.  Patches exist and are under review.  The latest version, if you want to experiment with it, is in the drm-lease-v3 branch here:
https://cgit.freedesktop.org/~keithp/mesa/  Ignore the drm-lease-v4 branch, it's actually older.
Comment 2 GitLab Migration User 2019-09-18 18:13:04 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/177.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.