my system is running opensuse leap 42.1 with plasma 5.7.3:
Laptop=Dell latitude E6510, RAM=8Gb, GPU=GT218 NVS 3100M, CPU=i7 Q 720 @ 1.60GHz
upgraded 13.2 to leap 42.1, using wolfi repos. I’m running KDE 4.14.18 and plasma 5.7.3, KDE frameworks 5.24.0, KDE applications 16.04.3, Kernel 4.1.27-27-default
nvidia drivers cons:
-After resume from RAM keyboard doesn’t works on many applications
-sometimes not all icons are shown in the system tray
-some graphical glitch after resume from RAM
-do not works at full resolution 1920x1080
nvidia drivers pros:
-works well with dual monitor
nouveau drivers cons:
-I haven’t tested now, but time ago it didn’t works well with dual monitor
nouveau drivers pros:
-After resume from RAM keyboard works
-all icons are shown in the system tray
-works at full resolution 1920x1080
-no graphical glitch after resume from RAM
so I think it would be useful to have the possibility to easily switch between nouveau and nvidia to have a better working opensuse
about switching*(https://forums.opensuse.org/showthread.php/502378-Switching-between-nouveau-and-nvidia-driver-at-boot-time/page2)
#Make sure we are in command of /usr/X11R6/lib
if -e /etc/ld.so.conf.d/nvidia-gfxGO*.conf ]; then
/bin/rm /etc/ld.so.conf.d/nvidia-gfxGO*.conf
fi
#Check graphics mode fix symlinks
if `grep -c "nouveau" /proc/cmdline` -gt 0 ]; then
update-alternatives --set libglx.so /usr/lib64/xorg/modules/extensions/xorg/xorg-libglx.so
/bin/cat > /etc/X11/xorg.conf.d/20-nouveau.conf << END
Section "Device"
Driver "nouveau"
EndSection
END
# use Mesa's libGL
ln -sf /usr/lib64/libGL.so.1.2.0 /usr/lib64/libGL.so.1
fi
if `grep -c "nouveau" /proc/cmdline` -eq 0 ]; then
update-alternatives --set libglx.so /usr/lib64/xorg/modules/extensions/nvidia/nvidia-libglx.so
/sbin/ldconfig /usr/X11R6/lib64
/bin/rm /etc/X11/xorg.conf.d/20-nouveau.conf
# use nvidia's libGL
ln -sf /usr/X11R6/lib64/libGL.so.1 /usr/lib64/libGL.so.1
fi
and install two identical distro but the graphic drivers.
I think to start with the script could be a good solution.
but the script was for KDE4, and as said here:
“…nvidia breaks Mesa’s OpenGL… …you’d need to set an environment variable…” so may be the script doesn’t works with plasma5 or needs only to add something.
how can I use the script and where I have to save it?
is there a way to have two lines in grub to boot with nvidia and with nouveau??
manythanks, ciao, pier :-)*