[Bug 32835] Batman: Arkham Asylum (non-Steam) Demo fails on startup (IWbemClassObject::GetNames with qualifier unsupported)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Mar 24 19:06:12 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=32835

--- Comment #7 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

just an addendum for documentation purpose.

The launcher also evaluates various NVIDIA driver related features (shader
versions, supported MSAA levels etc.) and might show the following message:

--- snip ---
002a:Call user32.MessageBoxW(00000000,01155d20 L"Your NVIDIA(TM) Graphics
Driver is not up to date - for the best in-game experience, we recommend that
you update your driver",790d6590 L"",00000000) ret=04b1368b 
--- snip ---

This is a failing check on the reported NVIDIA driver version (albeit with no
consequences).

You can avoid that message by setting WinVer to 'Windows 7' resulting in
wined3d driver_os_version = 8 (and later based on that a proper
driver_info.version_high/version_low).

--- snip ---
Wine-dbg>bt
Backtrace:

=>0 0x7daf65b9 init_driver_info+0x68e(driver_info=0x33bfb60,
vendor=HW_VENDOR_NVIDIA, device=CARD_NVIDIA_GEFORCE_8800GTX)
[/home/focht/projects/wine/wine.repo/src/dlls/wined3d/directx.c:1514] in
wined3d (0x0033dc38)
...

Wine-dbg>p *driver_info
{vendor=HW_VENDOR_NVIDIA, device=CARD_NVIDIA_GEFORCE_8800GTX,
name="nvd3dum.dll", description="NVIDIA GeForce 8800 GTX", vidmem=0x30000000,
version_high=0x8000f, version_low=0xc1a02}
--- snip ---

The actual app .NET code containing the check, decompiled (Manager = managed
Direct3D wrapper):

--- snip ---
private void CheckNVDriver()
{
    this.recommendNewNVDriver = false;
    if (Manager.get_Adapters().get_Count() == 0)
    {
        return;
    }
    if (4318 !=
Manager.get_Adapters().get_Item(0).get_Information().get_VendorId())
    {
        return;
    }
    Version driverVersion =
Manager.get_Adapters().get_Item(0).get_Information().get_DriverVersion();
    Version v = new Version(8, 15, 11, 8618);
    if (driverVersion < v)
    {
        this.recommendNewNVDriver = true;
    }
}
--- snip ---

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list