-
Notifications
You must be signed in to change notification settings - Fork 14
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
Battlefield Hardline #39
Comments
Does not work. Got this error message when trying to start a match:
|
Can you dump the shader binaries? |
How would I do that? |
Set the |
Yup, then the game will probably dump it in "current" directory (which will be probably the game directory). There will be three files per each shader: AMD IL binary, AMD IL text and the resulting SPIRV code. |
OK I brought up the Environment Variable window in Windows, so what do I put in "variable" and what do I put in "value"? Or am I in the wrong place |
well, in the snippet above, "1" is the value, while "GRVK_DUMP_SHADERS" is the key/name (or "variable"). |
Actually, if you are using Steam, you can set an environment variable there as in |
Ok, I tried the setting that environment variable both in the user and system categories, and in the "launch options" in the Origin launcher. No new files appeared in the game directory |
idk about windows, maybe you need to reboot your pc and check that env var is set through echoing inside cmd.exe. You can set |
First open PowerShell in the games folder, then you can set variables easily in PowerShell:
Then launch the game from the same PowerShell session. |
Yeah restarting my PC was the key I used build #39, which didn’t crash but just basically ran as a background process I could see in task manager GitHub won’t let me post a Zip for some reason, so here’s a drive link, includes the log : https://drive.google.com/file/d/1ugKijTgFRIan3xxf-FvaLpIF8WdkcqjC/view?usp=drivesdk |
Unfortunately I can't test the game because Battlelog doesn't work on Linux... |
Ok, looks like your shaders get compiled properly with the exception of tessellation shaders, which aren't implemented. |
Got an error when I tried to compile: Followed the instructions on the main page. pretty sure I installed all the necessary stuff on my Ubuntu laptop. |
Hmmmm it looks like it doesn't like the compiler you have installed |
Do you use something other than meson? |
Nope, |
I didn't do any configuration, just ran the commands on the main page here. Then downloaded a package that meson said I was missing. I wouldn't know where to begin trouble shooting something like this. I have zero programming experience, I'm only really helpful because I have four of the supported Frostbite games in my Origin library haha. |
I just tried Battlefield Hardline and it runs fine. As long as Fullscreen Mode is set to Borderless and Terrain Quality to Medium. Here's the log: |
This same scene with the same settings on DXVK reaches 130-150 fps, so GRVK is a lot slower. |
@Cherser-s I tried your |
Do you guys need a shader dump or something before I uninstall this game? |
yes, it would be great
not a surprise, considering the game only uses the tessellation for terrain calculation idk if there is a perf graph in this game, but can you also check the CPU overhead between grvk and dxvk? |
@Cherser-s Here are the shaders Log files with |
No, it just shows the frametime, unfortunately mangohud can't show this. |
@Cherser-s is that enough? |
yes, thank you |
You're welcome 😄 |
Meta-issue for Battlefield Hardline.
The text was updated successfully, but these errors were encountered: