Repository navigation
Tags
Tags
STEAMOS: nvk: Use the same hash as pipeline cache for disk_cache_create This should make things consistent and make disk caches respect NVK_BUILD_ID_OVERRIDE when set. Signed-off-by: Mary Guillemard <mary@mary.zone>
radv: fix the error code when allocating a pool entry failed
The previous allocator returned VK_ERROR_OUT_OF_POOL_MEMORY. But the
Vulkan spec says:
"VK_ERROR_FRAGMENTED_POOL A pool allocation has failed due to
fragmentation of the pool’s memory. This must only be returned if
no attempt to allocate host or device memory was made to
accommodate the new allocation. This should be returned in
preference to VK_ERROR_OUT_OF_POOL_MEMORY, but only if the
implementation is certain that the pool allocation failure
was due to fragmentation."
So, VK_ERROR_FRAGMENTED_POOL should be returned only when the VMA
allocator can't allocate.
Fixes: 849d41d ("radv: implement a new descriptor sets allocator")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/45169>
(cherry picked from commit 02e641812d7dbeaacea834b7c2365aac5d29459e)
radv: add radv_disable_binning_gfx11 and enable for Sunset Overdrive To workaround a hw bug until a proper solution is found. Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
radv: Prefer STRUCTURED OOB over STRUCTURED_OFFSET for texel buffers. Works around a game bug in IL-2: Korea that works on D3D12 AMD native drivers. Also aligns OOB behavior with pre-gfx10 which is useful to avoid implementation variance when debugging games. Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/43672> (cherry picked from commit 2c9073912232b93eb9b60486edbd72d53e5f3d26)
STEAMOS: radv: add radv_disable_global_bo_list and enable it for Game… …scope This fixes stuttering caused by GFX bubbles when a BO is both shared with the application and Gamescope. This is because AMDGPU requires to sync all DMA fences attached to the DMA-buf. The workaround is just to disable the global BO list by default for Gamescope because it doesn't need any features that require it. Writing a proper fix would be hard but for the time being this should be just fine. Related SteamOS ticket holo-team/tasks#2011 Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
radv: add a workaround for broken multi viewport with UE5 UE5 (reproduced with 5.4 but it seems all 5.x versions are affected) implements multi viewport incorrectly. See the comment below for more explanations. This has been reported in the SteamOS tracker here https://gitlab.steamos.cloud/holo-team/tasks/-/work_items/2253. This has been uncovered since 9a07ccb ("radv: fix emitting dynamic viewports/scissors when the count is static") but it's definitely an application bug. Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/43505> (cherry picked from commit 0df67d43c8159854ef5e1b45155542a977666b72)
radv: add a workaround for broken multi viewport with UE5 UE5 (reproduced with 5.4 but it seems all 5.x versions are affected) implements multi viewport incorrectly. See the comment below for more explanations. This has been reported in the SteamOS tracker here https://gitlab.steamos.cloud/holo-team/tasks/-/work_items/2253. This has been uncovered since 9a07ccb ("radv: fix emitting dynamic viewports/scissors when the count is static") but it's definitely an application bug. Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
STEAMOS: radv: add radv_disable_global_bo_list and enable it for Game… …scope This fixes stuttering caused by GFX bubbles when a BO is both shared with the application and Gamescope. This is because AMDGPU requires to sync all DMA fences attached to the DMA-buf. The workaround is just to disable the global BO list by default for Gamescope because it doesn't need any features that require it. Writing a proper fix would be hard but for the time being this should be just fine. Related SteamOS ticket https://gitlab.steamos.cloud/holo-team/tasks/-/work_items/2011 Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
radv: disable VRS for flat shading with MSAA 8X to prevent GPU hangs … …on GFX11 Cc: mesa-stable Closes: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/15081 Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42433> (cherry picked from commit 298cdd0)
PreviousNext