{"action":"created","issue":{"url":"https://api.github.com/repos/Bumblebee-Project/bbswitch/issues/113","labels_url":"https://api.github.com/repos/Bumblebee-Project/bbswitch/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/Bumblebee-Project/bbswitch/issues/113/comments","events_url":"https://api.github.com/repos/Bumblebee-Project/bbswitch/issues/113/events","html_url":"https://github.com/Bumblebee-Project/bbswitch/issues/113","id":98541274,"number":113,"title":"T540p, Fedora 22, Kernel 4.1.X, dGPU refused to change power state","user":{"login":"storrgie","id":323695,"avatar_url":"https://avatars.githubusercontent.com/u/323695?v=3","gravatar_id":"","url":"https://api.github.com/users/storrgie","html_url":"https://github.com/storrgie","followers_url":"https://api.github.com/users/storrgie/followers","following_url":"https://api.github.com/users/storrgie/following{/other_user}","gists_url":"https://api.github.com/users/storrgie/gists{/gist_id}","starred_url":"https://api.github.com/users/storrgie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/storrgie/subscriptions","organizations_url":"https://api.github.com/users/storrgie/orgs","repos_url":"https://api.github.com/users/storrgie/repos","events_url":"https://api.github.com/users/storrgie/events{/privacy}","received_events_url":"https://api.github.com/users/storrgie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-08-01T14:34:58Z","updated_at":"2015-12-27T15:07:07Z","closed_at":"2015-12-27T15:07:07Z","body":"Was working well on Fedora 22 for a while, however when they updated to 4.1.X I noticed the dGPU was always ON. Please help. This machine is going to melt my legs or itself quite quickly (Lenovo T540p).\r\n\r\n```\r\n[agd@enyo ~]$ uname -a\r\nLinux enyo 4.1.3-200.fc22.x86_64 #1 SMP Wed Jul 22 19:51:58 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n```\r\n```\r\n[agd@enyo ~]$ cat /proc/cmdline \r\nBOOT_IMAGE=/vmlinuz-4.1.3-200.fc22.x86_64 root=UUID=1898cf22-bff7-4974-b836-61ef94a1d160 ro rootflags=subvol=root rd.luks.uuid=luks-9c941092-c8b7-497d-8bb6-2423567bbcd4 rd.luks.uuid=luks-2eac4914-e9ec-4510-9762-bc40bf36196c rd.luks.uuid=luks-574bf092-d0a6-4df7-b064-ee78f4b83008 nouveau.modeset=0 rd.driver.blacklist=nouveau \"acpi_osi=!Windows 2013\" rhgb quiet LANG=en_US.UTF-8\r\n```\r\n```\r\n[agd@enyo ~]$ dmesg | grep -C 10 bbswitch\r\n[   14.940550] usbcore: registered new interface driver uvcvideo\r\n[   14.940552] USB Video Class driver (1.1.1)\r\n[   15.043661] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'\r\n[   15.049443] iwlwifi 0000:03:00.0 wlp3s0: renamed from wlan0\r\n[   15.051435] Bluetooth: Core ver 2.20\r\n[   15.051446] NET: Registered protocol family 31\r\n[   15.051446] Bluetooth: HCI device and connection manager initialized\r\n[   15.051449] Bluetooth: HCI socket layer initialized\r\n[   15.051450] Bluetooth: L2CAP socket layer initialized\r\n[   15.051454] Bluetooth: SCO socket layer initialized\r\n[   15.053679] bbswitch: version 0.8\r\n[   15.053684] bbswitch: Found integrated VGA device 0000:00:02.0: \\_SB_.PCI0.VID_\r\n[   15.053691] bbswitch: Found discrete VGA device 0000:01:00.0: \\_SB_.PCI0.PEG_.VID_\r\n[   15.053699] ACPI Warning: \\_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)\r\n[   15.054040] bbswitch: detected an Optimus _DSM function\r\n[   15.054052] pci 0000:01:00.0: enabling device (0004 -> 0007)\r\n[   15.054082] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on\r\n[   15.056787] bbswitch: disabling discrete graphics\r\n[   15.056797] ACPI Warning: \\_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)\r\n[   15.057369] Bluetooth: BNEP (Ethernet Emulation) ver 1.3\r\n[   15.057371] Bluetooth: BNEP filters: protocol multicast\r\n[   15.057374] Bluetooth: BNEP socket layer initialized\r\n[   15.071171] cfg80211: Calling CRDA for country: US\r\n[   15.075489] cfg80211: Regulatory domain changed to country: US\r\n[   15.075492] cfg80211:  DFS Master region: FCC\r\n[   15.075493] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)\r\n[   15.075494] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)\r\n[   15.075495] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)\r\n--\r\n[   26.265966] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)\r\n[   26.265967] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)\r\n[   28.234359] nvidia: module license 'NVIDIA' taints kernel.\r\n[   28.234362] Disabling lock debugging due to kernel taint\r\n[   28.250824] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none\r\n[   28.251829] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1\r\n[   28.251834] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  352.21  Tue Jun  9 21:53:31 PDT 2015\r\n[   28.253141] nvidia_uvm: Loaded the UVM driver, major device number 244\r\n[   28.255399] nvidia_uvm: Unregistered the UVM driver\r\n[   35.406253] [drm] Module unloaded\r\n[   35.421713] bbswitch: disabling discrete graphics\r\n[   35.421722] ACPI Warning: \\_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)\r\n[   35.433395] pci_raw_set_power_state: 186 callbacks suppressed\r\n[   35.433400] pci 0000:01:00.0: Refused to change power state, currently in D0\r\n[  305.188573] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none\r\n[  305.189589] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1\r\n[  305.189593] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  352.21  Tue Jun  9 21:53:31 PDT 2015\r\n[  305.217434] ACPI Warning: \\_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)\r\n[  305.217508] ACPI Warning: \\_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)\r\n[  305.217557] ACPI Warning: \\_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)\r\n[  305.217604] ACPI Warning: \\_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)\r\n[  305.217651] ACPI Warning: \\_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)\r\n[  305.217820] ACPI Warning: \\_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)\r\n[  305.217968] ACPI Warning: \\_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)\r\n[  305.218016] ACPI Warning: \\_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)\r\n[  305.369511] ACPI Warning: \\_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)\r\n[  311.700821] ACPI Warning: \\_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)\r\n[  311.706250] [drm] Module unloaded\r\n[  311.719362] bbswitch: disabling discrete graphics\r\n[  311.719376] ACPI Warning: \\_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150410/nsarguments-95)\r\n[  311.730359] pci 0000:01:00.0: Refused to change power state, currently in D0\r\n```\r\n```\r\n[agd@enyo ~]$ sudo Xorg -version\r\n\r\nX.Org X Server 1.17.2\r\nRelease Date: 2015-06-16\r\nX Protocol Version 11, Revision 0\r\nBuild Operating System:  4.0.4-202.fc21.x86_64 \r\nCurrent Operating System: Linux enyo 4.1.3-200.fc22.x86_64 #1 SMP Wed Jul 22 19:51:58 UTC 2015 x86_64\r\nKernel command line: BOOT_IMAGE=/vmlinuz-4.1.3-200.fc22.x86_64 root=UUID=1898cf22-bff7-4974-b836-61ef94a1d160 ro rootflags=subvol=root rd.luks.uuid=luks-9c941092-c8b7-497d-8bb6-2423567bbcd4 rd.luks.uuid=luks-2eac4914-e9ec-4510-9762-bc40bf36196c rd.luks.uuid=luks-574bf092-d0a6-4df7-b064-ee78f4b83008 nouveau.modeset=0 rd.driver.blacklist=nouveau \"acpi_osi=!Windows 2013\" rhgb quiet LANG=en_US.UTF-8\r\nBuild Date: 15 July 2015  08:16:41AM\r\nBuild ID: xorg-x11-server 1.17.2-2.fc22 \r\nCurrent version of pixman: 0.32.6\r\n\tBefore reporting problems, check http://wiki.x.org\r\n\tto make sure that you have the latest version.\r\n```\r\n```\r\n[agd@enyo ~]$ sudo dnf info bbswitch.x86_64\r\nLast metadata expiration check performed 0:23:12 ago on Sat Aug  1 10:11:27 2015.\r\nInstalled Packages\r\nName        : bbswitch\r\nArch        : x86_64\r\nEpoch       : 0\r\nVersion     : 0.8.0\r\nRelease     : 1.fc22\r\nSize        : 24 k\r\nRepo        : @System\r\nSummary     : Linux kernel module for Bumblebee\r\nURL         : http://bumblebee-project.org/\r\nLicense     : GPLv3\r\nDescription : bbswitch is a Linux kernel module which automatically detects the required\r\n            : ACPI calls for two kinds of Optimus laptops. It has been verified to work\r\n            : with \"real\" Optimus and \"legacy\" Optimus laptops.\r\n            : \r\n            : See: https://github.com/Bumblebee-Project/bbswitch/\r\n            : \r\n            : For further information.\r\n            : \r\n            : For now, if you require nvidia module support with bumblebee you must\r\n            : install bbswitch. In addition, even with nouveau, bbswitch will work\r\n            : after a suspend whereas vga_switcharoo in the kernel might not. See:\r\n            : https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods\r\n            : for further information.\r\n```"},"comment":{"url":"https://api.github.com/repos/Bumblebee-Project/bbswitch/issues/comments/167419366","html_url":"https://github.com/Bumblebee-Project/bbswitch/issues/113#issuecomment-167419366","issue_url":"https://api.github.com/repos/Bumblebee-Project/bbswitch/issues/113","id":167419366,"user":{"login":"ArchangeGabriel","id":490531,"avatar_url":"https://avatars.githubusercontent.com/u/490531?v=3","gravatar_id":"","url":"https://api.github.com/users/ArchangeGabriel","html_url":"https://github.com/ArchangeGabriel","followers_url":"https://api.github.com/users/ArchangeGabriel/followers","following_url":"https://api.github.com/users/ArchangeGabriel/following{/other_user}","gists_url":"https://api.github.com/users/ArchangeGabriel/gists{/gist_id}","starred_url":"https://api.github.com/users/ArchangeGabriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArchangeGabriel/subscriptions","organizations_url":"https://api.github.com/users/ArchangeGabriel/orgs","repos_url":"https://api.github.com/users/ArchangeGabriel/repos","events_url":"https://api.github.com/users/ArchangeGabriel/events{/privacy}","received_events_url":"https://api.github.com/users/ArchangeGabriel/received_events","type":"User","site_admin":false},"created_at":"2015-12-27T15:07:07Z","updated_at":"2015-12-27T15:07:07Z","body":"So, this is a duplicate of #112 too. Closing as so."}}