Bug 110655 - VK_LAYER_MESA_OVERLAY_CONFIG=draw,fps renders sporadically
Summary: VK_LAYER_MESA_OVERLAY_CONFIG=draw,fps renders sporadically
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Vulkan/Common (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-09 13:53 UTC by Jan Ziak (http://atom-symbol.net)
Modified: 2019-06-11 16:02 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Jan Ziak (http://atom-symbol.net) 2019-05-09 13:53:55 UTC
Hello.

I am encountering issues with the Vulkan overlay with a Radeon card. With some config options the overlay renders each frame, while with other config options it renders only sometimes/sporadically.

A command-line where it renders each frame:

$ VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay \
VK_LAYER_MESA_OVERLAY_CONFIG=submit,draw,pipeline_graphics \
~/apps/vulkan-demos/bin/triangle

A command-line where it renders sporadically:

$ VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay \
VK_LAYER_MESA_OVERLAY_CONFIG=draw,fps \
~/apps/vulkan-demos/bin/triangle

$ glversion 
4.5 (Core Profile) Mesa 19.2.0-devel (git-8b3baa2744)
AMD Radeon (TM) RX 470 Graphics (POLARIS10, DRM 3.30.0, 5.1.0, LLVM 8.0.0)

vulkan-demos: https://github.com/SaschaWillems/Vulkan
Comment 1 Lionel Landwerlin 2019-05-09 13:58:55 UTC
Thanks, looks like it's incorrectly reusing semaphores.
Will fix.
Comment 2 Lionel Landwerlin 2019-05-09 17:02:50 UTC
https://bugs.freedesktop.org/show_bug.cgi?id=110655
Comment 3 Lionel Landwerlin 2019-05-09 17:03:17 UTC
(In reply to Lionel Landwerlin from comment #2)
> https://bugs.freedesktop.org/show_bug.cgi?id=110655

Derp... https://gitlab.freedesktop.org/mesa/mesa/merge_requests/853/
Comment 4 Jan Ziak (http://atom-symbol.net) 2019-05-09 17:34:53 UTC
(In reply to Lionel Landwerlin from comment #3)
> https://gitlab.freedesktop.org/mesa/mesa/merge_requests/853/

I confirm that the patch resolves the issue. Thanks.
Comment 5 Juan A. Suarez 2019-06-11 16:02:15 UTC
Mesa 19.1.0 has been released, which includes the fixes for this issue.


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.