Bug 104290

Summary: Multisampling gives corrupt rendering
Product: Mesa Reporter: maister
Component: Drivers/Vulkan/radeonAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact: mesa-dev
Severity: normal    
Priority: medium    
Version: 17.3   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Noisy output

Description maister 2017-12-16 14:38:52 UTC
Created attachment 136218 [details]
Noisy output

Repro:
https://github.com/ARM-software/vulkan-sdk/tree/master/samples/multisampling

Checkout, build (cmake -DPLATFORM=wayland/xcb) and run ./samples/multisampling/multisampling

There is some weird noise in the output when rendering with multisampling shown in screenshot at certain angles.

GPU: RX470.
I'm not sure which versions are affected, but it affects at least:
Name            : vulkan-radeon
Version         : 17.3.0-2
Description     : Radeon's Vulkan mesa driver

as packaged in Arch.
Comment 1 maister 2017-12-16 14:39:52 UTC
./samples/rotating_texture/rotating_texture is basically the exact same thing, but does not have this issue.
Comment 2 Bas Nieuwenhuizen 2017-12-29 23:21:38 UTC
This should be fixed by

commit cebc9a119d44cb5b2b3bd5e262452e112b75fea2
Author: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Date:   Mon Dec 25 14:27:28 2017 +0100

    radv: Flush caches before subpass resolve.
    
    Fixes: f4e499ec791 "radv: add initial non-conformant radv vulkan driver"
    Reviewed-by: Dave Airlie <airlied@redhat.com>

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.