# Unable to switch between graphics cards. Broken nvidia-prime with nvidia-384 driver.

**URL:** <https://forums.developer.nvidia.com/t/unable-to-switch-between-graphics-cards-broken-nvidia-prime-with-nvidia-384-driver/55079>\
**Category:** Linux\
**Created:** [November 10, 2017, 6:59pm UTC](https://forums.developer.nvidia.com/t/unable-to-switch-between-graphics-cards-broken-nvidia-prime-with-nvidia-384-driver/55079 "2017-11-10T18:59:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![abramjos](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@abramjos](https://forums.developer.nvidia.com/u/abramjos)\
**Post date:** [November 10, 2017, 6:59pm UTC](https://forums.developer.nvidia.com/t/unable-to-switch-between-graphics-cards-broken-nvidia-prime-with-nvidia-384-driver/55079/1 "2017-11-10T18:59:22Z")

</div>

I had nvidia gtx 1060 and kabylake igpu working fine with bumblebee until the the cuda driver rollback or something and ended up with nvidia-384 which started showing nvidia-persistance demon issues and to fix it I almost reinstalled ubuntu 16.04.3 + intel microcode + nvidia 384/375. None of the combination generated successful prime-select(along with prime select I have to work with secure boot too).

Is there any way it can be fixed?  
All I need is to have nvidia for cuda(tensorflow/keras) and igpu for everything else

Here is the bug report: [Dropbox - nvidia-bug-report.log - Simplify your life](https://www.dropbox.com/s/r7by541rrpnv2rl/nvidia-bug-report.log?dl=0)  
Model: Alienware 13 r3/ kabylake / gtx 1060

---

<div class="post-metadata">

**Author:** ![generix](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/generix/32/16024_2.png) [@generix](https://forums.developer.nvidia.com/u/generix)\
**Post date:** [November 10, 2017, 7:19pm UTC](https://forums.developer.nvidia.com/t/unable-to-switch-between-graphics-cards-broken-nvidia-prime-with-nvidia-384-driver/55079/2 "2017-11-10T19:19:16Z")

</div>

According to the logs, everything is set up fine. What doesn’t work, i.e what are the symptoms?

---

<div class="post-metadata">

**Author:** ![abramjos](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@abramjos](https://forums.developer.nvidia.com/u/abramjos)\
**Post date:** [November 11, 2017, 4:10am UTC](https://forums.developer.nvidia.com/t/unable-to-switch-between-graphics-cards-broken-nvidia-prime-with-nvidia-384-driver/55079/3 "2017-11-11T04:10:11Z")

</div>

I cant switch between nvidia and intel using prime. Choosing intel kills nvidia persistence demon and stucks until forced reboot. But it seems like enabling secure boot I can use intel using prime .yet to switch back to nvidia I have to disable secure boot which is annoying and I want to configure bumblebee. I can switch between nvidia/intel by adding and removing nogpumanager too.

I hope it could help. I installed all firmware patches before intel/nviidia installation. I installed ubuntu having secure boot disabled

---

<div class="post-metadata">

**Author:** ![generix](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/generix/32/16024_2.png) [@generix](https://forums.developer.nvidia.com/u/generix)\
**Post date:** [November 11, 2017, 4:53pm UTC](https://forums.developer.nvidia.com/t/unable-to-switch-between-graphics-cards-broken-nvidia-prime-with-nvidia-384-driver/55079/4 "2017-11-11T16:53:16Z")

</div>

Ok, this clarifies it a bit. I presume by ‘firmware patches’, you’re talking of an uefi aka bios update? Telling by the symptoms you might have run into this:  
[url][https://github.com/Bumblebee-Project/Bumblebee/issues/764[/url]](https://github.com/Bumblebee-Project/Bumblebee/issues/764%5B/url%5D)  
Please check if the workaround, using kernel parameters  
acpi\_osi=! acpi\_osi=“Windows 2009”  
works for you. Please run acpidump and attach the output file to your post so I can have a look at it.

---

<div class="post-metadata">

**Author:** ![abramjos](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@abramjos](https://forums.developer.nvidia.com/u/abramjos)\
**Post date:** [November 12, 2017, 5:51am UTC](https://forums.developer.nvidia.com/t/unable-to-switch-between-graphics-cards-broken-nvidia-prime-with-nvidia-384-driver/55079/5 "2017-11-12T05:51:25Z")

</div>

Hi,  
Thanks man. That works. but yet I am getting the same nvidia persistence demon error. It creates error pop ups too when i am logged in. can you explain what the demon do and how this error can be fixed?

Here is my acpidump log: [Dropbox - log - Simplify your life](https://www.dropbox.com/s/st0mxk53qnhk942/log?dl=0)

I would love to set my laptop with bumblebee and if I could follow this[[Nvidia, CUDA and Bumblebee with Linux (Ubuntu) on Optimus laptop · Hemen's Notepad](https://hemenkapadia.github.io/blog/2016/11/11/Ubuntu-with-Nvidia-CUDA-Bumblebee.html) ]  
with this tweak in grub, I can use my laptop with igpu for everything unless I call optirun
