Automatic migration from nvidia to nvidia-390xx


This is logical as this is part of mhwd. The package only included IDs and not any driver. People get always anxious when some driver drops support of their card …


inxi -G returns this:

Graphics: Card-1: NVIDIA GF108 [GeForce GT 430] driver: nvidia v: 340.106
Display: x11 server: X.Org 1.19.6 driver: nvidia resolution: 1680x1050~60Hz
OpenGL: renderer: GeForce GT 430/PCIe/SSE2 v: 4.4.0 NVIDIA 340.106

So I know I have the 340 series drivers. Do I need to upgrade to the 390 series?


Need to? No. If what you have works and you’re happy with it you can stick with it.

Otherwise if you want the “latest and greatest” then according to

your GPU is supported by the 390-series driver so you should be able to switch without issue.


I found some old script we used for the nvidia 340xx transition:

	# nvidia legacy changes (sept-oct 2014 - kernels 3.10-3.17)
	pacman -Qq nvidia-utils &> /tmp/cmd1
	pacman -Qq mhwd-nvidia-340xx &> /tmp/cmd2
	if [ "$(grep 'nvidia-utils' /tmp/cmd1)" == "nvidia-utils" ]; then
		if [ "$(grep 'mhwd-nvidia-340xx' /tmp/cmd2)" != "mhwd-nvidia-340xx" ]; then
			msg "Updating mhwd database"
			rm /var/lib/pacman/db.lck &> /dev/null
			pacman --noconfirm -S mhwd-db
		mhwd | grep " video-nvidia " &> /tmp/cmd3
		mhwd-gpu | grep nvidia &> /tmp/cmd4
		pacman -Qq | grep nvidia | grep -v mhwd | grep -v toolkit &> /tmp/cmd5
		if [[ -z "$(cat /tmp/cmd3)" && -n "$(cat /tmp/cmd4)" ]]; then
			msg "Maintaining video driver at version nvidia-340xx"
			rm /var/lib/pacman/db.lck &> /dev/null
			pacman --noconfirm -Rdd $(cat /tmp/cmd5)
			pacman --noconfirm -S $(cat /tmp/cmd5 | sed 's|nvidia|nvidia-340xx|g')
			rm -r /var/lib/mhwd/local/pci/video-nvidia/
			cp -a /var/lib/mhwd/db/pci/graphic_drivers/nvidia-340xx/ /var/lib/mhwd/local/pci/

It may be reused for nvidia 390xx series.


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