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
    2
    ·
    1 year ago

    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@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

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

      X11

      Native I believe

      • 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