Hi Folks, I did some other bug reports here a while back. I am back again because I updated my kernel from 3.19.1 to linux-4.8.10-gentoo (if you want I can test the mainline too). On boot all my GPU's turn on. If I turn them off via echo "OFF"> /sys/kernel/debug/vgaswitcheroo/switch I can't turn them back on. They also do not turn on if I try to change GPU's. Trying to stop xdm locks the machine so I can't even turn it off. Suspend/resume still works. None of these problems existed in 3.19.1. I know you will need more info to track down the problem but I wanted to open with this.>From my lspci00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) 01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 650M Mac Edition] (rev ff) Thanks, Evan -- Home http://evanfoss.googlepages.com/ Work http://forge.abcd.harvard.edu/gf/project/epl_engineering/wiki/ -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v2 mQENBFYy4RYBCAC183JomLtbdAlcKiaPDoVHq52LDmVmH75aiEc69m7YxDt54/ai VtYCAobbGVIyn3Hlz3uhF6LnPl/6Lm1VdnCfpwu3KQhCO6ds10ow2C30X4ohCqOd hCVg5C+ILmQkEffFrFODy3ji+PYTF4pADvHCWsTMv0hf0llwFOJsBCK6cl02IffE JPqy4PjM1nZ9HpzT84JBaG/4OGvTZ8SQ2yFUl265jagvygPTf88H1xpZHH1r8dB1 stjUHLmPH8AOyDgKxFchgGeDc3p/vJtgDDIXAFfDXG0NSRovLmtaQdGxe47Zf/go bXiEM7YL2WqQe5zfEA919JxkEwlDKYniOSVzABEBAAG0N0V2YW4gRm9zcyAoVGhp cyBpcyBteSBwdWJsaWMga2V5LikgPGV2YW5mb3NzQGdtYWlsLmNvbT6JATkEEwEC ACMFAlYy4RYCGwMHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRCIpQTcE8nN bbBaCACAm8pU5lG1ev2Fsw68Axtcl57SJrYieqX96c3YuYH9JpqMqJRnd9nDKw9X tQuvuH7tUk0VbOaDqReOYJVI/4c5wb9AaOFp6K2DUcupq6XhgXpvz3HzoPwjAdIj XuQzdRUx5+innTJrSkGuBYW/CZ2zqEx4xfLlq4rO0hoTUMR8QVp2cCrkw6BT0m86 APIw/ZnjoxM8IEzr7MxfRIg3qpzrZk28rmhx+k78Jyk61UhwcCPGIm/pjUopTwYJ 3YBdRB2cYD2aN7A1JVf5cRmSQYooHBGpH0kYvomGk97PKqypVuJ7OpG9xM58wUcC qUVt9hKlePLzP8csYjt8onqI7qIIuQENBFYy4RYBCADlH8spG3WkCx62vB5mr5Z0 SCDd/RcyA4A5y5EOj5KurQkrSWpgi9Ho1yKruMJ6blQR2qkc66KqH9pnXDm/ZI1M K/wdW3ngETxBmXoozzFMT89aEWIVR5/PFodWK1elekE9iJxACuR98Zg2QttTD3x8 A9w8VEyMLOXcDTrPFpHegMKswFBg5iuMulAdXAoGejWTI3n+qKFpabHm2Lfs6wjk 5rjucpTdeFK6UeWF1xAvNxXibuu5BlGwv53930qIXRwO/Gn2Rh5DXWxKU2fEIme/ xgQQmIsDeUoWbfybdjw/x7Q0LW4mINiLDQcGHHRQKFIxbAJCT3USPLGh5xwE9/Er ABEBAAGJAR8EGAECAAkFAlYy4RYCGwwACgkQiKUE3BPJzW0uYAf9Hf30n8tM3mR2 Zo6ESE0ivgdgjaJtAWrBUx7JzAzPjBnBOlNnu5Y9lVEqetvUPH6e3PvaHYUuaUU8 0HwxuKBW9nUprgV6uIu1DZmlcp+SxpbuCy7RDpNocRLNWWFMaYYzznmTgfnTgD4D gCq8Mf1mcfrluTkOAo+QNqbMfl1GISClopRqxVuAo59ewgMnFujwgd8w12BwWl24 CzqOs5HqcUslePj+LzcjSNgVCklYwKl+0dsb/fctMOCtHodwqm2CBJ+zydvNmYkD fxda/J91Z1xrah5ec++FL0L4vs+jCiIWJeupJFKlr1hCMZiiGH7W554loK5l4jv3 EY347EidAw==Ta4p -----END PGP PUBLIC KEY BLOCK-----
On Sat, Nov 26, 2016 at 06:09:34AM +0000, Evan Foss wrote:> I did some other bug reports here a while back. I am back again > because I updated my kernel from 3.19.1 to linux-4.8.10-gentoo (if you > want I can test the mainline too). On boot all my GPU's turn on. If I > turn them off via > echo "OFF"> /sys/kernel/debug/vgaswitcheroo/switch > I can't turn them back on. They also do not turn on if I try to change > GPU's. Trying to stop xdm locks the machine so I can't even turn it > off. Suspend/resume still works. None of these problems existed in > 3.19.1. I know you will need more info to track down the problem but I > wanted to open with this.I have the same machine and it works for me. System sleep is only supposed to work if both GPUs or ON upon suspend. Are you issuing OFF while X11 is running? Does it work if X11 is stopped? Best regards, Lukas
On Sun, Nov 27, 2016 at 4:13 AM, Lukas Wunner <lukas at wunner.de> wrote:> On Sat, Nov 26, 2016 at 06:09:34AM +0000, Evan Foss wrote: >> I did some other bug reports here a while back. I am back again >> because I updated my kernel from 3.19.1 to linux-4.8.10-gentoo (if you >> want I can test the mainline too). On boot all my GPU's turn on. If I >> turn them off via >> echo "OFF"> /sys/kernel/debug/vgaswitcheroo/switch >> I can't turn them back on. They also do not turn on if I try to change >> GPU's. Trying to stop xdm locks the machine so I can't even turn it >> off. Suspend/resume still works. None of these problems existed in >> 3.19.1. I know you will need more info to track down the problem but I >> wanted to open with this. > > I have the same machine and it works for me. System sleep is only > supposed to work if both GPUs or ON upon suspend. Are you issuing > OFF while X11 is running? Does it work if X11 is stopped?1. Boot with the intel GPU driving the screen. 2. In mate desktop turn off the nvidia gpu via echo "OFF" > /sys/kernel/.../switch 3. Try to do any of the following and the machine locks up turn on the nvidia GPU, suspend the machine, try to change gpus, stop X (via /etc/init.d/xdm stop) Yes I issue OFF while it is running and it works perfectly to turn off the GPU's. I can tell because the machine gets a lot cooler.> Best regards, > > Lukas-- Home http://evanfoss.googlepages.com/ Work http://forge.abcd.harvard.edu/gf/project/epl_engineering/wiki/ -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v2 mQENBFYy4RYBCAC183JomLtbdAlcKiaPDoVHq52LDmVmH75aiEc69m7YxDt54/ai VtYCAobbGVIyn3Hlz3uhF6LnPl/6Lm1VdnCfpwu3KQhCO6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