crosire / d3d8to9

A D3D8 pseudo-driver which converts API calls and bytecode shaders to equivalent D3D9 ones.
BSD 2-Clause "Simplified" License
875 stars 77 forks source link

Screen tearing on Windows 10 #85

Closed MartinBFFan closed 5 years ago

MartinBFFan commented 5 years ago

Well... I tried the wrapper with several older games and I found out that when I install the wrapper, I get enormous amounts of screen tearing on some of them, which is not present if I play the game without the wrapper. I have observed this mostly on the games made by Novalogic such as Comanche 4 or Delta Force : Black Hawk Down, but can also appear on several other games.

elishacloud commented 5 years ago

I have not seen this issue. However I have not tested any of those particular games either. I did review the code a bit and it seems we properly handle vsync.

Can you list other games that you see this on? I don't have Comanche 4 or Delta Force : Black Hawk Down.

MartinBFFan commented 5 years ago

I have also noticed it on Star Wars Starfighter and possibly Splinter Cell.

elishacloud commented 5 years ago

Can you try this one? d3d8.zip

I changed the presentation level to force it to be D3DPRESENT_INTERVAL_ONE rather than D3DPRESENT_INTERVAL_DEFAULT.

MartinBFFan commented 5 years ago

Yes. It works. There is no more screen tearing.