https://bugs.winehq.org/show_bug.cgi?id=54010
Bug ID: 54010 Summary: Star Citizen has low fps Product: Wine Version: 7.19 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: d3d Assignee: wine-bugs@winehq.org Reporter: o.dierick@piezo-forte.be Distribution: ---
Created attachment 73588 --> https://bugs.winehq.org/attachment.cgi?id=73588 Star Citizen - Wine 7.19 output (600Mb uncompressed)
Hello,
I have low FPS in the game 'Star Citizen'.
After reading various reports on the web, here is what I did to make the game start at least: - Use wine 7.19 (I didn't try any other version; staging was not needed); - install arial with winetricks (fixes missing text in launcher); - set windows version to 8.1 (to avoid an annoying error message about unsupported config); - Disable Easy Anti-cheat (to avoid an error message preventing the game from starting); - Increase vm.max_map_count (from 65530 to 16777216; to avoid a crash at the loading screen before the game reaches the main menu).
Although the game is in alpha stage and not optimized, some users have reported good performance using Wine-based third party projects (namely lutris with custom runner + dxvk), so I think this is not an application issue.
I was unable to compare performance with DXVK as my OS is out of date for that (DXVK requires Vulkan 1.3, Debian 8 jessie ships Vulkan 1.2).
The recommended minimum memory is 16Gb. My system has 16Gb, but the game consumes all memory, plus a few GB of swap and starts 'trashing' to the disk (not an SSD). I don't think this is the cause of the low FPS however.
Debian GNU/Linux 8 (jessie) 64 bits Intel® Core™ i7-4930K CPU @ 3.40GHz × 12 NVIDIA GeForce RTX 2070/PCIe/SSE2
The current Star Citizen Free Fly event ends Nov 30. I will not be able to test the application further until the next event. This bug report is mostly to remind me of the issue.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=54010
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |performance
https://bugs.winehq.org/show_bug.cgi?id=54010
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Debian
https://bugs.winehq.org/show_bug.cgi?id=54010
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #1 from Zeb Figura z.figura12@gmail.com --- It might already be too late, but if you can take a d3d apitrace, it might be possible to reproduce the performance problem with that.
https://bugs.winehq.org/show_bug.cgi?id=54010
--- Comment #2 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Created attachment 74511 --> https://bugs.winehq.org/attachment.cgi?id=74511 RSI Launcher apitrace wine 8.7
Hello,
I tried to get an apitrace but here is all I could get.
I ran C:\win64\bin\apitrace --api dxgi C:\Program Files\Roberts Space Industries\RSI Launcher/RSI Launcher.exe
The launcher opened, then I started the game, then the persistent game mode, and looked left and right, then the game hanged and I killed the game process and closed the launcher. I had system monitor open and the game didn't go above 95% of RAM usage, so it didn't use swap, but it lagged nonetheless the few seconds the game reacted to my mouse movement.
This was with the latest windows release of apitrace from https://apitrace.github.io/ (presumably apitrace 11.1 although I couldn't find no indication of the version in any file from the archive).
Regards.
https://bugs.winehq.org/show_bug.cgi?id=54010
--- Comment #3 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- *it hung*
https://bugs.winehq.org/show_bug.cgi?id=54010
--- Comment #4 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
Another free play until July 17.
I retested with Wine 8.11. Still lags but not as much as before.
My computer was upgraded to 32GB of RAM since the last attempt in May. The game consumed up to 25GB but didn't max and didn't swap. So I was right the lag was not caused by the memory exhaustion & swapping.
I guess the performance has improved as vkd3d has improved.
I think I get something like 10-15 FPS with maxed out gfx settings (default). With lowest gfx settings, I get like 20-30 FPS.
That result is in the starting room, I didn't go as far as trying to get out of it yet. This looks promising, but I fear it'll lag more when I get outside the room, due to the complexity of the environment & multiplayer.
I'll try to get an apitrace again.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=54010
--- Comment #5 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Also: I've been testing the game in a 1152x864 virtual desktop & windowed borderless/fullscreen mode all along.
https://bugs.winehq.org/show_bug.cgi?id=54010
rawfox rawfox@freenet.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rawfox@freenet.de
--- Comment #6 from rawfox rawfox@freenet.de --- Use the LUG-Helper for a preflight check on your system https://github.com/starcitizen-lug/lug-helper
those is the important feedback from it: - Your CPU supports the necessary AVX instruction set. - vm.max_map_count is set to 16777216. - Hard open file descriptors limit is set to 1048576.
You can ignore the message about missing Lutris, but you can use SC with Lutris as well, up to you :)
Make a new prefix win10 or win11. Install dxvk-2.2 to it. Install the launcher, close it after installation.
Use a startscript to start you local installation, like an example here: https://pastebin.com/RxaVj5cs
Then install the game and again, close everything after installation.
It must work, except you fell over this gcc bug: https://bugs.winehq.org/show_bug.cgi?id=55007
Good luck^^
https://bugs.winehq.org/show_bug.cgi?id=54010
--- Comment #7 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- (In reply to rawfox from comment #6)
Use the LUG-Helper for a preflight check on your system https://github.com/starcitizen-lug/lug-helper
those is the important feedback from it:
- Your CPU supports the necessary AVX instruction set.
- vm.max_map_count is set to 16777216.
- Hard open file descriptors limit is set to 1048576.
You can ignore the message about missing Lutris, but you can use SC with Lutris as well, up to you :)
Make a new prefix win10 or win11. Install dxvk-2.2 to it. Install the launcher, close it after installation.
Use a startscript to start you local installation, like an example here: https://pastebin.com/RxaVj5cs
Then install the game and again, close everything after installation.
It must work, except you fell over this gcc bug: https://bugs.winehq.org/show_bug.cgi?id=55007
Good luck^^
Hello,
Thank you, but I don't need help running the game, and DXVK is unsupported here anyway.
I'm trying to get an apitrace for replication and diagnosing what could be performance bottlenecks in wined3d.
Regards.