Fixed it by commenting lines in 159-161 in /usr/bin/prime-select:
#alias nvidia off #alias nvidia-drm off #alias nvidia-modeset off'''
Also, comment lines 3-4 in /lib/modprobe.d/nvidia-graphics-drivers.conf
#alias nouveau off #alias lbm-nouveau off
Fixed it by commenting lines in 159-161 in /usr/bin/ prime-select:
#alias nvidia off
#alias nvidia-drm off
#alias nvidia-modeset off'''
Also, comment lines 3-4 in /lib/modprobe. d/nvidia- graphics- drivers. conf
#alias nouveau off
#alias lbm-nouveau off