<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - The QXL driver reports X1R5G5B5 on XP instead of R5G6B5"
href="https://bugs.freedesktop.org/show_bug.cgi?id=61227#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - The QXL driver reports X1R5G5B5 on XP instead of R5G6B5"
href="https://bugs.freedesktop.org/show_bug.cgi?id=61227">bug 61227</a>
from <span class="vcard"><a class="email" href="mailto:fgouget@codeweavers.com" title="Francois Gouget <fgouget@codeweavers.com>"> <span class="fn">Francois Gouget</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=75260" name="attach_75260" title="Direct3D9 test executable and source">attachment 75260</a> <a href="attachment.cgi?id=75260&action=edit" title="Direct3D9 test executable and source">[details]</a></span>
Direct3D9 test executable and source
My (possibly flawed) understanding is that this is not a format that
IDirect3D8::EnumAdapterModes() is supposed to claim is supported. I'm still
checking on that though.
Another point however comes from a similar Direct3D 9 test which is also
failing: although IDirect3D9::EnumAdapterModes(X1R5G5B5) returns a bunch of
results, IDirect3D9::CheckDeviceType() refuses that format. So there's an
inconsistency here.
This inconsistency is also present for X8R8G8B8 though.
I have attached the corresponding Direct3D9 test. Here is what it returns:
Vendor 6966, Device 256, SubSys 285219572, Revision 3
Driver = qxldd.dll
Description = Red Hat QXL GPU
R5G6B5: is not supported (D3DERR_INVALIDCALL)
X1R5G5B5: is supported
Mode 0: 640 x 480 @ 100Hz format X1R5G5B5
...
*** error: CheckDeviceType(hal, fullscreen) refused this format anyway
(D3DERR_NOTAVAILABLE)!
*** error: CheckDeviceType(hal, windowed) refused this format anyway
(D3DERR_NOTAVAILABLE)!
*** error: CheckDeviceType(sw, fullscreen) refused this format anyway
(D3DERR_NOTAVAILABLE)!
*** error: CheckDeviceType(sw, windowed) refused this format anyway
(D3DERR_NOTAVAILABLE)!
X8R8G8B8: is supported
Mode 0: 640 x 480 @ 100Hz format X8R8G8B8
...
*** error: CheckDeviceType(hal, fullscreen) refused this format anyway
(D3DERR_NOTAVAILABLE)!
*** error: CheckDeviceType(hal, windowed) refused this format anyway
(D3DERR_NOTAVAILABLE)!
*** error: CheckDeviceType(sw, fullscreen) refused this format anyway
(D3DERR_NOTAVAILABLE)!
*** error: CheckDeviceType(sw, windowed) refused this format anyway
(D3DERR_NOTAVAILABLE)!</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>