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
FIFA 19 demo grass render issues.. #642
Comments
Also tested with 399.28 which should be equivalent to Linux 396.54.05 with no changes.. |
Apitrace? |
Game asks for ID3D12Device, which is interesting. But you should know that an apitrace is REQUIRED in such cases, so please add one. I'd also rather have reports from Linux where stuff like nvapi etc. doesn't exist. |
Fifa 19 demo doesn't work on Wine. https://bugs.winehq.org/show_bug.cgi?id=45830 |
Ok, will add apitrace soon! |
After this patch https://source.winehq.org/git/wine.git/commit/7e39544bfa6cf3e68a8567c202624f7f2d3fc7c8 FIFA 19 have been working on wine. Look what a strange thing. In the minigame before the match we can see the grass: |
@stumts can you post the full wine console output when running the game? |
Log files
|
Nothing interesting. Guess I'll take a look when the wine patch lands. |
I get black grass on Windows 2 using dxvk |
Not even the grass of all stadiums is black. Some work perfectly fine, some are completely black and some are only partially black. |
Black screen also confirmed with following settings:
I also have a weird issue, where when my controller is plugged in first it all of the sudden always moves to the right. I need to remove the controller from "Start > Control Center > Gamecontroller", then start the game. Confirm the keyboard as input device (so that the Enter/Space/etc. buttons are shown within the game rather than the XBOX A/B/X/Y buttons) and then move around and play with my controller. This way it does not move arbitrarily. |
Can anyone record an apitrace? Screenshots aren't exactly helpful, and Origin doesn't work for me. |
The game crashes for me when I try to get an apitrace. I'll try again. |
Nope the game crashed when I try to get an apitrace. Here you are the log if it can be of some help: |
Here is the apitrace to the crash: |
It's not useful unless it actually shows the grass rendering issue. |
I know but this is I can get :( |
May be try RenderDoc then? |
A user from discord called Aymen has gotten an apitrace from windows. Is it usefull for you? Anyway, I'll try to get the fifa 19 apitrace from wine again. |
@stumts yep it's me :) |
System Information:
Apitrace File:Log Files:
|
I'm able to reproduce the problem, but I don't think I'll be able to fix this any time soon. The game does actually render the grass just fine, it's just extremely dark for no obvious reason, and I don't have the slightest idea what DXVK might be doing wrong. |
May be it's Wine problem? |
No, it's not. It's quite obviously a DXVK bug but I don't know what it's doing wrong. |
I see, thank you :) |
Ok, we'll wait...u are the best!! thnxs for taking the time! |
I already figured out what's wrong, only problem is, it's a game bug. I'll have to work around that somehow but it's going to be complicated. |
You are great but you know it :) |
This branch enables raw SSBOs for this game, which should work around the bug. Apitraces still won't replay correctly, but the game itself should work. Here's a build: |
Yes it works like a charm! Thank you very much!!! |
Thanks for testing, merged into |
That doesn't work for me with the demo. Dxgi reports the exe as fifa19_demo.exe instead of FIFA19_demo.exe Works if I set it with dxvk.conf |
There is a known render grass issue in some mobile nvidia GPUs. These GPUs don't render grass. But they're rendering with dxvk. @doitsujin , congratulations. Amazing job. |
@AccountOneOff How many different exe names are there? The initial bug report clearly lists it as |
Awesome work as always. Thanks for fix for Fifa. |
Is their a FPS Limiter build in to DXVK |
@massatt212 use librstrangle https://gitlab.com/torkel104/libstrangle |
Looking rather unstable with steam or have u tried it and it's all good ? |
I'm not using Proton and no I don't have FIFA 19 just the demo. I have tried it with other games and it helps on those. Namely Beyond Good & Evil. |
Try to launch the game a couple of times and go directly to kick-off. In my case, the 2nd or 3rd try the grass loads and the game works fine. This takes me to a related question, which I don't know if it is the right place to ask. When I start the game (FIFA 19 -- no demo --) with Lutris, I can either go directly to kick off (i.e. a quick friendly match), in which case after a couple of tries the grass works ok and works until I close the game in any stadium and game mode. Or I can go to one of the game modes with cinematics. If I choose kick off first, then choose a game mode with cinematics, the latter run at 1/2 fps and take forever, making the game mode unplayable, because they can't be skipped. If I choose the mode with cinematics first, they render ok (60 fps) but then the grass is always black. I think I've traced this problem to the GPU memory usage. In the first case, if I'm lucky, I still have GPU memory before the match starts and the grass loads. In the second case, by the time the match is supposed to load I'm out of memory and the appropriate amount of memory is freed to load all the assets but the grass. My humble my Nvidia 750Ti has twice the minimum required memory in the game specs. I would be surprised if DXVK had a 100% memory footprint. On top of that, the memory consumption seems independent of the rendering options (low, medium, high, ultra) and the anisotropic filtering (0, 2x, 4x). The FPS in gameplay, are independent of this parameter too (I get 50/60 fps on all the combinations, with or without grass), so this certainly seems to me like a bug.
Sorry for the vagueness, I don't know the protocol for reporting things here (and I don't know what that apitrace thing is). My system: OS: Fedora 29 Lutris: 0.4.23 |
Probably not, although the DXVK memory allocator doesn't handle memory-constrained cards all that well. This isn't trivial to improve and would require a major rewrite of a lot of things, so hoping that Nvidia one day implements Try running the Nvidia control panel next to the game (the GPU tab shows memory usage), also Also, make sure to close all applications that may eat VRAM (web browsers!) before starting the game. As far as I understand, Nvidia drivers do not support paging out allocations from other apps. |
Thanks for the reply! My observation about VRAM was coming from nvidia-smi, as you suggest, and an htop in the side to see CPU + RAM. After a clean reinstall I managed to make different texture resolution consume different amount of VRAM. However, although the game runs at 120 FPS and has about 300MB VRAM to spare, in some cutscenes the FPS drop to 2 or 3. Anyway, this has gotten too specific to be useful or worth looking into. Thanks for the great work! Cheers, |
First, thanks for dxvk, it's great. :) It works well with a lot of steam games I have. I tried Fifa19 last night, but it runs a lot slower than on Windows. I don't have a good computer, but I can play Ffifa19 smoothly on Windows with 1080p. But on Linux, the fps is 8-10 on 1080p, and 15-20 on 1600x900. My question is why? I thought dxvk doesn't add any overhead, does it? Can I finetuune it somehow? Maybe esync? My config: |
First of all, check whether you are actually GPU bound (in the nvidia settings). DXVK doesn't run well on old GPUs, especially since yours only has 1GB of VRAM (or is it 2GB?). |
Yes, as I see the GPU is the bottleneck, it only has 1 GB of VRAM. I can get a GTX 670 2 GB, which is a stronger GPU, but as you mentioned DXK doesn't run well on old cards. Should I buy a newer one? What is your recommendation for my setup? |
doitsujin, please help on how to fix the black grass on fifa 19 |
dxvk-fifa.tar.gz |
Just use the latest release. It should just work. |
i downloaded the fifa 19 repack, it still gives me the same problem |
im using hd graphics 5500 |
We don't support cracked games. That's almost certainly the reason why it doesn't work. |
The game does not support Intel graphics and the exact same issue is known to happen on Windows as well on those GPUs. Also, yeah, do not expect any sort of support for cracked games here. |
Screenshoot:
logs show no issues..
System information
Apitrace file(s)
Log files
FIFA19_demo_d3d11.log
FIFA19_demo_dxgi.log
The text was updated successfully, but these errors were encountered: