rmmod: ERROR: Module nvidia is in use by: nvidia_modeset #699

Closed
tanriol opened this Issue Nov 13, 2015 · 34 comments

Projects

None yet
@tanriol
tanriol commented Nov 13, 2015

For NVIDIA driver installed with KMS support, the nvidia_modeset module stops nvidia from unloading, thus causing the auto-disabling to fail.

Gentoo Linux
x11-drivers/nvidia-drivers-358.09 USE="X acpi gtk2 gtk3 kms multilib tools -pax_kernel -uvm"
x11-misc/bumblebee-3.2.1

@NerosTie

Same thing on ArchLinux since the 358 update.

@tanriol
tanriol commented Nov 22, 2015

In Gentoo I can work around this problem by disabling the kms USE flag. This workaround, however, is likely not applicable in other distros.

@Lekensteyn Lekensteyn referenced this issue in Bumblebee-Project/bbswitch Nov 22, 2015
Closed

bbswitch don't handle nvidia-modeset module from 358.16 #116

@Lekensteyn
Member

I am not a blob user, have no idea what this module does.

Try this modprobe rule (reorder as needed):

remove nvidia rmmod nvidia-uvm nvidia-modeset nvidia

Based on Bumblebee-Project/bumblebee-ppa#34 (comment)

@NerosTie

@Lekensteyn Maybe I'm doing something wrong but it doesn't work for me...

What I have to do to switch off the Nvidia card:

➜  ~  sudo rmmod nvidia_modeset 
➜  ~  sudo rmmod nvidia        
➜  ~  sudo tee /proc/acpi/bbswitch <<< OFF 

Full dmesg log when I launch primusrun glxspheres64 then I use the previous commands:

[  283.491176] nvidia-nvlink: Nvlink Core is being initialized, major device number 243
[  283.491304] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1
[  283.491309] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  358.16  Mon Nov 16 19:25:55 PST 2015
[  283.513384] vgaarb: this pci device is not a vga device
[  283.515434] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[  283.515529] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[  283.515598] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[  283.515664] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[  283.516014] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[  283.516264] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[  283.516333] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[  283.550839] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[  283.731183] vgaarb: this pci device is not a vga device
[  283.832339] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  358.16  Mon Nov 16 18:58:09 PST 2015
[  285.637837] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[  295.845929] nvidia-modeset: Unloading
[  300.208818] nvidia-nvlink: Unregistered the Nvlink Core, major device number 243
[  300.209110] [drm] Module unloaded
[  302.517724] bbswitch: disabling discrete graphics
[  302.517741] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[  302.531507] pci 0000:01:00.0: Refused to change power state, currently in D0
[  302.532269] thinkpad_acpi: EC reports that Thermal Table has changed

(ping @FadeMind)

@FadeMind

@NerosTie I tried this but without success. After:

sudo rmmod nvidia_modeset
sudo rmmod nvidia
sudo tee /proc/acpi/bbswitch <<< OFF

nvidia GPU is still running (not power off).
If I blacklist nvidia_modset then this block not works and IF nvidia_modset.ko tarball is present in modules directory, then nvidia gpu using nvidia_modeset instead of nvidia module in operating GPU.

I rebuild nvidia package withut nvidia_modset file and for my device works fine.

@NerosTie

@FadeMind How do you know the GPU is still running? (maybe I'm wrong)

@FadeMind

@NerosTie I use Thermal Monitor applet for plasma 5 and if GPU is OFF it's look:
s
If GPU NVIDIA is ON:
s
in dmesg I have OFC proper status:

[  953.104909] bbswitch: enabling discrete graphics
[  953.568156] nvidia: module license 'NVIDIA' taints kernel.
[  953.568160] Disabling lock debugging due to kernel taint
[  953.575710] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
[  953.575791] nvidia-nvlink: Nvlink Core is being initialized, major device number 246
[  953.575888] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1
[  953.575893] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  358.16  Mon Nov 16 19:25:55 PST 2015
[  953.582243] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[  953.582337] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[  953.582504] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[  953.582559] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[  953.582610] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[  953.582719] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[  953.582769] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[  953.602088] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[  953.964984] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[  953.971055] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[  953.971117] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[  953.971196] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[  953.971267] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[  953.971339] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[  953.971502] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[  953.971574] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[  953.972126] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1021.015966] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1021.020808] nvidia-nvlink: Unregistered the Nvlink Core, major device number 246
[ 1021.020893] [drm] Module unloaded
[ 1021.027194] bbswitch: disabling discrete graphics
[ 1021.027204] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1021.038306] pci 0000:01:00.0: Refused to change power state, currently in D0
[tomasz@arch ~]$ 
@NerosTie
bbswitch: disabling discrete graphics
Refused to change power state, currently in D0

