dglt1 / optimus-switch-sddm

easy installer for optimus-switch for SDDM, sets up nvidia PRIME and also allows for easy switching between intel/nvidia (prime mode) and intel only mode where nvidia gpu is powered down and no longer visible. modes are switched with "sudo set-intel.sh" or "sudo set-nvidia.sh" .
166 stars 14 forks source link

Stuck on boot with Intel/Nvidia Prime mode #15

Open thecodrr opened 3 years ago

thecodrr commented 3 years ago

Hello,

I tested this just now after getting frustrated with optimus-manager, bumblebee etc. I hoped that this would work but still the same. I have attached all the relevant logs and file lists and the screenshot of the boot log where it gets stuck. Any help would be appreciated.

Do note that I can login via intel mode without any issue (I am sending this from the same machine). Could this be a hardware related issue?

Side note: Before installing Manjaro, I was on Deepin (Debian based). I got bumblebee to work on it for sometime but it was giving a lot of issues so I shifted to NVidia only mode (following the Arch Wiki guide). So I can confirm that Nvidia card is working.

IMG_20210413_010618 logs.zip

thecodrr commented 3 years ago

So an update.

I booted with Linux Kernel 5.11 and it worked...kind of. Right now, everything is working on the Nvidia GPU. I can switch modes but system hangs after login if intel mode.

About the hang after login: I experienced a similar hang when using xf86-video-intel driver with optimus-manager. Shifting to modesetting driver caused bootup hang on Linux Kernel 5.11; but it did work on Linux Kernel 5.4.

I will try tinkering the xorg files to see if i can get it to work.

Edit: setting to modesetting driver did not work either. It causes the same hang after login.

Some details about the hang:

  1. I don't know what logs I should check to analyze the hang (help would be appreciated).
  2. The hang occurs when the cursor is moved. If I only use the keyboard, it doesn't occur. Don't know why?
  3. After a few seconds of the hang, KWin or sddm (don't know which) kind of crash - meaning, the bottom panel in KDE gets removed and the desktop gets a weird appearance.
  4. Could this be due to scaling? I have it set to 125%.
shardeex commented 2 years ago

Same. I can't event select other tty. Don't know how to select nvidia back.