Age of Empires 4 is the only game I have had trouble getting to run properly after my switch to Linux. On my Windows boot I can play at 100% scaling 1440P and get a solid 80fps with High settings
When I launch AOE4 on Linux through steam it defaults to 720p low graphics and 50% scaling and still only gets about 20FPS in the menu!
If I manually up the settings to the level I know my rig can run based on my Windows boot the game basically crawls to a hault.
I have scrolled through all of the pages on ProtonDB and tried all of the Boot Config's suggested that relate to underperformance in the preference menu in steam. I have tried forcing proton experimental and the beta version and running it in an X11 session.
Even moderate increases from the 720p defaults cause so much lag the game is unplayable.
It feels like the game isn't even using my GPU. Any advice on getting this working? My workaround right now is to just boot into windows when I want to play AOE4 the side benefit of this is solid HDR support but I hope that changes once Wayland HDR for gaming works better out if the box.
Setup Fedora KDE Plasma AMD 5600X Graphics AMD AMD RYZEN 7 7700X CPU Dual Monitor Setup. Main Monitor 27" 1440P with Freesnnc Second Monitor 21" 1080P with Freesync
SOLVED: Buddy of mine suggested I monitor my GPU usage just to see if that helped find any clues on what was going on. I installed Misson Control and took a look at the usage. This is when I noticed that I had 2 GPUs. Then it clicked. For some reason AOE4 was using my iGPU. I upgraded CPU's over the summer and never realized this AMD CPU had an iGPU. I am sure I could have found a command to force Proton to use a specific GPU but the quick and dirty was just disabling it. I disabled it in the bios and restarted. No more iGPU in Misson Center. However, now none of my games launched in Steam. Messed around with some launch options for about an hour until i just reinstalled my MESA drivers. Rebooted and now everything plays perfectly.
I got you! I'm on my phone, but I'll send some stuff when I'm back at my computer (Which will be after dinner and a Drongo nap)
My in game settings: Game Window: Exclusive Fullscreen Resolution: 1920x1080 Gameplay Resolution Scale: 100% Image Quality: High HDR: Off Animation Quality: High Shadow Quality: High Ambient Occlusion: High Texture Detail: High Geometry Detail: Maximum Physics: High Vertical Sync: On Framerate Limit: Unlimited Movie Quality: 1080p
IIRCC Gameplay Resolution Scale fixed the problem for me
This post on protondb also helped:
https://www.protondb.com/users/2129328224
If neither of those helps, I can dig a bit more in my notes
This looks promising. And sounds exactly what I'm facing. I have never ran a .sh file like what was referenced on the post.
fix-amdgpu23-driver-crash.sh
Any idea is I just dump this into a command window? Still new to this Linux stuff so appreciate any guidance. Don't wanna fuck up anything lol.
I tried running the script but I have grub2 instead of grub and I am honestly not comfortable modifying boot up configs willey-nilley since I use this machine for side gig work and gaming. I tried ProtonGE like someone mentioned below and that also did not work. Game still looks like this at about 20fps. Which is unideal for an RTS lol
Try putting this under launch options:
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.x86_64.json %command%
You'll need to check from to terminal to see if it is there or if it is something similar
My game will not start when I try this command. Any other idea's I appreciate all the advice so far. Just really frustrating TBH
Can you ls that directory to see if it is there? If not there are proprietary pro drivers you can install
This is what you'd look for on arch https://wiki.archlinux.org/title/AMDGPU_PRO
Drongo nap. My man! Love that crazy Aussie. appreciate the time.