The first it tells me it wants to disable but the second line tells me it can't? Is that it?

➜  ~  cat /proc/acpi/bbswitch
0000:01:00.0 OFF

Why it says it's OFF?

@FadeMind

In my previous post I use nvidia module (I don't installed nvidia_modeset) and Yes, You can trust this msg.

@FadeMind

ISSUE with nvidia_modeset:

[tomasz@arch ~]$ pacman -Ql nvidia-ck
nvidia-ck /usr/
nvidia-ck /usr/lib/
nvidia-ck /usr/lib/modprobe.d/
nvidia-ck /usr/lib/modprobe.d/nvidia-ck.conf
nvidia-ck /usr/lib/modules/
nvidia-ck /usr/lib/modules/extramodules-4.3-ck/
nvidia-ck /usr/lib/modules/extramodules-4.3-ck/nvidia-modeset.ko.gz
nvidia-ck /usr/lib/modules/extramodules-4.3-ck/nvidia-uvm.ko.gz
nvidia-ck /usr/lib/modules/extramodules-4.3-ck/nvidia.ko.gz
[tomasz@arch ~]$ modinfo nvidia_modeset
filename:       /lib/modules/4.3.0-1-ck/extramodules/nvidia-modeset.ko.gz
version:        358.16
supported:      external
license:        NVIDIA
srcversion:     213270A97F2D7044797E528
depends:        nvidia
vermagic:       4.3.0-1-ck SMP preempt mod_unload modversions 
[tomasz@arch ~]$ modinfo nvidia
filename:       /lib/modules/4.3.0-1-ck/extramodules/nvidia.ko.gz
alias:          char-major-195-*
version:        358.16
supported:      external
license:        NVIDIA
srcversion:     38681B6CCC0B032F48069CF
alias:          pci:v000010DEd00000E00sv*sd*bc04sc80i00*
alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
depends:        drm
vermagic:       4.3.0-1-ck SMP preempt mod_unload modversions 
parm:           NVreg_Mobile:int
parm:           NVreg_ResmanDebugLevel:int
parm:           NVreg_RmLogonRC:int
parm:           NVreg_ModifyDeviceFiles:int
parm:           NVreg_DeviceFileUID:int
parm:           NVreg_DeviceFileGID:int
parm:           NVreg_DeviceFileMode:int
parm:           NVreg_UpdateMemoryTypes:int
parm:           NVreg_InitializeSystemMemoryAllocations:int
parm:           NVreg_UsePageAttributeTable:int
parm:           NVreg_MapRegistersEarly:int                                                                                                 
parm:           NVreg_RegisterForACPIEvents:int                                                                                             
parm:           NVreg_CheckPCIConfigSpace:int                                                                                               
parm:           NVreg_EnablePCIeGen3:int
parm:           NVreg_EnableMSI:int
parm:           NVreg_TCEBypassMode:int
parm:           NVreg_MemoryPoolSize:int
parm:           NVreg_RegistryDwords:charp
parm:           NVreg_RmMsg:charp
parm:           NVreg_AssignGpus:charp                                                                                                 
[tomasz@arch ~]$ lsmod|grep nvidia                                                                                                          
nvidia_modeset        708608  2
nvidia               8712192  66 nvidia_modeset
drm                   286720  15 i915,drm_kms_helper,nvidia
[tomasz@arch ~]$ 
@FadeMind
[  953.104909] bbswitch: enabling discrete graphics
[  953.568156] nvidia: module license 'NVIDIA' taints kernel.
[  953.568160] Disabling lock debugging due to kernel taint
[  953.575710] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
[  953.575791] nvidia-nvlink: Nvlink Core is being initialized, major device number 246
[  953.575888] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1
[  953.575893] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  358.16  Mon Nov 16 19:25:55 PST 2015
[  953.582243] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[  953.582337] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[  953.582504] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[  953.582559] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[  953.582610] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[  953.582719] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[  953.582769] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[  953.602088] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[  953.964984] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[  953.971055] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[  953.971117] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[  953.971196] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[  953.971267] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[  953.971339] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[  953.971502] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[  953.971574] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[  953.972126] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1021.015966] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1021.020808] nvidia-nvlink: Unregistered the Nvlink Core, major device number 246
[ 1021.020893] [drm] Module unloaded
[ 1021.027194] bbswitch: disabling discrete graphics
[ 1021.027204] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1021.038306] pci 0000:01:00.0: Refused to change power state, currently in D0
[ 1446.138164] bbswitch: enabling discrete graphics
[ 1446.628477] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
[ 1446.628577] nvidia-nvlink: Nvlink Core is being initialized, major device number 246
[ 1446.628660] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1
[ 1446.628663] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  358.16  Mon Nov 16 19:25:55 PST 2015
[ 1446.644270] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1446.644307] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1446.644354] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1446.644376] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1446.644397] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1446.644442] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1446.644463] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1446.661668] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1447.091809] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  358.16  Mon Nov 16 18:58:09 PST 2015
[ 1447.337920] nvidia-modeset: Allocated GPU:0 (GPU-d6b03ef8-5883-7f16-ebcf-26ba8a9815ca) @ PCI:0000:01:00.0
[ 1447.340043] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1447.340193] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1447.340291] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1447.340394] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1746.469473] nvidia-modeset: Freed GPU:0 (GPU-d6b03ef8-5883-7f16-ebcf-26ba8a9815ca) @ PCI:0000:01:00.0
[ 1746.500281] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1748.038741] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1748.038807] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1748.038878] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1748.038911] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1748.038943] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1748.039010] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1748.039041] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1748.039522] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1748.196648] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1751.040890] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1751.040974] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1751.041076] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1751.041124] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1751.041170] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1751.041271] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1751.041317] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1751.041986] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1751.217445] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1754.035800] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1754.035874] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1754.035962] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1754.036006] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1754.036059] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1754.036149] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1754.036193] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1754.036691] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1754.180105] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1757.031414] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1757.031518] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1757.031589] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1757.031613] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1757.031634] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1757.031682] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1757.031713] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1757.032187] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1757.184108] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1760.032189] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1760.032247] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1760.032313] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1760.032344] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1760.032373] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1760.032437] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1760.032466] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1760.032914] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1760.182703] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1763.030858] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1763.030909] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1763.030965] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1763.030992] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1763.031017] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1763.031071] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1763.031096] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1763.031495] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1763.180836] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1766.030946] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1766.031025] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1766.031121] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1766.031166] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1766.031209] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1766.031303] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1766.031346] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1766.031998] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1766.207257] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1767.450526] nvidia-modeset: Unloading
[ 1769.027331] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1769.027400] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1769.027479] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1769.027518] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1769.027553] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1769.027631] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1769.027668] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1769.028195] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1769.188813] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1769.997614] nvidia-nvlink: Unregistered the Nvlink Core, major device number 246
[ 1769.997770] [drm] Module unloaded
[ 1772.112074] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
[ 1772.112182] nvidia-nvlink: Nvlink Core is being initialized, major device number 246
[ 1772.112278] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1
[ 1772.112282] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  358.16  Mon Nov 16 19:25:55 PST 2015
[ 1772.116705] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1772.116746] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1772.116798] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1772.116823] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1772.116846] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1772.116898] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1772.116921] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1772.123781] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1772.469162] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1775.027185] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1775.027254] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1775.027334] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1775.027372] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1775.027409] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1775.027487] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1775.027523] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1775.028041] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1775.178109] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1777.032237] bbswitch: device 0000:01:00.0 is in use by driver 'nvidia', refusing OFF
[ 1778.026475] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1778.026565] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1778.026669] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1778.026717] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1778.026763] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1778.026863] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1778.026910] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1778.027686] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1778.195548] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1781.023749] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1781.023829] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1781.023924] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1781.023968] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1781.024011] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1781.024105] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1781.024148] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1781.024764] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1781.188169] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1784.022933] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1784.023038] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1784.023141] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1784.023190] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1784.023237] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1784.023337] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1784.023384] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1784.024059] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1784.206239] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1787.019323] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1787.019435] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1787.019521] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1787.019562] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1787.019599] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1787.019682] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1787.019721] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1787.020264] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1787.190447] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1790.022021] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1790.022127] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1790.022269] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1790.022335] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1790.022399] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1790.022542] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1790.022612] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1790.023291] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1790.192158] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1793.018479] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1793.018581] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1793.018688] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1793.018738] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1793.018783] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1793.018884] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1793.018930] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1793.019618] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1793.174179] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1796.014606] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1796.014681] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1796.014771] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1796.014814] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1796.014854] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1796.014941] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1796.014982] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1796.015598] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1796.190071] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1799.014272] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1799.014351] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1799.014446] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)                                                                                                                                   
[ 1799.014492] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1799.014534] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1799.014628] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1799.014671] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1799.015312] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1799.186674] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1802.010576] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1802.010647] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1802.010730] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1802.010770] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1802.010808] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1802.010890] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1802.010929] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1802.011499] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1802.175578] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1805.011222] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1805.011297] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1805.011387] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1805.011429] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1805.011469] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1805.011557] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1805.011599] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1805.012200] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 1805.167215] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[tomasz@arch ~]$ 

