iXit / Mesa-3D

Please use official https://gitlab.freedesktop.org/mesa/mesa/ !
https://github.com/iXit/Mesa-3D/wiki
66 stars 13 forks source link

Machinarium black screen regression. #336

Open iiv3 opened 5 years ago

iiv3 commented 5 years ago

The bug happens with upstream mesa git.

I'll do a regression search later.

I'm uploading two traces:

  1. A trace made with Nine. When it is replayed with WineD3D, it fails with:

    01a2:fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported.
  2. A trace with WineD3D, when it is replayed with Nine, it works flawlessly.


Edit: I'm saying it is a regression because I've played the game under Linux. According to the savegame the last change is around November 2016. I installed Mesa-11.2.2 that dates at May 2016 and it doesn't work. (that's distro package). My current oldest binary build package is Mesa-17.1.4 from July 2017.

It is very likely that the regression might not be in Mesa, but in Xorg, or Steam Overlay.

iiv3 commented 5 years ago

It looks like the regression comes from Wine. The following workaround seems to work for a number of games, including Machinarium:

[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"Renderer"="gdi"

However with that setting wined3d stops working.