chikobara / GPU-Switcher-Supergfxctl

GPU Profile switcher Gnome-Shell-Extension for ASUS laptops using Supergfxctl
GNU General Public License v3.0
12 stars 2 forks source link

Dedicated Mode? #1

Closed matt22207 closed 3 months ago

matt22207 commented 4 months ago

Thanks for this one!

Why is Dedicated GPU mode disabled?

https://github.com/chikobara/GPU-Switcher-Supergfxctl/blob/main/extension.js#L24

Thanks again!

chikobara commented 4 months ago

oh am sorry for that but i thought i won't use so i disabled it , ill update the extension soon so that dGPU mode will be available

matt22207 commented 4 months ago

Awesome, thanks!

I don't use dGPU mode too often, but if I want to sneak a few extra FPS, I can sometimes get another 5-10% (although I haven't tested the difference in a while)..

chikobara commented 4 months ago

(although I haven't tested the difference in a while)..

actually thats true , but i still want to implement other modes cause there are more like ( Integrated Hybrid supergfxctl VFIO supergfxctl AsusEgpu AsusMuxDgpu ) so the extension can change to any mode if it was supported by the host

i got final exams these days so ill continue later <3

chikobara commented 4 months ago

i guess dedicated mode is not support any more by Supergfxctl

matt22207 commented 3 months ago

@chikobara , I think Dedicated/Discrete mode is just called "AsusMuxDgpu" now, right? Here's what my GPU supports:

$ supergfxctl -v 5.2.1

$ supergfxctl -s [Integrated, Hybrid, AsusMuxDgpu]

After switching:

$ supergfxctl -s [AsusMuxDgpu]

$ asusctl bios -d Bios GPU MUX: 0

-D Switch GPU MUX mode: 0 = Discrete, 1 = Optimus, reboot required

Odd that after switching to AsusMuxDgpu mode, "supergfxctl -s" only shows that single option now. However, I can still switch back using "supergfxctl -m Hybrid" even though that mode doesn't show up in the supported list.

Running Wayland on Fedora 40. CPU: AMD Ryzen 9 6900HS with Radeon Graphics / AMD ATI Radeon 680M Dedicated GPU: AMD ATI Radeon RX 6800S . Laptop: ROG Zephyrus G14 GA402RK (with Mux)

chikobara commented 3 months ago

Odd that after switching to AsusMuxDgpu mode, "supergfxctl -s" only shows that single option now. However, I can still switch back using "supergfxctl -m Hybrid" even though that mode doesn't show up in the supported list.

Yep AsusMuxDgpu is the DGPU mode, but you can't actually change to dgpu directly you need to switch to Hybrid first then switch to igpu or dgpu or anything else

can you confirm that the extension now shows these mods if you device supports it, and can you confirm that it blocks the direct switching from dgpu to igpu unless hybrid is between

thank you

matt22207 commented 3 months ago
chikobara commented 3 months ago

Thank you for confirming, so, I guess it worked fine !