[tomasz@arch ~]$ lsmod|grep nvidia
nvidia               8712192  0
drm                   286720  14 i915,drm_kms_helper,nvidia
[tomasz@arch ~]$ sudo rmmod nvidia
[tomasz@arch ~]$ lsmod|grep nvidia
nvidia               8712192  0
drm                   286720  14 i915,drm_kms_helper,nvidia
[tomasz@arch ~]$ sudo rmmod -f nvidia
[tomasz@arch ~]$ lsmod|grep nvidia
nvidia               8712192  0
drm                   286720  14 i915,drm_kms_helper,nvidia
[tomasz@arch ~]$ sudo modprobe -rf nvidia
[tomasz@arch ~]$ lsmod|grep nvidia
nvidia               8712192  0
drm                   286720  14 i915,drm_kms_helper,nvidia
[tomasz@arch ~]$ 

sudo rmmod nvidia NOT WORKS at all.

@NerosTie

Very odd... It works for me! (no result for lsmod|grep nvidia after the rmmod and tee commands)

@FadeMind
[tomasz@arch ~]$ cat /proc/acpi/bbswitch
0000:01:00.0 ON
[tomasz@arch ~]$ sudo tee /proc/acpi/bbswitch <<< OFF
[sudo] hasło użytkownika tomasz: 
OFF
[tomasz@arch ~]$ cat /proc/acpi/bbswitch
0000:01:00.0 ON
[tomasz@arch ~]$ 

