Registered Member
|
I hope this is the correct place to post this. I am using an Arch install with KDE on my Asus FX504G laptop. This laptop is one of those "wonderful" nVidia/ Intel solutions. In order to have my GPU's work properly, I use a program called "Optimus-Switch". https://github.com/dglt1/optimus-switch-sddm It allows me to "switch" which GPU I want to use.
The problem I am having is when I switch to the Intel iGPU from the nVidia GPU. When in Intel "mode", it uses ACPI-Call to power down the nVidia GPU completely. In order to do this, Optimus- Switch changes the standard Xsetup file and adds in the needed lines for ACPI-Call to disable the nVidia GPU. After I run the script to change to Intel, I have to reboot the laptop. This is when the problem happens. During the shutdown sequence, two instances of SDDM will run and subsequently hang for 2 minutes. Once these two instances of SDDM close, the shutdown process continues until right before the SystemD would shut the system down. SystemD displays an error saying that it can't shut the system down because Xsetup is being run by SDDM. I then have to manually shutdown the laptop by using the power button. After manually shutting the system down, it will start without any problems into "Intel" mode. The system has no problems shutting down from this point. The system also has no issues restarting when switching from Intel mode to nVidia mode. It seems that the ACPI-Call information in Xsetup is causing the issue. One can't power down a GPU if it is in use. Is it normal for SDDM to run Xsetup when the system shuts down? If so, how can one run the ACPI-Call commands when the system starts without having them in Xsetup? Here is the modified Xsetup file with the ACPI-Call information.
Please let me know if any further information is required and I will be happy to provide them. Thanks! |
Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]