iXit / wine-nine-standalone

Build Gallium Nine support on top of an existing WINE installation
GNU Lesser General Public License v2.1
272 stars 23 forks source link

GTA San Andreas failing to launch and Battlefield 2 terrain bug on 0.7 release. #94

Open tegarrinantoro opened 3 years ago

tegarrinantoro commented 3 years ago

After I clicked "ok" on the resolution, the game window for San Andreas doesn't show up and there's no sound, but the process is still active once I checked on htop. Game version is originally from my windows installation from Rockstar Launcher but then I downgraded to 1.0 in order to play multiplayer. The game works very well both on Windows 10 as well as WINE with latest DXVK. Screenshot from 2021-01-22 15-21-59

Battlefield 2 (v1.5) on the other hand, launched but then once I got in-game the terrain is completely gone. The game is patched with the BF2Hub for multiplayer, also works well on Windows and WINE with DXVK. Screenshot from 2021-01-22 15-25-43 Here's a screenshot that I took from a local bot match in Gulf of Oman map. Screenshot from 2021-01-22 15-27-21

PC is an Acer Aspire 3 A315-41 with the Ryzen 5 2500U and Vega 8, the driver is the latest one from Oibaf (Mesa 21.1.0-devel (git-96d7555 2021-01-22 groovy-oibaf-ppa). Ubuntu 20.10 and WINE 6.0. Please let me know if you guys need more data.

dhewg commented 3 years ago

About GTA, can you please paste a verbose debug log when this is happening? WINEDEBUG=d3d9nine wine ...

The battlefield issue sounds like a job for @axeldavy though :)

dungeon007 commented 3 years ago

GTA SA 1.0 AFAIR, if not else, dislike vblank_mode 0 and 3 in relation to game frame limiter... https://www.pcgamingwiki.com/wiki/Grand_Theft_Auto:_San_Andreas

Battlefield 2... recently spot that this happens even on Windows if Ryzen APUs https://www.youtube.com/watch?v=Z0YboVSSfoA By the end of video there on GTA 5, vblank off and voila. Just a guess, as recent WINE more and more bahave like win10, it isnt unexpected to see similar issues related to vblank modes.

dungeon007 commented 3 years ago

Just a guess that a vblank is forced on or forced off, as sometimes that is not smart thing to do then default is none of these. Could be a huge story how feature became a bug or vice versa, but i will stop right there 🤣

BailShamber commented 2 years ago

Well the issue with Battlefield 2 has been fixed in dxvk and is stated to be "bad z-pass": https://github.com/doitsujin/dxvk/issues/1558 Last commit involving the game: https://github.com/doitsujin/dxvk/commit/6b431851da9e3694bf4e03702dc662ce92139fcd