Bug 104290 - Multisampling gives corrupt rendering
Summary: Multisampling gives corrupt rendering
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Vulkan/radeon (show other bugs)
Version: 17.3
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-16 14:38 UTC by maister
Modified: 2017-12-29 23:21 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Noisy output (200.07 KB, image/png)
2017-12-16 14:38 UTC, maister
Details

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.