You are not logged in.
Hello all. I've been able to resolve a wide variety of problems by searching through the posts here, but it seems I've come up empty on this one.
I'm running Arch on a Sager NP5160 (Clevo W150HN), i7-2630 QM, 8 GB RAM, running Optimus with an Nvidia GT 540M Optimus setup.
I've had Bumblebee and bbswitch running fine in the past, but recently I needed to reinstall Arch (my own fault).
I installed bumblebee and bbswitch again, as described on the wiki.
However, once everything is installed and configured, bbswitch is still unable to deactivate my Nvidia card.
I'm using the proprietary Nvidia driver.
I have verified that bumblebee.conf has the driver set to Nvidia (not nouveau), and uses bbswitch.
I have also tried blacklisting both nouveau and nvidia, as well as adding bbswitch to the modules section of my mkinitcpio.conf file (and regenerating the initramfs).
A curious point that I have noted is that the Nvidia card is disabled during boot, and up until I login.
Once my information loads, the Nvidia card is activated and I cannot deactivate it, even manually.
Here is the dmesg output when I run glxspheres64 using bumblebee:
[ 777.827743] [drm] Module unloaded
[ 777.829410] bbswitch: disabling discrete graphics
[ 777.829423] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 777.842135] pci 0000:01:00.0: Refused to change power state, currently in D0
[ 778.625647] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
[ 778.625799] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
[ 778.626884] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
[ 778.626906] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 346.35 Sat Jan 10 21:27:15 PST 2015
[ 778.629748] nvidia 0000:01:00.0: irq 38 for MSI/MSI-X
[ 778.635579] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 778.635666] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 778.635703] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 778.635734] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 778.635762] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 778.635790] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 778.636064] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 778.636096] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[ 782.694911] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)Part of my systemd journal from a recent boot:
Feb 04 15:26:04 gondolin acpid[322]: client connected from 6944[0:997]
Feb 04 15:26:04 gondolin acpid[322]: 1 client rule loaded
Feb 04 15:26:05 gondolin bumblebeed[320]: [ 368.404917] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
Feb 04 15:26:05 gondolin bumblebeed[320]: [ 368.404963] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
Feb 04 15:26:05 gondolin bumblebeed[320]: [ 368.404979] [ERROR][XORG] (EE) systemd-logind: failed to get session: PID 6944 does not belong to any known session
Feb 04 15:26:05 gondolin bumblebeed[320]: [ 368.404989] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
Feb 04 15:26:05 gondolin bumblebeed[320]: [ 368.405031] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
Feb 04 15:26:05 gondolin bumblebeed[320]: [ 368.405056] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
Feb 04 15:26:08 gondolin logger[6979]: ACPI group/action undefined: thermal_zone / LNXTHERM:00
Feb 04 15:26:12 gondolin kernel: [drm] Module unloaded
Feb 04 15:26:12 gondolin kernel: bbswitch: disabling discrete graphics
Feb 04 15:26:12 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 04 15:26:12 gondolin kernel: pci 0000:01:00.0: Refused to change power state, currently in D0
Feb 04 15:26:12 gondolin bumblebeed[320]: [ 375.273427] [ERROR][XORG] (EE) Server terminated successfully (0). Closing log file.
Feb 04 15:26:12 gondolin acpid[322]: client 6944[0:997] has disconnected
Feb 04 15:26:12 gondolin acpid[322]: client 6944[0:997] has disconnected
Feb 04 15:26:12 gondolin kernel: nvidia 0000:01:00.0: enabling device (0006 -> 0007)
Feb 04 15:26:12 gondolin kernel: vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
Feb 04 15:26:12 gondolin kernel: [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
Feb 04 15:26:12 gondolin kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 346.35 Sat Jan 10 21:27:15 PST 2015
Feb 04 15:26:12 gondolin kernel: nvidia 0000:01:00.0: irq 38 for MSI/MSI-X
Feb 04 15:26:12 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 04 15:26:12 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 04 15:26:12 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 04 15:26:12 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 04 15:26:12 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 04 15:26:12 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 04 15:26:12 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 04 15:26:12 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 04 15:26:12 gondolin logger[6997]: ACPI group/action undefined: PNP0C14:00 / 000000d0Finally, the Xorg.8.log:
X.Org X Server 1.16.3
Release Date: 2014-12-20
[ 366.573] X Protocol Version 11, Revision 0
[ 366.573] Build Operating System: Linux 3.18.1-1-ARCH x86_64
[ 366.573] Current Operating System: Linux gondolin 3.18.5-1-ARCH #1 SMP PREEMPT Fri Jan 30 07:31:50 CET 2015 x86_64
[ 366.573] Kernel command line: initrd=\initramfs-linux.img root=/dev/sda3 rw
[ 366.573] Build Date: 29 December 2014 01:09:58PM
[ 366.573]
[ 366.573] Current version of pixman: 0.32.6
[ 366.573] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 366.573] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 366.573] (==) Log file: "/var/log/Xorg.8.log", Time: Wed Feb 4 15:26:03 2015
[ 366.573] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[ 366.573] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[ 366.573] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 366.574] (==) ServerLayout "Layout0"
[ 366.574] (**) |-->Screen "Default Screen" (0)
[ 366.574] (**) | |-->Monitor "<default monitor>"
[ 366.574] (**) | |-->Device "DiscreteNvidia"
[ 366.574] (==) No monitor specified for screen "Default Screen".
Using a default monitor configuration.
[ 366.574] (**) Option "AutoAddDevices" "false"
[ 366.574] (**) Option "AutoAddGPU" "false"
[ 366.574] (**) Not automatically adding devices
[ 366.574] (==) Automatically enabling devices
[ 366.574] (**) Not automatically adding GPU devices
[ 366.574] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 366.574] Entry deleted from font path.
[ 366.574] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 366.574] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 366.574] Entry deleted from font path.
[ 366.574] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 366.574] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/
[ 366.574] (++) ModulePath set to "/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules"
[ 366.575] (==) |-->Input Device "<default pointer>"
[ 366.575] (==) |-->Input Device "<default keyboard>"
[ 366.575] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[ 366.575] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[ 366.575] (II) Loader magic: 0x818d80
[ 366.575] (II) Module ABI versions:
[ 366.575] X.Org ANSI C Emulation: 0.4
[ 366.575] X.Org Video Driver: 18.0
[ 366.575] X.Org XInput driver : 21.0
[ 366.575] X.Org Server Extension : 8.0
[ 366.577] (EE) systemd-logind: failed to get session: PID 6944 does not belong to any known session
[ 366.578] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 366.578] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 366.578] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 366.581] (--) PCI:*(0:1:0:0) 10de:0df4:1558:5140 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00005000/128
[ 366.581] (II) Open ACPI successful (/var/run/acpid.socket)
[ 366.581] (II) LoadModule: "glx"
[ 366.581] (II) Loading /usr/lib/nvidia/xorg/modules/extensions/libglx.so
[ 366.599] (II) Module glx: vendor="NVIDIA Corporation"
[ 366.599] compiled for 4.0.2, module version = 1.0.0
[ 366.599] Module class: X.Org Server Extension
[ 366.599] (II) NVIDIA GLX Module 346.35 Sat Jan 10 20:53:39 PST 2015
[ 366.599] (II) LoadModule: "nvidia"
[ 366.599] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 366.600] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 366.600] compiled for 4.0.2, module version = 1.0.0
[ 366.600] Module class: X.Org Video Driver
[ 366.600] (II) LoadModule: "mouse"
[ 366.600] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[ 366.600] (II) Module mouse: vendor="X.Org Foundation"
[ 366.600] compiled for 1.16.0, module version = 1.9.1
[ 366.600] Module class: X.Org XInput Driver
[ 366.600] ABI class: X.Org XInput driver, version 21.0
[ 366.600] (II) LoadModule: "kbd"
[ 366.601] (WW) Warning, couldn't open module kbd
[ 366.601] (II) UnloadModule: "kbd"
[ 366.601] (II) Unloading kbd
[ 366.601] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 366.601] (II) NVIDIA dlloader X Driver 346.35 Sat Jan 10 20:32:18 PST 2015
[ 366.601] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 366.601] (--) using VT number 7
[ 366.601] (II) Loading sub module "fb"
[ 366.601] (II) LoadModule: "fb"
[ 366.601] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 366.601] (II) Module fb: vendor="X.Org Foundation"
[ 366.601] compiled for 1.16.3, module version = 1.0.0
[ 366.601] ABI class: X.Org ANSI C Emulation, version 0.4
[ 366.601] (II) Loading sub module "wfb"
[ 366.601] (II) LoadModule: "wfb"
[ 366.601] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 366.602] (II) Module wfb: vendor="X.Org Foundation"
[ 366.602] compiled for 1.16.3, module version = 1.0.0
[ 366.602] ABI class: X.Org ANSI C Emulation, version 0.4
[ 366.602] (II) Loading sub module "ramdac"
[ 366.602] (II) LoadModule: "ramdac"
[ 366.602] (II) Module "ramdac" already built-in
[ 366.615] (II) NVIDIA(0): Creating default Display subsection in Screen section
"Default Screen" for depth/fbbpp 24/32
[ 366.615] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 366.615] (==) NVIDIA(0): RGB weight 888
[ 366.615] (==) NVIDIA(0): Default visual is TrueColor
[ 366.616] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 366.616] (**) NVIDIA(0): Option "NoLogo" "true"
[ 366.616] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
[ 366.616] (**) NVIDIA(0): Option "UseEDID" "false"
[ 366.616] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
[ 366.616] (**) NVIDIA(0): Enabling 2D acceleration
[ 366.616] (**) NVIDIA(0): Ignoring EDIDs
[ 366.616] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[ 366.616] (**) NVIDIA(0): mode
[ 366.964] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[ 366.965] (II) NVIDIA(0): NVIDIA GPU GeForce GT 540M (GF108) at PCI:1:0:0 (GPU-0)
[ 366.965] (--) NVIDIA(0): Memory: 1048576 kBytes
[ 366.965] (--) NVIDIA(0): VideoBIOS: 70.08.53.00.05
[ 366.965] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 366.965] (--) NVIDIA(0): Valid display device(s) on GeForce GT 540M at PCI:1:0:0
[ 366.965] (--) NVIDIA(0): none
[ 366.966] (II) NVIDIA(0): Validated MetaModes:
[ 366.966] (II) NVIDIA(0): "NULL"
[ 366.966] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 366.966] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 366.966] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 366.966] (--) Depth 24 pixmap format is 32 bpp
[ 366.966] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[ 366.966] (II) NVIDIA: access.
[ 367.798] (II) NVIDIA(0): Setting mode "NULL"
[ 367.841] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 367.842] (==) NVIDIA(0): Backing store enabled
[ 367.842] (==) NVIDIA(0): Silken mouse enabled
[ 367.842] (==) NVIDIA(0): DPMS enabled
[ 367.842] (II) Loading sub module "dri2"
[ 367.842] (II) LoadModule: "dri2"
[ 367.842] (II) Module "dri2" already built-in
[ 367.842] (II) NVIDIA(0): [DRI2] Setup complete
[ 367.842] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 367.842] (--) RandR disabled
[ 367.852] (II) Initializing extension GLX
[ 367.928] (II) Using input driver 'mouse' for '<default pointer>'
[ 367.928] (**) Option "CorePointer" "on"
[ 367.928] (**) <default pointer>: always reports core events
[ 367.928] (WW) <default pointer>: No Device specified, looking for one...
[ 368.010] (II) <default pointer>: Setting Device option to "/dev/input/mice"
[ 368.010] (--) <default pointer>: Device: "/dev/input/mice"
[ 368.010] (==) <default pointer>: Protocol: "Auto"
[ 368.010] (**) <default pointer>: always reports core events
[ 368.010] (**) Option "Device" "/dev/input/mice"
[ 368.090] (==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
[ 368.090] (**) <default pointer>: ZAxisMapping: buttons 4 and 5
[ 368.090] (**) <default pointer>: Buttons: 9
[ 368.090] (II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE, id 6)
[ 368.090] (**) <default pointer>: (accel) keeping acceleration scheme 1
[ 368.090] (**) <default pointer>: (accel) acceleration profile 0
[ 368.090] (**) <default pointer>: (accel) acceleration factor: 2.000
[ 368.090] (**) <default pointer>: (accel) acceleration threshold: 4
[ 368.090] (II) <default pointer>: Setting mouse protocol to "ExplorerPS/2"
[ 368.384] (II) <default pointer>: ps2EnableDataReporting: succeeded
[ 368.384] (II) LoadModule: "kbd"
[ 368.385] (WW) Warning, couldn't open module kbd
[ 368.385] (II) UnloadModule: "kbd"
[ 368.385] (II) Unloading kbd
[ 368.385] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 368.385] (EE) No input driver matching `kbd'
[ 368.388] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 368.388] (II) AutoAddDevices is off - not adding device.
[ 368.388] (II) config/udev: Adding input device Video Bus (/dev/input/event6)
[ 368.388] (II) AutoAddDevices is off - not adding device.
[ 368.389] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
[ 368.389] (II) AutoAddDevices is off - not adding device.
[ 368.389] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[ 368.389] (II) AutoAddDevices is off - not adding device.
[ 368.390] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
[ 368.390] (II) AutoAddDevices is off - not adding device.
[ 368.390] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[ 368.390] (II) AutoAddDevices is off - not adding device.
[ 368.391] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 368.391] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 368.391] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 368.391] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event9)
[ 368.392] (II) AutoAddDevices is off - not adding device.
[ 368.392] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event10)
[ 368.392] (II) AutoAddDevices is off - not adding device.
[ 368.392] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event11)
[ 368.392] (II) AutoAddDevices is off - not adding device.
[ 368.393] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event12)
[ 368.393] (II) AutoAddDevices is off - not adding device.
[ 368.394] (II) config/udev: Adding input device Areson USB Device (/dev/input/event7)
[ 368.394] (II) AutoAddDevices is off - not adding device.
[ 368.394] (II) config/udev: Adding input device Areson USB Device (/dev/input/mouse0)
[ 368.394] (II) AutoAddDevices is off - not adding device.
[ 368.395] (II) config/udev: Adding input device BisonCam, NB Pro (/dev/input/event13)
[ 368.395] (II) AutoAddDevices is off - not adding device.
[ 368.395] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[ 368.395] (II) AutoAddDevices is off - not adding device.
[ 368.396] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event14)
[ 368.396] (II) AutoAddDevices is off - not adding device.
[ 368.396] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
[ 368.396] (II) AutoAddDevices is off - not adding device.
[ 368.397] (II) config/udev: Adding input device PC Speaker (/dev/input/event8)
[ 368.397] (II) AutoAddDevices is off - not adding device.
[ 375.131] (II) UnloadModule: "mouse"
[ 375.153] (II) NVIDIA(GPU-0): Deleting GPU-0
[ 375.154] (EE) Server terminated successfully (0). Closing log file.I am unsure what else to try.
If there is any other information needed that I have neglected to provide, I will do my best to post it right away.
Thanks in advance for your assistance.
Last edited by StateOfBlind (2015-03-08 13:46:49)
Offline
So what happens when you
cat /proc/acpi/bbswitch echo "OFF" >> /proc/acpi/bbswitch?
Show the log output during enabling and disabling the card with that method.
I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do. (Gune | Titan A.E.)
Offline
Hi, thanks for the response.
The command appears to complete successfully, but the logs shows this:
Feb 09 10:03:10 gondolin kernel: nvidia 0000:01:00.0: irq 38 for MSI/MSI-X
Feb 09 10:03:10 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 09 10:03:10 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 09 10:03:10 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 09 10:03:10 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 09 10:03:10 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 09 10:03:10 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 09 10:03:10 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 09 10:03:10 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 09 10:03:10 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 09 10:03:11 gondolin sudo[11248]: turgon : TTY=pts/2 ; PWD=/home/turgon ; USER=root ; COMMAND=/usr/bin/tee /proc/acpi/bbswitch
Feb 09 10:03:11 gondolin sudo[11248]: pam_unix(sudo:session): session opened for user root by turgon(uid=0)
Feb 09 10:03:11 gondolin sudo[11248]: pam_unix(sudo:session): session closed for user root
Feb 09 10:03:11 gondolin kernel: bbswitch: device 0000:01:00.0 is in use by driver 'nvidia', refusing OFF
Feb 09 10:03:11 gondolin kernel: nvidia 0000:01:00.0: irq 38 for MSI/MSI-X
Feb 09 10:03:11 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 09 10:03:11 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 09 10:03:11 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 09 10:03:11 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 09 10:03:11 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 09 10:03:11 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 09 10:03:11 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 09 10:03:11 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 09 10:03:11 gondolin kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
Feb 09 10:03:12 gondolin kernel: nvidia 0000:01:00.0: irq 38 for MSI/MSI-XI can't seem to figure out why the nvidia module is still loading, I've gone as far as blacklisting it on startup.
Offline
Sorry to bump this, but I've found some more information.
Unfortunately, I'm not sure what to do with it yet.
I've uninstalled and reinstalled the relevant packages outlined in the Bumblebee wiki.
When my laptop boots, the Nvidia card is disabled up until I log in, at which point it appears to be perpetually enabled, unless the Optimus indicator lights are showing incorrectly.
This is the log output I receive when I run optimus glxspheres64:
Mar 02 10:15:03 gondolin kernel: ------------[ cut here ]------------
Mar 02 10:15:03 gondolin kernel: WARNING: CPU: 1 PID: 16254 at fs/proc/generic.c:315 proc_register+0xc8/0x150()
Mar 02 10:15:03 gondolin kernel: proc_dir_entry 'driver/nvidia' already registered
Mar 02 10:15:03 gondolin kernel: Modules linked in: nvidia(PO+) ctr ccm hid_generic usbhid hid bbswitch(O) joydev mousedev uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media snd_hda_codec_hdmi iTCO_wdt i
Mar 02 10:15:03 gondolin kernel: intel_gtt i2c_algo_bit libata drm_kms_helper xhci_pci ehci_pci scsi_mod drm xhci_hcd atkbd ehci_hcd libps2 sdhci_pci sdhci led_class usbcore mmc_core usb_common i2c_core i8042 serio video button [last unl
Mar 02 10:15:03 gondolin kernel: CPU: 1 PID: 16254 Comm: modprobe Tainted: P W O 3.18.6-1-ARCH #1
Mar 02 10:15:03 gondolin kernel: Hardware name: CLEVO CO. W150HNM/W170HN /W150HNM/W170HN , BIOS HR_2.1.0.128 X64 04/01
Mar 02 10:15:03 gondolin kernel: 0000000000000000 00000000970ffdf0 ffff88021233fb08 ffffffff8154fb74
Mar 02 10:15:03 gondolin kernel: 0000000000000000 ffff88021233fb60 ffff88021233fb48 ffffffff81072c41
Mar 02 10:15:03 gondolin kernel: ffffffff81b11838 ffff880208fdab80 ffff88022e2b15f3 ffff88022e2b1580
Mar 02 10:15:03 gondolin kernel: Call Trace:
Mar 02 10:15:03 gondolin kernel: [<ffffffff8154fb74>] dump_stack+0x4e/0x71
Mar 02 10:15:03 gondolin kernel: [<ffffffff81072c41>] warn_slowpath_common+0x81/0xa0
Mar 02 10:15:03 gondolin kernel: [<ffffffff81072cb5>] warn_slowpath_fmt+0x55/0x70
Mar 02 10:15:03 gondolin kernel: [<ffffffff8123aed4>] ? proc_alloc_inum+0x54/0xe0
Mar 02 10:15:03 gondolin kernel: [<ffffffff8123b028>] proc_register+0xc8/0x150
Mar 02 10:15:03 gondolin kernel: [<ffffffff8123b1b2>] proc_mkdir_data+0x52/0x80
Mar 02 10:15:03 gondolin kernel: [<ffffffff8123b1f3>] proc_mkdir_mode+0x13/0x20
Mar 02 10:15:03 gondolin kernel: [<ffffffffa0c88ffc>] nv_register_procfs+0x5c/0x210 [nvidia]
Mar 02 10:15:03 gondolin kernel: [<ffffffffa178c2e2>] nvidia_init_module+0x2e2/0x7c2 [nvidia]
Mar 02 10:15:03 gondolin kernel: [<ffffffffa178c7d7>] ? nv_drm_init+0x15/0x15 [nvidia]
Mar 02 10:15:03 gondolin kernel: [<ffffffffa178c85d>] nvidia_frontend_init_module+0x86/0x829 [nvidia]
Mar 02 10:15:03 gondolin kernel: [<ffffffff81002148>] do_one_initcall+0xd8/0x210
Mar 02 10:15:03 gondolin kernel: [<ffffffff81196c52>] ? __vunmap+0xa2/0x100
Mar 02 10:15:03 gondolin kernel: [<ffffffff810f6bd6>] load_module+0x1ea6/0x27d0
Mar 02 10:15:03 gondolin kernel: [<ffffffff810f2fb0>] ? store_uevent+0x70/0x70
Mar 02 10:15:03 gondolin kernel: [<ffffffff810f75cd>] SyS_init_module+0xcd/0x120
Mar 02 10:15:03 gondolin kernel: [<ffffffff815556e9>] system_call_fastpath+0x12/0x17
Mar 02 10:15:03 gondolin kernel: ---[ end trace 1a8b41591c71f998 ]---
Mar 02 10:15:03 gondolin kernel: NVRM: This is a 64-bit BAR mapped above 4GB by the system
NVRM: BIOS or the Linux kernel, but the PCI bridge
NVRM: immediately upstream of this GPU does not define
NVRM: a matching prefetchable memory window.
Mar 02 10:15:03 gondolin kernel: NVRM: This may be due to a known Linux kernel bug. Please
NVRM: see the README section on 64-bit BARs for additional
NVRM: information.
Mar 02 10:15:03 gondolin kernel: nvidia: probe of 0000:01:00.0 failed with error -1
Mar 02 10:15:03 gondolin kernel: Error: Driver 'nvlink' is already registered, aborting...
Mar 02 10:15:03 gondolin kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
Mar 02 10:15:03 gondolin kernel: NVRM: None of the NVIDIA graphics adapters were initialized!
Mar 02 10:15:03 gondolin kernel: [drm] Module unloaded
Mar 02 10:15:03 gondolin kernel: NVRM: NVIDIA init module failed!
Mar 02 10:15:03 gondolin systemd-udevd[15488]: Failed to apply ACL on /dev/dri/card1: No such file or directory
Mar 02 10:15:03 gondolin systemd-udevd[15488]: Failed to apply ACL on /dev/dri/card1: No such file or directory
Mar 02 10:15:04 gondolin systemd-udevd[15488]: Failed to apply ACL on /dev/dri/card1: No such file or directory
Mar 02 10:15:04 gondolin systemd-udevd[15488]: Failed to apply ACL on /dev/dri/card1: No such file or directoryAny thoughts?
Offline
Do you have any script run on log in which loads (implicitly) the nvidia module?
For example if you run nvidia-smi in your script it would load the nvidia module and prevents disbaling the card until it is unloaded.
I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do. (Gune | Titan A.E.)
Offline
I removed a plasmoid that was calling nvidia-smi on startup, but that's the only thing I've found that would implicitly load the nvidia module.
Offline
Did removing it solve your problem?
If notyou have one source less at least ![]()
Last edited by dice (2015-03-06 17:05:38)
I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do. (Gune | Titan A.E.)
Offline
I removed it, but I was still experiencing the problem.
Now strange to say, in spite of that, Bumblebee and bbswitch both appear to be functioning normally and I can switch between the two video cards with no trouble.
I am not sure what effected the change. There are only two things I did that could have caused it, in my opinion: I removed the laptop-mode-tools package, and I ran a system update (that didn't include any updates to bumblebee, bbswitch, or the drivers).
Beats me what actually solved it, but I'll mark the thread as solved.
Thanks to everyone who took the time to respond and tried to help me out.
Offline