[Bug 61227] The QXL driver reports X1R5G5B5 on XP instead of R5G6B5

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 21 08:23:01 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=61227

--- Comment #3 from Francois Gouget <fgouget at codeweavers.com> ---
Created attachment 75260
  --> https://bugs.freedesktop.org/attachment.cgi?id=75260&action=edit
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)!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-bugs/attachments/20130221/e50497db/attachment.html>


More information about the spice-bugs mailing list