New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On kernel 3.10 bumblebee will be unable to turn the nvidia card back on or even unexpetedly shutdown the computer #455
Comments
This is an nVidia driver bug. I've reported the issue to them, but we can't do much beyond that. Check if booting with sudo tee /sys/module/rcutree/parameters/rcu_idle_gp_delay <<<1 before invoking optirun makes it any better. |
Ouch. And kernel 3.10 just landed on Testing (and I really need it for a few PM fixes on my laptop - coincidentially an Asus too...) So what's the suggestion - boot with 3.9 for Optimus in the meanwhile? Does it affect every GPU and laptop out there? (mine is a Sandy Bridge + 610M). I'm going to test anyway. |
I'm on 3.10 with an asus n56vj laptop. Works fine as long as I used the nvidia 325.15 driver... all the previous ones will not work. |
OK, 3.10 update applied to my K53SD. So far so good... didn't bothered with the rcu_idle_gp_delay setting - just primusrun glxspheres, seems to work. Closed the pretty spheres windows, ran primusrun glxgears... still working. GPU shuts down and restarts as expected. Went off to run Portal... it's segfaulting with primusrun (ye olde Steam Overlay bug that still hits me, but only on Portal - guess that it doesn't like the cake). OK, let's disable the overlay, it runs fine. Check dmesg... nothing odd there (aside of a big fat backtrace of my USB3 port acting wonky again, but that's completely unrelated to Bumblebee). So... could it be a specifc issue that only affects some laptops? So far my 325.15 + 3.10 on my Sandy Bridge + 610M seems to be behaving as intended. |
Yea, steam community messes with some games, dota2, etc. Easy enough to disable tho. I keep meaning to try running steam with primus instead of just the game, but keep forgetting to try. I keep thinking the issue may be steam community / overlay is running on the intel since steam is running on intel, causing some issues. |
In my case, the overlay fails only on Portal, and only through primusrun, not on Intel. It works flawlessly on things like Euro Truck Simulator 2 (which also got a massive patch today - new kernel, new Steam beta, new ETS2 patch!?). Anyway, it seems that I skipped a bullet this time... just after being hit by a whole ammo magazine because of #452 The nVidia threads regarding 3.10 and Optimus are not that long at this stage. We should build a table of affected and non-affected configurations, to see if it hits a particular combo (Ivy vs Sandy?). |
Yes, the 3.10 problem affects only some laptops. It appears specific to Kepler GPUs, which would imply IvyBridge CPUs. Segfaults with Steam overlay are fixed in primus' git, but the distro packages have not been updated. |
Maybe some distro's are waiting for a 'release' ;) |
I looked at rechapit logs and I have this same problem. It stopped working after upgrading from 3.9 to 3.10 kernel. I'm using debian testing. |
This hit me on a Lenovo ThinkPad W530 machine. [132472.285497] ehci-pci 0000:00:1d.0: power state changed by ACPI to D3cold |
Having the same issue on Debian testing. 3.10-2 and NVIDIA Corporation GK107M [GeForce GT 650M] |
What about 3.11? I got the same problem
|
True story. After updating to Ubuntu 13.10 optirun shuts down my laptop (Lenovo V580 core i5 / nvidia GT 640M) |
Same problem with a Vaio S 13" GeForce GT 640M LE. Laptop completely shuts down when trying to turn on the card. uname -a |
Not sure if this will help everyone, but this solved my problem. https://bbs.archlinux.org/viewtopic.php?pid=1326090#p1326090 |
Issues between NVIDIA and kernel should now be fixed. |
What? Where is any evidence that this is fixed? |
One user provided a workaround, and I remember reading a news on phoronix (but can’t retrieve it) that NVIDIA published a new version solving incompatibilities with 3.10+. I thought it was ones such as this one, but if it’s not, let’s someone affected says so and see what can be done. BTW, that’s an issue at NVIDIA level, not ours AFAIK. |
nVidia fixed the source incompatibility, but the "fallen off the bus" issue on 3.10+ still remains. This is indeed either an nVidia or a kernel issue, but I believe it's better to keep it open to help affected users find the workaround. |
Ok, sorry for that. And I agree, it’s better to keep it open to avoid users opening new ones. |
@amonakov's kernel options resolved my issue with debian 3.12 kernel on lenovo W530 |
@xarses Could you please mention what kernel options did you use ?? Are you referring to the option "rcutree.rcu_idle_gp_delay=1" ?? |
Same error with/without rcu_idle_gp_delay (#570)
OS: Gentoo_x64 |
It happened to me too, today, with kernel 3.10, 3.14 and nvidia 344.21 on arch x86_64 It didn't work for a while, then after a reboot some hour later optirun worked, but primusrun crashed the whole system. Now I've rebooted again on 3.14 and primusrun works perfectly. I am on kepler (650m) and ivy (i7-3610QM) |
and kernel 3.14 fix my problem |
I fixed my issues blacklisting nvidia and rcutree.rcu_idle_gp_delay=1 on cmdline |
Issue not solved with kernel 3.16.1-1 Additional info: http://lpaste.net/110063 |
I've found possble soltion. Somebody please check top patch from https://github.com/koct9i/linux/commits/acpi and report results. Patch sould apply clearly even on v3.10, also remove workaround (rcutree.rcu_idle_gp_delay=1) from commandline. |
For information, this is fixed in 3.19 (per this commit https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=commit/?id=74b51ee152b6d99e61ba329799a039453fb9438f), and might be backported to older kernel, but not sure about this. |
I’m closing this since the fix is normally largely documented and also most recent distro have >=3.19 kernel. |
I still occasionally run into this issue: dmesg:
|
I'm using 4.19.0.9 and |
Distro: debian jessie/sid
kernel: Linux ncc-74656-a 3.10-2-amd64 #1 SMP Debian 3.10.5-1 x86_64 GNU/Linux
bumblebee version: 3.2.1
baseboard-manufacturer: ASUSTeK COMPUTER INC.
baseboard-product-name: N56VZ
baseboard-version : 1.0
system-manufacturer : ASUSTeK COMPUTER INC.
system-product-name : N56VZ
system-version : 1.0
bios-vendor : American Megatrends Inc.
bios-version : N56VZ.216
bios-release-date : 12/06/2012
Works perfectly with kernel 3.9.8 but on kernel 3.10.5 the nvidia card will fail to start or computer might shutdown:
Output from /var/log/messages
Aug 12 10:18:13 ncc-74656-a kernel: [ 150.039613] bbswitch: enabling discrete graphics
Aug 12 10:18:14 ncc-74656-a kernel: [ 150.456339] pci 0000:01:00.0: power state changed by ACPI to D0
Aug 12 10:18:14 ncc-74656-a kernel: [ 150.662868] nvidia: module license 'NVIDIA' taints kernel.
Aug 12 10:18:14 ncc-74656-a kernel: [ 150.662873] Disabling lock debugging due to kernel taint
Aug 12 10:18:14 ncc-74656-a kernel: [ 150.675549] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
Aug 12 10:18:14 ncc-74656-a kernel: [ 150.675655] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 325.15 Wed Jul 31 18:50:56 PDT 2013
Aug 12 10:18:20 ncc-74656-a kernel: [ 157.107624] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
Aug 12 10:18:20 ncc-74656-a kernel: [ 157.107639] NVRM: os_pci_init_handle: invalid context!
Aug 12 10:18:20 ncc-74656-a kernel: [ 157.107642] NVRM: os_pci_init_handle: invalid context!
Aug 12 10:18:20 ncc-74656-a kernel: [ 157.107648] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
Aug 12 10:18:20 ncc-74656-a kernel: [ 157.107653] NVRM: os_pci_init_handle: invalid context!
Aug 12 10:18:20 ncc-74656-a kernel: [ 157.107654] NVRM: os_pci_init_handle: invalid context!
Aug 12 10:18:20 ncc-74656-a kernel: [ 157.137672] NVRM: RmInitAdapter failed! (0x25:0x28:1157)
Aug 12 10:18:20 ncc-74656-a kernel: [ 157.137683] NVRM: rm_init_adapter(0) failed
Attachment:
The text was updated successfully, but these errors were encountered: