原顯卡為 R7 240, 更換為 3060Ti 后, 開機進桌面時卡在了黑屏界面, 鍵盤有反應, 但是無法進入 shell.
解決方案為 https://askubuntu.com/questions/1538108/cant-install-rtx-4060-ti-on-ubuntu-22-04-lts
啟動后在開機菜單中(如果沒有開機菜單, 需要按shift鍵), 進入recovery mode, 進入 root shell,
刪除原有的 nvidia 驅動
sudo apt purge 'nvidia-*'
sudo apt autoremove --purge
sudo apt clean
安裝官方驅動
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
ubuntu-drivers devices
(Check your device)sudo apt install nvidia-driver-XXX
(replace XXX with the driver you want (like 535))- 重啟系統
如果還有問題, 手動設置顯示參數
# you would need to replace the output you are using and set the display parameters you want
xrandr --output HDMI-0 --mode 1920x1080