this post was submitted on 10 Jan 2024
20 points (85.7% liked)

Linux Gaming

15015 readers
72 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 1 year ago
MODERATORS
 

First of all, sorry if it's the wrong community. I tried asking in the NixOS Discord but they were completely useless so far.

As stated above I use NixOS (btw). I have two PCs, a Lenovo A285 and a desktop, both have NixOS with the same exact configurations (except for hardware related stuff, so disk encryotion for my laptop, automounting disks for the desktop, stuff like that). The program versions are both the same, however on my laptop the HoI4 launcher looks like pic related, while it works perfectly fine on the desktop.

If I resize the launcher the background image displays for a little bit but then it goes blank like in pic related, I can still push button and all and they work but without knowing what I'm clicking it's kinda useless.

Running journalctl I get this.

Obviously this is an issue as I can't change mods unless I uninstall and reinstall them whenever I need to disable/enable them.

Anyone know what could be the cause?

EDIT: I want to note that other games work fine, and I never had this problem with Arch and arch-based distros.

EDIT 2: Forcing it to go through Proton works though if someone finds another solution for native do let us know.

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 8 months ago (1 children)

Cant speak for HoI4, but I found running the windows version in proton works better for EU4.

[–] EuroNutellaMan 1 points 8 months ago

hmm could be, however doesn't explain why it works on one machine but not here (or with different distros), they're both native.

[–] [email protected] 2 points 8 months ago (1 children)

Could you give a bit more information about the hardware and software setup?

  • which GPU do your desktop and laptop have? (from what I could find online, the A285 has an iGPU from 2019. I really hope this is wrong)
  • wayland or X11?
  • hoi4 native or via proton?

I believe I had similar issues on my Nvidia GPU, but resizing the window was a complete fix in my case.

[–] EuroNutellaMan 2 points 8 months ago (1 children)

Both have AMD, desktop has RX 580, laptop does have integrated (however as I said it worked on other distros)

X11

Native I believe

[–] [email protected] 1 points 8 months ago

You could try adding the __GL_THREADED_OPTIMIZATION=1 environment variable to the custom launch options, it improved performance and lessened bugyness for me.

You could also try to run the launcher with software rendering^1^ by editing ~/.paradoxlauncher/launcher-v2.2024.1/Paradox Launcher (you might have to change the version). Try adding --disable-gpu in the last line, between --no-sandbox and "$@"

You could also try disabling gamemoderun. It hasn't really improved performance in my experience, but has caused some bugs for me. It also muddies the logs.

^1^Shamelessly stolen from https://www.protondb.com/app/394360#ju-PgaxbiU

[–] [email protected] 1 points 8 months ago* (last edited 8 months ago)

just run the windıws version trough proton, I have bo problens witg stelaris (also a paradox game) that way