nvidia module freeze GPU.

@NerosTie
➜  ~  lsmod|grep nvidia
nvidia_modeset        708608  0
nvidia               8708096  1 nvidia_modeset
drm                   286720  11 i915,drm_kms_helper,nvidia
➜  ~  sudo rmmod nvidia_modeset                      
Mot de passe [sudo] de neros :
➜  ~  sudo rmmod nvidia                              
➜  ~  sudo tee /proc/acpi/bbswitch <<< OFF           
OFF
➜  ~  lsmod|grep nvidia                   
➜  ~  
➜  ~  cat /proc/acpi/bbswitch
0000:01:00.0 OFF
@Exel232
Exel232 commented Nov 23, 2015

Same problem here. Adding
remove nvidia rmmod nvidia-uvm nvidia_modeset nvidia
does not work on Arch-64 since nvidia-uvm is normally not loaded leaving the command with an error.
remove nvidia rmmod nvidia_modeset nvidia
surprisingly also does not work for bumblebee automatic disabling, the modules remain loaded

this script works reliably at least for me:

#!/usr/bin/bash
sudo rmmod nvidia_modeset &> /dev/null
sudo rmmod nvidia &> /dev/null
sudo tee /proc/acpi/bbswitch <<< OFF > /dev/null
if (cat /proc/acpi/bbswitch | grep OFF > /dev/null); then
    echo "The nVidia GPU has been turned off."
else
    echo "Failed to turn off the nvidia gpu"
fi
@juriy-zn

Also just realized my Nvidia card stays on and the above script does works. Still I was wondering what is the status of this, looks like nvidia_modeset is something they are introducing to help (?) manage the GPU. Is Bumblebee working on adding the unload of that module or work with it?

@Lekensteyn
Member

@juriy-zn The unloading should be done by means of a udev rule, bumblebeed will not be modified to unload every new module nvidia can think of.

@FadeMind

@Lekensteyn Can You share code of udev rule for manage this issue?

@tanriol
tanriol commented Nov 27, 2015

@Lekensteyn, may it make sense to ship the required udev (modprobe?) rule(s) with Bumblebee?

