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(a)winehq.org Reporter: qsniyg(a)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/d969a2c6d9f10500c0adfe83ad034a7d41fd... 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.