Using prime output in multi-monitor setup, wine windows don't refresh in certain areas

I’m running a GTX 1070 with a 6600k that has HD 530 graphics. My 1070 has two dvi ports, 1 hdmi, and 1 dp. I moved the hdmi and dp monitors over to the intel outputs and set up prime output mode because I wanted to leave the dGPU ports open for connecting my HTC Vive. A screenshot of my layout is attached.

So the total X screen size is 5200x2640. In wine applications, any part of the window to the right of the 4000px mark does not refresh. All other non-wine applications render correctly on any part of the screen.

This is on driver 378.13, kernel 4.9.11, kwin 5.9.3. I use wine apps daily and this never happened until I switched to the prime output config.


nvidia-bug-report.log.gz (158 KB)