After Upate today i have no Nvidia Graphics on my Dell Laptop

okay, last step. switch to nvidia with

sudo envycontrol -s nvidia

reboot and recheck after rebooting with

echo $XDG_SESSION_TYPE && glxinfo | grep server 

if the server is nvidia instead of SGI (Intel) everything is successfull

you can always switch between intel and nvidia with envycontrol
(envycontrol -h) prints out the usage. keep in mind that a lot of laptops breaks if you try the hybrid mode. if you’re on battery switch to intel, otherwise switch to nvidia (keep in mind that a reboot is needed to switch)

~ ❯❯❯ sudo envycontrol -s nvidia
[sudo] Passwort für prinz: 
Switching to nvidia mode
Enable ForceCompositionPipeline: False
Enable Coolbits: False
Successfully enabled nvidia-persistenced.service
Operation completed successfully
Please reboot your computer for changes to take effect!

Ok reboot and come back soon i hope

~ ❯❯❯ echo $XDG_SESSION_TYPE && glxinfo | grep server
x11
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
~ ❯❯❯ 


Now we got it…oh i am so happy Thank you sooo much :slight_smile:

what’s the output of

echo $XDG_SESSION_TYPE && glxinfo | grep server 
~ ❯❯❯ echo $XDG_SESSION_TYPE && glxinfo | grep server
x11
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:

Now i have the Nvidia Tool in the Taskbar to switch

enjoy, case closed

1 Like

@Olli
This is not the first, nor the second, nor the third time I have seen you entirely ignore PRIME and insist a user force install ‘nvidia just’ because it appears to you they have no driver.

Please review how the drivers work, especially the PRIME profiles, and revise your standard approach.

@hanny00

You didnt need to do this.

It appears you may have tried to sync during mirror package changes.

Otherwise your system was supposed to be using PRIME, which means nvidia is off until you use prime-run.

Ex;

glxinfo | grep 'renderer string'
prime-run glxinfo | grep 'renderer string'

In a standard prime setup that would produce ‘intel’ output for the first command, and ‘nvidia’ for the second.

But of course that wont work anymore unless you are in envycontrol’s ‘hybrid mode’, which was already the default functioning of PRIME.

IF you like envycontrol, then great I guess and you can keep it.
Otherwise you can back out to your original status without envycontrol and simply use prime-run.

1 Like

That’s your point of view, not mine. If i buy a laptop with a dedicated GPU i wanna use this as primary otherwise i buy a cheaper laptop with a single iGPU. Period.
everybody who’s buying a powerful laptop want’s to get 100% use of it and everything else is philosophy that i don’t care of.

IF thats your opinion/intention then please at least explain it to the user instead of
“Oh, it looks you dont have a driver … do this”.

1 Like

please don’t give me any beef. the driver was N/A, it was missing due to a mirror-problem as @Yochanan already insisted.

Dude, I used ‘please’ in every instance, and I do believe your approach is at least dishonest to the users seeking help, even if you believe it to be more ‘optimum’. I dont need to get into an argument about that.
If these kinds of suggestions are indeed made with full knowledge of the intricacies, not by mistake, then I am just asking you to be more transparent.

I didn’t want to start a fight here. It seemed that my Nvidia driver no longer worked after Update the system. Why one package was uninstalled is another question. I didn’t have a Switch driver before but it’s not a problem and at least the Nvidia driver is back on. What would have been a better approach to help?

1 Like

Just reperforming update with the mirrors in working order (which could also by augmented by sorting mirrors first).

See for example the other related threads of people doing the same thing
(also note they dont require changing your packages)

The only cases where a package change would have occurred would be from unsupported packages
(which should also be handled) like here:

(this thread also has a long winding nature, but include my assessment and it will make sense almost immediately)

For now … if you wanted to return to standard state all you would need to do is remove the envycontrol stuff. Maybe force reinstall the mhwd driver profile again, but I dont think that should be necessary.

Because the issue was not the wrong profile, incorrect packages, lack of envycontrol, but just …

Just an issue of sync status.


But if you like envycontrol … then keep it. I wasnt saying its terrible.
Its certainly better than the other ones like ‘optimus-manager’, which you should actively avoid.

But lots of people prefer, or even need the hybrid setup.
(again, this is the default setup with the hybrid mhwd profile without envycontrol)
Because … nvidia isnt the most compatible, or opensource friendly thing.
Your desktop may actually have less bugs running on an intel/amd, or maybe the energy savings are important to you, or native VAAPI acceleration, and you only need the nvidia for your steam games. etc.
Just thought I would include some rationale since it already happened. :wink:

1 Like

Thanks for the long answer, I read the other posts and couldn’t find a solution for myself at first, Olli helped me get this Nvidia driver back.

The marked solution is either correct because of malformed install, or simply because it made you sync again. You already had the desired profile.

My umbrage was with

Which was at first glance to me made in error, but @Olli insists it is because envycontrol is preferable to prime-run, not because they were unsure of the status.

If that is true, then they purposefully misled you.

At that point you were recovered, and only needed use prime-run to activate the nvidia, such as

prime-run glxinfo | grep 'renderer string'

The command that I see as a solution definitely helped. I wonder how it worked before, did it switch on its own? I’ve never thought about it. I was happy saved the laptop for €110 and that it can even play games.

You had the PRIME profile, a hybrid setup, meaning unless you used prime-run you never used the nvidia.

I’ll try that out.

envycontrols ‘hybrid’ is the same as the default functioning of the mhwd video-hybrid-intel-nvidia-prime profile.

glxinfo | grep 'renderer string'
prime-run glxinfo | grep 'renderer string'

Is just an example. The first should show intel, the second nvidia.

In normal operation this means your desktop and everything else is running on the intel, but for example a steam game you edit the launch options to

prime-run %command%

And the game runs on the nvidia.

1 Like

Thanks for the quick info, I think I’ll end the post with that, say goodnight.

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.