Mango Hud does not grab any GPU information on multi-GPU setups
november781 opened this issue · 9 comments
Describe the bug
I have both an RTX 3070 and an AMD 5800XT in my system. All redering is being done on the 5800xt and the 3070 is really just here for the NVENC encoder. However MangoHud has just given up on showing any GPU information since I added the Nvidia card to my system.
List relevant hardware/software information
- Fedora 40
- MangoHud version = 0.7.2
- GPU = RX5800XT and RTX 3070
To Reproduce
Steps to reproduce the behavior:
- add an extra GPU to a system, probably an AMD + Nvidia issue when not using optimus/prime
- make sure MangoHud is configured to show GPU data
- Launch a game
- See error
Expected behavior
MangoHud should grab GPU details from at least one card if not both, or preferably have a way to specify which card to pull data for
Additional context
MangoHud.conf
Can you test this branch please?
https://github.com/flightlessmango/MangoHud/tree/multi-gpu-attempt
Can you test this branch please? https://github.com/flightlessmango/MangoHud/tree/multi-gpu-attempt
Tried building it and running vkcube with the resulting binary and got no change.
I cloned the repo, switched to the multi-gpu-attempt branch, ran the build script then went into the releases folder and ran the mangohud binary with vkcube. If that is the wrong way to do this please let me know
Well the "binary" is basically just a script that sets the environmental variable, I do not believe you are using the newly built library that way.
Can you install it after building it and please try again
Well the "binary" is basically just a script that sets the environmental variable, I do not believe you are using the newly built library that way.
Can you install it after building it and please try again
ran the install portion of the build script and now its just seg faulting
But now that I simply did a dnf reinstall mangohud I'm getting GPU stats....
something is odd here. I'm now back on the fedora packages but I also have GPU stats from the rendering card... full ./build uninstall and dnf remove mangohud then reinstalled from DNF...
That is odd.. I just pushed a commit that might fix the error above. The fedora repo version should not have the mutli gpu stuff
Ill check it in the morning when the commit hits github. I'm also gonna see if I cant get back to the state I was at the start of all of this... because even after a reboot I'm still seeing the multi-GPU stuff
edit: dont know if that was intended to get pushed to master but I see the commit, its just not in the multi-gpu-attempt branch and master fails to build right now
oh yeah sorry the multi gpu stuff was pushed to master, should just need to build master branch, what errors are you getting trying to build?