Score:0

NVIDIA X Server Settings - PRIME Profiles without Intel Power Saving option available

ng flag

I have recently received an nvidia update on my Ubuntu 21.10 OS and I am now using nvidia-470, which does not let me use the intel graphics card. I used it for my daily laptop use, because it improved my battery life, and used to change to NVIDIA (Performance Mode) when I wanted to play a videogame. Now I am worried that my battery life will worsen. Are there any tips for me to improve my battery life given my laptop will always be using the "NVIDIA (Performance Mode)" profile or is there something I can do in order to be able to change it to the Power Saving profile?

Thanks.

Screenshot: 1

dpkg -l *nvidia* | grep ii 2

heynnema avatar
ru flag
Can't you set this up in the **Nvidia X Server Settings** app?
A. J. avatar
ng flag
The whole problem is that I can't. Otherwise, it wouldn't be a problem.
heynnema avatar
ru flag
Edit your question and show me a screenshot of the **Nvidia X Server Settings** PRIME Profiles tab, and the **Additional Drivers** window. Also show me `dkms status` and `dpkg -l *nvidia*`. Which Nvidia card do you have?
A. J. avatar
ng flag
I tried to attach a screenshot in the first place, but it wasn't allowed. I'll see if I can do it now.
heynnema avatar
ru flag
You should be running Nvidia 510.54. Choose it in **Additional Drivers**.
A. J. avatar
ng flag
I really shouldn't because I did that and my system wouldn't boot. I had to uninstall the nvidia drivers altogether in order to boot my OS and then reinstall them with the recommended driver, which is 470.
heynnema avatar
ru flag
Please show me the additional info that I requested.
A. J. avatar
ng flag
I have added the requested information to my post.
heynnema avatar
ru flag
I also need the **Additional Drivers** window, and is your Nvidia card the MX130?
heynnema avatar
ru flag
Are you running Wayland or X11/xorg?
A. J. avatar
ng flag
Additional Drivers window is up. X11/xorg
heynnema avatar
ru flag
It's funny, `dkms status` didn't show any kernel drivers. Does `nvidia-smi` show you a display?
A. J. avatar
ng flag
It does, I will also share that.
heynnema avatar
ru flag
Do you have CUDA installed?
heynnema avatar
ru flag
Are you able to select Nvidia on-demand?
A. J. avatar
ng flag
I have just installed CUDA. And I am able to select that profile, yes.
heynnema avatar
ru flag
Is the Intel video enabled in your BIOS?
heynnema avatar
ru flag
What version CUDA did you install?
A. J. avatar
ng flag
CUDA Version: 11.4
heynnema avatar
ru flag
Hum, then I don't know what's wrong with your config. Sorry.
A. J. avatar
ng flag
I'm checking my BIOS.
qwr avatar
kr flag
qwr
I've had CUDA mess with Nvidia display drivers and X server. Unless you actually need it, you should try disabling it.
heynnema avatar
ru flag
@qwr You have to make sure to install the correct version of CUDA (shown in `nvidia-smi`).
A. J. avatar
ng flag
Ok, I think I have installed CUDA 11.3 and `nvidia-smi` shows 11.4
heynnema avatar
ru flag
@A.J. CUDA 11.3 would be wrong. You have to match `nvidia-smi`.
heynnema avatar
ru flag
@A.J. Do `dpkg -l *cuda*` and see if it shows you the installed version. There's a CUDA CLI command to show you, but I don't know what that is.
A. J. avatar
ng flag
I have removed all nvidia drivers and cuda, installed cuda's latest version and now they all have the same version. It automatically installed the newest nvidia drivers, 510, without any problems so far. Regarding the NVIDIA Settings, now the PRIME profiles tab has disappeared altogether. Is that normal?
heynnema avatar
ru flag
@A.J. Did you already reboot? Show me `dkms status` again.
A. J. avatar
ng flag
It shows: `nvidia, 510.39.01, 5.13.0-30-generic, x86_64: installed`
heynnema avatar
ru flag
@A.J. Also show me `dpkg -l *nvidia* | grep ii`. This is slightly modified from the earlier dpkg command.
heynnema avatar
ru flag
@A.J. That looks normal now. We didn't get that before with 470.
heynnema avatar
ru flag
@A.J. Reboot and revisit Nvidia PRIME profiles tab.
A. J. avatar
ng flag
@heynnema I have updated the images above.
heynnema avatar
ru flag
@A.J. Did you reboot yet, and check PRIME Profiles? In terminal type `prime-select`, then `prime-select query`.
A. J. avatar
ng flag
@heynnema I have done that. `prime-select` shows `Usage: /usr/bin/prime-select nvidia|intel|on-demand|query` and `prime-select query` shows `on-demand`. I am guessing I can change it here, but how?
heynnema avatar
ru flag
@A.J. `prime-select intel` or maybe `sudo prime-select intel`.
A. J. avatar
ng flag
And it will save that info when I boot?
heynnema avatar
ru flag
Don't know. You'll have to try it.
A. J. avatar
ng flag
Ok, thank you very much for helping me!
heynnema avatar
ru flag
@A.J. You're very welcome!
heynnema avatar
ru flag
@A.J. Funny enough, I just updated my Nvidia driver, and I also lost the Intel Power Saving option! So it's a Nvidia problem.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.