seathasky / FF14-MAC_ModSupport

Alternative method of running FFXIV on Mac with Mod Support.
98 stars 1 forks source link

Bleeding Edge MoltenVK Reporting #16

Open seathasky opened 2 years ago

seathasky commented 2 years ago

Bleeding Edge MoltenVK Reporting

Public Testing Section

Leave feedback, issues etc on MoltenVK testing

Please use the template below!


Example template:


**Your current system/OS:** Apple Macbook M1 Pro / Big sur **Crossover version used:** CX 21 stable **DXVK used:** 1.9 **What version of MoltenVK:** 1.1.6 **Issues experienced in game:** Screen tearing **Positives if any:** Better FPS **Discuss:** Add extra info here
realAbitbol commented 2 years ago

Moltenvk : 1.1.6 Machine : iMac 5k 2017 Radeon 580 8gb Resolution : 1920x1080 OS : Monterey CX : 21 Nightly November 5th dxvk : 1.9.2

Issues : fps is like native but it feels like half fps in game Discuss : best dylib is 1.1.0 by far for my iMac model, looks like they broke something affecting my model in later revisions of MoltenVK

kailred commented 2 years ago

Your current system/OS: Apple Macbook M1 Air, Big Sur. Crossover version used: CX 21 stable full version DXVK used: 1.9 What version of MoltenVK: 1.1.6 Issues experienced in game: None so far, 10 minutes of testing. Positives: FPS from 1.1.4 MoltenVk avg'd 20-30 in busy Limsa Lominsa. FPS from 1.1.6 is currently avg'ing 30-40 in same area. Easy instructions, thank you.

