ubuntu nvidia显卡切换
笔记本是双显卡 intel+navida
刚开始时 sudo ubuntu-drivers autoinstall 装好驱动,外置显示器显示正常,后来重启后死活不显示
查了一天的资料,终于找到答案了
https://askubuntu.com/a/1134579
原因是切换过 intel 显卡,变成节能模式,hdmi 接口就检测不了外置显示器,要注释掉 nvidia-drm modeset
sudo nano /lib/modprobe.d/nvidia-kms.conf
# This file was generated by nvidia-prime
# Set value to 0 to disable modesetting
# options nvidia-drm modeset=1