[d3d10core/tests] Fix a test failure when no adapters are present

Paul Vriens paul.vriens.wine at gmail.com
Thu Jan 28 10:30:02 CST 2010

On 01/28/2010 05:14 PM, Henri Verbeet wrote:
> Paul Vriens wrote:
>> Hi,
>> On VMware with the "Standard VGA" adapter and on VirtualBox there are no
>> adapters returned when enumerating.
>> I didn't use broken() as 'no adapters' seems somehow a valid return
>> (added Henri to the cc: to prove me wrong). There is a skip() anyway if
>> the creation failed.
>> There will be a patch for dxgi as well along these same lines but I'm
>> waiting for responses on this one.
> This issue has come up before, and although it's a valid return value it
> still seems suspicious that VMware / VirtualBox would claim the system
> has no graphics adapters. If someone could figure out the reason for
> that it would be appreciated. I also seem to remember this being unique
> to Windows 7. That said, in principle the patch is ok with me.

Well, it's Windows 7 and Windows 2008.

The various VMware graphics drivers all act a bit differently. VMware 
drivers are getting better and in theory it's possible to enable 
"Accelerate 3D Graphics" on several platforms but that leads to crashes 
(the whole guest that is) for one or more of the ddraw tests. So the 
drivers are not there yet I guess.

Doesn't the DXGI_ERROR_NOT_FOUND return value tell us there is no D3D10 
capable adapter (instead of any adapter)?



More information about the wine-devel mailing list