无法让 Intel HD 5500 显卡与 Debian 一起使用

12 debian graphics intel-graphics zenbook

我使用的是 Debian 8,但我的集成显卡似乎没有使用。

这是在使用 HD 5500 集成显卡的 Asus Zenbook UX303 上:

$ sudo lspci -vnn | grep VGA -A 12
00:02.0 VGA compatible controller [0300]: Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 09) (prog-if 00 [VGA controller])
    Subsystem: ASUSTeK Computer Inc. Device [1043:183d]
    Flags: bus master, fast devsel, latency 0, IRQ 64
    Memory at f6000000 (64-bit, non-prefetchable) [size=16M]
    Memory at e0000000 (64-bit, prefetchable) [size=256M]
    I/O ports at f000 [size=64]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [d0] Power Management version 2
    Capabilities: [a4] PCI Advanced Features
    Kernel driver in use: i915
Run Code Online (Sandbox Code Playgroud)

好像说有驱动在使用,但是机器好像没有实际使用那个显卡:

$ glxinfo | grep OpenGL
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.5, 256 bits)
OpenGL version string: 3.0 Mesa 10.3.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
Run Code Online (Sandbox Code Playgroud)

如何让 debian 实际使用集成显卡?

$ uname -a
Linux zenbook 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)

我也尝试过 4.0.2 内核的不稳定,它不会改变任何东西;姓名:

$ uname -a
Linux zenbook 4.0.0-1-amd64 #1 SMP Debian 4.0.2-1 (2015-05-11) x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)

Ste*_*itt 29

不幸的是,发布的 Jessie 并不完全支持 Broadwell 图形。所需的驱动程序已经向后移植,所以如果你启用 Jessie 向后移植,你可以解决这个问题。

首先,您需要将 Jessie 向后移植到您的存储库中,如果它还没有的话(感谢Anders提醒使用单独的文件):

echo deb http://http.debian.net/debian jessie-backports main > /etc/apt/sources.list.d/jessie-backports.list
Run Code Online (Sandbox Code Playgroud)

(作为root),那么

apt-get update
apt-get -t jessie-backports install xserver-xorg-video-intel
Run Code Online (Sandbox Code Playgroud)

应该允许 X 正确使用您的 HD 5500。

启用 backports 是安全的:较新的软件包不会从 backports 自动获取,您需要使用-t jessie-backports上述方法明确选择它们。