You're right, my nvidia card is not turned off. /rpco/acpi/bbswitch
listed it as on. Battery usage was better than before, though. Maybe
because when not actually using the GPU, it at least scales down to a
lower frequency, conserving power (because an additional issue, most
likely related to the nvidia drivers, is that the nvidia card always
runs at max speed and never turns down. Maybe this is because I'm using
a UHD display, not sure. No way to check when running in IGP-mode).

Running the command

rmmod nvidia_drm nvidia_modeset nvidia_uvm nvidia

gives me a notice that nvidia_uvm is not loaded but does unload the
other modules. After that I am able to turn off the nvidia card using
the command you provided.

Battery usage then drops from around 32 Watts to around 19 Watts in
idle, so that's a significant improvement.

I can't reproduce your crashes when running lshw or lspci, though, they
all run fine, even after turning off the nvidia card. Also running
something like phoronix-test-suite is fine, the system remains stable.

Maybe that's a difference in kernel and/or nvidia driver versions?

I've tested using both linux kernel 4.6.0-040600-generic
(4.6.0-040600.201605151930) and 4.4.0-23-generic (4.4.0-23.41), using
nvidia-364 (364.19-0ubuntu0~gpu16.04.3).


Would be very useful / good for battery performance if the nvidia card would be 
turned off by default.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xserver-xorg-video-intel in Ubuntu.
https://bugs.launchpad.net/bugs/1569383

Title:
  Intel HD Graphics 530  crashes on glxinfo in MSHYBRID mode

Status in xserver-xorg-video-intel package in Ubuntu:
  Incomplete

Bug description:
  On my laptop (Clevo P650RA) with Skylake / Intel Core i7 6700HQ with
  Intel HD Graphics 530 IGP and a nvidia GTX965M DGP, glxinfo crashes
  when running in IGP mode,

  The laptop uses Optimus / MSHYBRID technology to be able to utilize
  both IGP and DGP.

  After setup I install nvidia-361 driver, which will make the system
  run using DGP mode by default. Using prime-select intel I can switch
  to using the IGP. After logging out and in again, the IGP is being
  used.

  However, when doing certain tasks, the system will crash. Running
  glxinfo is one of them. Another one is:

  cat /proc/acpi/bbswitch

  In addition, it sometimes seemingly at random, probably when some kind
  of desktop effect is performed. It seems that some kind of interaction
  with ACPI / IGP will make it crash.

  This is running Kubuntu 16.04 Xenial Beta 2.

  Some version numbers:

  Kernel version (uname -r): 4.4.0-18-generic
  linux-image-4.4.0-18-generic: 4.4.0-18.34
  xserver-xorg-core: 2:1.18.3-1ubuntu2
  xserver-xorg-video-intel: 2:2.99.917+git20160325-1ubuntu1
  sddm: 0.13.0-1ubuntu5
  plasma-desktop: 4:5.5.4-0ubuntu1

  lsb_release -a:

  Distributor ID: Ubuntu
  Description:    Ubuntu Xenial Xerus (development branch)
  Release:        16.04
  Codename:       xenial

  I'll attach a kern.log and a Xorg.0.log from a Intel IGP session on
  this laptop. Please let me know if I should provide other information,
  and how to collect this after a full system freeze.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1569383/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to