@Lekensteyn
Member

@FadeMind I thought that the line from #699 (comment) would be sufficient, but have not checked how the modules interact. If nvidia-uvm is not loaded, try removing that so this remains:

remove nvidia rmmod nvidia-modeset nvidia

... but as you may already have read, this did not work for @Exel232. You could try other commands like:

remove nvidia sh -c 'rmmod nvidia-modeset; rmmod nvidia'

@tanriol If there is a working one, sure. Distributions may have to customize it though if they use different driver names and/ or versions.

@AlexLevkovich

bumblebeed uses rmmod instead of modprobe -r. Do not waste the time. The patching of bumblebeed is needed.

@NerosTie

@AlexLevkovich Bumblebee must be patched itself or this is a packager's job?

@AlexLevkovich

the code needs to be changed (module.c): rmmod should be replaced to modprobe -r. After that
remove nvidia rmmod nvidia-modeset && rmmod nvidia
can be added into modprode.d

@pftbest
pftbest commented Dec 3, 2015

Maybe there should be an option in a config file, with a list of modules that should be loaded/unloaded?

@petter3k
petter3k commented Dec 8, 2015

Exact same issue here on a Asus UX32LN with 840M 2GB and Intel HD graphics (Haswell).

@arafey arafey pushed a commit to arafey/Bumblebee that referenced this issue Dec 8, 2015
Abuzer Rafey Dirty fix for issue #699 5636b24
@arafey
arafey commented Dec 8, 2015

@petter3k I made an interim fix for the problem that's been working on my system for about 2 weeks now. My system is a Lenovo ThinkPad W540 running Arch Linux with nvidia-358.16-2.1 but it should work on other hardware, distros, and drivers that also have nvidia_modeset.

@petter3k
petter3k commented Dec 8, 2015

@arafey Is it the patch you are talking about? Sure, can try it with ABS.

@petter3k
petter3k commented Dec 8, 2015

The modified module.c patched by @arafey did the trick on this Asus UX32LN.

@FadeMind
FadeMind commented Dec 8, 2015

My bad.. I thought it was the same patch file. @arafey I will feedback how this works on ASUS K55VM

@FadeMind
FadeMind commented Dec 8, 2015

@arafey @petter3k @AlexLevkovich
working like a charm 👍
dmesg: https://pastebin.com/raw.php?i=MbWrYV0y

Thank You

@FadeMind FadeMind referenced this issue in manjaro/packages-community Dec 8, 2015
Merged

Hard fix for unload nvidia_nomodeset module for bumblebee #81

@arafey arafey pushed a commit to arafey/Bumblebee that referenced this issue Dec 8, 2015
Abuzer Rafey Added nvidia_modeset detection for issue #699 8900d10
@arafey arafey pushed a commit to arafey/Bumblebee that referenced this issue Dec 8, 2015
Abuzer Rafey Added nvidia_modeset detection for issue #699 15b70ec
@arafey arafey pushed a commit to arafey/Bumblebee that referenced this issue Dec 8, 2015
Abuzer Rafey Added nvidia_modeset detection for issue #699 09d537e
@arafey
arafey commented Dec 8, 2015

Sorry for the multiple overlapping commits, I was trying to fix a mistake. Anyways, I'm glad this works for others. I separated the modprobe -r nvidia_modeset statement from the modprobe -r "driver" statement for nouveau and non nvidia_modeset systems. Hopefully, this should stop any unnecessary errors for people who aren't affected by this issue. Let me know if this causes problems for anyone.

@ArchangeGabriel ArchangeGabriel added this to the Bumblebee 4.0 milestone Dec 27, 2015
@ArchangeGabriel ArchangeGabriel self-assigned this Dec 27, 2015
@ArchangeGabriel
Member

So the proper fix for this and nvidia-uvm is to ship an accurate udev/modprobe rule with Bumblebee and/or the driver.

We need to figure out what works for everyone, and wether this should be on our side or driver side (probably the first one while all the distro update the second one).

@ArchangeGabriel ArchangeGabriel added P:High and removed P:Critical labels Dec 28, 2015
@ArchangeGabriel
Member

We continue in #719.

@StefanCristian StefanCristian pushed a commit to StefanCristian/kogaion-desktop that referenced this issue Oct 26, 2016
@V3n3RiX V3n3RiX fix for bumblebee issue : Bumblebee-Project/Bumblebee#699 4b1d147
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment