this post was submitted on 18 Apr 2024
16 points (94.4% liked)

Linux Gaming

15842 readers
16 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] wuphysics87@lemmy.ml 3 points 7 months ago (3 children)

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)

[–] wuphysics87@lemmy.ml 3 points 7 months ago

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

[–] wuphysics87@lemmy.ml 2 points 7 months ago (2 children)

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

[–] LazyLombax@lemmy.world 1 points 7 months ago

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.

[–] LazyLombax@lemmy.world 1 points 7 months ago (1 children)

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

[–] wuphysics87@lemmy.ml 1 points 7 months ago (1 children)

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

[–] LazyLombax@lemmy.world 1 points 7 months ago (2 children)

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

[–] wuphysics87@lemmy.ml 1 points 7 months ago
[–] wuphysics87@lemmy.ml 1 points 7 months ago

Can you ls that directory to see if it is there? If not there are proprietary pro drivers you can install

[–] LazyLombax@lemmy.world 1 points 7 months ago

Drongo nap. My man! Love that crazy Aussie. appreciate the time.