我在 HP 筆記型電腦上運行 Debian 8.0 64 位元(Jessie,穩定版本)。我在安裝顯示卡的專有 nVidia 驅動程式時遇到困難
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108M [GeForce GT 630M] [10de:0de9] (rev ff)
我一步步按照 debian wiki 上的指南進行操作。由於我的顯示卡配備了 nvidia optimus,因此需要 Bumblebee。到目前為止一切順利,我認為我的機器上擁有所需的所有正確軟體包。現在我必須啟用大黃蜂。事實證明正確的命令是
sudo optirun nvidia-settings -c :8
因此,出現了一個圖形前端,我保留了所有預設檢查,只需將設定檔保存在 /etc/X11 資料夾中作為 xorg.conf。但在系統重新啟動時,我遇到黑屏,並且 x 無法啟動,它說“未找到屏幕”。這是日誌
[ 74.012] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 74.014] (--) PCI:*(0:0:2:0) 8086:0126:103c:181d rev 9, Mem @ 0xd4000000/4194304, 0xc0000000/268435456, I/O @ 0x000050$
[ 74.014] (II) LoadModule: "glx"
[ 74.015] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 74.017] (II) Module glx: vendor="X.Org Foundation"
[ 74.017] compiled for 1.16.4, module version = 1.0.0
[ 74.017] ABI class: X.Org Server Extension, version 8.0
[ 74.017] (==) AIGLX enabled
[ 74.017] (II) LoadModule: "nvidia"
[ 74.017] (WW) Warning, couldn't open module nvidia
[ 74.017] (II) UnloadModule: "nvidia"
[ 74.017] (II) Unloading nvidia
[ 74.018] (EE) Failed to load module "nvidia" (module does not exist, 0)
[ 74.018] (EE) No drivers available.
[ 74.018] (EE)
Fatal server error:
[ 74.018] (EE) no screens found(EE)
[ 74.018] (EE)
Please consult the The X.Org Foundation support
at ....
for help.
[ 74.018] (EE) Please also check the log file at "/home/zarathushtra/.local/share/xorg/Xorg.0.log" for additional infor$
[ 74.018] (EE)
答案1
我認為您的配置指向了錯誤的顯示器編號(除非您有很多顯示器)。你可以試試這個:
sudo optirun nvidia-settings -c :0