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.
You need optimus or bumblebee to do that. Just beware those are pain to install.
optimus/bumblebee is NVIDIA only, with AMD only setup everything should work ootb except some specific bugs (looking at you rocm)