我在 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。到目前为止一切顺利,我认为我的机器上已经安装了所有正确的软件包。现在我必须启用 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