My laptop with GeForce 940MX and Intel cards runs Ubuntu. I have installed NVIDIA proprietary driver.
I don’t see X server information in GUI NVIDIA X server settings. See a screenshot
( mokutil --sb-state
SecureBoot disabled)
Also I used to be able to change the PRIME profile through the GUI. Now Intel (Power saving mode) is unavailable in the GUI. I can still change it in the terminal using prime-select, but not in the GUI. This can be seen in the same screenshot. What could be the problem?
I am unable to upload the error report here due to the error :An error occurred: Sorry, new users can only put one link in a post. But, I uploaded it in one of replies below.
I created the error log. However, I am unable to upload the file. I see either an endless message "“Processing Upload” or, when I try to restart upload, I see “An error occurred: Sorry, new users can only put one link in a post.”
Can I send a Dropbox link instead?
In addition, there is another strange fact. Before creating this post, I updated the driver to nvidia-driver-525. After re-boot, nvidia-smi gave me an error " NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running. "
Yesterday, my Ubuntu practically crashed. After the second reboot this error disappeared. nvidia-smi gives the following
Fri Mar 24 09:10:44 2023
±----------------------------------------------------------------------------+
| NVIDIA-SMI 525.85.05 Driver Version: 525.85.05 CUDA Version: 12.0 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce … Off | 00000000:01:00.0 Off | N/A |
| N/A 32C P8 N/A / N/A | 4MiB / 2048MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2886 G /usr/lib/xorg/Xorg 2MiB |
±----------------------------------------------------------------------------+
Now NVIDIA X server settings now provides more information than seen on the first screenshot. I add another screenshot.
Intel is still unavailable in GUI, but can be set via prime-select
The nvidia gpu is functional and you’re in render offload aka on-demand mode now, meaning, the intel gpu is used per default. To run something on the nvidia gpu, prepend
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia
e.g.
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo
To set the nvidia gpu as default, run
sudo prime-select nvidia
and reboot.
Thank you for your help!
Just one last question about my NVIDIA X server settings GUI application. You can see blanks in the system information and x Server information. Operating system: linux unknown. A screenshot.
Also, an old issue. I cannot select Intel in PRIME if needed.
I don’t worry about missing information. I don’t worry too much about Intel PRIME. I can set with prime-select. I am just wondering if this could be symptoms of other issues, and not just some GUI bugs.