On my ASUS TUF 706 (Ryzen 5 4600H with AMD iGPU + Nvidia GTX 1650 eGPU), I installed Linux Mint 21 (Kernel 5.15.0-46) and the Nvidia drivers (515.65.01)
After MANY failures and retries, I managed to get a “kinda” working setup :
- If I switch to “prime-select intel” :
- The system starts
- The lightdm login screen appears. I log in.
- X starts correctly
- nvidia-settings works, but with minimal options (quite logical, as the Nvidia driver is installed but not used)
- no optimus applet in system tray
- perfs are, as expected, quite low
Here’s the log for this configuration :
nvidia-bug-report_AMD.log.gz (159,0 Ko)
- If I switch to “prime-select on-demand”:
- The system starts
- The screen goes pitch black before login… : (
- I enter TTY1 (ctrl+alt+F1)
- I log in, then I enter “sudo service lightdm restart”
- Lightdm login screen is displayed as expected. I log in.
- X starts
- the optimus applet shows the AMD logo, indicating I’m in “on-demand” mode
- nvidia-settings works with more options (profiles and stuff…)
- “glxinfo | grep vendor” says AMD GPU is used
- “__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep vendor” says NVIDIA GPU is used
- perfs get higher when using the nvidia card, as it should
I will try to include the log for this configuration in another message (forum restrictions…)
- If I switch to “prime-select nvidia”:
- The system starts
- The screen goes pitch black before login… : (
- I enter TTY1 (ctrl+alt+F1)
- I log in, then I enter “sudo service lightdm restart”
- Lightdm login screen is displayed as expected. I log in.
- X starts
- the optimus applet shows the NVIDIA logo, indicating I’m in “nvidia” performance mode
- nvidia-settings works with all options (antialiasing, etc…)
- “glxinfo | grep vendor” says nvidia GPU is used
- perfs are good, as expected
I will try to include the log for this configuration in another message (forum restrictions…)
- One other thing I tried :
- In grub, I choose to start in recovery mode
- The system starts and the recovery menu appears
- I choose to continue in normal mode
- The lightdm login screen appears. I log in.
- X is displayed for less than a second, and the Mint startup sound begins playing, before the screen goes pitch black and the sound get cut before the end… game over :(
Any idea on how to fix this annoying login problem ? Thanks !