Debian

我的顯卡在筆記型電腦/debian 上無法辨識

  • August 5, 2017

安裝了 Debian Jessie 和 Nvidia Geforce GTX 850M 的筆記型電腦無法辨識我的顯卡。

  • glewinfo告訴我它使用 Mesa DRI 和 Intel (OpenGL 3.0) 而不是 Nouveau 和實際的 GPU (OpenGL 4.4+)。
  • nvidia-detect找不到我的顯卡。
  • lspci將我的顯卡辨識為 3d 控制器,而網路告訴我它應該被辨識為 VGA 控制器。
  • 我嘗試了Bumblebee,因為我很確定我的筆記型電腦包含 Optimus 的東西,但它並沒有改變任何東西。

如何讓我的筆記型電腦辨識我的 GPU?是其他配置文件的問題還是什麼?我想堅持使用 Nouveau 驅動程序。但是,如果有一個“ debian ”方式(例如 apt-get)來安裝官方的 Nvidia 驅動程序,我會接受它。

謝謝,


這裡有一些消息。我部分恢復了我的桌面。

  • 我 apt-get install xserver-xorg-video-intel|nouveau|nvidia(是的,每個人!)。

  • 我沒有刪除nvidia-xconf生成的xorg.conf

    • 我只是將驅動程序“nvidia”更改為“intel”。
  • 我嚴格遵循 ArchLinux 社區的這個指南。我成功執行了 Bumblebee 並且可以執行optirun glxgears。但是現在,我的桌面是 640x480 而不是 1280*1024。這可能是一個單獨的問題。


這是我的 dpkg -l|grep nvidia

ii  bumblebee-nvidia                      3.2.1-7                             amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
ii  glx-alternative-nvidia                0.5.1                               amd64        allows the selection of NVIDIA as GLX provider
ii  libegl1-nvidia:amd64                  340.65-2                            amd64        NVIDIA binary EGL libraries
ii  libgl1-nvidia-glx:amd64               340.65-2                            amd64        NVIDIA binary OpenGL libraries
ii  libgl1-nvidia-glx:i386                340.65-2                            i386         NVIDIA binary OpenGL libraries
ii  libgl1-nvidia-glx-i386                340.65-2                            i386         NVIDIA binary OpenGL 32-bit libraries
ii  libgles1-nvidia:amd64                 340.65-2                            amd64        NVIDIA binary OpenGL|ES 1.x libraries
ii  libgles2-nvidia:amd64                 340.65-2                            amd64        NVIDIA binary OpenGL|ES 2.x libraries
ii  libnvidia-eglcore:amd64               340.65-2                            amd64        NVIDIA binary EGL core libraries
ii  libnvidia-ml1:amd64                   340.65-2                            amd64        NVIDIA Management Library (NVML) runtime library
ii  nvidia-alternative                    340.65-2                            amd64        allows the selection of NVIDIA as GLX provider
ii  nvidia-detect                         340.65-2                            amd64        NVIDIA GPU detection utility
ii  nvidia-driver                         340.65-2                            amd64        NVIDIA metapackage
ii  nvidia-driver-bin                     340.65-2                            amd64        NVIDIA driver support binaries
ii  nvidia-installer-cleanup              20141201+1                          amd64        cleanup after driver installation with the nvidia-installer
ii  nvidia-kernel-common                  20141201+1                          amd64        NVIDIA binary kernel module support files
ii  nvidia-kernel-dkms                    340.65-2                            amd64        NVIDIA binary kernel module DKMS source
ii  nvidia-modprobe                       340.46-1                            amd64        utility to load NVIDIA kernel modules and create device nodes
ii  nvidia-settings                       340.46-2                            amd64        tool for configuring the NVIDIA graphics driver
ii  nvidia-support                        20141201+1                          amd64        NVIDIA binary graphics driver support files
ii  nvidia-vdpau-driver:amd64             340.65-2                            amd64        Video Decode and Presentation API for Unix - NVIDIA driver
ii  nvidia-xconfig                        340.46-1                            amd64        X configuration tool for non-free NVIDIA drivers
ii  xserver-xorg-video-nvidia             340.65-2                            amd64        NVIDIA binary Xorg driver

