As many others users, I get a black screen when I try to switch on the nvidia card.
I am just a user, therefore I just give my feedback.
I use nvidia-prime and the nvidia drivers coming from the ppa xorg-edgers ppa.
I use also prime-indicator for quickly switch between the nvidia (GTX880M) and the intel card and my login manager is lightdm.
First comment, for me the black screen issue doesn't comes from the driver but of nvidia-prime.
My first suggestion to solve the black screen. Using the the root privilege edit the file /sbin/prime-offload and just replace the first line #!/bin/sh by #!/bin/bash.
Now, you can use the command: prime-select nvidia (or intel) and reboot your laptop. Normally, now you can switch between the two cards but the quick switch of "prime-indicator" doesn't work.
For the next step, I don't have a real solution but just a workaround:
With the root privilege edit the files /usr/lib/primeindicator/igpuon and /usr/lib/primeindicator/dgpuon and just before "sync" insert this line:
service lightdm restart
So you get this for the file igpuon:
prime-select intel
service lightdm restart
sync
And you get this for the file igpuon:
prime-select nvidia
service lightdm restart
sync
I hope that this feed-back will be helpful to other people.
++ Kirby
Hello everybody!
As many others users, I get a black screen when I try to switch on the nvidia card.
I am just a user, therefore I just give my feedback.
I use nvidia-prime and the nvidia drivers coming from the ppa xorg-edgers ppa.
I use also prime-indicator for quickly switch between the nvidia (GTX880M) and the intel card and my login manager is lightdm.
First comment, for me the black screen issue doesn't comes from the driver but of nvidia-prime.
My first suggestion to solve the black screen. Using the the root privilege edit the file /sbin/prime-offload and just replace the first line #!/bin/sh by #!/bin/bash.
Now, you can use the command: prime-select nvidia (or intel) and reboot your laptop. Normally, now you can switch between the two cards but the quick switch of "prime-indicator" doesn't work.
For the next step, I don't have a real solution but just a workaround: primeindicator/ igpuon and /usr/lib/ primeindicator/ dgpuon and just before "sync" insert this line:
With the root privilege edit the files /usr/lib/
service lightdm restart
So you get this for the file igpuon:
prime-select intel
service lightdm restart
sync
And you get this for the file igpuon:
prime-select nvidia
service lightdm restart
sync
I hope that this feed-back will be helpful to other people.
++ Kirby