Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2394  / 1 Year ago, tue, march 21, 2023, 9:24:11

I've added the xorg-edgers PPA using sudo add-apt-repository ppa:xorg-edgers/ppa. Then I've tried different packages, all with the same problem. I'm currently using nvidia-331 as it's working almost perfectly.



The only problem that's left is that nvidia-settings is working perfectly when I'm using nVidia graphics, but as soon as I switch to Intel graphics (I'm on a notebook with nVidia Optimus) nvidia-settings won't open (it crashes instantly). Executing nvidia-settings in the terminal only gives me:



** Message: PRIME: Requires offloading
** Message: PRIME: is it supported? yes
Segmentation fault (core dumped)


I used the following commands to install nvidia-331:



sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update
sudo apt-get --purge remove nvidia*
sudo apt-get --purge autoremove
sudo apt-get install nvidia-331
sudo apt-get upgrade
sudo apt-get dist-upgrade


I can't use the nVidia drivers in Ubuntu's repository as the performance is horrible on my Notebook. However, nvidia-settings never had those problems using Ubuntu's repository.



Update: seems to be a bug (LP #1214508). However, they claim all packages >= 319 are affected, but it was working just fine using nvidia-331 from Ubuntu's repository.


More From » drivers

 Answers
6

My experience is that anything from xorg-edgers PPA is just for those who really knows to fix their system. I spent a lot of time doing so (reverting packages).
Therefore I really recommended removing this PPA after you install the latest NVIDIA driver.
By the way: I'm reverted back from 337/334 to 331.38 nvidia version (from standard 14.04 repository) since I need CUDA and OpenCL support.



Now back to the topic:
- I don't think that we, as a NVIDIA proprietary driver users, can do anything about the buggy NVIDIA PRIME tools.



How to revert back to your discrete NVIDIA card:



1.) "sudo prime-select nvidia" proposed by Louis Matthijssen worked in my case.
Of course I logged out and in afterwards.



2.) Another "solution" would be switching from NVIDIA Optimus to "Discrete card" in your BIOS (if you have there such an option).
(not tested)


[#25671] Thursday, March 23, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
earxcept

Total Points: 310
Total Questions: 115
Total Answers: 111

Location: Japan
Member since Sat, Oct 2, 2021
3 Years ago
;