Edit for info: I have updated the bottle to include all the current performance tweaks (except for displaying fps bc I'm not a fan of it). In game, Resolution is at 1920x1080 on an external monitor running Windowed Borderless with Custom settings leaning mid to low (real time reflections off, screen space ambient occlusion off, FXAA on, rest of settings normal/low).

This is the best it's been running yet, the bleeding edge 1.1.6 definitely provided a bump in performance. Also testing with OBS running a test stream concurrently and FFXIV still manages to hover around 30fps, where previously it would tank into the teens or lower while streaming.

seathasky commented 2 years ago

Your current system/OS: Intel 10700k/5700XT Hackintosh

Crossover version used: CX 21, november 10 nightly

DXVK used: 1.9.2

What version of MoltenVK: my compiled 1.1.6

Issues experienced in game: nothing noticable comparing to 1.1.5, 20 min test

Positives if any: In my testing spot where i test performance, i was seeing small gains. Around 5 fps or more.

Discuss: During the progression of this guide and updates to the project, I went from seeing 90 max fps at my testing spot, to 130fps on 1.1.3, to 175 fps on 1.1.5 and now with 1.1.6 seeing the biggest increase yet on my hardware of 180-185 in my testing spot. 1.1.5 with 1.9.2 was the biggest jump for me yet but 1.1.6 def has some improvements over 1.1.5 that are immediately noticeable.

All my tests were in a closed environment(same location in game, no people around, camera angles etc) to keep consistency throughout.

Even though we're compiling these, I figured it might help to also share my own experience 👍🏽

seenasa commented 2 years ago

Your current system/OS: Apple MacBook Pro 16 M1 Max 64GB

Crossover version used: CX 21 trial

DXVK used: 1.9.2

What version of MoltenVK: Bleeding edge

Issues experienced in-game: after replacing the moltenvk file, the game would black screen and crash on startup, is there some setting that I should change to prevent the fatal error after using the bleeding edge build?

Positives if any: Upgrading DXVK yielded about a 10-20fps increase

Discuss: I replaced the new moltenvk file with the backup and the game started running again. The FPS reads really high but can't tell if it's accurate due to the stuttering

Screen Shot 2021-11-12 at 3 31 28 PM
seathasky commented 2 years ago

Your current system/OS: Apple MacBook Pro 16 M1 Max 64GB

Crossover version used: CX 21 trial

DXVK used: 1.9.2

Did you use 1.9.2 DXVK in a different screenhot? @ssalehian0 Your screenshot shows you are on an old build of DXVK: Screen Shot 2021-11-12 at 6 41 57 PM

If so, please try MVK 1.1.6 again with 1.9.2 and leave DXVK backend unchecked after overwritting the .dlls in system32 or it will revert to CX21's native DXVK Screen Shot 2021-11-12 at 6 46 30 PM

seenasa commented 2 years ago

Oh, strange, sorry about that. I followed the instructions to upgrade DXVK, but it still shows an older build

seathasky commented 2 years ago

Oh, strange, sorry about that. I followed the instructions to upgrade DXVK, but it still shows an older build

You should see better performance with 1.1.6mvk and 1.9.2 dxvk combined. just close crossover when you do it and dont turn dxvk backend on

seenasa commented 2 years ago

Oh, strange, sorry about that. I followed the instructions to upgrade DXVK, but it still shows an older build

You should see better performance with 1.1.6mvk and 1.9.2 dxvk combined. just close crossover when you do it and dont turn dxvk backend on

Before I retry the bleeding edge again, I wanted to confirm whether this is now the correct DXVK

Screen Shot 2021-11-12 at 3 57 26 PM
seathasky commented 2 years ago

Before I retry the bleeding edge again, I wanted to confirm whether this is now the correct DXVK Screen Shot 2021-11-12 at 3 57 26 PM

That is correct!

seathasky commented 2 years ago
seathasky commented 2 years ago

Temporarily removed download of Moltenvk 1.1.6 until official is released.

Coming soon!

FleetAdmiralButter commented 2 years ago

Your current system/OS: Apple M1 Pro / macOS 12.1 Public Beta

Crossover version used: CX 21.1 Beta

DXVK used: 1.9.2

What version of MoltenVK: 1.1.4 - anything newer causes a black screen and crash

Resolution: 2560x1440@144Hz

Settings: High (Mac) + High Real-time Reflections + High Grass Quality + High Parallax Occlusion + x16 AF

Issues experienced in game: When using Monterey's Adaptive refresh with my GSync monitor, outdoor lighting in the game has an odd flicker. Works fine once the monitor is locked to 144Hz refresh.

Positives if any: Definitely better performance overall compared to the stock install, but not as major as switching over from the SE client. Am using a slightly outdated MVK though, hopefully the official drop of MVK 1.1.6 works and improves things further.

Discuss: 55-60 FPS in most areas and dungeons. Lowest I've observed is 46FPS around the Limsa Lominsa Aetheryte with many players.

seathasky commented 2 years ago

@FleetAdmiralButter I think due to rosetta translation, you are losing a LOT of performance which is unfortunate. A good option is to use Easyres: http://easyresapp.com/

Lower your desktop to 1080p on the fly and run borderless in game, especially if you are trying to push higher frames on 144hz monitor. That's what I do and averaging 100-200 fps at all times on Mac on High Settings. (On Intel Hackintosh)

seathasky commented 2 years ago

Added Gcenx compiled moltenvk builds to public testing for those who want to test.

You can also find those here: https://github.com/Gcenx/MoltenVK/releases

FleetAdmiralButter commented 2 years ago

Just gave the MoltenVK 1.1.6 release a shot (https://github.com/Gcenx/MoltenVK/releases/tag/v1.1.6) and looks like that's a no-go on M1 Pro as well - it crashes out with the same error as the previous 1.1.5 build. Guess I'l stick with 1.1.4 for now :)

Thanks for the link to Easyres @seathasky, I'll check it out.

DiruSec commented 2 years ago

Your current system/OS: Macbook M1 Air (7-core GPU), macOS 11.6(Big Sur)

Crossover version used: CX 21

DXVK used: 1.9.2

What version of MoltenVK: 1.1.6

Issues experienced in game: Launch the game, got 2 or 3 seconds works normally, then crashed with DirectX fatal error. Works great after downgrade MoltenVK to 1.1.4 but feels some stuttering.

Positives if any: Not feel any since I run the game with DXVK 1.9.2 with MoltenVK 1.1.4 from start.

Discuss: 40~45fps with High(Laptop) at Limsa with 1440x900. Works pretty great.

seathasky commented 2 years ago

It seems that 1.1.4 will still be the go to for M1 users at this time.

seathasky commented 2 years ago

Your current system/OS: Intel 10700k/5700XT Hackintosh

Crossover version used: CX 21, november 10 nightly

DXVK used: 1.9.2

What version of MoltenVK: gcenx's compiled 1.1.6

Issues experienced in game: again, nothing noticeable comparing to 1.1.5 or my compiled version of 1.1.6

Positives if any: get about the same fps in my testing spot between 160-190 Screen Shot 2021-11-16 at 10 24 32 AM

Discuss: the difference between 1.1.5, my 1.1.6 and gcenx 1.1.6 are all the same performance wise on my hardware. I did notice some things while running Delvui plugin. With it, I lose around 15 fps.

All my tests were in a closed environment(same location in game, no people around, camera angles etc) to keep consistency throughout.

cplr commented 2 years ago

Is there an understanding of the difference between your 1.1.6 version and gcenx's 1.1.6? I wasn't able to test yours, only gcenx's, but it's unfortunate that it causes a crash w/ M1.

seathasky commented 2 years ago

MVK 15+ and on isn't properly ready for M1 processers yet. My version and gcenx will make no differences in it working. Mine was unpatched while his is.

On Thu, Nov 18, 2021, 5:27 PM cplr @.***> wrote:

Is there an understanding of the difference between your 1.1.6 version and gcenx's 1.1.6? I wasn't able to test yours, only gcenx's, but it's unfortunate that it causes a crash w/ M1.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/seathasky/FF14-MAC_ModSupport/issues/16#issuecomment-973324286, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGIMSBD52XGNXOA3PH3B23UMV4VNANCNFSM5H35LGBA .

FleetAdmiralButter commented 2 years ago

Your current system/OS: Apple M1 Pro / macOS 12.1 Public Beta

Crossover version used: CX 21.1 Beta

DXVK used: 1.9.2 + Async

What version of MoltenVK: 1.1.6 w/ M1 patch (https://github.com/FleetAdmiralButter/MoltenVK/releases/tag/v1.1.6)

Resolution: 2560x1440@144Hz

Settings: As described in https://github.com/seathasky/FF14-MAC_ModSupport/issues/25#issue-1059037496.

Issues experienced in game: None

Positives if any:

Getting around 55-72 FPS running around Kugane. (The 55FPS was around the market board with other players).

In the Amaurot raid I got between 42-90FPS. Only saw the 42FPS during the massive asteroid explosion at the start, rest of the game was more around 55-70PS.

Similar numbers in the Ala Mhigo raid except the minimums were much higher since there were no map-sized explosions.

Discuss: While average FPS numbers are about the same between 1.1.4 and 1.1.6, the game itself has practically no stutter now, and minimum FPS seems higher too.

Nothing groundbreaking but it is a noticeable improvement overall - nice to see things getting better as these upgrades come out.

DiruSec commented 2 years ago

Your current system/OS: Macbook M1 Air (7-core GPU), macOS 11.6(Big Sur)

Crossover version used: CX 21

DXVK used: 1.9.2-mac-async

What version of MoltenVK: 1.1.6-m1-patched

Issues experienced in game: None

Positives if any: No significant changes between 1.1.4 and 1.1.6 with M1 patched. Just tested at my garden though.

Discuss: No stutter after replaced DXVK with mac-async release. After upgrade MoltenVK to 1.1.6, no significant performance change observed.


And would anyone like to run endwalker benchmark through crossover? It works normally since only the launcher would crash, but benchmark itself wouldn't.

Try this [https://github.com/doitsujin/ffxiv-benchmark-launcher]().

Ceolona commented 2 years ago
Screen Shot 2021-11-25 at 8 41 13 PM

MBA M1 (8 GPU), 12.0.1, CX 21.0, MVK 1.1.6 (I think)

No issues, other than those created by myself.

FPS appears to be capped at 120 FPS. Default settings (Windowed, 720p-ish) show 120 FPS at both minimum and maximum quality at main menu. The chaos at Limsa Lominsa drops it to 35-45.

Generally, I prefer 1440x900 or 1680x1050 and can get a reasonably consistent 60 FPS, depending on settings and region.

RussellAnas commented 2 years ago

Moltenvk : 1.1.6 Machine : Macbook Pro 16" M1 Max Resolution : 1920x1080 OS : Monterey CX : 21 DXVK : 1.9.2

My experience was pretty bad with 1.1.6. Constant stutters every 5 minutes. By stuttering, I literally mean the game completely hanged for a second (including a cut in the background music/sound effects etc.) and then resumed again. The FPS didn't really show a drop. It almost seemed like the game starts buffering again and again.

Went back to 1.1.4 and 95% of stutters were gone, though I still face a few which is surprising since no one here has reported stuttering yet.

I do want to share that I coped my Windows PC FF14 directory into the bottle to avoid the 60+ GB download. I did do an integrity check using XIV launcher after and it reported no issue. I also restored client/character settings using FF14's inbuilt tool (and then just adjusted graphics to 'standard laptop' instead of the ones that I was using on my Windows PC.

Hoping the above info can help. Willing to test further with any other builds etc. too if you guys have an idea what might be up here!

kailred commented 2 years ago

Moltenvk : 1.1.6 patched m1 Machine : Macbook Air M1 2020 Resolution : 1920x1080 OS : Monterey CX : 21 DXVK : 1.9.2

In response to the above poster, I only experience a stutter when clicking outside of the app (it runs in borderless windowed on my external monitor) and back into the game. the stutter, however, is not consistent on it's timing of when. it's almost like once I click back into the game I have to resign myself to the fact that at some point within the next two minutes or so, the game will completely stutter once in it's entirety for a half second before resuming normally. this didn't occur when using the official client. I know the solution would be to remain in-game and not click out, but I use OBS in conjunction with FFXIV for streaming and occasionally need to bounce back and forth.

as for typical performance, running the latest M1 patch updated in this guide has provided me with a more consistent frame rate in the low 50s in all areas except busy towns by aetheryte, where it dips to high 30's-low 40's. it hasn't increased in any extraordinary way, but the game itself just feels a little smoother. aside from the app switching stutter.

still, preferring to play using this as opposed to the official client, it provides a better experience overall.

RussellAnas commented 2 years ago

Anyone with an M1 Max out there who's using 1.1.6 without stutters and saw performance gains? Would like to learn how I can get it to work at my end. One possibility I was considering was that I didn't try 1.1.6 with Dalamud plugins turned off (since they also cause stutters). Not sure if it would benefit or not here though

RussellAnas commented 2 years ago

After updating to 21.1, patched 1.1.6 is now working as intended on M1 Max.

Noticed a small increase in performance, around 5-10 fps.

FleetAdmiralButter commented 2 years ago

Hi all,

Thanks for trying out my compile of MoltenVK 1.1.6!

I just wanted to drop a note here - it has been superseded by new releases on https://github.com/Gcenx/MoltenVK/releases/tag/v1.1.6, which allow for hardware sync on Apple GPUs and should (theoretically) perform slightly better.

There are two ways of installing the new version:

Method 1:

  1. Install the regular (stock) MoltenVK package (macos_dxvk_patched-1.1.6.tar.xz) into CrossOver. This is a clean build of upstream MoltenVK with some DXVK specific patches.
  2. Set the following environment variables in "cxbottle.conf":
    "MVK_ALLOW_METAL_EVENTS" = "0"
    "MVK_ALLOW_METAL_FENCES" = "1"

Method 2:

  1. Install the MoltenVK patched for Apple GPUs (macos_dxvk_patched-1.1.6_2.tar.xz) into Crossover. This build has some M1 specific fixes and there's no need to modify the bottle configuration here.

Both these methods should achieve the same result but for some reason Method 2 broke my game. I wasn't able to test much further before servers shut down for Endwalker so I'm sticking with Method 1 for now.

That being said, if your game already works well enough probably don't start messing around with it - I don't want to be the reason you spend launch day fixing CrossOver 😬