seathasky / FF14-MAC_ModSupport

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

Performance about 20% worse than "native" client #11

Closed realAbitbol closed 2 years ago

realAbitbol commented 2 years ago

System

image

Crossover (Legit version used, trial)

image

Game settings (identical for "native" and crossover)

image image image image

Steps run to reproduce the problem :

I'm available to run any tests you require to narrow down the problem. Thanks a lot for your help and for your awesome work.

seathasky commented 2 years ago

Heading to bed now. Me or @marzent will look into this tomorrow.

realAbitbol commented 2 years ago

Gnite, feel free to reach to me if needed

marzent commented 2 years ago

Would be interesting to see if the performance drop also occurs without patching CrossOver, in the steps to reproduce the problem it is not really needed… You could also maybe disable dxvk's hud though that is kinda grasping at straws, feel free to hit me up on Discord (ウサギ#4334) prob easier to find a solution that way

realAbitbol commented 2 years ago

Will do ASAP Included the crossoverpatch because I want to be able to run plugins. Just didn't included them in the tests so that the comparison was as simple as possible

realAbitbol commented 2 years ago

Disabled dxvk HUD by commenting the "DXVK_HUD" = "fps" line : Same performance (40 fps)

seathasky commented 2 years ago

Try the latest nightly here. Close crossover completely and copy the nightly on top of Crossover.app in application folder. Next launch, cx will update (should work on trial, hopefully) if not scratch this idea

https://drive.google.com/file/d/19RlxCcUkfx8CmXPk5I4xHrbq_hVZIiCr/view?usp=sharing

You dont need to change anything in your prefix

realAbitbol commented 2 years ago

@marzent Sent you a friend request on Discord

realAbitbol commented 2 years ago

You dont need to change anything in your prefix

What do you mean by prefix ?

seathasky commented 2 years ago

the physical directory where your bottles are, just overwrite the Crossover.app with the nightly one and reopen it and an update should prompt (if it works on trial)

realAbitbol commented 2 years ago

Did it (works with trial). unfortunately performance stays the same

image
seathasky commented 2 years ago

I'm assuming you're on a hackintosh right?

realAbitbol commented 2 years ago

Not at all, I'm on a genuine iMac 5k from 2017 (the biggest model with i7 and Radeon Pro 580) https://support.apple.com/kb/SP760?viewlocale=en_US&locale=en_US

seathasky commented 2 years ago

ohh! Hey trying running the game in 1080p (Fullscreen) if you can, the 580 is going to struggle getting frames at 5k res. Even a 5700 XT would have problems running at that resolution.

I can almost guarantee this is your issue.

realAbitbol commented 2 years ago

It works much better in fullscreen but I'd really porefer to run it in fullscreen borderless. Furthermore "native" version works this way pretty fine. Both get a performance boost if I change the screen mode but native always is ahead fps-wise

seathasky commented 2 years ago

I'm just saying, dont expect much more than that with addons running at 5k in borderless with a 580 and a 7th gen i7. Bottleneck city if you ask me.

If you want the best of both worlds, lower your desktop resolution to 1080 and than run in borderless... install gshade, you can pretty up your game that way without worrying about frame drops.

realAbitbol commented 2 years ago

I understand but currently I run without any addons and yet there is a significant performance drop. Will do what you said once we figure out what the problem is.

seathasky commented 2 years ago

remove these last 3 env variables from you bottle config, reboot cx and test for me please Screen Shot 2021-11-05 at 7 55 19 AM

you dont even need harmony debug anymore anyways. pretty sure dalamud fixed that (dont quote me)

realAbitbol commented 2 years ago

Actually @marzent asked me to do that on discord, did it but no change

seathasky commented 2 years ago

Alternatively you can try https://github.com/Gcenx/WineskinServer here if you haven't already, but you will have to install all the dependencies manually inside winetricks & the custom dxvk_macos.verb as well.

Personally, I dont know what else to try at this point, outside of a fresh Macos install, your performance should be going up in cx21, not down.

I dont know what else to suggest.

realAbitbol commented 2 years ago

Tried a whole bunch of things with @marzent on Discord but, unfortunately, it didn't change anything. I might try to do a full reinstall of macos as you suggested but it's a bit complicated because I'm using my mac to work too.

What would be really helpful at this point would be having info from other users running with a radeon pro 580 or 570. If anyone has better perf than native it would mean it would really be worth the hassle.

realAbitbol commented 2 years ago

ohh! Hey trying running the game in 1080p (Fullscreen) if you can, the 580 is going to struggle getting frames at 5k res. Even a 5700 XT would have problems running at that resolution.

I can almost guarantee this is your issue.

I'm not running at 5k res : because it's a retina res it's effectively running at half which is 2560x1440 AKA 1440p

seathasky commented 2 years ago

Well that's what i am saying. You are the first to have such issues which makes me think it's just either bottleneck or some other issue.

As far as others with your same setup, that might be rough. I do have an older Mac with Catalina and a 580 4gb card, but it has a 4th gen i5 and is sitting in my closet collecting dust. I might pull it out tonight and test for you though, I'm curious how it would run. If I get better performance with this thing than you it might narrow down that there is an actual issue on your side

