bbswitch fails to disable Discrete (Nvidia) Graphics

Bug #1266895 reported by Mike Thompson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad Bug Reporter
New
Undecided
Unassigned

Bug Description

# If this bug report can be imprved in any way or more information could be added for clarification, please don't hesitate to ask.
# I would also note, that while my explanation of the behavior might be as expected, the DMESG output still seems to indicate a bug, so please do read the whole bug. I am happy to rewrite it to represent the issue better if needs be.

Behavior: When an external display is pluged into the mini-display port of the computer, and bbswitch is sent the off signal (sudo tee /proc/acpi/bbswitch <<<OFF) the monitor contues to display

Expected Bahavior: That no signal would be sent to the external monitor.

DMESG Output on off:
[420803.212355] pci 0000:02:00.0: power state changed by ACPI to D0
[420847.824655] bbswitch: disabling discrete graphics
[420847.824684] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[420848.340554] pci 0000:02:00.0: power state changed by ACPI to D3cold

Steps to reproduction:
1) Boot computer
2) Set the state of of bbswitch to OFF (sudo tee /proc/acpi/bbswitch <<<OFF)
3) Check the state of bbswitch (sudo cat /proc/acpi/bbswitch)
  >> 0000:02:00.0 OFF
4) Verify a state of "OFF"
5) Plug an external monitor in to the Mini display port
6) Check the state of bbswitch (sudo cat /proc/acpi/bbswitch)
  >> 0000:02:00.0 OFF
7) Verify a state of "OFF"
8) Verify that the monitor can be enabled via the "Display" dialog of XFCE4 (ofce4-display-settings)
9) Check the state of bbswitch (sudo cat /proc/acpi/bbswitch)
  >> 0000:02:00.0 OFF
10) Verify a state of "OFF"

For the record I have attempted other vairous ON/OFF OFF/ON ordered scenearios in my repro attempts. The long and short of all of this is that I believe the Nvidia card is never disabled

Turning bbswitch off, on,and off with verbose output:
1) Boot computer
2) Set the state of of bbswitch to OFF
   sudo tee /proc/acpi/bbswitch <<<OFF
   >>OFF
3) Check the state of bbswitch
   sudo cat /proc/acpi/bbswitch
   >> 0000:02:00.0 OFF
4) Check DMESG
   dmesg | grep -C 10 bbswitch
   # Output is verbose, see "bbswitch_off_dmesg_out" in attached archive
5) Set the state of of bbswitch to ON
   sudo tee /proc/acpi/bbswitch <<<ON
   >>ON
6) Check the state of bbswitch
   sudo cat /proc/acpi/bbswitch
   >> 0000:02:00.0 ON
7) Check DMESG
   dmesg | grep -C 10 bbswitch
   # Output is verbose, see "bbswitch_off_dmesg_on" in attached archive
8) Set the state of of bbswitch to OFF
   sudo tee /proc/acpi/bbswitch <<<OFF
   >>OFF
9) Check the state of bbswitch
   sudo cat /proc/acpi/bbswitch
   >> 0000:02:00.0 OFF
10) Check DMESG
   dmesg | grep -C 10 bbswitch
   # Output is verbose, see "bbswitch_off_dmesg_out_again" in attached archive

System Information:

Hardware:
I am attempting to use bumblebee on a Dell M3800 laptop (Dec 2013) Running Debian Testing.
Chipset: Mobile Intel® HM87 Express
Video Card: NVIDIA® Quadro® K1100M with 2GB GDDR5 dedicated memory

Operating System Information:
3.11-2-amd64 #1 SMP Debian 3.11.10-1 (2013-12-04) x86_64 GNU/Linux

Xorg Version:
mike@mike-m3800:~/workspace$ Xorg -version

X.Org X Server 1.14.5
Release Date: 2013-12-12
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.13.0-rc2-patser+ x86_64 Debian
Current Operating System: Linux mike-m3800 3.11-2-amd64 #1 SMP Debian 3.11.10-1 (2013-12-04) x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.11-2-amd64 root=/dev/mapper/mike--m3800-root ro quiet
Build Date: 13 December 2013 10:12:53AM
xorg-server 2:1.14.5-1 (Maarten Lankhorst <email address hidden>)
Current version of pixman: 0.32.4
 Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.

Window Manager XFCE4 version 4.10

Revision history for this message
Mike Thompson (michael-p-thompson) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.