Nvidia-331 Nvidia-Settings Prime Profile Switching Error

30,765

Solution 1

I also had the same problem but only after I made some modification on compiz.

For the fix, I just reinstalled the nvidia drivers and nvidia prime with

sudo apt-get purge libvdpau-va-gl1 bumblebee* nvidia*
sudo apt-get install nvidia-331 nvidia-settings nvidia-prime

Solution 2

If you encounter the problem with prime like an empty popup error in nvidia-settings panel you can see the bug in Launch Pad 1310023. I have encounter a similar problem and I can correct them with that:

sudo update-alternatives --config x86_64-linux-gnu_gl_conf
sudo ldconfig -n
sudo update-initramfs -u

then reboot and see if it works

Solution 3

Here, this is what worked for me:

I tried:

sudo update-alternatives --config x86_64-linux-gnu_gl_conf
sudo ldconfig -n
sudo update-initramfs -u

And rebooted, with no changes. So I tried:

sudo apt-get purge libvdpau-va-gl1 bumblebee* nvidia*
sudo apt-get install linux-headers-generic
sudo apt-get install nvidia-331 nvidia-settings nvidia-prime

Reboot. Still, no changes, and the same blank error message in nvidia-settings when I try to switch to me nvidia card.

I tried switching manually, using sudo prime-switch nvidia, and configuration info was updated. I tried again, and nvidia-settings asked me to log out and log back in and...voilà! I've got it working!

In my case, it appeared that before being able to switch using nvidia-settings UI, I had to manually switch first as superuser, so as to generate the proper configuration!

Good thing I tried that, or I'd still be tinkering about, installing other drivers! Hope this proves useful to someone else!

Share:
30,765

Related videos on Youtube

Brandex
Author by

Brandex

Updated on September 18, 2022

Comments

  • Brandex
    Brandex over 1 year

    enter image description hereI'm having an issue with my nvidia-331 driver. I can't seem to switch between Intel and Nvida via nvidia-settings. The option is there but when I click 'nvidia' a blank error window pops up. It's very weird because I've been using the Ubuntu daily for a while on 14.04, and it was not until yesterday's update that I've had this issue. Same driver. Does anyone know how to fix this? Thanks. I've tried a clean install and have the same issue.

    • vasiauvi
      vasiauvi about 10 years
      The same issue I also have. Even when I have my external monitor connected the mouse pointer flickering. From my point of view Ubuntu 14.04 Alpha and Beta was more stable than the final release. Strange!
    • Aurelia
      Aurelia about 10 years
      did you try sudo prime-switch nvidia?
    • Brandex
      Brandex about 10 years
      I resolved the issue by re-installing Ubuntu. Thanks for the suggestion though. @vasiauvi
    • Admin
      Admin about 10 years
      Same issue here as well, still no way found to fix it. By the way, from the time that nvidia-prime has stopped working, Bumblebee has started to work (while when nvidia-prime worked, bumblebee was not).
  • Brandex
    Brandex about 10 years
    This isn't an option in the bios of my UX32VD but that makes sense for other laptops. Thanks though.
  • Manatax
    Manatax almost 10 years
    This solved my problem. I have Alienware + Ubuntu 14.04, 1 Monitor on HDMI + 1 Monitor on mini DP.
  • Steve K
    Steve K almost 10 years
    Solved my problem with a GeForce 610M.
  • Fern Moss
    Fern Moss over 9 years
    This works, but once I reboot again the fix is lost and I have to re-input the commands and, yet again, reboot. Do you know of a way of making the fix permanent?
  • olituks
    olituks over 9 years
    @AibaraIduas the fix return error or warning during the installation ?
  • Fern Moss
    Fern Moss over 9 years
    No, no error. And it works fine at first, until I reboot it again. Weird.
  • olituks
    olituks over 9 years
    @AibaraIduas In this case I advice to remove drivers with a complete purge and retry.
  • Fern Moss
    Fern Moss over 9 years
    I did that to no avail. Ah, well, thanks for your help.
  • Gaurav Saluja
    Gaurav Saluja over 2 years
    Perfect! Just the package has been renamed i guess. Had to change it to sudo apt-get install nvidia-driver-455 nvidia-settings nvidia-prime