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.

  • Maxy@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year 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 rendering1 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.

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