連結到我的 xorg.conf 注意:這個文件不在 /etc/X11/xorg.conf.d 而是直接在 /etc/X11/

海報上有一台 Nvidia Optimus 筆記型電腦。事實證明,根據 Debian Wiki 上的Bumblebee頁面,您需要執行以下操作:

apt-get install bumblebee-nvidia primus

並刪除任何現有的xorg.conf並防止 debconfxorg.conf在安裝上述軟體包期間創建一個。

@Spiralwise 確認這對他有用。

注意@Spiralwise 提供的注意事項:一旦安裝了 Bumblebee-nvidia 和 Primus,需要使用 GPU 執行的軟體必須像這樣啟動:primusrun my_program.

我遇到了同樣的問題,這是我的設備(lspci):

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)
04:00.0 3D controller: NVIDIA Corporation GM107M [GeForce 940M] (rev ff)

現在一切都很好,我在 Intel 和 NVidia 上執行良好,這就是我安裝的,32 位是自動安裝的,我不知道為什麼

$ dpkg -l| grep nvidia

ii  bumblebee-nvidia                3.2.1-14         amd64   NVIDIA Optimus support using the proprietary NVIDIA driver
ii  glx-alternative-nvidia          0.7.4            amd64   allows the selection of NVIDIA as GLX provider
ii  libegl-nvidia0:amd64            375.66-2~deb9u1  amd64   NVIDIA binary EGL library
ii  libegl-nvidia0:i386             375.66-2~deb9u1  i386    NVIDIA binary EGL library
ii  libegl1-glvnd-nvidia:amd64      375.66-2~deb9u1  amd64   Vendor neutral GL dispatch library -- libEGL
ii  libegl1-glvnd-nvidia:i386       375.66-2~deb9u1  i386    Vendor neutral GL dispatch library -- libEGL
ii  libgl1-glvnd-nvidia-glx:amd64   375.66-2~deb9u1  amd64   Vendor neutral GL dispatch library -- libGL
ii  libgl1-glvnd-nvidia-glx:i386    375.66-2~deb9u1  i386    Vendor neutral GL dispatch library -- libGL
ii  libgl1-nvidia-glvnd-glx:amd64   375.66-2~deb9u1  amd64   NVIDIA binary OpenGL/GLX library (GLVND variant)
ii  libgl1-nvidia-glvnd-glx:i386    375.66-2~deb9u1  i386    NVIDIA binary OpenGL/GLX library (GLVND variant)
ii  libgldispatch0-nvidia:amd64     375.66-2~deb9u1  amd64   Vendor neutral GL dispatch library -- libGLdispatch
ii  libgldispatch0-nvidia:i386      375.66-2~deb9u1  i386    Vendor neutral GL dispatch library -- libGLdispatch
ii  libgles-nvidia1:amd64           375.66-2~deb9u1  amd64   NVIDIA binary OpenGL|ES 1.x library
ii  libgles-nvidia1:i386            375.66-2~deb9u1  i386    NVIDIA binary OpenGL|ES 1.x library
ii  libgles-nvidia2:amd64           375.66-2~deb9u1  amd64   NVIDIA binary OpenGL|ES 2.x library
ii  libgles-nvidia2:i386            375.66-2~deb9u1  i386    NVIDIA binary OpenGL|ES 2.x library
ii  libgles1-glvnd-nvidia:amd64     375.66-2~deb9u1  amd64   NVIDIA binary OpenGL|ES 1.x GLVND stub library
ii  libgles1-glvnd-nvidia:i386      375.66-2~deb9u1  i386    NVIDIA binary OpenGL|ES 1.x GLVND stub library
ii  libgles2-glvnd-nvidia:amd64     375.66-2~deb9u1  amd64   NVIDIA binary OpenGL|ES 2.x GLVND stub library
ii  libgles2-glvnd-nvidia:i386      375.66-2~deb9u1  i386    NVIDIA binary OpenGL|ES 2.x GLVND stub library
ii  libglx-nvidia0:amd64            375.66-2~deb9u1  amd64   NVIDIA binary GLX library
ii  libglx-nvidia0:i386             375.66-2~deb9u1  i386    NVIDIA binary GLX library
ii  libglx0-glvnd-nvidia:amd64      375.66-2~deb9u1  amd64   Vendor neutral GL dispatch library -- libGLX
ii  libglx0-glvnd-nvidia:i386       375.66-2~deb9u1  i386    Vendor neutral GL dispatch library -- libGLX
ii  libnvidia-cfg1:amd64            375.66-2~deb9u1  amd64   NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-cfg1:i386             375.66-2~deb9u1  i386    NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-eglcore:amd64         375.66-2~deb9u1  amd64   NVIDIA binary EGL core libraries
ii  libnvidia-eglcore:i386          375.66-2~deb9u1  i386    NVIDIA binary EGL core libraries
ii  libnvidia-glcore:amd64          375.66-2~deb9u1  amd64   NVIDIA binary OpenGL/GLX core libraries
ii  libnvidia-glcore:i386           375.66-2~deb9u1  i386    NVIDIA binary OpenGL/GLX core libraries
ii  libnvidia-ml1:amd64             375.66-2~deb9u1  amd64   NVIDIA Management Library (NVML) runtime library
ii  libopengl0-glvnd-nvidia:amd64   375.66-2~deb9u1  amd64   Vendor neutral GL dispatch library -- libOpenGL
ii  libopengl0-glvnd-nvidia:i386    375.66-2~deb9u1  i386    Vendor neutral GL dispatch library -- libOpenGL
ii  nvidia-alternative              375.66-2~deb9u1  amd64   allows the selection of NVIDIA as GLX provider
ii  nvidia-detect                   375.66-2~deb9u1  amd64   NVIDIA GPU detection utility
ii  nvidia-driver                   375.66-2~deb9u1  amd64   NVIDIA metapackage
ii  nvidia-driver-bin               375.66-2~deb9u1  amd64   NVIDIA driver support binaries
ii  nvidia-driver-libs:amd64        375.66-2~deb9u1  amd64   NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)
ii  nvidia-driver-libs:i386         375.66-2~deb9u1  i386    NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)
ii  nvidia-driver-libs-i386:i386    375.66-2~deb9u1  i386    NVIDIA metapackage (OpenGL/GLX/EGL/GLES 32-bit libraries)
ii  nvidia-egl-common               375.66-2~deb9u1  amd64   NVIDIA binary EGL driver - common files
ii  nvidia-egl-icd:amd64            375.66-2~deb9u1  amd64   NVIDIA EGL installable client driver (ICD)
ii  nvidia-egl-icd:i386             375.66-2~deb9u1  i386    NVIDIA EGL installable client driver (ICD)
ii  nvidia-installer-cleanup        20151021+4       amd64   cleanup after driver installation with the nvidia-installer
ii  nvidia-kernel-common            20151021+4       amd64   NVIDIA binary kernel module support files
ii  nvidia-kernel-dkms              375.66-2~deb9u1  amd64   NVIDIA binary kernel module DKMS source
ii  nvidia-kernel-support           375.66-2~deb9u1  amd64   NVIDIA binary kernel module support files
ii  nvidia-legacy-check             375.66-2~deb9u1  amd64   check for NVIDIA GPUs requiring a legacy driver
ii  nvidia-modprobe                 375.26-1         amd64   utility to load NVIDIA kernel modules and create device nodes
ii  nvidia-persistenced             375.26-2         amd64   daemon to maintain persistent software state in the NVIDIA driver
ii  nvidia-settings                 375.66-1         amd64   tool for configuring the NVIDIA graphics driver
ii  nvidia-support                  20151021+4       amd64   NVIDIA binary graphics driver support files
ii  nvidia-vdpau-driver:amd64       375.66-2~deb9u1  amd64   Video Decode and Presentation API for Unix - NVIDIA driver
ii  nvidia-vulkan-common            375.66-2~deb9u1  amd64   NVIDIA Vulkan driver - common files
ii  nvidia-vulkan-icd:amd64         375.66-2~deb9u1  amd64   NVIDIA Vulkan installable client driver (ICD)
ii  nvidia-vulkan-icd:i386          375.66-2~deb9u1  i386    NVIDIA Vulkan installable client driver (ICD)
ii  xserver-xorg-video-nvidia       375.66-2~deb9u1  amd64   NVIDIA binary Xorg driver

引用自:https://unix.stackexchange.com/questions/191207