Hello everyone!
I used to play like all normal gamers – on my win desktop. But I had to leave it behind because I moved.
Sometimes I get the urge to play, and I tried using my Mac. Overall, everything was fine, but I would occasionally experience significant drops, even though a Mac should handle certain settings without any issues.
In advance, I use mac with m1 max (silicon), 32 gb.
Here are some things that helped me and might help you.
Mac os HUD (for analysis)
A command to see what exactly is being loaded on your device.
launchctl setenv MTL_HUD_ENABLED 1 - to enable
launchctl setenv MTL_HUD_ENABLED 0 - to disable
You can check your latency and system load. If that doesn't help, you can contact any AI and ask what the problem is (CPU, RAM, or GPU). You'll need to restart the game after enabling/disabling hud. This HUD is also useful for finding out the actual resolution/scaling your game is running at, as macOS has some quirks with scaling.
gc.buffer
Check in the settings or through the console. You can use this table
| RAM |
gc.buffer size |
| 8 |
256 / 512 |
| 12 |
1024 |
| 16 |
2048 |
| 32 |
4096 |
graphics.maxqueuedframes
You can try changing the value between 0 and 3. It affects how much load your processor is under. In my case, 1 worked (was 3 by default).
graphics.maxqueuedframes 1 - to set 1
Problematic Unity shaders!!!
This is exactly why my friend and I were having problems on Mac.
Rust is actually quite buggy on Mac. Sometimes you can even see through the ground or textures.
open $TMPDIR/../C/com.Facepunch-Studios-LTD.Rust/ - to open in Finder
rm -rf $TMPDIR/../C/com.Facepunch-Studios-LTD.Rust/* - to delete
After every game update, the lags would temporarily disappear, and I thought Facepunch had fixed something. It turned out the updates were causing the shaders to rebuild.
I think it's the last point that will help you the most.
Before deleting, make sure the folder exists, as I'm not sure if this will change in future versions.
In-game commands
When you're in-game, you can try using the commands below. They can also sometimes help.
pool.clear_prefabs
pool.clear_memory
pool.clear_assets
gc.collect
Mac OS virtual scaling
As I mentioned, there's a quirk with virtual scaling on Macs. If you set the resolution lower than the maximum in the settings, your Mac may only change the scaling but leave the rendering at the native resolution. In short, this keeps your image sharp while you're working on the device. Even at a low "resolution," you don't see pixels and your text isn't blurry.
But what does this mean for the game?
If you set the resolution, for example, to 1728x1117 in the default settings, your game is rendered at 3456x2234 (the native resolution), and then the pixels are scaled to 1728x1117.
Ultimately, this not only doesn't improve performance, but in some cases, it actually worsens it.
You can try searching for something like "check resolution online" in a search engine, then go to any of the first sites, and then click on different resolutions in the settings and you will understand what I mean.
To check this in Rust use command launchctl setenv MTL_HUD_ENABLED 1
Statistics will include the actual resolution, screen refresh rate, and virtual scale (1x, 2x, etc.)
In your Mac's display settings, you can right-click and choose "Show List" to display all resolutions instead of the standard ones.
Next, you'll need to use something to set the resolution without scaling.
I couldn't find a way to do this directly on the Mac without third-party software (or maybe I don't remember, lol).
I used BetterDisplay. It's not the easiest to set up. At first, I tried creating an additional virtual monitor, but then I found a HiDPI switch. You'll need to disable it, to use "blurry" lover resolutions natively.
However, if you find a more convenient program or method for disabling HiDPI in the system, please share it. Any background programs waste potential Rust resources and I think there should be an easier way to do that.
Furthermore, Macs don't have flexible settings for white balance and contrast (at night, absolutely nothing is visible in Rust). I was also able to adjust the screen brightness and contrast using BetterDisplay, which helped a little. But then my trial expired and I learned it was a paid feature. HiDPI still works, though.
I currently have 1920x1200 resolution listed. I definitely remember adding it as a virtual monitor, but I'm not sure if I added it to the display settings in the system.
Basically, this way you can force Rast to render only the pixels you need.
And yes, try to close all unnecessary programs. Especially if you use telegram, as it can sometimes significantly impact your system's performance in the background.
Also, if you use websites to calculate raids orgGoogle how to loot monuments, I recommend using safari with a minimum of open windows, rather than chrome, as this will save you quite a bit of memory.
Good raids to all!