#mac-bugs-discussion
1 messages · Page 2 of 1
01/18/2025 17:31:10: Can't check "ViewTargetUserCreatedContent" privilege before the privilege manager has been initialized!
01/18/2025 17:31:10: Failed to check UGC privilege
That's from the log I just checked.
Could it be that PlayFab needs to be contacted? Because it also complains about that, since I don't want to log in to Game Center.
01/18/2025 17:30:21: Can't get PlatformUserId before the privilege manager has been initialized!
Also, please let me know if there are multiple places where the settings file could be stored. Because I'm pretty sure I deleted mine, and Valheim still finds my settings.
Hm.. I wonder how I can enable the console in appstore version of mac 🤔
You need to run it from the terminal.
/Applications/Valheim.app/Content/MacOS/Valheim -console
/Applications/Valheim.app/Contents/MacOS/Valheim -console
ty
there is never a console output
I just need to speed test without actually playing the game for hours 😄
:d
😁
Ok, I'll try logging into Game Center and see if that helps. If that is required, it is sinister indeed, because it would turn Valheim into an always-online game. 😠
I am not a avid mac user btw 😄
I know. 😉
And no, that wasn't it either.
Most game developers are not avid Mac users... sigh
we do have a few. but it's the weekend and no one works weekends here 😄
I really appreciate you being here and helping me. I know you don't have to. bow
k, just a sec
Plist location
For Steam:
~/Library/Preferences/com.coffeestain.valheim-steam.plist
For AppStore:
~/Library/Containers/com.coffeestain.valheim/Data/Library/Preferences/com.coffeestain.valheim.plist
Which app, in appstore?
Which is totally weird.
App Store.
And I deleted the Steam one as well, and I think it also loaded my settings anyway.
The only difference for the App Store version was that the resolution switched back to 1024x768 windowed. And that was it.
Everything else was still the same.
How are you laucnhing the game from AppStore?
Deleting the plist file I mentioned for AppStore resets my settings to default
Are you talking about specific settings?
Do you have the AppStore game version modded or something?
I just launch Valheim the usual way, no mods, no anything. Newly downloaded. And ALL other settings remain.
Let me try again.
This plist settings doesn't have anything to do with UGC privacy settings
So which settings don't reset for you?
Yeah, I know.
NONE, except for screen res and windowed.
This is just another thing I've noticed.
Yep. Just moved the preference file out of there and it does the exact same thing.
Screen rez changes to 1024x768 windowed and everything else stays the same.
The graphic settings are identical.
And plist is the exact same spot as I mentioned?
I have jump mapped to lctrl.
full filepath
~/Library/Containers/com.coffeestain.valheim/Data/Library/Preferences/com.coffeestain.valheim.plist
Yes.
Does that particular plist get removed when you deinstall the game from appstore?
Tested my jump, resets fine
I don't think that is supposed to ever happen. But let me try.
Nope, all my settings stay... 😛
But let me test...
It should happen
App store should remove Valheim from container and all its settings upon uninstall of the app
Just tested again as well and confirmed
I don't even know how to uninstall from the App Store app.... 😛
Never tried it, I usually just delete the app.
Got it.
Ok, let me check...
It's gone!
Wow. That is easy.
Ok, let me try to reinstall.
I hope I don't to use Time Machine to get my characters and worlds back. 😄
have to use
Absolutely! It deletes everything!
And my settings are STILL the same!
Omg, completely forgot AppStore doesn't have a Cloud
I'm so sorry, do you have a way to restore it via time machine?
Don't worry, at most I lost a day.
Oh god, I sweat a bucket just now
Peculiar that your settings are still the same lol
I wouldn't have tried it without having a backup. 😉
Must be some other plist somewhere that it is pulling
My thoughts... but where?
I used "find" in the Terminal, and I couldn't find anything.
find / -name "[Vv]alheim"
How about in ~Library/Application Support/IronGate/Valheim ?
Yep, settings are still the same.
There could have been a bug on earlier verisons that might have misplaces the plist file temporarily
But then I should be able to find it, right?
[18:18] ~ % find Library -name "valheim" 2> /dev/null
Library/Application Support/Steam/steamapps/common/Valheim/BepInEx/config/org.bepinex.valheim.displayinfo.cfg
Library/Application Support/Steam/steamapps/common/Valheim/valheim.app
Library/Application Support/Steam/steamapps/common/Valheim/valheim.app/Contents/Resources/Data/Managed/assembly_valheim.dll
Library/Saved Application State/com.coffeestain.valheim-steam.savedState
Library/Preferences/com.coffeestain.valheim-steam.plist
Library/Application Scripts/com.coffeestain.valheim
Library/HTTPStorages/com.coffeestain.valheim-steam
Library/Containers/com.coffeestain.valheim
Library/Containers/com.coffeestain.valheim/Data/Library/Application Support/com.coffeestain.valheim
Library/Containers/com.coffeestain.valheim/Data/Library/Saved Application State/com.coffeestain.valheim.savedState
Library/Containers/com.coffeestain.valheim/Data/Library/Preferences/com.coffeestain.valheim.plist
Library/Containers/com.coffeestain.valheim/Data/Library/Application Scripts/com.coffeestain.valheim
Library/Containers/com.coffeestain.valheim/Data/Library/HTTPStorages/com.coffeestain.valheim
Library/Containers/com.coffeestain.valheim/Data/Library/Caches/com.coffeestain.valheim
Library/Caches/com.coffeestain.valheim-steam
There's only one plist there.
And don't worry about bepinex, that's for the Steam version.
And the signs are of course still illegible.
That's so weird
It might be a similar issue as one in the past where AppStore version couldn't be installed as long Steam version was existing, because both had the same bundle ID
😄
Or it might be that your game somethow created additional settings file as it would be on Xbox
Really? Weird.
Which would also explain UGC issue
But where and how is it named?
Never saw a file structure on Xbox yet, so I wouldn't know. We can ask Love on Monday about it, he would probably know.
[18:26] ~ % find Library -name "[Vv]alheim.plist" 2> /dev/null
Library/Preferences/com.coffeestain.valheim-steam.plist
Library/Containers/com.coffeestain.valheim/Data/Library/Preferences/com.coffeestain.valheim.plist
Thank you and @hard fog again for your help.
It's really weird. I don't understand how this can work. The additional .plist must have a name that is not using the usual names.
And then the UGC issue as well... 😛
I now made double sure I removed both setting files. And it STILL can find its settings.
The Steam version COMPLETELY retains its settings! 😄
Even including the screen resolution.
Ok, bye folks! Thanks for trying to help. 🙂
Weird, we'll see on monday what Love has to say
In meantime I guess you can try moving BepInEx, uninstall on Steam to see if that changes anything on AppStore?
my only lead would be that BepInEx sometimes messed with graphic settings on Windows as well
Ok, will try that. Thanks again!
yeah. was going to write it up for him on monday. but I had to take a dinner break 😄
You guys have a good night and thank you very much!
Just wanted to let you know that removing BepInEx and libdoorstop.dylib didn't change anything, as expected. Both Steam Valheim and App Store Valheim retain their settings. And I still get the UGC thingy in App Store Valheim... 😛
The macOS-level UGC setting is in System Settings / Screen Time / Restrictions: Content & Privacy
However, we've had users disable that in the past without impact on the App Store game's filtering decisions. Love was aware last time it was brought up, not sure where things stand.
will check in with him on monday 🙂
Cool deal. The Steam version just sets its own privileges. The App Store version would either need to or it would need to complete PlayFab login with a custom ID for the player or something like that.
Fun little easter egg. In younger futhark, "ᚬᛏᛁᛚᛚᚴᛅᚾᚴᛚᛁᚴ" is phonetically "otillgänglig", svensk for unavailable 🙂
Good morning everybody and thanks again! That little easter egg makes sense to me. 😄
So, I think I found out what the "retain-settings" problem is. After turning my Mac off and back on (yes, THAT solution), Valheim lost all its settings and preset them with defaults. What I "think" is happening here is, that Valheim/Unity just reads the structure from main memory if the settings file isn't found and, if the settings aren't too outrageously different from what they should be, is ok with and applies them.
🤔
Only if you turn off and restart your computer, does it really apply some default values to it. If Valheim is loaded always into the same memory region, then it will always see the same structure.
At least that's what I think it does.
What about UGC issue?
Still the same. 😄
And about controls, can you now change a keybind, and then close the game, delete original plist file, does the keybind reset?
I've poked our Mac-master 🫡
Hehe, yes, I can change all settings (I could do that before as well), and my new settings are retained.
So before, the changes that you made weren't even getting saved?
I did change the screen resolution and turned on full screen, because that were the only settings that were no longer valid, and it did retain those through closing and opening Valheim again.
After deleting the settings file and restarting the computer, all settings were reset.
By which I mean "turned off".
Not just a restart.
I mean, before when you had the problem., I know that your settings couldn't be reset, but before, could you change a keybind in the game options and have it be saves when closing the game?
Well, again I didn't test keybindings, as they were all still intact. Just the screen resolution.
I know will test that theory again. I haven't started Valheim today, but I did delete the settings file. I will now start VAlheim.
Seems to me like some kind of caching issue on Mac
Yes! That did it! All settings are now gone.
Would be worth wiping some cache files next time we see this happen
@short bear did you use Bepinex at some point btw on mac? 🤔
Not on the App store version, as it doesn't work there.
Or rather didn't.
Haven't tried it yet.
tho if you have valheim on mac on both appstore and steam
doesn't those 2 install in the same folder? or share files?
And I religiously delete folders. And no, they don't.
you delete both 2 places valheim installs?
Yes.
Hm.. ok
BepInEx is out of the woods. It's completely innocent.
Steam Valheim is at ~/Library/Application Settings/Steam/steamapps/common/
App Store Valheim is at /Applications
and worlds / characters?
Are different as well.
Hm.. ok
Steam Valheim stores it at ~/Library/Application Settings/IronGate/Valheim.
App Store Valheim stores it at ~/Library/Containers/Data/Library/Application Settings/com.coffeestain.valheim
good good. just as it should
Yep.
I have soft links to characters_local and worlds_local so Steam Valheim can use the same world and characters.
Works like a charm.
Settings files are also stored different.
@short bear on which Mac device is this happening?
It's a Mac mini M2 Pro Sonoma 15.2.
16GB RAM
And just tested it again, UGC is still in effect on the App Store version.
Heyo! Just got caught up reading through everything. I was pretty sure that the UGC text stuff was due to you not signing in to Game Center. Right now it's a prerequisite for setting up privilege management, including viewing text, so if you don't sign in, the system doesn't know if you're allowed to view text, so to be safe (and compliant on xbox) it defaults to not letting you see anything. (This is something we probably want to alter since it does kinda force you to at least be online, like you mentioned).
However, since signing in to Game Center didn't seem to fix it for you, it's probably something else! In any case, thanks for making us aware of it, we'll try to have that fixed 😄
Thank you, Love!
I really appreciate yours all help. You guys are still the best. 🙂
And if you ever decide to bring out a GOG version, I will buy that one again as well. 😄
Oh, and let me try signing in to Game Center again, just to make absolute sure.
Probably restart Mac after also XD
😄
Will do. See ya in a minute 👋
Wow! Didn't expect that. I can now read the signs. So it IS Game Center... 😛
Not sure why it didn't work the first time.
Nice. That's good to know
Yes, at least your theory was right and we have firm standing ground.
Ok, I'll leave you folks to it. See ya! 👋
Great, thanks for testing things as well
Are there any known differences in smoke behaviour between Mac and PC versions? I have a two-storey building with a hearth on the ground floor and a second one directly above it. I understand that smoke should pass through the second hearth, but I could not get it to do that in my game on my Mac. Then I migrated to PC and the same structure now passes smoke through the higher hearth correctly.
if both users have the same settings. it should look identical
If you feel comfortable sharing your world we could always take a look at it to determine if there's a bug between the versions! this is the first I'm hearing about there being a difference between smoke depending on platform.
Don't remember a time when Hearth was never letting smoke go through.
Some players propagated this myth in the beginning.
The real reason their top hearth didn't coke the one bellow was due to being high enough.
You can see how smoke works on Hearth even on pre-Mistlands build, where it's quite clear the Hearth stopped the smoke even back then.
Never mind, it worked for a day and now it's smoking again. Whatever the problem is, it's not related to the difference in game versions.
User error of some kind, I'm sure.
I sometimes have an issue where the height difference between terrain and structures changes from session to session and I have no good explanation.
Hey Justin, I noticed yesterday that you where talking about mods on mac. Im stuggling to get mine to work... Could I possibly steal your shell script and get a screenshot of your folder structure?
Sure thing. Will do soon
Hi guys whenever I start valheim I just get a black screen and it stays like that until I quit it myself. I'm on a mid-2011 iMac 12,1 running high sierra (10.13.6). All my specs pretty much match the minimum requirements on steam other than the RAM (4gb instead of 8) but I've played valheim before in bootcamp and it runs fine on lower settings.
Player log ends with "This custom render path shader needs to have at least 1 passes." being repeated for thousands of lines and ends when I quit the game.
Anyone have any clue? I can send more of the player log above that loop lmk if needed, but didn't want to spam the chat
Hmm, that GPU might have been just a couple months before the Metal 2 cut-off.
Can you try:
open -a ~/'Library/Application Support/Steam/steamapps/common/Valheim/Valheim.app' --args -force-glcore
``` if on Steam or
```sh
open -a Valheim.app --args -force-glcore
``` if on the Apple App Store version?
I don't even know if the macOS version ships with glcore shaders at the moment. It may not do anything useful, but doesn't hurt to try.
If that doesn't help, feel free to attach Player.log here (you can redact IP addresses and steam IDs if you want)
Tried the first one and it shows Valheim starting in my dock but then it closes in 3 seconds. Nothing printed to terminal. I attached the player log and removed the hundreds of repeats for sanity's sake
Thanks how about the one in ~/Library/Logs/IronGate/Valheim/Player.log? It should have a few more lines at the beginning.
player.log from trying to start in steam normally and player-prev was from trying to start it how you said I think
Thanks. That provides some good information. I don't know about the Apple.Core Plug-In issue in your first player log, but I think I'm right about your hardware. Your model was just a couple months before Metal 2 support landed and I'm guessing it doesn't have a Metal 2 runtime/compiler for your GPU. I'm sad that the macOS version doesn't ship with the glcore shaders.
You have some old mac hardware by gaming standards. The only thing I can think of is to do what we all used to do and build your own macOS version using the glcore shaders from the Linux version. Coffee Stain has publishing rights, so I can't legally ship a build to you, but I can point you to how to do it yourself. It takes just a little bit of tedium if you're willing to put in the effort.
I think Justin Arthur is right on the money. Looks like the earliest iMacs with Metal support came out in 2012.
I think it would be possible to support glCore as well, it's just not been included in builds up until now. The only issue is that we do not have such old hardware at the office, so at the moment we can't test it.
But in the next update we can try including the openGL Core API as well, and if we do that and you run the game with the --force-glcore command, it should theoretically work.
And for the sake of interest - turns out that the Apple.Core plugin stuff is because Apple's plugins do not support version of MacOS earlier than 10.15, which means future versions of the AppStore version of the game will require 10.15 at least. Although Steam versions do not depend on it, so they can stay on 10.13 for now.
Nice, thanks, Love. That all makes sense. The Metal shaders have worked really well as far as I can tell and I suspect the audience for glcore on mac will be small/niche, but will certainly be nice to have the option.
I feel the same way! Small audience, but if we can support it relatively easily we might as well ^_^
Curious if the pink fallback shader would pop up for those shield generators like it did when using the Linux opengl shaders. Or whether Unity will address that automatically
Was just thinking bout ya, Tim. I should fire up your script and see how things look on the gl side these days. That script was the reason I bought Valheim in the first place. I don't think I witnessed the shield-gen issue. Do you think the shader used a new routine unsupported by Apple's opengl lib?
(or was this an issue on Linux as well?)
Yeah, if I recall correctly the ‘Shader Hidden/ShieldDomePass’ shader was tagged as version 420 or higher (macOS capping out at GL 4.1)
Thanks for your help guys
If you could point me where to do that, that would be great
Sure. I'd start with Tim's script. You can follow these build steps:
https://github.com/timkurvers/valheim-macos?tab=readme-ov-file#building
but stop before running build.sh. Because the script is no longer updated, you'll need to update it yourself.
If you look at the beginning of build.sh, you'll see see a bunch of variables set up under # Stable. You'll want to fill in the buildid and manifestid for the latest Linux depot build of Valheim. You can get a hint for those here: https://steamdb.info/depot/892971/
You'll also want to update the Unity version to what's currently in use, which I believe to be 2022.3.50f1.
If you don't have the patience to download those files and find out their new hashes for the script, you can consider commenting out the verify … lines in there.
You won't get official support for a build made this way, but if it happens to work on your hardware, that would be good feedback for the Iron Gate and Piktiv devs in here, who might be able to bake in those OpenGL shaders for an upcoming official macOS release.
Oh yes, and despite this being a plain .app you can put anywhere and start, you'll need Steam running in order for the app to fully launch.
Thanks. All was going well with the valheim, unity, steamworks.net and playfabparty downloads but then I got the following error
Alright. Probably due to really old Apple build toolchain. Try removing -arch arm64 from plugins/DiskSpacePlugin/Makefile.
hmm that seemed to work and I can now see the app in the build folder, but when I open steam and then open the valheim app, it icon just bounces in the dock for 1-2 seconds then closes
You can try running the inner binary manually in a terminal to see if it gives any meaningful output:
./Valheim.app/Contents/MacOS/Valheim
if the prior builds had failures, you might also consider deleting the previously built .app and starting fresh.
I get this
also everytime it failed I just deleted the entire folder and cloned again so idk
Alright. That params dump is normal, but obviously we want it to get further. I'll DM for diving deep.
Justin is a legend we managed to get it working. Performance-wise though it is pretty bad. I have to turn down all graphics sliders to the absolute lowest and run it at 720p with 50% res scaling and it still only manages ~17 fps average. For those of you who somehow still have an ancient mac like mine, it would probably be better to just install windows through bootcamp and run valheim there. From what I remember the last time I tried it that way, I managed to get closer to 40 fps at pretty low settings at 720p closer to 100% res scaling which was much more playable.
I will reinstall windows again tomorrow and check the performance and let you know
thanks to Justin and Love you were great help!
Oh also just to note, playfab wouldn’t work for me
Btw. in general, it's better to lower render scale setting that can be found in the game instead of lowering resolution, if you are playing on smaller screen.
Nvm tried win10 bootcamp again and got ~23 fps so only an avg 6 fps increase
so it became worse?
Nah better than the Mac build
try running Vulcan over DirectX and see
also. install full DirectX, not just the Light version
Does anyone know how to install bepinex on mac? I'm running a dedicated server with dathost and want to install 1 mod, World of Valheim SSC.
A few of us do it. You might start here:
https://steamcommunity.com/sharedfiles/filedetails/?id=3269574338
and hit up #mods-issues if you run into trouble.
Alternatively, my more shell-oriented version:
#mac-bugs-discussion message but note you'd still need to install Rosetta 2 and add arch -x86_64 ./run_bepinex.sh… if you're on an arm64 Mac.
And note the mod you pointed to also requires a server installation I'd guess
Hey, I need some help. A couple times now, my FPS has suddenly crawled to halt and the save becomes unplayable. I can load into a different world or restore a backup and the game will run normally again. The first time it happened, I could no longer load the save at all. This second time, I can still load it up but it's unplayable. Both times it happened while I was just exploring. What could be causing this? I play modded on Mac.
I don't know of any cumulative performance degradation bugs specific to the macOS versions at the moment. You might trying a long session without the mods before anything unless they are critical to your world setup.
Is this a laptop? If so, I would first want to make sure you're using the higher-wattage power adapter available for your model and secondly that it wasn't overheating.
It's a M1 laptop and I'm using a high wattage adapter I believe. But again, it's only on that specific save. I can go into a new world or load up a backup where I'm standing in the same place, and it'll run totally fine. I was able to move my character away from the location and the game started running a bit better, but still a pretty unplayable 15 FPS or so, but not the 1 FPS I was getting before. Mods are kinda important to me, and I don't think I can even load into my world without them.
If you can reproduce the bug by loading this save even after the laptop has cooled/restarted, it could be the item corruption bug. I've been trying to learn more about it myself. MarCaBre has a summary here:
#steam-bugs-discussion message
Hm, maybe I'll give the laptop a rest and try tomorrow. It's late for me anyway. Appreciate the help.
So earlier in this channel we discussed including openGL core as an optional rendering API for the game to use, but ran into several crashes and graphics bugs. E.g. changing render scale sometimes caused the game to crash, and the shader for shield generators did not work at all (giant pink texture).
Since this change would require quite a bit of work from our side, we will discuss this with Iron Gate next week to see if it's something they want us to do.
Is there a way to mod valheim on mac?
Check this link: #mac-bugs-discussion message
Correct. Bepinex is used for multiple games
I have the app store version, not the steam version. I'm trying to install either bepinex or r2modman and can't seem to find an easy way to install either on mac for this version of valheim
From what I read it's significantly harder to install mods on the app store version
you might be more lucky in #mods-discussion
this channel is for Vanilla issues
Update on this: We won't be including openGL core in future updates of Valheim due to the aforementioned issues with the API. Sorry about that!
Good to have an answer either way. Thanks for digging in!
Sure, no problem! I will add that this isn't a final "nail in the coffin", if it turns out there are more than just a handful of people who would benefit from it, we may re-evaluate. But right now, the amount of work necessary to get it to a state we feel comfortable releasing is too much for the amount of players who would benefit from it.
Is there a difference between the Steam version and Mac App Store version?
Gameplay and graphics are the same. There are what I'd call mechanical differences between the two. The biggest one for me is connectivity. The Apple App Store version uses Microsoft Azure PlayFab Party relays to connect between players and servers, wheras the Steam version lets you connect through those relays and allows direct (fast) communication with servers that support it.
Awesome, I’ve been using the Steam version, and it works great, but had considered buying the App Store version if there were any benefits to performance. Seems like it’s the other way around. Appreciate the info!
A couple:
- a big difference is that currently the Mac AppStore version lacks cloud saves.
- Another is that using mods is possible on Steam, afaik it's not on the Mac AppStore version.
- Third is that the Mac AppStore version comes bundled with a server application, which increases the filesize of the download
Also what Justin Arthur is exactly true. Gameplay, graphics, and performance are the same. If you play with only Steam users, you can choose to not use the cross-play backend, which may lead to better network performance overall.
So yeah, basically no reason to get the AppStore version if you already have it on Steam.
Love, did the com.apple.security.cs.allow-dyld-environment-variables entitlement get added to the Apple App Store signatures at the same time as the Steam build? If so, it's possible mods work on it now. I haven't had time to follow up and try.
Hm, no, it's not added. I think I tried experimenting with it a while back but ran in to some issues. Don't remember exactly what though... Worth another shot at some point!
Wait, for some reason if I want to play with other ppl on steam it has to be crossplay?
Iv tried telling my friend to disable crossplay so better performance but the server just dosent show up when crossplay is disabled
Steam version supports steam networking and crossplay. AppleStore version supports only crossplay.
Ye I got the steam version
But I still have to use crossplay if the other person is using windows
In another worlds. If your friends have Steam, all of you can play without crossplay.
Crossplay is needed for Apple Store, XBox console and Xbox MSstore versions of Valheim, which obviously don't have steam networking, as they are not on a steam platform.
Hmm thats rlly weird then
Don't try to find the server, add and invite each other as friends
ohh kk
Lemme test it out again
Cuz disabling crossplay makes performance so much better😭
why is it wierd?
Steam supports steam networking + crossplay
non steam platforms don't want steam networking so they only support crossplay 😦
No thats not weird
Its weird I cant connect to ppl on steam without crossplay enabled😂
Should work with steam invites. If it doesn't, double check if you have any VPN running and shut the program and background services from running.
oof its the vpn then
on mac cant find server trying to go online for first time how do i see servers its all blank
You clicked on the Community tab?
first of.
there are no "open community servers"
all servers are hosted by players and they are all password protected
i have the strem version on mac - is there any possibility to use mods ? is starting to be very had to find serwers with out mods. do im bann to play alone ?
Yes. electricdawn's doc is a pretty good start, IMO: https://steamcommunity.com/sharedfiles/filedetails/?id=3269574338
If you run into issues, #mods-issues would be the place.
There should be alot servers without mods tho 🤔
last time I checked, there was some like 10,000 servers or so.
but all of them are run by individuals so need to find the owner sadly to join a server
To add on to what Smiffe's saying, #1024264966712340510 can be a very useful way to find servers and you can filter by "vanilla" (i.e. unmodded) and get a lot more details than the Community tab might give you for a given server.
I'm getting a security violation trying to launch the game on arm64 macOS using today's public branch Steam release. false alarm
For Apple Store or Steam?
Mods or something else?
I had the .app opened in JetBrains Rider, so it had the .idea folder created and such in there. Wouldn't have been a problem except Steam replaced the .app contents but left in the .idea dir and today's new binaries hadn't been checked by Gatekeeper yet. When they were checked, there were clearly files not signed by Coffee Stain in there.
Thx for the info 👍
Hey i Just wanted to ask If questions regarding optimasation are okay in this Channel or If i should ask elsewehre :P
Well, are you reporting a Mac bug?
No was just asking for advice in regards to optimise an low Speck Mac
or if anyone knows a good guide etc.
Macs tend to have quite high resolution, one thing you can do is to set the "Render scale" setting to automatic if you haven't already. You can also just pull it down even further to something like 30%. It won't look as good, but it will run better.
you can also lower the resolution
This needs to be a t-shirt 🙂
Hey guys, trying to get a dedi valheim server going on an old mac mini M1 (arm64)
I tried severeal things
Docker, Linuxgsm, installing linux directly and then running the previous steps etc
They all stop at this error
steam@ec66b803c7f1:~/steamcmd$ ./steamcmd.sh +login anonymous +force_install_dir valheimserver/ +app_update 896660 validate +exit
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
Logging directory: '/home/steam/Steam/logs'
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[ 0%] Checking for available updates...
[----] Verifying installation...
UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1738027521
-- type 'quit' to exit --
Loading Steam API...IPC function call IClientUtils::GetSteamRealm took too long: 162 msec
Fatal error: futex robust_list not initialized by pthreads
./steamcmd.sh: line 76: 80 Segmentation fault $DEBUGGER "$STEAMEXE" "$@"
help would be appreciated.
Yep, latest Linux SteamCMD uses instructions that either Rosetta 2 or Apple Silicon does not support.
You can use the macOS native dedicated server or you can use the desktop Steam app's Console to download the Linux depot and use something like Iron Gate's image builder/runner
where can I get the native server and will it work with other x86 clients on the network?
You can get it right from the desktop Steam app's Library view (add Tools to your filter) or you can download the macOS version of SteamCMD if you're in a headless scenario
OK going to try
It will work with other x86_64 and arm64 clients on the network.
Note there's a Unity bug that currently prevents the macOS dedicated server from performing a world save automatically on shutdown, which is annoying. You will need to either perform a manual save before shutdown or wait for a regular save interval to pass in order to safely shut it down.
its launching then exiting after 1 minute
i dont know where the logs are
It logs to stdout/stderr, so you could start it inside an Apple Terminal or 3rd party terminal like iTerm2. You can also supply a -logFile <path name> argument to save logs to a file on disk (note it will overwrite on a new session)
The native macOS steamCMD works!!
Brother you just saved me from buying a mini pc just for this game server
🍻
Glad you got it working!
Take note of the world save behavior. I expect Unity will fix it eventually #mac-bugs-discussion message
Just to add on to this, Unity has already fixed this, I believe in 2022.3.57f1. Valheim just needs to be updated to use that version - as of now, it's on 2022.3.50f1.
That's great news. Thanks for the update, @manic parcel
Which Mac device do you have? Try adding Valheim to Input monitoring in MacOS Settings → Privacy & Security → Input monitoring → Add Valheim app (this usually helps controllers that can act as both gamepad and keyboard). After you do that, shutdown your device completely and turn it back on (not restarting, but shutdown).
I'm using mbp 2023 16" m3 max and I tried what u saying but still my game pad do not work T-T
Can you try plugging the controller via wire?
If you can try these steps: https://www.reddit.com/r/8bitdo/comments/w1xq24/solution_fix_problem_when_8bitdo_doesnt_connect/
There are some known issues for controllers that can send keyboard inputs, but wondering if you can make it work by following the instruciton in that reddit post.
I tried that procedure but it still doesn't work. In my opinion, my gamepad works fine in other games (zomboid, stray, etc.) so it doesn't seem to be related to my situation. 😭🎮
Think 8bitdo can also switch between many different modes of input. Have you tried the others? (Xinput, Dinput, Mac mode, Switch mode)?
Only I used Mac mode I'll try others now
I don't understand how this is possible, but after changing to D-input and connecting with a wire, it works 😂 Thank you so much. It's far from the consumer experience of continuity, but I'm so happy that it works. I hope it will work in Mac mode and wirelessly in the future without these minor changes.
Thanks for trying that one out. Does it work over bluetooth while in Dinput mode?
Glad you got it working. Could you also paste us a screenshot of your 설정 / 컨트롤러 settings menu?
No bluetooth doesn't connect with mac in D-input mode so I had to use a wire.
Will rely it further, which will help Piktiv (porting team) fix this and make it easier for new players. Appreciate the info and the willingness to try some things.
Thank u for your every passion of help. So now I can start my new adventure happily 🥰
There doesn't seem to be dedicated server app available for users from the App store right? If not I'll try to refund then buy the Steam ver 😂
There is actually, and is contained in the App package. But you might have trouble configuring it if you don't have root permissions.
(configuration of start_server.command). You can also use free dedicated server app on Steam.
Hah, everyone about to answer at once. It's bundled within actually, but the Steam version is definitely my favorite of the two
So here's the third answer 😂 There is actually, it's just a little hard to find. It's bundled with the .app, so if you right click on Valheim.app -> show package contents, then navigate to Contents/Resources/Server, there should be a .command file called start_server.command which you can use to start a dedicated server. However, like Macarbre said, it's harder to configure than the steam version. So I would also recommend the Steam version in this case.
Thank u for everything! Why u guys are so kind haha 🫰
While other dedi server apps I haven’t purchased showed up, I don’t know why I can’t find valheim's 😵 So I thought I should buy Steam one If I want to run dedi server using free app.
Hm.. I think you need to buy valheim to get the dedicated server for valheim 🤔
You can use SteamCMD to install it.
Then you can google for some guide on how to install Valheim dedicated server app with it.
Can't recommend any particular guide. Don't know which ones are good.
Hey Hey also a questions regarding the use of Switch joycons as a Controller for Valheim via Steam. I connected them in Steam and used them them in Big picture Mode to start the Game. As soon as it starts the game doesnt reconize the controller. Any Idea why this is the case?
You will probably also have to change your input mode from mac to direct input, but would be a good idea to test all modes.
Check how bohandsa solved their issue here: #mac-bugs-discussion message
First enable input monitoring and try that. If it doesn't work, try changing input modes.
Thanks :D
Let us know how it goes
Looking for Mac+controllers help: I'm running Valheim on Mac + Steam and trying to get a PS5 controller to work with modifications via Steam Input or similar. Basically I want to turn on chording of various controller buttons to correspond to the 1-8 keys. So far I haven't been able to get it working: the PS5 controller works but Valheim ignores the Steam Input modifications. Anybody got this working? Thanks!
Im looking for help. My Valheim game keeps freezing and crashing and i cant find the reason why.
do you use any mods?
And every time i lose all the resources i have collected and everything i have crafted.
No. no mods
Hm.. sounds like it crashes and doesn't save 🤔
do you play the steam on mac version, or the appstore version?
Steam version.
Hm.. maybe some issues with steam cloud?
I don`t have any problems with other games from steam.
It's normal for the game to not be able to save when you crash. No game saves just before the crash.
On which Mac device are you playing and which version of MacOS od you have?
Im not on a mac its a PC
oh. you wrote in the Mac help channel 😬
ok but there is no PC Channel sow i tryed in here.
ok thank you.
it's mostly for us so we know the platform the issue are on.
alot of the issues are platform specfic
Have people had a bug where the game just crashes and freezes when you save im on mac steam btw
On PC crashing during saving is usually related to systems being unstable when game suddenly goes from low to high FPS during saving.
On which device are you playing? Which MacOS? Steam or AppStore?
Im on steam
Have you managed to check which Mac device and MacOS you own?
Do you crash every time you manually press SAVE button in pause menu?
Im on an m1 MacBook pro with 8gb of ram so thats probably a factor here and the crashing happens pretty sparsely but enough thats its not just a one off thing
The most crash reports do happen on M1s for some reason. It's still being investigated.
Let me know if you notice any change after doing the following:
- Shutdown your device completely (no restart, but shutdown) and then turn it back on
- Enable Steam FPS overlay in general Steam settings → In game tab and then monitor what's happening with your FPS during saving, when being in menus, etc..
- Before loading into your world, access manage saves menu, select your character main save and move it from Cloud to Local, then do the same for world save
I’ll keep note of these next time i hop on
Hi! I'm playing on a dedicated server, my client is macOS, a friends Linux. On our dedicated, there are some things not spawning: Frost Caves, Queen-Dungeons and Charred Ruins (as fasr as I know). Loading the world in single-player on my Mac has everything missing, loading the same(!) world in singleplayer on the Linux-PC has everything spawning at the correct location.
Re-uploading the world from the Linux-PC to the dedicated has everything spawned at the correct locations - at least on explored areas.
any idea if this could be a mac issue or if some strange forces are at play?
So what did you have then on spot where these locations were missing before? Or in another way, how do you know that locations were missing?
After searching for a long time I looked at Valheim-map.world. Often I would find strange rock formations or unusually steep or flat areas instead of the dungeons
Not sure for the ashlands though. As I have never played them before I can‘t really say if anything looks out of place.
The site doesn't accurately show locations for worlds made pre bog witch update
If you want to check where you locations are, you either have to upload your world there or use console commands to find location in your world
The terrain totally changed with the same .db and .fwl on Linux-SinglePlayer. Some portals were now in the middle of a mountain for example
I did upload my world. And the world was generated recently. We started a new playthrough
That means you just messed up the world.db and world.fwl files due to mismatching them
How is this possible? Same files on dedicated (with Mac client) and on Mac in single-player show nothing. Giving the files to a friend, he sees dungeons and mountains in single-player
Saving this world on his Pc and re-uploading to server has them magically appear on dedicated for all clients. But this seems to work only for already explored areas
It's not possible. What you've have done is messed up your world files by loading mismatching world.db with mistmatching world.fwl files. This mismatching can also often happen on dedicated servers for variety of reasons, like shutting down a server while saving process in progress...
Probably nothing has magically appeared for your clients, espetially if you have portals now inside mountains. What you done is corrupted your world save file my loading a different .fwl file and matching with with your world.db file, which result in mismatching terrain levels.
For reference: uploading the world with single-player exploration of the ashlands has everything missing in ashlands apart from Fader and spawners. Nothing else seems to be there, even on Valheim-map
Hm. I can‘t explain this, then. Because the dedicated server seems to be unable to spawn these things. I even tried with a new world, generated freshly.
What you should do, is pull an older backup of your world, both world.db and world.fwl files that have a matching timestamp, from some of your dedicated server autobackup files. These files look like, worldname-auto_backup-timestamp.db and worldname-auto_backup-timestamp.fwl. You then either re-name those files to worldname.db and worldname.fwl and upload them to the site you mentioned to check where locations are, or you run them in singleplayer and check where locations are via devcommands. Your current world files (main files which are currently named worldname.db and worldname.fwl are mismatched).
The corrupted files get repaired if opened in single-player? Because it started working after that
It didn't start working if you have portals in mountains
How did you setup this dedicated server on your mac?
The dedicated started showing the locations after we re-uploaded the worlds because we started tinkering after we could not find the damn things
Running it via Steam, SteamCMD, AppStore?
Setup on a bare-metal with Ubuntu, docker and the container from lloesche
I think that uses steamcmd
Like this one: https://github.com/lloesche/valheim-server-docker
These are pre-modded server setups that can have variety of unique bugs.
It’s pre-modded? That’s news to me. Damn!
I disabled all mods
(At least I thought that)
Yeah, but we can't give support here for modded content. That why you can find other #mods-issues #dedicated-server channels here where you can ask more specific questions. When it comes to vanilla game, you should check if a newly created world on your Mac has all locations (by e.g. using console command "find Hildir_cave 3").
You can also run a free dedicated server app on Steam, connect a singleplayer world (same world in singleplayer, while the dedicated server is running on the same world in background on same mac device), then you go the singleplayer world first, find and teleport to a location, then you logout and connect to a server, and you should find your self on the same spot in the world. You should find yourself next to the same location.
sorry for the noise. I‘ll setup a new server and see if the problem persists.
For your current server, you will most likely have to restore an older backup like I suggested, load it in singleplayer, and run then run genloc command in singleplayer to add location that might be missing (will only touch unvisited locations).
I was under the impression that I’m running vanilla
Thanks for the help! I‘ll try that 🙂
It should be. Note for macOS Valheim, the Steam version has thus far been easier to mod than the Apple App Store version. Also note that if you're running Valheim Dedicated Server, many mods will require the server to be modded too. If you run into trouble, you can ask in #mods-issues.
Note that @pseudo ravine has already discussed his issue with us in #mods-issues here: #mods-issues message and I referred him back here. In case that helps.
Also, note that the problem is with in-game servers (his on Windows and his friend's on Mac) not a dedicated server.
yeah. he spammed in multiple channels. and we do not solve mod issues.
only chance is in #mods-issues
Oh, ok. Sorry, I thought it seemed like more of an issue with the design of the Mac platform's interaction with crossplay than it did with issues about the mods themselves.
I've somehow gotten it in my head that mods and modding are an important and growing part of the game as time goes on. I need to work on that.
no. mods issue
mods are 100% players own issue(s) and we only can try to help users remove mods
but it's not out responsibility
If someones modifies our files, it's not something we can do much about. or help out with 😦
same with hardware issues. we can only advice, but it's not something we have much power over
Hi there. Patch 0.220.5 is not yet availlabile on Mac App Store, right ?
It was added to the Apple App Store just over 10h ago. App version 1.5.3 includes Valheim 0.220.5
I wanted to follow up here on a strange issue I've been tracking where you can get a "Failed to connect" dialog and RPC connect timeout in the logs trying to connect to a LAN IP from favorites or recents following a Valheim upgrade from Steam. I only encounter it in x86_64 macOS and never see it on an arm64 macOS laptop.
Because no UDP traffic or ARP request shows up in the kernel network traffic, I'm thinking it's policy-related. Dropping and re-adding Valheim's Settings/Privacy & Security/Local Network permission appears to work around the issue.
on crossplay?
Nope, certainly LAN connectivity wouldn't work at all with Crossplay.
I'm still investigating. As far as I know, I'm the only in here who's reported it so it's possible it's specific to the environment on this Mac.
indeed. crossplay only works on outside IP's
Does anyone know if there are issues with cross play between consoles/PC and mac?? I'm trying start up a huge project and I'm trying to make it as inclusive as possible
That should be fine.
no issue what so ever
Perfect!!!
Anyone know of a bug fix for Mac/pc cross play? We basically do a LAN party, all on the same network, one of us on a desktop PC one on a gaming laptop and one on a Mac. Always works no issues with us we haven’t played in about a week. I run the server off of the desktop PC and tonight the Mac kept connecting and then giving the top left flashing icon with the connection issues. Tried the firewall, IP tracking, forget network, restarted everything, restarted the network, verified the files, steam update, pc and Mac updates, DNS codes..pretty much everything, the Mac was updated to Sequoia 15.4 between last Saturday when we played and tonight, and the windows gaming laptop had no issue connecting..we think maybe it has something to do with the most recent Mac update but can’t confirm that as of now
I don't know of Mac-specific issues with connectivity after a connection has been established. Is the Mac user using the Steam-delivered version of Valheim? If so, you might consider dropping Crossplay and have everyone connect directly over the LAN to the server. You'd use the server's LAN IP (e.g. 192.168…) when connecting from the game. Crossplay introduces more hops for the server and all players and it leads to reduced speed/reliability. The direct connection model is only possible on the Steam versions of the game and server at the moment.
As for theories as to why the Mac user was having issues:
- They could have had VPN software or a security suite running.
- They might have been on Wi-fi when other players weren't or they were on an inferior SSID (e.g. 5 GHz but behind a wall or on 2.4 when the others were on 5 GHz).
- If using Crossplay, your upstream bandwidth to your ISP might have been saturated. Security cameras, bittorrent, streaming to Twitch, Crossplay, all consume upstream bandwidth, and that's often a lower pipe than downstream for your average residential ISP.
what IP did you try connecting to?
If you use crossplay, you always goes out of your own network and then back in again
and issues are probably what Justin already mentioned 🤔
Thanks guys, we just disabled crossplay and were able to connect no problem..appreciate it!
hello, has anyone been able to open console on mac? My f5 doesn't work
Yeah, no issues. Are you using the Steam or the Apple App Store installation of the game?
I'm using steam. It's not a single player game though, playing on a friends server
Did you add -console to your launch options string in Steam's library entry for the game?
nvm got it working, needed to open through terminal
Sure, that'll work
Ah, yeah, Unity and Source games are all about the single hyphen
i am sure someone has asked this before but I am trying to find out what my player ID would be for playing on mac with the game purchased from the app store not Steam or Xbox gamepass. I am trying to play on some public servers, and although i can add the servers, i can't find my player ID to put on the whitelist so i can actually play. Any help would be greatly appreciated.
If the server operator knows what they're up to, you can tell them when you've made an attempt to join and they can gleam your player ID from the logs.
Otherwise, if you have a local world, you can join it, press F2 (function key, not media key), then find it in the Players list. It will start with GameCenter_ if you're signed into Apple Game Center.
I use Fn+F5 to open console on Mac
The playerlist and data info is another user interface than the games console 🙂
I use fn + f2 for that
correct 🙂
that's the pretty much only way to find someones player ID in valheim
specially for apple and Xbox
Im on macos, with vysnc turned off. Yet on my external 1080p capped at 120 and capped at 75. On native screen capped at 120. Any explanation? Thanks. Not sure why its stuck on vsync when I have it off and fps unlimited
When running on geforce now it doesnt cap it
I consistently see 200-400 FPS on both the Steam and App Store versions at 1080p, so they aren't capped as far as I know. In your Settings in game, is the FPS slider set to Unlimited?
I don't understand in which scenario is your FPS capped.
FPS not capped on native display, but when you hook up external monitor and play Valheim there, FPS is capped at 75?
And when you run GeforceNow on external monitor, FPS is not capped at 75 on the external monitor?
I fixed it somehow. I guess by turning off steam overlay. And after opening it again after geforce now and setting it to unlimited there as well. must of been an interference somehow
you know its actually the steam overlay counter doesnt read anything over your monitors max rate ig
Ah. Well, the F2 in-game stats are cooler anyhow 🙂
Hi all
We have a server on valhost playing on PC via Steam. I have a friend that wants to play with us, he is on Mac and he bought the game on Apple store.
A few days ago, he managed to go to "Join Community", found our server, entered the password and it worked well.
Today, he did the same but then he got the message that he needed to "Log in with PlayFab"
We don't know what to do and why it worked a few days ago and it doesn't now
Can anyone help please ?
Hm.. wierd 🤔
in settings, gameplay tab, there is a playfab activation button if someone clicks the "delete playfab account"
or possibly your friend blocked playfab services
Yes we tried but it said that he wasn't logged in PlayFab
he didn't do anything different from the other day it seems
@turbid thorn got any ideas?
FYI I wrote to the valhost support that told me that they couldn't help, as long as the server has the cross play activated (and it is of course) they don't know and they sent me here 🙂
only things I can see are people previously who had the same problem maybe had some issues with their internet service provider blocking crossplay
could also be VPN related 🤔
he doesn't have a VPN
Anyway, thanks for your help
We want to try to create a server in the game, so not a server through valhost, and see if he can join. If it works then it means the problem comes from our server on valhost.
And maybe if he were playing though Steam, it would be different ? Is it possible to migrate the game on Steam even if he bought it on Apple store ?
migration isn't possible sadly
I would assume if he bought it on steam, it's on all versions of steam tho
but all our versions and platforms all support crossplay
steam supports both Steam networking API and crossplay
ok. but he managed to join the other day so it should be possible to do it again 🙂
If anyone has an idea, please let me know. Thanks
does he use WIFI or mobile hot spot internet?
@limpid forge sorry that's happening. One note is that they might need to be signed in to Apple Game Center to be able to connect to a Crossplay game. They can see if they are under System Settings / Game Center. If they had recently upgraded the OS, they might be needing to sign in again. Once @manic parcel is back, they might have some clarity on if this is required.
If that's not it and the player is up for digging deeper, it would be nice to have a copy of their Player.log file. You (or they) could attach it to a post here. They are welcome to redact personal IP addresses or any other info they deem private before attaching. It can be located by opening a Finder window, pressing ⌘+Shift+G, and pasting ~/Library/Containers/com.coffeestain.valheim/Data/Library/Logs/IronGate/Valheim to quickly navigate to the logs directory.
he is back. but it's 00:26AM in sweden 😄
x_x hah, sorry for the midnight ping then, Love!
but yeah. could be they need to login on appstore / game center 🤔
same on PC if you have steam, and don't have steam logged in
To follow on from Smiffe's notes on Steam, if the macOS player has Steam and all other players are already using the Steam version, it can certainly be advantageous to not have to use Crossplay. While there's no migration possible for the App Store license, the Steam version is on sale for 50% off for many territories on IGN's Humble Bundle: https://www.humblebundle.com/store/valheim
You'd have to ensure this hosting provider will safely persist your world files if you were to change the config to disable Crossplay. You'd likely want to back up the world files (.db and .fwl) from them before such a change, regardless.
@turbid thorn when I search that exact issue on discord, the only user who had somewhat of a lead, said ISP
Interesting!
Yeah, looking at the App Store version's PlayFab logic, it looks like that will trigger if either of these happens:
- Player is not logged in to Apple Game Center
- Valheim unable to reach
https://6e223.playfabapi.com/…(e.g. blocked by ISP, firewall, DNS proxy/Pi hole, etc)
Don't worry about the midnight ping, I only use this account at work anyway :). But yes, you do need to be signed in to Game Center for any online functionality to work.
I have prepared an update that will adress this and make it crystal clear that it's the fault of Game Center rather than a generic network error message, so hopefully this will be more clear in the future. If that isn't the cause of the issue, then sharing the player.log file as Justin Arthur detailed above would be very helpful 🙂
Hey all, thanks a lot for your help and feedback
I will share this with my friend and let you know
What is weird is why he would have been logged out yesterday and not when it worked. But anyway I let you know. Thanks again.
The crossplay is not needed if all players play on Steam ? even if some are on PC and some are on Mac ?
If both PC and Mac users are on Steam, then crossplay is not necessary. If the Mac player is on Mac AppStore, then crossplay is necessary.
i am trying to make myself an admin on my mac os dedicated server, i tried using the game id on the admins.txt file and i am still getting you're not an admin error.
It should be adminlist.txt instead of admins.txt. If you've got that sorted already, let us know if you're using the Steam or Apple App Store version, and what directory did you put the file in.
i am using the apple app store version, yes it's adminlist.txt (/Users/user/Library/Containers/com.coffeestain.valheim/Data/Library/Application Support/com.coffeestain.valheim)
That looks correct. Are you signed in to Apple Game Center, and did the ID you added to adminlist.txt start with GameCenter_?
it started with an underscore from the f2. I added GameCenter_ and i get the same thing.
You want the whole thing, starting with GameCenter_… and in this example ending with …d0.
I personally recommend having your server's console or logs up and just connect to your server. You'll get a copy+pastable version of the ID in a log line like:
PlayFab socket with remote ID playfab/… received local Platform ID GameCenter_?:_…
Like GameCenter_bf…?
GameCenter_A:_bf…
The Players list might break it into more than one line, but it's a single string with no line break.
Ah. I have to head to bed. I’ll try it tomorrow. Thank you so much!
Sure thing. Have a good night
@turbid thorn your suggestion was just the fix i needed. Thank you!
You're very welcome! In the meantime, be careful with the macOS Dedicated Server once you really start playing. It doesn't save the world state on shut down. You will want to wait for the save interval to pass or manually trigger a save before shutting it down.
(a fix is on the way)
sounds good!
I am trying to dev commands and I am getting "is not valid in the current context"
You won't be able to use most devcommands on the dedicated servers, not without mods.
You can use devcommands like skiptime and those that set world modifiers.
Sounds good. Any guides for mod on mac dedicated servers?
The more popular mod for enabling more dev commands when connected to a dedicated server is actually a client-side mod.
Sadly, I don't think it's feasible for you at the moment either way. The App Store version is not signed in a way that enables modding. It may change in the future, we'll see.
That's unfortunate, Alright. Thank you!
Hey guys, just wanted to let you know of a weird bug I encountered in both Steam and App-Store Valheim.
When I press Ctrl-F3 or Cmd-F3 it won't toggle the HUD. Nothing happens.
Found it... 😛 It's a stupid keyboard shortcut in MacOS. I had to turn it off. It puts the focus on the dock. Now it works.
#1024264966712340510 is the best place to look for people to play with. Not in the bugs channel.
It runs fantastic for me, especially on the newer arm64 macs. I prefer the Steam version over the Apple App Store version, but graphics performance-wise they are pretty much the same.
Same bro me too
this is the first time i've run Valheim (Steam) natively on a Mac... AND the first time i've had a 'hiDPI' screen. i'm having serious problems here - delayed input from keyboard, key commands "sticking" so i keep running, and stuttering
i feel like i'm doing something wrong....
Macbook Pro M1
Do you have it on the higher-wattage Apple AC/DC adapter? Also the M1 Pro is old enough where you might still want to run the game at a lower res and have it scale vs going native
And how much RAM was this MBP configured with? Made sure you don't see swap usage in Activity Monitor?
If all that checks out, then check your fans in Apple Diagnostics startup mode: https://support.apple.com/en-us/102550 (Apple Silicon steps)
If you have any of the keyboard issues outside of the game, you might also want to look for visual signs of the "spicy pillow" effect below the keyboard
it's a 16GB 2021 MBP model (14"). I'm using a 60w power adapter.
i quit several programs (mostly programming tools) as well as Docker, and things have improved.
not sure about swap memory - i'll check that next time.
I tried a lower resolution but had the same lag issues. I ended up using windowed mode and it was much better
Cool. If it's the official 67W one, that should be enough for gaming on the 8-core model. If it's anything else you'll want the 96W one or higher.
Definitely worth running diagnostics for a fan and battery check either way.
Hi, is there a guide somewhere that shows how to install mods on my MBP? I am using a 2023 M3 Max MBP
You will need Steam
https://steamcommunity.com/sharedfiles/filedetails/?id=3269574338
thanks! I have already installed and been playing through steam
got it working, thanks
ive moved from windows to a macbook for school and i was trying to replay valheim but my xbox pro controller only functions in big picture mode through steam but once in game my laptop doesnt recognize any inputs does anyone else here have similar issues?
Are you using it over bluetooth? You will most likely have to wire it and change your input mode
i tried both bluetooth and plugged in and went in and added valheim to settings and privacy to have access to inputs but nothing has worked so far
Have you tried changing input mode on your contoller? Usually has to be done physically via switch that is located on a controller or via button combination. Which exact controller do you have? (e.g. Xbox Elite Wireless Controller Series 2)
There are no pro controllers I believe.
That one is Microsoft Xbox One Wireless Controller Pulse Red
It can't change input modes, uses Xinput which should work, but since it's an older controller, for Mac you might need to install this: https://github.com/360Controller/360Controller
how would i install that and set it up? im terrible with tech lmao
You go to releases: https://github.com/360Controller/360Controller/releases/tag/v0.16.11
You download 360ControllerInstall_0.16.11.dmg, run that file and everything else should be pretty straight forward.
Make sure that gameplay setting in enabled in Valheim controller settings.
ok is that in properties in steam?
No, in Valheim settings. Valheim doesn't use Steam input anymore.
ohhhh ok thank you
so should i open the game and load into my world and then plug the controller in or should i have it plugged in before launching and launch through big picture mode
Shouldn't matter, but you can try both.
I'm also not sure if installing those drivers I mentioned will help at all, but doesn't hurt to try.
ok thanks i just downloaded them and restarted the laptop rn so ill lyk if it ends up working!
hmm it still doesnt seem to be working 😦
I'm getting some pretty weird graphic artifacts with the sea foam
like the foam is displayed on top of my character when it should be in the background
it's not a bug. it's something we can't do much about sadly
Its a feature
I am playing valheim on a mac - devs thanks for that platform support - and the Ping does not work at all. If I press P in the map it does nothing. Any ideas, what could be wrong? Using latest Build distributed through the App Store.
Make sure you're signed into Apple Game Center (see Game Center pane in System Settings) and restart Valheim if you had to sign in. Pings are considered user-generated content, requiring a Game Center identity in the App Store version.
If that doesn't fix it, let us know.
Thank you - this fixed it. First start of valheim after activation took 10ish minutes, but now ping works and starting is as smooth as it was before.
Quick question for Mac users, my friend just got the game and is trying to play on his 2020 Intel Based MacBook Pro. He’s seeing his FPS in the 15-20 range. Are there any other ways he can get higher frames? For the most part he’s turned everything off or on low as well
- Depending on macOS version, in the Energy or Battery menu, there may be a performance mode that can be enabled while plugged into the AC power.
- They should be plugged in to AC power. If they are using a smaller lower-power charger for the device, they should switch to a higher-wattage one. They can see their current wattage in the System Report / Hardware / Power / Charger. They'll want Apple's 87W charger or ideally higher.
- It's worth running Apple Diagnostics on a MBP to see if the fans are still functioning to-spec. This can point out if they are clogged, for example, which will cause throttling in games. https://support.apple.com/en-us/102550
- Many of that model were sold with a low RAM configuration. If it's less than 16GB, that may not be adequate. They could run Activity Monitor while the game is running, Memory tab, then see if "Swap Used" shows anything. If it's more than 500 MB, good chance parts of the game are getting swapped to disk, making things slower.
And finally, that generation of laptops were often not great performers for Unity games. You could do everything right and still find it underpowered for the task. When you've exhausted the other possibilities, you're going to either want to reduce the resolution of the game down with scaling or with windowed view.
Luckily this latest generation of laptops are much better at it, especially the Apple Silicon MBPs, it's done a complete 180° in Valheim performance.
Ah okay, I’ll have him check that out, he’s thinking of getting a new computer anyways but he just wanted to see if it was possible to get it to work with what he already has
Thank you for the info!
In fullscreen 1080p, I get 200-400 fps on the M4 Max MBP
On my MBP M1 max I get 50-60 FPS on my 5k in full 5k resolution. Very playable.
Todays bigger release as well seems to work nice.
To expand on Justin Arthur's response (thank you for the excellent information btw 🙏) most macs have something called "hiDPI" that renders the screen at twice the "actual" resolution. So even if the game says it's rendering at 1680x1050, it might actually be rendering at twice that, which is okay on more powerful hardware, but an intel mac will probably struggle.
To remedy this, there's a feature called render scale in Valheim. If you put it on "automatic" or 50%, it will render the 3d world at the expected resolution. You can also put it even lower to sacrifice some looks for performance. The nice thing about the setting is that it leaves the UI looking crisp 🙂
I will have him try this as well! Thank you for the tips too!
can we speak about your bow
I have been pulling my hair out when I wanted to start a server in Valheim... when I wanted to play with my son. I always got PlayFab connection issues, preventing me from starting a server. Turns out logging out and logging in to GameCenter in System Preferences fixes that.
Until now my "fix" was to reboot the MacBook Pro. Glad that was resolved.
That is good information! There should probably be better error messages in case the cause of the error is GameCenter and not playfab. Glad you figured out the issue!
Well, if you scroll up here a bit... there was a person on September 2nd who complained about "pinging" on the map not working.
And I was like: Hey, I have that issue too... pings are user-generated content and apparently need a GameCenter login. So I checked System Settings and somehow I was logged in to Game Center but it also said "Unknown" instead of my username...
So I logged out of GameCenter, and logged back in... The PlayFab connection issues are resolved as well as the weird "Use this GameCenter account" pop-up when starting Valheim.
But yes, "error handling" could be better. There is a problem connecting to PlayFab, sure. But the real issue is that Game Center wasn't properly logged into. They could add "Check Game Center login" or something to the error message.
OK, I am back. Strange Mac bug. Every time after successfully starting Valheim and playing for a bit... when I then quit Valheim... Game Center gets into a weird state.
So at first Game Center is fine... showing my nickname... then there's a screenshot of Valheim, that also shows me logging in with my Game Center nickname... then after quitting Valheim... Game Center shows "Unknown".
Next time I start Valheim, I cannot connect to PlayFab when starting a server. I always have to log out of Game Center in System Settings, and log back in again... then it works again, once.
This is a new one to me. You're not the only one: https://discussions.apple.com/thread/256053912
This redditor suggested freeing up hard drive space fixed it for them: https://www.reddit.com/r/macgaming/comments/1l0f8i4/the_avatar_and_name_in_game_center_are_displayed/ but others in the comments have experienced the same
Hi! I updated to the new patch on my MacBook, and I've had a pretty game-breaking visual bug of bright white/flashing lights in game that I've never seen before and makes gameplay almost impossible when it happens (not to mention I imagine it would be truly awful for those with photosensitive epilepsy). Not sure if this is specifically Mac related, just not able to test on my Windows machine for now. Is this a known issue, and if not, is this the best place to discuss it, or should I be reporting using the bug reports on the Valheim website? Thanks in advance!!
There's no need to post in multiple channels. There are no known issues on Windows that would cause blinding white flashing lights.
Apologies, wasn't sure where the best place to post was, thanks for the clarification!
There's some white flashing that can occur on new beards and hairstyles, so try to make your character hairless and bearless to see if it would stop. Otherwise when the issue occurs, try to disable some of the graphic effects, like anti aliasing.
It seems to be directly related to water effects, or maybe sunlight (happening all over the screen when it's raining for example, and when looking at rivers at certain angles). I also tried switching to the lowest graphics settings to see if it would fix it, and while it reduced the "flashing"/"blinding" light, there were definitely still weird bright white lighting effects. Happy to screen record some pictures or videos if that would help?
What device, OS and specs?
16 in 2021 MBP, M1 Pro chip, 32GB RAM, MacOS Tahoe 26
Try to disable all graphic options next time it happens + set FPS limit to 30 fps.
Also, I would advise to enable Steam overlay with full parameters to see your temps.
In some cases white flashes can happen due to thermal issues, and those usually happen in Valheim around water as GPU works the most then.
Shutting down the device shroud clean and cache related issues that might cause this.
I can try that now and report back?
Agreed with the above and often a full shutdown/start fixed this for me on AMD GPU for macOS when I encountered it before. Water can trigger the Bloom effect, so you can try with Bloom disabled in the graphics menu. Sadly sometimes it's an unrecoverable hardware issue from thermal damage over time… hopefully not in your case
I restarted and of course it's no longer happening now that I'm trying to recreate the issue 😅 I will of course record it if/when it happens again. Not sure if it helps, but I did notice that when it happened and I switched to the lowest graphics preset, some mobs (necks) had visible "laser eyes" (I assume part of their detection system?)
My brother just had a popup when he logged into his game while hosting for me to join;
"Cloud storage low, can't guarantee the saves, please free up storage by manage saves in main menu" But it doesn't respond to him hitting the okay button
ok well, Valheim stopped working for me on my mac. It worked fine yesterday. Now it crashes steam when I try to run it. It has done this in the far past as well, but recently it worked fine, untill today..
If you hit the Report button, but don't send it to Apple, you should be able to grab the report from the Console app, Crash Reports. The stack trace in there would be handy in getting to the bottom of this.
it is not asking me to report it. It just freezes steam and I have to quit out of it. I also don't see a crash report in the console app
They got that popup from Valheim GUI?
Probably a bug that needs fixing, will have to look what happens when Cloud storage gets full on Mac.
Rarely happens to anyone that they manage to fill their Cloud storage in the first place. Did they have a lot of different world saves where they explored a bunch?
They should be able to see how much Cloud storage is free by clicking on the manage saves button (available at starting menu)
Your Steam crashes as well, as Steam app itself has to be restarted? Or you just have Valheim freezing?
Try to first shutdown your device (not restart but shutdown) and then turn it back on
That’s the thing. His storage wasn’t even close to full when he went to check
long shot, but could be local Time Machine snapshots? (macOS is known to report different 'free space' to userland apps vs what the system can report as well as use)
This worked! Thanks!
This happened as soon as my friend (same server) put on the new pointy hat 😅 it reverts to normal when he took it off; no issues when I wear it, only when he does, and he doesn't even need to be visible (behind a wall) for the issue to happen
wonder if this a continuation of that "blinding light" issue I had a few weeks ago
Apologies if this is the wrong place to ask or has already been answered (new here), but I'm having an issue with my Xbox controller. I'm usually able to select and use my controller easily, but now it will not work in game or on the home screen. It is connected and responsive in Steam tests, and when I go to the controller settings and turn off and on Gamepad enabled, it appears to scroll infinitely up and/or to the right. I've tried re-pairing the controller, game/Steam/computer restarts, and uninstalling and resinstalling the game.
Go to the steam settings for Valheim and enable Steam input. Then allow it on your Mac (it will pop up and ask). I got it to work that way and it works well.
Have you guys encountered an issue where your mac device (mine is an m2) can't connect to a dedicated server?
There are some specific issues, sure, but usually it should work well. What message are you seeing? Is the server using Crossplay? Is it on the same LAN as you or on the Internet?
If the dedicated server is modded you may have troubles if those mods are required client side. Otherwise no, I’m on a m4 and my worlds are all on a dedicated server.
it can be mods, VPN, bad wifi, router, firewall or bad internet connection
Has anyone else run into isses with controller not working on mac or have a fix for it?
Xbox controller?
Yes
plenty of people have had issues with xbox controllers and MAC
usually it's fixable tho
either a switch on the controller itself from D to X mode
and enable controllers inside the game itself
all other steam games work with it on mac, just not Valheim 😅
like stuff like this could be an issue
each case is.. diffrent it feels like 😄
my mate MaCarBre is alot better with controllers
turning sun shafts and motion blur both off creates a GPU stavation type scenerio I think is that right?
GPU stavation?
I guess it doesnt utilize enough GPU and it becomes cpu bound or bottlenecked
Right, idk much. I was messing around with the metal overlay and it gets significantly better performance when one of these two settings are enabled
Either one, I have the pro m3
does the performance get better just standing around in the forrest? or in your build house / village?
idk maybe its a quirk with my device. But when running on external monitor it obviously cant run exactly what the game outputs I suppose. So sometimes with certain settings off like with how I described the frametimes becomes wonky and the fps drops quite a bit. This could be anywhere. But if I turn sunshafts on it becomes almost exactly the same data as the games outputting.
I was using claude to try to understand it so Im clearly not v knowledgeable. But it was saying either one loads the gpu enough to maintain better frame times
you can tamper and try and see what works best for you
my test rig is only a pro M1
Do you notice any difference when you these two lines in Valheim boot.config? (valheim installation folder → Valheim_data)
gfx-enable-gfx-jobs=1 gfx-enable-native-gfx-jobs=1
No difference, but I am getting probably around 70avg in 1080p with most settings lowered
Just another anecdote, moving around in the same meadows region during day on an Apple M4 arm64 APU w/ 140W PSU attached, I got
Performance + Sun Shafts and Motion Blur enabled: 120-170 FPS
Performance + Sun Shafts and Motion Blur disabled: 145-180 FPS
Via the Metal overlay or Ingame?
in-game. Think I might get different results with the Metal one?
Tried the Metal one. That's pretty neat, hadn't seen it before. It certainly seemed like a more stable reading, but I didn't see much change when I enabled or disabled shafts & blur.
Supposedly from what I understand that Claude says the metal overlay is actual screen output. Wheres the ingame is what the game outputs. I tried to record my experience but the game gets composited so it all runs shit anyway. unfortunately I cant show the larger discrepancy I experience at direct
My frame intervals near 20ms disabled and around 12ms enabled lmao
Alright. What biome were you in? Any storm going on at the time?
haha no! Im in the mountains getting 100fps ingame overlay around 80+ on metal. Then I turn sunshafts off and itll be around 60! haha
as long as you get 60+ or so. it's fine 🤔
Does anyone know how to get bepinex to work on a Mac? I have my own public server and I have it installed on my server but can’t seem to get it installed or working on my computer.
I’m trying to make it so my admins who want to super build can, and allow only those who want to play vanilla and follow rules can.
Any and all help is hugely appreciated
For mod support it's best that you go to #mods-discussion.
Here's few guides that I've seen people use on how to install mods on client.
video: https://www.youtube.com/watch?v=WhS9SE1JrZk
steam: https://steamcommunity.com/sharedfiles/filedetails/?id=3269574338
reddit: https://www.reddit.com/r/valheim/comments/1dcko3i/
My wife’s new Mac mini gets a server connection symbol on the top left of the screen when she joins on my Windows PC game. She can join, but gets dropped within 20 seconds. She doesn’t have any issues joining from her old Mac book from 2020. The new Mac mini runs Valheim great and I can join her game without any issues. The only thing that has changed was her new computer. It’s has a M4 chip. Any suggestions would be greatly appreciated!
Is she playing Valheim through Steam app? Do you have VPN installed on the mac mini? Did she log into Game Center app on the mac mini?
She’s playing thru the Steam app( we both are). No VPN on the Mac mini. She’s not logged into the Game Center app on her Mac.
She’s playing thru the Steam app( we both are). No VPN on the Mac mini. She’s not logged into the Game Center app on her Mac.
We just checked. Both her old Mac book and new Mac mini don’t have the Game Center logged in. We also verified that the old Mac can still join my world without any issues. This is odd.
The easiest fix would probably be for the host to disable crossplay option before they start the world as a server.
It “failed to connect” when I hosted without the crossplay button on.
Ok, try keeping crossplay off. Send an invite via Steam while she stays in the character selection menu.
Then when it fails, go to main menu (on her PC), click on show player.log button (bottom left below patch notes), and DM me player file (player.log)
That worked!!!! Thank you so much!
@restive pollen ?
hey there im hoping anyone can give any advice at all, ive been working on an issue for a few days now and no matter how many fix tutorials or chatgpt chats i make it never works. im trying to play valheim using my xbox series x controller on a mac m4 chip using the new tahoe software update and it was working at the very first time i tried as in first time i tried connecting controller to game it worked not first time playing game, anyway ive checked bluetoth and apple says its connected so dose steam and laucnhing the game in big picture mode even says itll launch using this controller but ever since that first time playing with the controller it wont work all i did was shit down valheim then oppened it 10 min later and didnt work since (i can still play normal just not using controller no matter what i try) ive tried enabling and disabling steam input multiple times aswell
it would be amazing if anyone could help as i bought the controller for this very reason
@solemn cypress you seemed to have helped other guy so hoping you can help me
ok i just did some testing and on my other mac laptop same system update jsut m3 chip and it works fine on that but not on mine?
I found a solution, it was factory resetting my laptop
I just started playing a couple of weeks ago. I use a PS5 controller on a Mac. With the latest update, using the left stick to crouch no longer works. Known issue?
Has to be pressed and held now.
Will prob be reverted
Ahhhhh. I see. Thank you!
Getting this error on macOS after recent update when playing modded with BepinEx
```log
[Info : Unity Log] [Apple.Core Plug-In Runtime] Initializing API Availability Checking
[Error : Unity Log] DllNotFoundException: AppleCoreNativeMac assembly:<unknown assembly> type:<unknown type> member:(null)
Stack trace:
Apple.Core.Availability.get_RuntimeEnvironment () (at <2ff613bb29c442f09b214e3293348086>:0)
Apple.Core.Availability.OnApplicationStart () (at <2ff613bb29c442f09b214e3293348086>:0)
Apparently, the recent version is missing a dependency DLL. The managed C# assembly (Apple.Core.dll) for Apple/Game Center integration is included but the native macOS library (AppleCoreNativeMac.dylib or .bundle) that it depends on is not.
mods are broken atm
and also, mod issues should be reported to the one who made the mod, not to us since we don't handle mods.
sometimes help can be found in #mods-issues
This issue is not related to mods. I was able to identify it because it appeared in the BepinEx console.
Here is the log message from my Player.log file...
```log
0: Apple M4 Max (high power)
Using device Apple M4 Max (high power)
Initializing Metal device caps: Apple M4 Max
Begin MonoManager ReloadAssembly
- Loaded All Assemblies, in 0.091 seconds
- Finished resetting the current domain, in 0.002 seconds
[Physics::Module] Selected backend.
[Physics::Module] Name: PhysX
[Physics::Module] Id: 0xf2b8ea05
[Physics::Module] SDK Version: 4.1.2
[Physics::Module] Integration Version: 1.0.0
[Physics::Module] Threading Mode: Multi-Threaded
DllNotFoundException: GameKitWrapper assembly:<unknown assembly> type:<unknown type> member:(null)
at (wrapper managed-to-native) Apple.GameKit.DefaultNSErrorHandler+Interop.DefaultNSErrorHandler_Set(Apple.Core.Runtime.NSExceptionCallback)
at Apple.GameKit.DefaultNSErrorHandler.Init () [0x00000] in <1c863a717bf14265a8394fbb417df2e2>:0
DllNotFoundException: GameKitWrapper assembly:<unknown assembly> type:<unknown type> member:(null)
at (wrapper managed-to-native) Apple.GameKit.DefaultNSExceptionHandler+Interop.DefaultNSExceptionHandler_Set(Apple.Core.Runtime.NSExceptionCallback)
at Apple.GameKit.DefaultNSExceptionHandler.Init () [0x00000] in <1c863a717bf14265a8394fbb417df2e2>:0
UnloadTime: 0.608000 ms
yeah but...
just running Bepinex can and will cause issues by itself
I acquired this Player.log file while running the game vanilla and launching via Steam on macOS.
did you completly remove bepinex first?
Yes
Hi folks, the last patch update changed the case of "Valheim.app" to "valheim.app" and causes the game to not launch at all from the Steam GUI if the Steam app library is on a case-sensitive volume.
Yep 🙁
It's an easy fix if you know what you're doing, but I wouldn't count on the average player to know. The error you get is the most obscure that I've seen on macOS--just an error with a number--but it's actually a codesign validation error since the rename corrupts the existing app bundle.
Lower case is how it should be (previous versions made it upper case by mistake).
Did you Mac came with case-sensitive volume or you manually made is so?
yeah the actual launch option config in Steam seems to be Valheim.app, so looks like a misconfiguration there if the rename was intentional
(may have dreamt this, but I'm pretty sure it used to be the other way around at one point in the past, valheim.app in the config, but Valheim.app on disk)
They did it on windows too. I wonder if this is some over reaction process from when they changed the capitalization on linux and broke it real good because theres also a 13 year old bug in steam for linux where it wont change capitalization on files
idk if this is a bug or not but how do I fix this, when I use the scroll wheel on my mouse to rotate a object its super sensitive and it also bounces back one tick, I'm using the Logitech MX anywhere 3S for Mac?
Does the wheen preform ok here? https://www.scrolltest.net/
Online scroll test tool that detects potential mouse wheel issues using multiple algorithms and displays wheel data in real time through charts.
The default data volume on macOS is case insensitive. But I created a separate case-sensitive volume and that's where my Steam library lives.
I have to use case sensitive on my macs due to needing to work with Linux code repos all the time.
Hi! My friend needs help troubleshooting a problem he's having. I'm not sure if this is the right channel, but in his words:
OS: macOS Tahoe 26.2
Device: Apple MacBook Pro
Chip: Apple M4 Pro
Valheim Version: 0.221.10
CrossOver Version: 25.1.1 (25.1.1.38624)
I want to play Valheim using mods with BepInEx. I am aware that there is a macOS-native version of Valheim for Apple Silicon. However, the BepInEx mods support there is pretty limited and it has to run through Rosetta. So, I tried using CrossOver.
So far, CrossOver has worked really well for Windows-only games. For example, I was able to play Sons of the Forest on an ultra-high graphics settings without any noticeable performance drop.
However, with Valheim version 0.221.10 (the “Default Public Version” as of 8 February 2026), I couldn’t get the mouse pointer to work. I was able to pan the camera around when playing, but I couldn’t click on menus. The behavior is the same whether or not I have mods with BepInEx installed. And, when I tried downgrading to the current default_old version (which I believe is 0.221.4), the mouse pointer works just fine. So, I think this is an issue with 0.221.10 specifically. I’d be more than happy to play with the default_old version, but that means that I can’t play on servers running the 0.221.10 version because of the mismatch.
When running the modded game with the debug console window open, there is some insight to why the pointer might not be working:
“[Error: Unity.Log] EnableMouseInPointer failed with the following error: Call not implemented.”
This appeared in the console right after the line “[Message: BepInEx] Chainloader startup complete.”
There is also another error message, but I’m not sure whether or not they it is related to the pointer issue. These two error messages do not appear when I’m running the game’s default_old version.
If any of you knows any possible fixes to the issue, please let us know!
the input / mouse cursor issue is a known issue with CrossOver in combination with Unity 6 games (believe Valheim upgraded its engine recently; which would explain why an older version of Valheim 'works')
CodeWeavers (creators of CrossOver) are aware, and have a fix, but it didn't land in the latest CrossOver 26 beta/preview yet. from what I understood they're gonna try and include a fix as soon as possible (next point release, e.g. 26.1)
Thanks for the answer! Then would that mean the only fix currently would be playing on the older version?
Same issue exists on Linux and older proton Compatibility layers
If you're using the Steam version of Valheim, I recommend giving Rosetta a try when needing a x86_64 run. The performance is really not that bad, IMO. Too bad they're sunsetting it soon.
Long time no see 😭 I just turned Valheim back on after a long time, but this time I can't play it even with a wired connection. Hmmmm 🥲
Just FYI...I just finished installing and trying Valheim on my M1 Max Mac Studio using Asahi Linux hoping it would eliminate missing shader issues with so many mods (it utilizes Vulkan shaders). I never got to mod testing because the average 20fps due to the multiple translation layers of this setup was not worth it to me when I normally get 60+ fps under Rosetta2.
Check what Pickles said here: #mac-bugs-discussion message
I just got a Logitech F310 Controller for My Birthday, input D works with everything on my Mac but not for Mac Valheim or Steam Valheim, X input does not work with Mac?
Well….. I just finished factory reset my mbp then tried to play the game but still it doesn’t work with my 8bitdo pro 2 controller 😢 I lost my word 🫠
Are you on the Steam version or Apple App Store?
Is there anyone that has updated ways to mod valheim on MacBook? All the tutorials seem to be outdated and don’t work
Apple App Store version thank you
Mine should still work. And my apologies for not answering any questions there, but I'm locked out of Steam Valheim and can't post there any more.
If you have the latest update of the ORIGINAL BepInEx (not the one from ThunderStore) it should work. But there might be some changes that make it break. Let me check again.
Yep. There's an update in the script file (presumably for Apple Silicon) that breaks mods. I need to look into this.
I think I found the problem. Let me know if you still need assistance.
i found a way to install them thankfully. It was a pain but i got it to work. unfortunately, half of them visually dont work cus of macs ass shaders
I wouldn't call them "ass" shaders, they're just different. 😉
For everyone using a Mac and trying to use Mods:
https://steamcommunity.com/sharedfiles/filedetails/?id=3676801930&insideModal=0&requirelogin=1
This has just been updated as of the start of the month and thanks to this wonderful poster, I can use mods again on an M4 with Tahoe.
Hello everyone I have a problem with the gamepad in the game. Steam and other games see the gamepad (hollow knight), but as soon as I launch Valheim it doesn't work. I have a wired xbox 360 gamepad. I play on a macbook air m2.
I sadly don't have any kind of hardware to test this issue 🥲
@solemn cypress do you have any insight on mac + Xbox hardware?
I'm afraid that controler won't work. MacOS doesn't have native support for this controllers (stuff like this was required: https://github.com/360Controller/360Controller in the past). Steam input probably makes those controllers work, and atm that doesn't work in Valheim properly on MacOS. Have you tried playing Valheim in big picture mod and ensuring you have Steam input enabled for Valheim?
Yes, I opened it in big picture mode.
It's strange that the Hollow Knight game works with the same gamepad without any problems
Does it still work when you disable steam input for Hollow Knight?
Ya, Hollow Knight works perfectly with steam input turned off
First one or silk song?
First one
Hm.. can you try adding this launch argument to Valhiem properties in steam library:
-gamepad xbox
and also replace the above one with -gamepad generic if the first one doesn't work
I prescribed 2 options, it also doesn't work. I tried the joystick in Human fall flat, it doesn't work there either.
most of that can be simplified by using https://github.com/toebeann/gib from one of the BepInEx devs
Yet another TUI application for this, you can also manage mods with this one I made though: https://www.youtube.com/watch?v=5k2p_NIW17Y
https://github.com/jneb802/mmcli
Thanks for watching the video! Find me on discord if you need more help or tips on modded Valheim: https://discord.gg/p9xztvJUV4
Anyone have any mouse button macro suggestions? (I want dodge in one button).
Steel GG seems broken on my M4 machine.
Hello, this has been happening to me since I started playing the game a few years ago. I'm not sure if it's a Mac-only bug or not, but I keep having the same bits of my (admittedly very large) base break, as if they have no support, and when the physics updates for the entire structure, they break.
Whenever stuff like wooden beams break, I put them back on, but they break again after a few in-game days. It happens sporadically, sometimes, after just a day, sometimes after several play sessions. They all seem to follow "chunk" (not sure what the correct term is in Valheim) border lines. I have a very geometric circular base, so I can definitely trace the breaks to these lines.
Will the Valheim team ever fix this issue? It's definitely a pain in terms of both quality-of-life and the gameplay itself. I have broken buildings, walls, decorations because of this. I play the game on the default mode, but I'm sure builders on "creative" mode have also encountered this issue.
When you enter the center of your base via portal, and instances (visible when you press F2) start to load, how long does it take for them to load to max number (don't move while loading)?
It's not a Mac-only issue, can't happen on Windows as well, but reproducing the issue is a problem. Can you send me your world files?
It takes around 19 seconds to load ~48760 instances
Do I just send the .db and .fwl files here? Rules say I can't DM.
Better to send me the link to the files via DM. You can send them directly as well if Discord will allow you (file size too big)
Okay got it. Also, using a M3 Max MBP if it helps with reproducing the bug.
Doesn't even sound like a problem. Its a phenomenon when your base it litterally 5 times as large as expected and the game takes a long time to check stability on 48000 objects... The build piece probably should break instantly of you had a lot smaller build.
Creative mode doesn't change the stability system. Just to be clear.
I mean my buildings are fully stability-compliant in theory. There really shouldn't be any pieces breaking in the first place. I understand that it takes a while for the game to calculate stability for high instance counts, but it doesn't matter when none of the pieces should be breaking at all, because they're all adequately supported. I'm talking about green pieces directly connected to blue pieces breaking here--not red ones.
Things doesn't just break for no reason. But when you are over 20.000 instances. The stability checks are so slow, just adding 1 piece more will reset the checks and it can take ingame days for anything to break.
You said 48000 instances so anything breaking at all is a miracle
Considering I've played the game since 2021 and all I've been doing was build stuff, I understand the building mechanic very well. I'm almost at day 2000 with this world. I'm a very meticulous builder who does things mathematically.
Say, I have 10 identical buildings, and only one of them breaks at that particular spot over and over, and I notice that all of them follow the sharp chunk/zone lines on the world--I think there's a problem with how the game engine calculates stability. My theory is that instances built right at the border between zones are orphaned, or treated like they don't have a stability parent, because their parent is at a different zone, hence after many days, get calculated to "no parent" and break off.
I do understand that the number of instances probably contribute a lot to the complexity of the calculations, and probably why my world had more of these things breaking as I kept expanding my base area.
Just checked, all of the problem areas are in places where the instance count changed if I walked one step on either side, from 46k to 37k for example. Pretty sure these are zone borders.
I bet the ground is'nt 100% identical in each of those buildings
It could be that issue where heights are different from session to session. I think I sent Smiffe a sample world where I could walk through an archway maybe in only ~60% of loads of that area. Didn't even need to restart the game to reproduce. I'm on macOS as well.
Sone stairs below the archway?
Not the same issue, this one where build pieces break on zone borders on high instance count build is kinda a known issue
On some systems with CPU issue is can also happen on low instance count
yep, stone stairs below the archway indeed
There's a known issue with stairs. Someone mistakenly increased their height I believe
I remember that, but is it is also known that it can change from one zone load to the next in the same game session?
Hey everyoneee
I'm on a macOS Sonoma and I'm unable to connect to my friend's Valheim server hosted on a Windows PC. We've been troubleshooting for hours and can't figure it out.
-
Host is on Windows, running the server via "Start Server" in-game with crossplay enabled
-
Third friend on Windows connects without any issue
-
All three of us are on the same version of Valheim (latest)
we tried to
-
Connect via server list → Failed to connect
-
Connect via Join by IP (local IP) → Failed to connect
-
Connect via Steam Friends → Failed to connect
-
Tested on multiple networks (home Wi-Fi, mobile hotspot) → Failed to connect every time
-
Disabled macOS firewall (both in System Settings and via terminal) → No change
-
Full clean reinstall of Valheim and Steam → No change
-
Tried tccutil reset LocalNetwork → Failed (even with sudo)
there are the Log output at the time of connection attempt:
Joining server 'XXXX' at PlayFab network...
ZRpc timeout detected
ZPlayFabSocket::Dispose. State: CONNECTING
ZPlayFabSocket::Dispose. leave lobby.
ZPlayFabSocket::Dispose. State: CLOSED
Lost connection to server:ErrorConnectFailed
It seems like Valheim finds the server via PlayFab successfully, but then the direct game connection times out.
The two Windows players can connect fine on any network. The issue is 100% reproducible on my Mac regardless of network.
Has anyone experienced this on Sonoma? Any fix?
thankssssss
Are you all on Steam? If so, you don't need to have crossplay enabled, in fact you are better of disabling it.
Also note that connecting by LAN IP will never work with Crossplay, even if you're on the server's LAN. To properly Add Server with Crossplay, you'll either need to use:
- The most current join/invite code (found in server logs or by a connected player in the background of the Esc/main menu while connected). This is my recommendation.
- External IP address
Ok, an observation I've made multiple times now:
I just killed Yagluth again, and I think that for this specific problem it was ON his altar, and either NO or just ONE torn spirit dropped for me to pick up. I was just wondering if somebody has ever stumbled over this specific issue, or am I just imagining things. Thanks for your insight.
Default settings. Absolutely NO changes to world modifiers. Almost empty inventory. I have auto-pickup turned OFF when fighting bosses.
And of course completely vanilla. App Store Valheim can't be modded. 😛
Yeah, it's a known issue. If you kill him while he is standing on altar, and he is in particular animation, the drops can end up below the alter.
You can pick them up by raising the terrain via hoe tool, if they haven't already despawned.
Ok, thanks. So at least it's a known bug. They're probably gone by now. I got at least one, so it's not too much of an issue this time. I was just wondering why it happened to me multiple times in a row. 😄
Is this specific to Mac-Valheim or is it a general bug?
General bug. Your technique must be repeatedly precise XD
Lol... I think I got killing Yagluth down to a science. 😄
Na, it just happens that I kite him around his altar, and then when I kill him, he's most likely on the altar. 😉
Possible macOS Resolution menu / WindowServer issue.
I’m on macOS with an Apple M3 Pro, Steam build, Valheim 0.221.12. While playing, everything was running normally. I opened the Settings → Resolution menu, and shortly after that the whole Mac became severely laggy, not just Valheim. After quitting Valheim, macOS was still lagging for a few minutes: text input, Spotlight, app switching, etc.
During the lag, Valheim had exited, but WindowServer was around 50-75% CPU and Steam Helper GPU/renderer processes were still active. Swap was ~3.25 GB used. No macOS thermal warning showed up. The system eventually recovered without rebooting.
Relevant Player.log timing:
- 23:12:04 “Activating default element Resolution”
- 23:12:08 “Activating default element Resolution”
- 23:12:10 “ZRpc timeout detected”
- 23:12:12 “Game - OnApplicationQuit”
- 23:12:17 “Error”
- several “Thread ... may have been prematurely finalized” lines during shutdown
This may be macOS/WindowServer/GPU cleanup related after opening the Resolution menu. Happy to provide Player.log or test a repro if useful.
also im a dev so happy to help test/debug as needed
That's heavy swap usage if you have reasonable RAM and it easily explains the full-Mac lag. Certainly could be a Valheim bug, and if so, could have taken some time for the kernel to move pages back to RAM from swap after Valheim exit. If you reproduce it again:
Activity Monitor, Memory Tab, make sure Memory column is in descending order, and keep it up before and after you close Valheim.
And if you have that player log, you can definitely attach it here in a post. Feel free to strip IP addresses or anything else you deem private.
I haven't heard about weirdness with the graphics tab on arm64 macOS, but let us know if there's anything unique about your setup, such as running at native display res. Will be useful to know if you were full-screened or windows at the time too.
I'm not an Iron Gate dev, but they do stop by. If you find it to be a bug definitively, add it to the list (first form): https://www.valheimgame.com/support/
If you want to get dev-y with it, you can also Sample the process before you exit via:
Activity Monitor, select the process, ℹ️, Sample
It'll give a stacktrace. Won't be super helpful if the bug is in the CLI/.Net code, but can help in other cases.
thanks Justin. after some more investigation it seems like aggregate memory pressure. I agree on heavy swap. using a menubar app to monitor
Can you repeatedly trigger the same issue by opening resolution menu?
Unfortunately not. It seems transient, hence why I’m thinking it’s just memory pressure. Unless there’s some known preexisting bug on Mac with the graphics menu