GPU Switch Integrated AMD -> Dedicated NVIDIA

You need to slow down and follow directions.

IF one command in instructions fails … do not continue … report here.

Then … how did you ‘install nvidia’ ?

What exactly did you do a few hours ago ?

PS
history can be used to check previous commands…

A few hours ago I installed the .run file and ran it downloaded on the website

Even worse.

Please locate and run their uninstall script.

I don’t know, I just installed one, maybe some package in pamac, air, flatpak to install it, because I have no uninstall script that I remember

No you didnt … thats not how package managers work.
If you grabbed a run file and executed it … you did that manually.
Now you have to undo it manually.

You did this outside the package manager … now you cannot use the package manager for removal because it doesnt know about those files.

One of the many reasons why you shouldnt have done that in the first place.

I don’t have a uninstall script…

Excuse me, its the run script that should should have an --uninstall flag.

Of course check the documentation … this is what I could find from a quick search.

Example (exact name and path expected to be different):

sudo ./NVIDIA-Linux-x86-310.19.run --uninstall

Ok I ran that and idk why is here so many Xs

It looks like its a prompt to ensure removing references to nvidia in Xorg configuration files.
I dont know if you made such changes, or what ‘backup’ it would be restoring.

You would probably want to delete any such configurations entirely.

I didn’t make any backup …

Didnt say you did … but the script talks about one and restoring it …

For more questions about the script you will need to ask nvidia themselves.

(we dont know much about it, dont support it, dont use it, and obviously it works great :wink:)

So I choose option yes or no???

‘Yes’ would make sense …
(but again I dont know what its ‘restoring’ if anything at all … likely any file it would be removing or restoring you would probably want to delete too)

How do I quit this now?

I dont know. I would expect the script to run and exit when finished.
Ctrl+C is common for ending a process, but you probably dont want to force exit while running.

As before - for more information about this script/utility/driver you will need to ask the people you got it from - nvidia.

Not the script, I was asking how to quit tty3

When you are done with tty we should just reboot;

systemctl reboot

It’s working the video, but how do I get the Nvidia GPU working?

So … desktop works. Great.

We are still using just video-linux correct? (mhwd -li)

Now … we can start with a system upgrade, just to be sure:

sudo pacman -Syu

Then install the PRIME driver profile:

sudo mhwd -i pci video-hybrid-amd-nvidia-prime

Then reboot again.

And check it working:

glxinfo | grep 'renderer string'
DRI_PRIME=1 glxinfo | grep 'renderer string'

Error: pacman failed
Error: script failed