Been running endeavor OS on my MSI delta 15 (all AMD with no nvidia card) with KDE and it switches between integrated and dgpu like it should. However after installing gnome and using it for a bit I noticed that it was always having the dgpu idling. This basically cuts my battery life in half, and making it less than desirable. I could not find much about it online so I’m presuming its some sort of user error. I do use it for gaming a bit so would prefer a solution that does not involve completely killing the dgpu.

Edit: the issue turned out to be a mullvad service using the dgpu. This was found by looking in nvtop and checking what process is using GPU 0, and resolved by going to /opt/Mullvad VPN/mullvad-vpn and adding --disable-gpu.

  • Raimu@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    8 months ago

    If you launch mullvad from the app icon, try you add to PrefersNonDefaultGPU=true (or false) in mullvad-vpn.desktop (cp /usr/share/applications/mullvad-vpn.desktop ~/.local/share/applications

    If it is autostarted add it in .config/autostart/mullvad-vpn.desktop

    Or add --disable-gpu to the in Exec : Exec="/opt/Mullvad VPN/mullvad-vpn" --disable-gpu %U

      • Fisch@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        ·
        7 months ago

        It would be nice if you edit your post to include what caused the issue, how you identified it and how you solved it, so others with the same issue can easily find an answer and so people who want to help you know that you already found a solution