seathasky commented 2 years ago

I ended up pulling it out and going to test on it Screen Shot 2021-11-05 at 6 55 28 PM

seathasky commented 2 years ago

Screen Shot 2021-11-05 at 7 08 49 PM This is on a worse setup than yours @realAbitbol slower ram, slower cpu, less gpu memory. and I get 60-120 fps depending on where I am. with plugins enabled

seathasky commented 2 years ago

oh shit just realized esync was off let me test with it on

seathasky commented 2 years ago

okay this is in the open world, with exact same settings that you showed Screen Shot 2021-11-05 at 7 29 42 PM Screen Shot 2021-11-05 at 7 30 57 PM Screen Shot 2021-11-05 at 7 32 23 PM

Here is with even more plugins installed and delvui which is in beta still: Screen Shot 2021-11-05 at 7 44 34 PM

and this is with dalamud plugins turned off in same spot: Untitled

This is all with a way worse setup than you and plugins running. Your next step would be a fresh macOS install.

realAbitbol commented 2 years ago

I'll do that then, thanks a whole lot for your help !

Will report here once it's done of course

realAbitbol commented 2 years ago

Just a question : were you running 1440p ?

seathasky commented 2 years ago

1080p throughout the test

On Fri, Nov 5, 2021 at 11:24 PM realAbitbol @.***> wrote:

Just a question : were you running 1440p ?

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

realAbitbol commented 2 years ago

That might explain, will try in 1080p right now

seathasky commented 2 years ago

Didn't I mention for you to do that earlier? haha

realAbitbol commented 2 years ago

In the beginning I think I mixed things up and thought I was in 1080p in fullscreen borderless but that's impossible unless I changed the desktop resolution which I didn't.

On my iMac screen fullscreen borderless runs at 1440p we even saw that in logs with marzent

seathasky commented 2 years ago

If you want the best of both worlds, lower your desktop resolution to 1080 and than run in borderless... install gshade, you can pretty up your game that way without worrying about frame drops.

I did say this too :)

realAbitbol commented 2 years ago

I know but as I and marzent think my setup should handle 1440p easily. It even does with native. I know I could drop the res a ton and get things working somehow but in that case it would be better to just run native with 1440p

realAbitbol commented 2 years ago

getting 50 fps in 1080p. THat's better but nowhere close to you. I'll reinstall macos.

Do you think I can restore with my timemachine backup or should I really start from a blank plate ?

seathasky commented 2 years ago

Ya you should be getting way more fps than my old machine, its only a 4th gen i5 and 4gb card, there is def something wrong.

realAbitbol commented 2 years ago

Forgot to mention that I'm running with a 2nd 4k screen attached (unused by the game tho)

seathasky commented 2 years ago

You could always try unplugging the dp cable and test with 1 monitor before you format

realAbitbol commented 2 years ago

I'll do that but it would puzzle me because native works fine with it.

seathasky commented 2 years ago

1yj28o

realAbitbol commented 2 years ago

No change, I'll reinstall macos from scratch now, not using my timemachine backup. It will be painful but, hopefully, worth it. See you on the other side xD

seathasky commented 2 years ago

I really do hope it fixes the issue, if not I dont know what else you could do

realAbitbol commented 2 years ago

Know I really appreciated the help of both of you

realAbitbol commented 2 years ago

Completely reinstalled macOS Big Sur from scratch without using my time machine backup. Bare minimum install : no additional software installed except Crossover 21 and Textmate. Redid the whole procedure from scratch.

Result : performance might be a tad higher but nowhere near native or near your results. Game somehow feels sluggish even with 50 fps. Game is kinda playable but there are random hiccups when I move or fight, the kind I don't really want to see while raiding :(

I think there is either something fucked up with my hardware (unlikely cause native works fine) or some kind of incompatibility between this version of moltenvk and my precise model of graphic card...

Only thing I could try for now would be trying to go Monterey but I'm not sure XIV works fine with it or buy a new shiny pro max MacBook pro but I'm not sure XIV works all that well on it (compared to native with my current setup).

EDIT : cleared SMC and NVRAM, no change

seathasky commented 2 years ago

Did you let shader cache build? Use abilities, run around to different spots for at least 30 mins.

marzent commented 2 years ago

Last thing I would suggest is transplanting the dxvk used with the "native" version into the cx 21 bottle and you would (probably?) see no performance difference

realAbitbol commented 2 years ago

I'll try that. I've noticed I can tell even from the login screen if I'm running native or CX : the mouse pointer kinda jumps on CX

seathasky commented 2 years ago

Technically, you should be seeing more performance over my old i5 closet machine as your machine has better everything...I'm sorry we were unable to help you.

I dont really know at this point and dont think we will be able to assist you any further. I'd try marzents last comment at the very least and my last comment of letting the dxvk shader cache build.

realAbitbol commented 2 years ago

I'll try that too @marzent I'll message you on discord for the transplantation as I have no idea on how to do it once I reinstalled discord if you don't mind

realAbitbol commented 2 years ago

Transplantation didn't go so well (game crashes) , Marzent gonna run some tests tonight. Meanwhile I'm trying a Monterey upgrade to check if it works better with it