Summary: | The QXL driver reports X1R5G5B5 on XP instead of R5G6B5 | ||
---|---|---|---|
Product: | Spice | Reporter: | Francois Gouget <fgouget> |
Component: | win32 qxl xddm | Assignee: | Spice Bug List <spice-bugs> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | bugzilla |
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Windows (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Test executable and source
Direct3D8 test executable and source Direct3D9 test executable and source |
Description
Francois Gouget
2013-02-21 11:47:51 UTC
What is the actual problem with X1R5G5B5? Not saying this is not a bug, I just want to know what the implications of this are. Created attachment 75248 [details]
Direct3D8 test executable and source
Fix attachment so it has the correct MIME type.
Created attachment 75260 [details]
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)!
(In reply to comment #1) > What is the actual problem with X1R5G5B5? Not saying this is not a bug, I > just want to know what the implications of this are. The Wine tests are probably just a bit too restrictive here, but on the other hand it's pretty uncommon for drivers to expose X1R5G5B5 instead of R5G6B5. If there's no particular reason to prefer one over the other, you may want to consider exposing the more common R5G6B5 format instead. Not sure if we should support windows xp at this point: http://windows.microsoft.com/en-us/windows/end-support-help |
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.