Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpu doesn't remember hybrid mode after reboot and keeps switching to Integrated #6

Open
KousekCZ opened this issue Sep 4, 2024 · 3 comments
Labels
invalid This doesn't seem right

Comments

@KousekCZ
Copy link

KousekCZ commented Sep 4, 2024

Hello,
every time I reboot the system, linux nobara boots into gpu mode integrated and every time I have to manually switch to hybrid mode. It doesn't remember the last mode after the system boots. It always ends up in Integrated. Even the command line doesn't help. Only manual editing of the file helped.
And second bug I have the AsusMuxDGpu option, if I switch to this mode, using the UI in the system menu I have no chance to switch back. I haven't tried the command line to see if it switches back.
Please fix, thank you :-)

@chikobara
Copy link
Owner

Hey thank you for reporting the issue, tho I think its a problem with the supergfxctl on your device, since you said

Even the command line doesn't help

For the second bug, this is related to supergfxctl too, even tho try to switch to hybrid first then switch to AsusMuxDGPU with terminal using supergfxctl (swtich to hybrid first then asusmuxdgpu) and report back if the extension can read the mode or not

I couldt test the asusmuxdgpu mode because my laptop doesn't have this mode so I tried my best to implement it.

@chikobara chikobara added the invalid This doesn't seem right label Sep 5, 2024
@KousekCZ
Copy link
Author

KousekCZ commented Sep 7, 2024

Hello,
with the first error it's quite possible, I've had a bit of nerve with it constantly restarting the system and trying to see if it works or not. I eventually uninstalled the extension, however the supergfxctl service is still running on my laptop and managing my gpu mods. But I don't touch it at all anymore and I leave the Hybrid mode in there, because at one point I was afraid that I couldn't go back to Hybrid from Integrated mode and I had to switch gpu mods via Windows (dual boot) using amroury crate.
.
On the second error, you advise me to switch from AsusMuxDGPU to Hybrid mode, but I can't do that using the UI extension, it doesn't offer mods at all, it's set there by default and I had to manually override it in a file or again via Windows.
.
Summary: now I don't use it at all, but in the 5 hours or so of testing:

  1. From Hybrid mode using the UI extension can be switched to Integrated immediately, or to AsusMuxDGPU via reboot.
  2. You can switch from mode Integrated to Hybrid by logging out and logging in the user, but after the system boots it switches to mode Integrated and the file also says so. The file is not overwritten to Hybrid
  3. I cannot switch from mode AsusMuxDGPU to any other mode using the UI and I think I had to manually override it in the file or use Windows to return to Hybrid.
    .
    And I would like to ask how exactly does ,,hotplug_type : None (default), Std or Asus. Std tries to use the kernel hotplug mechanism if available, while Asus tries to use dgpu_disable if available"
    This description is fine, but I don't know exactly how it should behave or work, so I'd like to ask for a more detailed explanation between the modes. I have an asus laptop, so I'm interested in the mode for asus. Thank you

May I ask, do you have a discord? In order to communicate faster and easier

@chikobara
Copy link
Owner

chikobara commented Sep 8, 2024

Hey there, well the extension is really just using supergfxctl command to change mode and to fetch supported modes and to fetch current one too, its not that complicated extension you can easly understand how it works if you know some JS and GJS, so I guess I'll stick with the idea of that your supergfxctl is not working proberly.
of course I have discord its "chikobara", and can you provide some more details about your system specs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants