AsusMuxDgpu option not detected on kernel 6.19
Issue description
Since upgrading to Linux 6.19, the AsusMuxDgpu option is no longer available. The Hybrid and Integrated options are still displayed and work. Everything worked up to kernel 6.18.9, so it must be a regression. My system specs: Laptop: ASUS GA403WW Supergfxctl: 5.2.7 asusctl: 6.3.2 Kernel: Linux 6.19.0-2-cachyos Nvidia: 590.48.01-open
Steps to reproduce
-
Upgrading to kernel 6.19
-
supergfxctl -Sonly shows[Integrated, Hybrid] -
Switching back to lts kernel 6.18
-
supergfxctl -Sshows[Integrated, Hybrid, AsusMuxDgpu] -
If you force a
supergfxctl -m AsusMuxDgpuanyway, the change will work after a restart, but supergfxd will be completely broken and switching back to another mode will only work by restarting and using an older kernel and setting the desired option there.
What is the current bug behavior?
-as described above
What is the expected correct behavior?
- supergfxctl -S should show the AsusMuxDgpu option
- switching to that mode should leave supergfxd functional and switching back to another mode should work
Relevant logs and/or screenshots
Log after calling supergfxctl -m AsusMuxDgpu on kernel 6.19:
Feb 16 07:45:59 foer-cachyos supergfxd[58307]: [INFO supergfxctl::controller] reload: Reloaded gfx mode: Hybrid
Feb 16 07:46:08 foer-cachyos supergfxd[58307]: [INFO supergfxctl] nvidia-drm.modeset not set, ignoring
Feb 16 11:19:02 foer-cachyos supergfxd[58307]: [INFO supergfxctl] nvidia-drm.modeset not set, ignoring
Feb 16 11:21:20 foer-cachyos supergfxd[58307]: [INFO supergfxctl] nvidia-drm.modeset not set, ignoring
Feb 16 11:24:05 foer-cachyos supergfxd[58307]: [INFO supergfxctl::zbus_iface] Switching gfx mode to AsusMuxDgpu
Feb 16 11:24:05 foer-cachyos supergfxd[58307]: [DEBUG supergfxctl::controller] Doing action: CheckVulkanIcd
Feb 16 11:24:05 foer-cachyos supergfxd[58307]: [INFO supergfxctl::config] check_vulkan_icd: checking for Vulkan ICD profiles...
Feb 16 11:24:05 foer-cachyos supergfxd[58307]: [DEBUG supergfxctl::controller] Doing action: EnableNvidiaPowerd
Feb 16 11:24:05 foer-cachyos supergfxd[58307]: [DEBUG supergfxctl] Did CommandArgs { inner: ["start", "nvidia-powerd.service"] }
Feb 16 11:24:05 foer-cachyos supergfxd[58307]: [DEBUG supergfxctl::controller] Doing action: AsusMuxDgpu
Feb 16 11:24:05 foer-cachyos supergfxd[58307]: [DEBUG supergfxctl::special_asus] asus_gpu_mux_set_igpu: false
Feb 16 11:24:05 foer-cachyos supergfxd[58307]: [ERROR supergfxctl::controller] Action thread errored: Path /sys/devices/platform/asus-nb-wmi/gpu_mux_mode: No such file or directory (os error 2)
Feb 16 11:24:05 foer-cachyos supergfxd[58307]: [DEBUG supergfxctl::controller] Doing action: AsusMuxIgpu
Feb 16 11:24:05 foer-cachyos supergfxd[58307]: [DEBUG supergfxctl::special_asus] asus_gpu_mux_set_igpu: true
Feb 16 11:24:05 foer-cachyos supergfxd[58307]: [ERROR supergfxctl::controller] Action thread errored fallback failed: Path /sys/devices/platform/asus-nb-wmi/gpu_mux_mode: No such file or directory (os error 2)