Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#67319 - [vulkan-validation-layers] Do not compile validation layers in Debug mode

Attached to Project: Arch Linux
Opened by Stefano Bonicatti (Smjert) - Saturday, 18 July 2020, 19:11 GMT
Last edited by Laurent Carlier (lordheavy) - Tuesday, 28 July 2020, 05:47 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Laurent Carlier (lordheavy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The validation layers packaged in Arch Linux, version 1.2.146, are compiled in Debug mode.
I don't think this is desirable, since as the validation layers themselves state when used, this adversely affects performance.
```
Validation Performance Warning: [ UNASSIGNED-khronos-Validation-debug-build-warning-message ] Object 0: handle = 0x56201fa03a20, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0x26ac7233 | VALIDATION LAYERS WARNING: Using debug builds of the validation layers *will* adversely affect performance
```

Additional info:
Upstream compiles them with RelWithDebInfo (https://vulkan.lunarg.com/issue/view/5edb053d670a05242fdccc67)

The Arch Linux package was built initially in Release mode, but then it has been changed in Debug mode to get debugging information (https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/vulkan-validation-layers&id=2e17d83f4cfa8a0294d5c0c6d078870dd63738fb).
But as stated above the RelWithDebInfo mode exists, which creates debug info and keeps Release performance.
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Tuesday, 28 July 2020, 05:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  vulkan-validation-layers-1.2.146-2

Loading...