Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final Fantasy XIII texture issues. #103

Closed
ghost opened this issue May 12, 2019 · 14 comments
Closed

Final Fantasy XIII texture issues. #103

ghost opened this issue May 12, 2019 · 14 comments

Comments

@ghost
Copy link

ghost commented May 12, 2019

On linux, running under proton, shadows resolution 4096 x 4096 and 8192 x 8192 makes game don't work and hairs have texture problem:

3tV0Fen
Captura de pantalla de 2019-05-07 12-13-47

I have read this error is due to msaa rendering, but i don't know what really means.

Im using Steam native client with:

Proton:4.2-3
Distro:Ubuntu 18.04.2 LTS
Kernel:5.1.0-050100-generic
RAM:16 GB
GPU Driver:4.5 Mesa 19.0.1 - padoka PPA
GPU:Radeon RX 590
CPU:AMD Ryzen 5 2600X Six-Core

@Joshua-Ashton
Copy link
Owner

Are you actually using D9VK? Proton does not come with D9VK out of the box.

A log would be appreciated.

@GitArUs
Copy link

GitArUs commented May 13, 2019

Both things are rather game bugs and I doubt they can be worked around under Linux. These things are also happening on Windows. For Nvidia cards You have to use third-party configuration tool to fix broken hair transparency (Nvidia Inspector) - read about it here: https://forums.guru3d.com/threads/nvidia-anti-aliasing-guide-updated.357956/page-123.
As for shadow resolution I always sticked to lowest values. The game was crashing too much with anything higher than 512x512.
I haven't tried to play it with d9vk yet, I think I should give it a try.

@ghost
Copy link
Author

ghost commented May 13, 2019

I've tried to install d9vk in proton's prefix and now game doesn't launch (even when I change resolution and msaa). Anyone knows how to get .log file with proton?

@logan001
Copy link

set launch option with PROTON_LOG=1 %command% and you'll get a steam-apid.log in home folder.
but that will be proton logs. i don't know if it will show d9vk output. probably is better to do DXVK_LOG_LEVEL=none|error|warn|info|debug (pick one).

@ghost
Copy link
Author

ghost commented May 13, 2019

Thank you logan001, I have got proton log (attached in this message) when game launch crash, but I'm not able to obtain d9vk log.
steam-292120.log

@aqxa1
Copy link
Contributor

aqxa1 commented May 15, 2019

Since you have an AMD card, you could also try Gallium Nine, which is a more mature project at the moment.

Regarding the D9VK logs, they should be in the game's directory, somewhere in <steam library location>/common/<game dir>.

@GitArUs
Copy link

GitArUs commented May 17, 2019

wine-staging 4.7. This game works with D9VK, when d3d9.evictManagedOnUnlock = True in dxvk.conf, even with shadow resolution set to 8192x8192 (dxvk.conf must be in directory where ffxiiiimg_d3d9.log is found, not in the directory where ffxiiiimg.exe resides).
ffxiiiimg_d3d9.log

When this setting is False (default), it reaches menu, but then crashes always because of memory allocation issues.
ffxiiiimg_d3d9_fail.log

The hair and eyelashes problem is still present though. Probably impossible to fix...

All above applies to FFXIII-2 as well.
ffxiii2img_d3d9.log

As a side note - to have all three parts of the game here - Lightning Returns starts and reaches menu, but crashes when trying to enter the load screen or to start a new game:
00ef:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x80004.
LRFF13_d3d9.log

Not a D9VK problem ?

@GitArUs
Copy link

GitArUs commented May 22, 2019

I was wrong. It seems to be fixed by implementing alpha to coverage.

Before commit 5815a56
hairbefore
After commit 5815a56
hairafter

Thank You.
(strange thing is Vanille did not change at all)

@ghost
Copy link
Author

ghost commented May 23, 2019

I was wrong. It seems to be fixed by implementing alpha to coverage.

Before commit 5815a56
hairbefore
After commit 5815a56
hairafter

Thank You.
(strange thing is Vanille did not change at all)

Hello, how can I implement alpha coverage? Sorry but I'm newbie in this world. Could you provide me files ready to be build?

@Joshua-Ashton
Copy link
Owner

I implemented alpha to coverage myself which is what he was talking about.

@ghost
Copy link
Author

ghost commented May 23, 2019

Ok and how can I turn on that function, what must I do?

@Joshua-Ashton
Copy link
Owner

Nothing. It's included in the latest builds.

@ghost
Copy link
Author

ghost commented May 23, 2019

Waaaaau that is something else!, thank you so so much guys for help and fix, now I can play it with max resolution (8192 x 8192 it's a little bit slow, maybe it was my graphic card, but at least it runs well) and msaa 16.
Captura de pantalla de 2019-05-24 00-05-51
.
Captura de pantalla de 2019-05-24 00-01-23

@Joshua-Ashton
Copy link
Owner

Joshua-Ashton commented May 23, 2019

8192 x 8192 shadow res + 16 msaa is gonna struggle on any system :P
Glad to see you're getting very close to 60 with it tough

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants