Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Justin on February 12, 2023, 07:37:00 pm

Title: Artifacts on screen with Windows 10 unless triple buffering.
Post by: Justin on February 12, 2023, 07:37:00 pm
So, I had win7 running mame 0.251 and all was fine.
Upgraded to win 10 and using the exact same settings and hardware, there is an issue with triple buffer OFF apparently creating some awful artifacts on screen.

Normally not an issue because I keep triple buffer On, however I think most would know now by now that BGFX does not support triple buffer (you can set it on but it does nothing) therefore this new issue is unavoidable with BGFX.  If you run any shader method WITH triple buffer the problem goes away.

Anyone else notice it?  I'm running Radeon 4600 series iGPU and I believe it is running under DirectX 12.   (I have dx legacy also installed).

(https://uploads.tapatalk-cdn.com/20230213/9c80bf7916fce26bf133dc462cc9066a.jpg)
Title: Re: Artifacts on screen with Windows 10 unless triple buffering.
Post by: lilshawn on February 14, 2023, 11:50:30 am
could just be a driver issue. i see it all the time in pc gaming. they push out a new version and it goes away...or they push out a new version and weird pixel sparkling and stuff shows up.

might be worth trying to roll it back or forward a version (if you can) and see if it goes away.
Title: Re: Artifacts on screen with Windows 10 unless triple buffering.
Post by: Howard_Casto on February 14, 2023, 10:59:49 pm
It could also be a power issue.   In the past I've noticed some radeon cards artifacting if they have inadequate power.   Probably a driver issue though.  I would also check to see if it's tirple buffering in mame or triple buffering in general with directx applications that make the difference.
Title: Re: Artifacts on screen with Windows 10 unless triple buffering.
Post by: Justin on February 15, 2023, 07:41:22 pm
Thanks Howard and others.

I removed updated the driver to a newer version but same issue.
I removed the driver entirely and allowed the basic non accelerated windows driver to take over and the glitch is gone.
Who knows what's going on.  I'm kinda bummed I cannot use the BGFX shaders.

Another solution would be that they fix/allow for BGFX to make use of triple buffer.  Does anyone know why it's not working?  I'm thinking no one has noticed but I can confirm it's not kicking in (for me at least).

In HLSL triple buffer works.
Title: Re: Artifacts on screen with Windows 10 unless triple buffering.
Post by: lilshawn on February 15, 2023, 09:26:44 pm
the whole bfgx thing is an ongoing shidshow. hope for a fix in a lter mame release is about all you can do at this point then.
Title: Re: Artifacts on screen with Windows 10 unless triple buffering.
Post by: Justin on February 15, 2023, 09:42:59 pm
the whole bfgx thing is an ongoing shidshow. hope for a fix in a lter mame release is about all you can do at this point then.

These are known issues?  I haven't kept up.  Will do a little more digging.  It worked great in Windows 7.
Title: Re: Artifacts on screen with Windows 10 unless triple buffering.
Post by: lilshawn on February 16, 2023, 10:35:02 am
yeah after some cursory digging i've been finding bug reports and whatnot about it. it works then breaks and then works again then breaks. some versions it works as intended, others it breaks it again. sometimes installing the "working" version overtop of an existing non-working one fixes it. sometimes it does not without a clean install.

it's all over the place.