<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:bas@basnieuwenhuizen.nl" title="Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>"> <span class="fn">Bas Nieuwenhuizen</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - vkcube renders too brightly on radv"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110480">bug 110480</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>NOTABUG
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - vkcube renders too brightly on radv"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110480#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - vkcube renders too brightly on radv"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110480">bug 110480</a>
from <span class="vcard"><a class="email" href="mailto:bas@basnieuwenhuizen.nl" title="Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>"> <span class="fn">Bas Nieuwenhuizen</span></a>
</span></b>
<pre>Okay, looks like there is
<a href="https://github.com/KhronosGroup/Vulkan-Tools/blob/master/cube/cube.c">https://github.com/KhronosGroup/Vulkan-Tools/blob/master/cube/cube.c</a>
This demo picks the first surface format provided by the driver.
Looking at AMDVLK (with vulkaninfo, under "Presentable Surfaces"):
GPU id : 0 (Radeon RX Vega)
Surface type : VK_KHR_xcb_surface
Formats: count = 2
B8G8R8A8_UNORM
B8G8R8A8_SRGB
Looking at radv:
GPU id : 0 (AMD RADV VEGA10 (LLVM 9.0.0))
Surface type : VK_KHR_xcb_surface
Formats: count = 2
B8G8R8A8_SRGB
B8G8R8A8_UNORM
So the first format chosen is just different.
Whether any app should choose _SRGB or _UNORM is more complicated (as UNORM
images are typically still interpreted by the windowing system as SRGB, but
_SRGB gives you automatic linear->srgb color conversions during rendering.
Doing one of those conversion typically makes everything all lighter or all
darker)
Closing assuming this is the vkcube you referenced. You'll likely find Intel
has the same behavior as radv.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>