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

[bisected] Black screen when using multimonitors, works with only one monitor #342

Open sarnex opened 5 years ago

sarnex commented 5 years ago

Hi all,

I am running into a bug when using wine from iXit/wine and multimonitors.

The demo app is textured_quad.exe from: http://www.drunkenhyena.com/cgi-bin/view_cpp_article.pl?chapter=2;article=30

GPU is Vega 64, using Mesa git and Kwin.

I have two monitors.

I bisected this to: https://github.com/iXit/wine/commit/3304969be6d8be1d109e82f66d95aa4bc472f0f3

Of course, wined3d9 works in all cases.

1: Log with two monitors (black screen in app): https://paste.pound-python.org/show/kgYNnQoMaz9IIdVscVNH/

2: Log with working image using old version of my patches: https://paste.pound-python.org/show/GhJ5CqHNfoECPzeCCfat/

3: Log with new patches but second monitor disabled (correct image in app): https://paste.pound-python.org/raw/XyGGEqk5LWqGheiEYaYt/

Diff between 3 (left) and 1(right): https://www.diffchecker.com/hiGM2KRX

Please let me know if you have any ideas or patches.

Thanks, Sarnex

lorenz commented 5 years ago

I'm hitting the same issue, seems to be something with the presentation. The picture is offset in x and y by something like 10px on one monitor, but when I'm running my usual setup with 3 monitors, the whole screen is black. So it's probably being drawn, but just not in the right place.

dhewg commented 5 years ago

Same bug as reported in iXit/wine-nine-standalone#3, which I fixed over there with https://github.com/iXit/wine-nine-standalone/commit/f286909a92573dcadb8bcc1586108154711936f2

lorenz commented 5 years ago

I rebuilt wine-nine-standalone and can confirm this is fixed. Thanks :+1:

sarnex commented 5 years ago

@dhewg Thanks, can you backport this to here? I need to use this repo to generate my patches.