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

Linux Gaming

15802 readers
53 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.

top 21 comments
sorted by: hot top controversial new old
[–] CausticFlames@sopuli.xyz 5 points 6 months ago (2 children)

You said youve tried experimental and normal proton but have you tried protonGE?

[–] LazyLombax@lemmy.world 2 points 6 months ago

Replying to the original reply. I got ProtonGE9-4 up and running and the game still plays the same. Game still says I dont even meeting the minimum system requirements for "Low" settings. Really not sure whats going on here.

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

I have not. Is this within the Proton compatibility tab within steam? I'm away from my machine for a couple more hours but I'll look into this.

[–] ashaman2007@lemm.ee 4 points 6 months ago (1 children)

https://github.com/GloriousEggroll/proton-ge-custom

I recommend installing it via asdf, which is described in the installation section of the github readme

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

Great I'll give this a shot. I've never install anything via asdf, similar to RPM? Can I have this installed along side normal Proton? I don't want to mess with the 99% of games that are working 100% fine on Linux through Steam Proton.

[–] ashaman2007@lemm.ee 3 points 6 months ago (1 children)

Yeah I believe asdf is a kind of package/version manager, so probably similar. And yes when you install you will see the Proton-GE version as an additional Proton version you can apply in the game options, but it does not overwrite the already installed proton versions

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

Great! Thanks for the information.

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

GE installed separately (at least on Arch)

[–] wuphysics87@lemmy.ml 3 points 6 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 6 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 6 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 6 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 6 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 6 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 6 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 6 months ago
[–] wuphysics87@lemmy.ml 1 points 6 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 6 months ago

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

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

Hi all. Thank you for everyone's suggestion it ended up being iGPU related. Please see the edit on the main post.

[–] lemba@discuss.tchncs.de 1 points 6 months ago (1 children)

Your Setup makes no sense! Either you have a 5600x OR a 7700x, because both are CPUs.

[–] LazyLombax@lemmy.world 2 points 6 months ago

Must have dropped this 'T' Here ya go bud.

*RX 5600XT