Rust
Crazy FPS drops
While playing every once and a while I get crazy FPS drops not even when shooting even if I stand still I will occasionally get these FPS spikes I’m playing on an IMac (2017) as my gpu broke and wanted to know if anyone knew any fixes for the fps drops
< >
166-180 / 206 のコメントを表示
csuyn 2022年4月15日 8時45分 
Mighty の投稿を引用:
schmongolian の投稿を引用:
it could be a wide range of issues - have you tried validating game files?


i only can Play Mac-Crash-Fix Version Normal but other Version is Glitch ;(

How Validating
https://help.steampowered.com/en/faqs/view/0C48-FCBD-DA71-93EB
schmongolian の投稿を引用:
Mighty の投稿を引用:


i only can Play Mac-Crash-Fix Version Normal but other Version is Glitch ;(

How Validating
https://help.steampowered.com/en/faqs/view/0C48-FCBD-DA71-93EB



Dont Work!! Same Grafik - In Base all Good but if i go outside Grafik is one side Normal Ground Normal But one side of Sky too Grey i found one server i can Play Normal i Dont no but Fps++ is on Server but all other server doesent work ;(
Rocky 2023年1月19日 9時37分 
Paveway の投稿を引用:
I am pretty sure i found a reliable workaround for the issue.

That issue got on my nerve too so I decided to investigate a bit.
I managed to sample the Rust process while the issue was happening. I found out that every thread hang on some Unity housekeeping semaphore that is working in the cache folder.
It looks like (I did not dug deeper as the issue seemed to be fixed) Unity creates some sort of API translation cache for Metal that seems to grow overtime. This would explain why the issue seems to get worse over time. This also aligns the behavior that the issue disappear after the app is cleaned as those cache files may be removed. I also observed that the issue disappeared after an OS update ad that probably flushed all temporary files.

In short, if you delete the cache folder before launching Rust app, you will experience a little lag when you first get into the game as the cache gets created but no FPS drop while in game.

The most user friendly way of doing this is to do the following:
1 - Use the Desktop shortcut feature of Steam.
Go to your game Library --> Right-click Rust --> Manage --> Add desktop shortcut.
2 - Right-click the newly created shortcut and click "Show Package Content"
3 - Navigate to Content/MacOS/
4 - Open the run.sh file using VSCode (I found out that some text editors change the rights on the file breaking the shortcut. I did not observe this when editing the script with VSCode)
5 - In the file, insert the following line before the : "open steam" command.
rm -rf $TMPDIR/../C/unity.Facepunch\ Studios\ LTD.Rust/
6 - Save the file
7 - Move the shortcut to your preferred location (E.G.: Application folder)
8 - Enjoy a FPS drop free Rust experience.

That being said I have to remark that this is not great on the part of Unity as this is clearly an issue in their framework that has been plaguing many users for a long time and they obviously did not bothered to investigate.

This is also not great on the part of Facepunch as we are not Unity customers but Facepunch customers. They should have investigated the issue and found a workaround as this was obviously possible. Blaming a third party for an issue in your product for such a long time shows how little they care for their Mac user base although I am sure they were glad for our money.

Finally, this shows issues with the Steam refund policies as it is not possible to get a refund if you have played the game more than 2 hours but it is possible to observe this issue only after a few time you relaunch the game making your playtime well above 2 hours.

I hope this will help some of you and a very happy 2022 to everyone.

If some are finding this no longer works after the Jan 2023 update, i have noticed that the folder $TMPDIR/../C/unity.Facepunch\ Studios\ LTD.Rust/ no longer seems to be being created, instead the new command needs to be:

rm -rf $TMPDIR/C/com.Facepunch-Studios-LTD.Rust/

Hope this helps.

EDIT: for some reason the ../ is not displaying in this command, likely because it is assuming its a link. Below is how to do it over 2 lines - there should be a ../ after $TMPDIR/ it can still be done in 1 line, just be sure to insert the ../ in the correct place:

> cd $TMPDIR/../C/
> rm -rf com.Facepunch-Studios-LTD.Rust/
最近の変更はRockyが行いました; 2023年1月19日 17時11分
csuyn 2023年1月19日 9時42分 
TJ の投稿を引用:
Paveway の投稿を引用:
I am pretty sure i found a reliable workaround for the issue.

That issue got on my nerve too so I decided to investigate a bit.
I managed to sample the Rust process while the issue was happening. I found out that every thread hang on some Unity housekeeping semaphore that is working in the cache folder.
It looks like (I did not dug deeper as the issue seemed to be fixed) Unity creates some sort of API translation cache for Metal that seems to grow overtime. This would explain why the issue seems to get worse over time. This also aligns the behavior that the issue disappear after the app is cleaned as those cache files may be removed. I also observed that the issue disappeared after an OS update ad that probably flushed all temporary files.

In short, if you delete the cache folder before launching Rust app, you will experience a little lag when you first get into the game as the cache gets created but no FPS drop while in game.

The most user friendly way of doing this is to do the following:
1 - Use the Desktop shortcut feature of Steam.
Go to your game Library --> Right-click Rust --> Manage --> Add desktop shortcut.
2 - Right-click the newly created shortcut and click "Show Package Content"
3 - Navigate to Content/MacOS/
4 - Open the run.sh file using VSCode (I found out that some text editors change the rights on the file breaking the shortcut. I did not observe this when editing the script with VSCode)
5 - In the file, insert the following line before the : "open steam" command.
rm -rf $TMPDIR/../C/unity.Facepunch\ Studios\ LTD.Rust/
6 - Save the file
7 - Move the shortcut to your preferred location (E.G.: Application folder)
8 - Enjoy a FPS drop free Rust experience.

That being said I have to remark that this is not great on the part of Unity as this is clearly an issue in their framework that has been plaguing many users for a long time and they obviously did not bothered to investigate.

This is also not great on the part of Facepunch as we are not Unity customers but Facepunch customers. They should have investigated the issue and found a workaround as this was obviously possible. Blaming a third party for an issue in your product for such a long time shows how little they care for their Mac user base although I am sure they were glad for our money.

Finally, this shows issues with the Steam refund policies as it is not possible to get a refund if you have played the game more than 2 hours but it is possible to observe this issue only after a few time you relaunch the game making your playtime well above 2 hours.

I hope this will help some of you and a very happy 2022 to everyone.

If some are finding this no longer works after the Jan 2023 update, i have noticed that the folder $TMPDIR/../C/unity.Facepunch\ Studios\ LTD.Rust/ no longer seems to be being created, instead the new command needs to be:

rm -rf $TMPDIR/C/com.Facepunch-Studios-LTD.Rust/

Hope this helps.
if this is a working fix make sure to make a new thread so people can find it easier
Roland 2023年1月19日 15時04分 
@TJ, how did you find the new directory? I went looking, fruitlessly.

Thanks!
Rocky 2023年1月19日 17時13分 
Roland の投稿を引用:
@TJ, how did you find the new directory? I went looking, fruitlessly.

Thanks!

@Roland (of Gilead :) ) i just navigated to the $TMPDIR/../C/ directory and it was the only obviously similar directory listed. Glad to help!
Roland 2023年1月21日 10時13分 
@TJ "Never forget the face of your father".

Okay, so how do you find $TMPDIR, that's the only thing stumping me. It's an environment variable that, I assume, but only in the Rust environment, soooo... ??
T 2023年1月21日 10時32分 
Had no issue until today (after 100s of hours of fun with nice frames) and even >70 FPS seems possible now. However, now get frame drops and found this.
I am really curious how you investigated the issue. I am a dev myself and would like to learn more. Could you elaborate a bit on how you investigated and what tools you used?
最近の変更はTが行いました; 2023年1月21日 11時36分
Paveway 2023年1月27日 15時56分 
The tool I used is called Ghidra. It's a disassembler. You get a bit of insight on what is going on under the wrappers but you need to know a fair bit of assembly for x86_x64 to understand the output.

Can't believe these guys are still selling this game for Mac after all this...
My friend Roland reached out to me but I fear that this time the issue is related to a Metal update Apple did with the latests MacOS. So if you've updated you're mostly basically screwed.

So sorry I can't be any more help this time guys...
最近の変更はPavewayが行いました; 2023年1月27日 15時57分
T 2023年1月28日 9時52分 
Thanks for the details, will look into it.

tbh the game never has been as stable as today for MacOS, for me at least. Month ago the cursor position was broken for years. From the latest few updates is seems that they at least are somewhat working on the MacOS Client.

With the fix mentioned here to clean the Cache before the Start the game runs with okay frames for me, at least stable.
Paveway の投稿を引用:
The tool I used is called Ghidra. It's a disassembler. You get a bit of insight on what is going on under the wrappers but you need to know a fair bit of assembly for x86_x64 to understand the output.

Can't believe these guys are still selling this game for Mac after all this...
My friend Roland reached out to me but I fear that this time the issue is related to a Metal update Apple did with the latests MacOS. So if you've updated you're mostly basically screwed.

So sorry I can't be any more help this time guys...

TJ steered me to this post. I am so grateful mate and TJ's update worked a treat! Can't even begin to explain how much research I did to look into this! Both, dead set legends!!!!
Damn, a few post back i wrote that this piece of code was the fix for me. I was so happy and have played for a long time. Until january, from one day to another i got bad frame drops again. Haven't played ever since and then yesterday i remember this thread. Adjusted to code again according to TJ's post, and now it works again.

More mac rust players should see this man, i sure there are more people out there, i see dozen of threads about mac and fps drops with no solve.
csuyn 2023年3月18日 9時58分 
Wooter の投稿を引用:
Damn, a few post back i wrote that this piece of code was the fix for me. I was so happy and have played for a long time. Until january, from one day to another i got bad frame drops again. Haven't played ever since and then yesterday i remember this thread. Adjusted to code again according to TJ's post, and now it works again.

More mac rust players should see this man, i sure there are more people out there, i see dozen of threads about mac and fps drops with no solve.
facepunch doesnt care about the mac version tbh
Wooter の投稿を引用:
Damn, a few post back i wrote that this piece of code was the fix for me. I was so happy and have played for a long time. Until january, from one day to another i got bad frame drops again. Haven't played ever since and then yesterday i remember this thread. Adjusted to code again according to TJ's post, and now it works again.

More mac rust players should see this man, i sure there are more people out there, i see dozen of threads about mac and fps drops with no solve.

For me it does not work did the path change again ?

**Edit:

This solution still works great no more drops in fps
最近の変更はSkibidiが行いました; 2023年4月6日 2時22分
Does this fix still work?

I’m running a shell script that is this:

cd $TMPDIR/../C/
rm -rf com.Facepunch-Studios-LTD.Rust/

I use it prior to starting rust every time, but the game just seems to have constant moderate fps issues instead of insane drops. I feel like my performance is still being affected by this problem since my fps stays about the same regardless of if i'm on maximum or minimum graphics.
< >
166-180 / 206 のコメントを表示
ページ毎: 1530 50

投稿日: 2020年3月21日 15時17分
投稿数: 206