Created attachment 142757 [details]
Screenshot showing a glitch
This is a bug about a game run in wine. I've already submitted a wine bug, but after a lot of testing I assume it's more likely a mesa bug.
When played, the game as flickering/glitches where sometimes an old scene is partially shown over the current scene.
What I found out so far:
- apitrace always plays back perfectly fine
- "LIBGL_ALWAYS_SOFTWARE=1 wine grisaia" makes the issue disappear.
- slowing wine down with "WINEDEBUG=+relay" log spam makes the issue disappear
- "vblank_mode=0" makes the issue disappear (when not in fullscreen)
- LIBGL_DRI3_DISABLE=1 makes the issue go away
- usage of gallium nine makes the issue disappear
As I said, not sure where the fault is, but I can provide more information if needed.
There's also a demo if you want to reproduce yourself: http://suezou.dyndns.org/dl2010/frontwing/gurizaia/Grisaia_trial_web.zip (700MB and might take a while to download)
Guide to test:
0) Get the demo
1) Click through the installation. It installs to "C:\frontwing\SomeJapaneseFolder"
2) run wine "Grisaia", it opens a dialog where you should click the right option (windowed mode)
3) in the main menu click the first option, and then any of the scenes you can select.
4) Press left-ctrl to fast-forward or the mouse to advance
5) 5) Screen tearing is pretty obvious (see attachments)
System the bug was tested on:
- Arch Linux 64bit
- Linux 4.19.08, AMDGPU driver
- Mesa 17.2.0-devel (git-ccf9669cc1) / Mesa 17.0.5
- Radeon R9 285
- KDE Plasma 5 with OpenGL compositor and regular X session
Created attachment 142758 [details]
Screenshot showing the issue, looking like tearing
Created attachment 142759 [details]
Screenshot showing it's not normal tearing
What I assume would help (like I said in the wine bug report), if it was tested with other drivers. Sadly apitrace doesn't reproduce the problem, so it's a lot more effort - and I don't have other drivers/hardware to test with.
(In reply to Fabian Maurer from comment #0)
> System the bug was tested on:
> - Arch Linux 64bit
> - Linux 4.19.08, AMDGPU driver
> - Mesa 17.2.0-devel (git-ccf9669cc1) / Mesa 17.0.5
> - Radeon R9 285
> - KDE Plasma 5 with OpenGL compositor and regular X session
Please test with a more recent version of Mesa before reporting bugs, otherwise you are just wasting the time of developers (we already have limited resources). You have an extremely odd setup, cutting edge Kernel with obsolete Mesa versions (almost 2 years old).
Please retest with Mesa git or at the very least Mesa 18.3.
Sorry, that's was a C&P bug.
I'm running mesa 18.3.0-1 and tested with 106052.95d62baac5-git.
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1347.