protonscr

`ID2D1Factory4` Interface Not Supported

protonopen
ValveSoftware/Proton#6183 · opened 2022-09-24 by nicebyte · updated 2022-09-30 · 2 comments · github
Nnicebyte 2022-09-24 github

Proton version: experimental
Hardware platform: steam deck

Creating an ID2D1Factory4 always fails with HRESULT 0x80004002 (E_NOINTERFACE), indicating that this interface is not supported.

This means that software that makes use of Direct2D sprite batches cannot run under Proton because d2d sprite batches can only be created using the ID2D1DeviceContext3 interface, which can only be created by ID2D1Device3 interface, which can only be created from ID2D1Factory4 interface. NOTE: Using QueryInterface to obtain the necessary interfaces from more generic COM objects doesn't work either.

Iipr 2022-09-27 github

Do you have example of something that uses this interface? I guess it would be more beneficial "motivation" to get this implemented.

Nnicebyte 2022-09-30 github

I don't - at least nothing that's on steam. Was just trying to get some of my own code running on steam deck.

Error codes