{"action":"created","issue":{"url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/issues/664","labels_url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/issues/664/labels{/name}","comments_url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/issues/664/comments","events_url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/issues/664/events","html_url":"https://github.com/Bumblebee-Project/Bumblebee/issues/664","id":81031604,"number":664,"title":"Arch x64: Refused to change power state, currently in D0","user":{"login":"petter3k","id":5199770,"avatar_url":"https://avatars.githubusercontent.com/u/5199770?v=3","gravatar_id":"","url":"https://api.github.com/users/petter3k","html_url":"https://github.com/petter3k","followers_url":"https://api.github.com/users/petter3k/followers","following_url":"https://api.github.com/users/petter3k/following{/other_user}","gists_url":"https://api.github.com/users/petter3k/gists{/gist_id}","starred_url":"https://api.github.com/users/petter3k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petter3k/subscriptions","organizations_url":"https://api.github.com/users/petter3k/orgs","repos_url":"https://api.github.com/users/petter3k/repos","events_url":"https://api.github.com/users/petter3k/events{/privacy}","received_events_url":"https://api.github.com/users/petter3k/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-26T16:14:29Z","updated_at":"2015-11-10T11:30:55Z","closed_at":null,"body":"Hi,\r\n\r\nI just noticed an error I get in dmesg after using the nvidia card with bumblebee.\r\n\r\ndmesg:\r\n```\r\n[ 1122.814145] bbswitch: enabling discrete graphics\r\n[ 1123.308915] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:03:00.0 on minor 1\r\n[ 1123.308920] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  352.09  Tue May 12 14:47:49 PDT 2015\r\n[ 1123.324610] vgaarb: this pci device is not a vga device\r\n[ 1123.326857] ACPI Warning: \\_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)\r\n[ 1123.326902] ACPI Warning: \\_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)\r\n[ 1123.326926] ACPI Warning: \\_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)\r\n[ 1123.326948] ACPI Warning: \\_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)\r\n[ 1123.326970] ACPI Warning: \\_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)\r\n[ 1123.326992] ACPI Warning: \\_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)\r\n[ 1123.327025] ACPI Warning: \\_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)\r\n[ 1123.327047] ACPI Warning: \\_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)\r\n[ 1123.342376] ACPI Warning: \\_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)\r\n[ 1123.473708] vgaarb: this pci device is not a vga device\r\n[ 1169.368426] ACPI Warning: \\_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)\r\n[ 1169.375395] [drm] Module unloaded\r\n[ 1169.390285] bbswitch: disabling discrete graphics\r\n[ 1169.390294] ACPI Warning: \\_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)\r\n[ 1169.401377] pci 0000:03:00.0: Refused to change power state, currently in D0\r\n```\r\n\r\n```\r\nsystemctl status bumblebeed -l:\r\n\r\n[ 1123.148525] [ERROR][XORG] (EE) systemd-logind: failed to get session: PID 2573 does not belong to any known session\r\n[ 1123.148529] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied\r\n```\r\n\r\nAlthough /proc/acpi/bbswitch seems to be correct, showing ON/OFF as to wether Im using the card.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/issues/comments/155395623","html_url":"https://github.com/Bumblebee-Project/Bumblebee/issues/664#issuecomment-155395623","issue_url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/issues/664","id":155395623,"user":{"login":"petter3k","id":5199770,"avatar_url":"https://avatars.githubusercontent.com/u/5199770?v=3","gravatar_id":"","url":"https://api.github.com/users/petter3k","html_url":"https://github.com/petter3k","followers_url":"https://api.github.com/users/petter3k/followers","following_url":"https://api.github.com/users/petter3k/following{/other_user}","gists_url":"https://api.github.com/users/petter3k/gists{/gist_id}","starred_url":"https://api.github.com/users/petter3k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petter3k/subscriptions","organizations_url":"https://api.github.com/users/petter3k/orgs","repos_url":"https://api.github.com/users/petter3k/repos","events_url":"https://api.github.com/users/petter3k/events{/privacy}","received_events_url":"https://api.github.com/users/petter3k/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T11:30:55Z","updated_at":"2015-11-10T11:30:55Z","body":"I too believe its actually turned off even though the mesage appears in dmesg. The idle battery-usage is doubled when the card is active."}}