I have a problem with declining performance running OpenSUSE Leap 42.2 on a laptop with nvidia bumblebee.
Right after start up the system is fast and the mouse reacts without lag. After running a while the performance is poor. Usually seen from one day to the next.
I didn’t have this on OpenSUSE 13.2 which I upgraded from recently.
My mouse and keyboard is a bit slow and lagging when moving and typing. This after running a day or two. Logging out and in makes my KDE system responsive again.
The browser is also flickering often. This I have experienced with both Vivaldi and Chromium.
I am using an Optimus laptop. Running with Bumblebee and nvidia-bumblebee driver. I have installed Linux Kernel and Bumblebee from the Kernel Stable repository, because I need a newer kernel for my hardware (the touchpad).
I have 3 monitors, the laptop 15" 19201080 and two 24" 19201200.
Could perhaps my integrated Intel graphic not be able to run all 3 monitors? But then why didn’t I experience this problem while I was running OpenSUSE 13.2?
Perhaps I should have nvidia running the entire system and KDE session by default instead of Intel (disable Intel in BIOS). Even when the only application I am running is the browser I see the mouse is having some hickups when I move it slowly.
Both CPU and memory usage is low. So what could the cause be? It must be the graphic rendering by the integrated Intel graphics.
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
Driver: i915
mkinitrd
dracut: Possible missing firmware “i915/kbl_guc_ver9_14.bin” for kernel module “i915.ko”
dracut: Possible missing firmware “i915/bxt_guc_ver8_7.bin” for kernel module “i915.ko”
01:00.0 3D controller: NVIDIA Corporation GK107GLM [Quadro K1100M] (rev a1)
Driver: nouveau active:no
Driver: nvidia_drm active:no
Driver: nvidia active:no
Running kernel 4.10.1 from Kernel Stable repository
Mesa 11.2 that comes with OpenSUSE Leap 42.2
Latest Mesa is now 17.0. Would I perhaps get better performance with that version?
I am really disliking optimus right now. It is nothing but trouble. I am seriously thinking of disabling Intel graphic in BIOS and run only on NVIDIA.
I have a home computer running an low-profile NVIDIA GT610 using nouveau, and it has the same declining performance after running a while with the same latest stable kernel.
/var/log/zypp/history
# 2017-03-08 08:54:28 Output of nvidia-bumblebee-375.26-1.2.x86_64.rpm %posttrans script:
# + '' -x /usr/sbin/dkms ']'
# + /usr/sbin/dkms add -m nvidia -v 375.26 --rpm_safe_upgrade
#
# Creating symlink /var/lib/dkms/nvidia/375.26/source ->
# /usr/src/nvidia-375.26
#
# DKMS: add completed.
# + /usr/sbin/dkms build -m nvidia -v 375.26
#
# Kernel preparation unnecessary for this kernel. Skipping...
#
# Building module:
# cleaning build area...
# 'make' KERNEL_UNAME=4.10.1-5.gf764d42-default modules.........(bad exit status: 2)
# Error! Bad return status for module build on kernel: 4.10.1-5.gf764d42-default (x86_64)
# Consult /var/lib/dkms/nvidia/375.26/build/make.log for more information.
# + /usr/sbin/dkms install -m nvidia -v 375.26
#
# Kernel preparation unnecessary for this kernel. Skipping...
#
# Building module:
# cleaning build area...
# 'make' KERNEL_UNAME=4.10.1-5.gf764d42-default modules........(bad exit status: 2)
# Error! Bad return status for module build on kernel: 4.10.1-5.gf764d42-default (x86_64)
# Consult /var/lib/dkms/nvidia/375.26/build/make.log for more information.
# + popd
/var/lib/dkms/nvidia/375.26/build/make.log
CONFTEST: drm_atomic_modeset_nonblocking_commit_available
CC [M] /var/lib/dkms/nvidia/375.26/build/nvidia/nv-frontend.o
In file included from /var/lib/dkms/nvidia/375.26/build/common/inc/nv-linux.h:18:0,
from /var/lib/dkms/nvidia/375.26/build/nvidia/nv-frontend.c:13:
/var/lib/dkms/nvidia/375.26/build/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia/375.26/build/common/inc/nv-mm.h:86:13: error: too few arguments to function ‘get_user_pages_remote’
return get_user_pages_remote(tsk, mm, start, nr_pages, flags, pages, vmas);
^
In file included from /var/lib/dkms/nvidia/375.26/build/common/inc/nv-pgprot.h:17:0,
from /var/lib/dkms/nvidia/375.26/build/common/inc/nv-linux.h:17,
from /var/lib/dkms/nvidia/375.26/build/nvidia/nv-frontend.c:13:
/usr/src/linux-4.10.1-5.gf764d42/include/linux/mm.h:1267:6: note: declared here
long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
^
/usr/src/linux-4.10.1-5.gf764d42/scripts/Makefile.build:295: recipe for target '/var/lib/dkms/nvidia/375.26/build/nvidia/nv-frontend.o' failed
make[3]: *** [/var/lib/dkms/nvidia/375.26/build/nvidia/nv-frontend.o] Error 1
/usr/src/linux-4.10.1-5.gf764d42/Makefile:1500: recipe for target '_module_/var/lib/dkms/nvidia/375.26/build' failed
make[2]: *** [_module_/var/lib/dkms/nvidia/375.26/build] Error 2
make[2]: Leaving directory '/usr/src/linux-4.10.1-5.gf764d42-obj/x86_64/default'
Makefile:150: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
I am going to await and see if any of you have any ideas or suggestion before I venture into the BIOS and disable Intel.