I had to uninstall it via “pamac”. As you already have “nouveau” (video-linux 2018.05.04 true PCI) installed, all that remains is to look for the nvidia packages installed on your system:
pamac list -i | grep nvidia
I don’t remember if I had to uninstall all the packages or just the driver package, which in your case would be “340xx”.
I tried exactly that (from a non-booting sys) and totally messed up (left over nvidia.confs or blacklists picked up by xorg?) Ultimately, I turned around and followed the pinned post to build and re-install the nvidia-340xx driver, which worked.
Spend about 3 days trying going nouveau and 30min building and installing nvidia. Also, keep in mind that having problems with nvidia legacy drivers is at the mo a bit of a ‘meh’ issue around here. How do I know…
Edited: That grep should show a list; I removed lib32, utils and the driver and only left the ‘mhwd’ pkgs. But, as I said, I messed up royally.
After installing nouveau, I removed the nvidia packages using pacman, which resulted in unbootable system because Manjaro was still trying to use nvidia drivers even though the packages were no longer present.
My understanding is that the “magic” to switch over from nvidia to nouveau is handled by mhwd, but as I said I can’t do this since mhwd no longer recognizes the dropped legacy packages.
So, are you saying that pamac handles it differently than pacman, and so all I have to do is use pamac instead?
Ultimately, I turned around and followed the pinned post to build and re-install the nvidia-340xx driver, which worked
Thank you, my first choice is not to do this as it is really just kicking the can down the road.
There must be a way to execute the mhwd uninstall and driver switching manually, I think it is important & reasonable to have this information. @philm Can you please teach us how (or direct me to the appropriate person)?
What I did was to remove the nvidia packages of an unsupported version with pamac and install video-nvidia (which are the latest ones) with mhwd. I certainly didn’t use nouveau at any time. So I can’t confirm that it will work.
MHWD said it only had nouveau installed, but inxi said it used nvidia.
I also had to clean out nvidia.conf files (try renaming!) in /etc/X11 and /etc/X11/xorg.conf.d/ and /etc/X11/mhwd.d plus I found further nvidia files at my root. I believe some are created by the nvidia-settings tool. Also check your xorg.conf.
However, and I think that’s where I messed up, not all files that have ‘nvidia’ either in the name or contain ‘nvidia’ references (blacklists) can or have to be deleted or those references edited because the free driver has to deal with nvidia hardware too so some might possibly be needed by that.
Anyway, good luck.
Thank you, I tried commenting out the “blacklist nouveau” line but still booted running nvidia.
Also tried updating grub and reboot but still nvidia.
Do you think I need to actually uninstall?
Hesitant to uninstall because of the pain in recovery to get bootable system back (boot into live USB and shuffle snapshots), so just want to get some confidence it will work.
Yeah, this is my concern, I think that some of the files that look like nonfree driver are also used by free.
Would really like some clarification on what the “automatic” mhwd steps are so I can just do the same thing manually.
The 3 nvidia driver packages? Yes, you have to do that first, I thought you did this already:
I removed the nvidia packages using pacman, which resulted in unbootable system
That unbootable system is most likely caused by nvidia dropping conf files when using the nvidia settings app. Those are then still getting picked up by the starting Xserver; the result is ‘no screens found’ error. Better read up on those, I mentioned the relevant locations above.
And yes, I would think you’ll have to do this ‘clean up’ from the console after the nvidia pkgs are gone.
Remember, ! gave up on that, so I might not be the best guy to listen to here…
However, try, I even reinstalled xorg. If it fails it’s (then relatively) easy to turn around, just follow the pinned post to install the nvidia-340xx-dkms driver.
I have been digging into various scripts, not my forte so it is tedious and arduous.
So it looks like all I have to do is remove the nonfree stuff, denylisting, etc, and then nouveau will “just work”, is that correct?
(because I already have video-linux installed, via auto install of open-source driver)