NVIDIA drivers won't load Artix s6 Plasma
Hello, I'm having some trouble with nvidia drivers.
So, a few days ago, I tested Artix s6 Plasma in a partition separate from my main os with making sure nvidia drivers work being one of my main goals. They did with no trouble- I did pacman -S nvidia
, rebooted, and video decoding, opengl, etc. all worked fine with nvidia. Fast foward a few days- I've decided I want to replace my main operating system with Artix s6. I do so, however, this time I use Octopi to install nvidia drivers. Now, for some reason, this just made a giant mess of an issue. Not only did the drivers not load despite being installed (mesa, video decoding, opengl, etc. still used intel after reboot), removing all related nvidia packaged and reinstalling could accomplish nothing. I've tried using only the world repository, only the extra, nvidia-lts, and manually installing the .run form of the driver to no avail. My most recent attempt was to install nvidia-dkms, and it gives me a makelog with errors towards the bottom to potentially work with: cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
make[2]: *** [scripts/Makefile.build:266: /var/lib/dkms/nvidia/440.64/build/nvidia/nv-pci.o] Error 1
make[2]: *** [scripts/Makefile.build:266: /var/lib/dkms/nvidia/440.64/build/nvidia/nv-cray.o] Error 1
make[2]: *** [scripts/Makefile.build:266: /var/lib/dkms/nvidia/440.64/build/nvidia/nv-acpi.o] Error 1
cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
make[2]: *** [scripts/Makefile.build:266: /var/lib/dkms/nvidia/440.64/build/nvidia/nv-i2c.o] Error 1
make[2]: *** [scripts/Makefile.build:266: /var/lib/dkms/nvidia/440.64/build/nvidia/nv-dma.o] Error 1
cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
make[2]: *** [scripts/Makefile.build:266: /var/lib/dkms/nvidia/440.64/build/nvidia/nv-mempool.o] Error 1
make[1]: *** [Makefile:1693: /var/lib/dkms/nvidia/440.64/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.5.8-artix1-1/build'
make: *** [Makefile:81: modules] Error 2
Would this mean I need to downgrade my installed version of gcc to match nvidia's? How?
I hope I can fix this, as I've had no other minor or major issues and like this os in general.