[Bug 46774] New: DDS compression tools crash, possibly due to creating a DirectX context without a window

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Mar 4 12:33:41 CST 2019


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

            Bug ID: 46774
           Summary: DDS compression tools crash, possibly due to creating
                    a DirectX context without a window
           Product: Wine
           Version: unspecified
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: directx-d3d
          Assignee: wine-bugs at winehq.org
          Reporter: qsniyg at mail.com
      Distribution: ---

Both DDSopt ( https://www.nexusmods.com/skyrim/mods/5755/ ) and Oredenator (
https://www.nexusmods.com/skyrim/mods/12801/ ) are unable to be used. DDSopt
soft-crashes before startup, and Ordenator cannot compress textures, both for
the same reason.

This might be because they create a DirectX 9 context without a window attached
to it.

Testing with DDSopt, as it is the simpler of the two, it seems to fail when it
creates the device at this line:
https://github.com/Ethatron/ddsopt/blob/d969a2c6d9f10500c0adfe83ad034a7d41fdef55/io/texture-dds.cpp#L1463

Changing from D3DDEVTYPE_NULLREF to D3DDEVTYPE_HAL doesn't help either.

The error before crashing is this, repeated 5 times (with different values for
the context):

003b:err:d3d:wined3d_adapter_gl_create_context Failed to set pixel format 27 on
device context 0x1f0050.

This is also the error shown with Ordenator as well.

-- 
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