How to install Nvidia GPU driver in Optimum laptop

A brand new LEAP 42.2, add the nvidia’s official repository, use these steps:
1.zypper in suse-prime, //I see it will install nvidia’s GPU driver in this step
2.reboot,
3.add
“if -f /etc/X11/xinit/xinitrc.d/prime-offload.sh ];
then
./etc/X11/xinit/xinitrc.d/prime-offload.sh
fi” in /etc/X11/xdm/Xsetup under ./etc/sysconfig/displaymanager

4.reboot,
5.there X window will pending on a freezed cursor,

My laptop is a Dell M4600, it’s GPU is Quadro K1100M.

Is there any latest forum or instructions about this problem?

Hi, suse-prime didn’t work properly the last time I tried on Leap 42.2, so maybe that is not your best option.
And from time to time we see on the forums that quadro GPUs seem to have problems of their own at times.
That said, you have three main routes to choose from.

  1. Install Bumblebee following this guide: https://en.opensuse.org/SDB:NVIDIA_Bumblebee
    This is pretty straightforward and seems to work well in Leap 42.2, with or without the proprietary Nvidia driver.
    As part of that install you get the “optirun” command to render your video output through the Nvidia GPU. “optirun” starts an auxiliary Xserver (#8 in parallel to the default #0).
    Please be aware that to install bumblebee you have to uninstall any Nvidia proprietary driver you might have installed beforehand.

  2. Use DRI_PRIME with the nouveau (Open Source) driver. Unfortunately this doesn’t work well on stock Leap 42.2. You need the 4.10 kernel and the 1.19 Xserver to have performance comparable to the proprietary driver.
    Follow this thread as a starter: https://forums.opensuse.org/showthre...Optimus-laptop

  3. Rather tricky: install the proprietary Nvidia driver “the hard way” (i.e. by running the NVIDIA-Linux-x86_64-37x.xx.run installer) on top of a fresh Leap install.
    That way the Nvidia GPU takes over and all your video output is rendered through the Nvidia chip, power usage going up accordingly.
    You need a recent kernel (I tested 4.9.x and 4.10), at least Xserver 1.18 (I tested 1.19) and a recent driver (I tested 375.26 and 378.13).
    Best start with a clean Leap 42.2 XFCE install (to start with the lightdm display manager); you might need to tweak the display manager setup according to this page: https://wiki.archlinux.org/index.php/NVIDIA_Optimus
    If you only need one user, enabling autologin might allow you to (auto)login bypassing the display manager; user switching will NOT work that way.
    Also, be aware that to build on kernel 4.10.x the Nvidia driver needs to be patched; see e.g. https://forums.opensuse.org/showthread.php/523020-OpenSUSE-tumbleweed-nvidia-driver-installation-error-fence-h for details.

Good, thank you for your help, I’ll try the first option.