this post was submitted on 18 Mar 2024
35 points (100.0% liked)
Linux
48332 readers
574 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Hello OP, on this kind of system GNOME should use the igpu by default and the dGPU only when an App "launched with dedicated graphics" from the menu, or with
DRI_PRIME=1
from the command line. (Also some vulkan game can also select the dgpu)If that is not the case this is a bug.
Are you using x11 or wayland, can you see what is using the dgpu with nvtop ?
Thank you for your answer. It does not matter if it is X11 or wayland, both have the issue. I have tried to upload an image of nvtop (I think it was done correctly?) and it seems like a mullvad service is using the dgpu for some unknown reason. I have no clue why it is doing this, as it does not on KDE. I do not know how I would force this to use integrated so any help would be appreciated.
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
Thank you so much, adding --disable-gpu to /opt/Mullvad VPN/mullvad-vpn solved it. Thank you for your time
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