无法在 Debian Jessie 上正确配置 Intel HD 510 (Skylake) 显卡

无法在 Debian Jessie 上正确配置 Intel HD 510 (Skylake) 显卡

自从安装以来我就遇到了这个问题,并且我一直在尝试用我有限的 Linux 经验来解决这个问题(我已经使用了大约 9 个月了)。

Debian 上的内部图形不起作用。我可以加载 X。几乎所有其他东西都会给出这样的错误:

name_of_application: symbol lookup error: /usr/lib/x86_64-linux-gnu/libGL.so.1: undefined symbol: _glapi_tls_Dispatch

我确信这不是主板的问题,因为我已经检查了所有设置。 Windows 8 运行良好,它可以毫无问题地检测到所有内容。我测试了一些视频游戏,它们都运行良好。

我通过在 libgl1-mesa-glx 上安装 libgl1-mesa-swx11 成功地规避了这个问题几个月

该软件包使用软件解码器,虽然它设法解决了这个问题,但性能不是很好。我决定切换回 libgl1-mesa-glx 来解决这个问题。时间

# dmidecode --type baseboard
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 3.0 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
    Manufacturer: MSI
    Product Name: B150M PRO-VDH (MS-7982)
    Version: 1.0
    Serial Number: G416029796
    Asset Tag: Default string
    Features:
        Board is a hosting board
        Board is replaceable
    Location In Chassis: Default string
    Chassis Handle: 0x0003
    Type: Motherboard
    Contained Object Handles: 0

Handle 0x0039, DMI type 41, 11 bytes
Onboard Device
    Reference Designation:  Onboard IGD
    Type: Video
    Status: Enabled
    Type Instance: 1
    Bus Address: 0000:00:02.0

Handle 0x003A, DMI type 41, 11 bytes
Onboard Device
    Reference Designation:  Onboard LAN
    Type: Ethernet
    Status: Enabled
    Type Instance: 1
    Bus Address: 0000:00:19.0

Handle 0x003B, DMI type 41, 11 bytes
Onboard Device
    Reference Designation:  Onboard 1394
    Type: Other
    Status: Enabled
    Type Instance: 1
    Bus Address: 0000:03:1c.2

# inxi -Gxx
Graphics:  Card: Intel HD Graphics 510 bus-ID: 00:02.0 chip-ID: 8086:1902
           Display Server: X.org 1.18.3 drivers: intel (unloaded: fbdev,vesa)
           tty size: 99x25 Advanced Data: N/A for root

# aptitude reinstall firmware-misc-nonfree xserver-xorg-core xserver-xorg-video-intel libegl1-mesa libgl1-mesa-glx libgl1-mesa-dri
The following packages will be REINSTALLED:
  firmware-misc-nonfree libegl1-mesa libgl1-mesa-dri libgl1-mesa-glx 
  xserver-xorg-core xserver-xorg-video-intel 
The following packages will be REMOVED:
  linux-headers-4.8.0-0.bpo.2-amd64{u} 
  linux-headers-4.8.0-0.bpo.2-common{u} linux-kbuild-4.8{u} 
0 packages upgraded, 0 newly installed, 6 reinstalled, 3 to remove and 0 not upgraded.
Need to get 0 B/12.4 MB of archives. After unpacking 30.8 MB will be freed.
Do you want to continue? [Y/n/?] y
(Reading database ... 327171 files and directories currently installed.)
Removing linux-headers-4.8.0-0.bpo.2-amd64 (4.8.15-2~bpo8+2) ...
Removing linux-headers-4.8.0-0.bpo.2-common (4.8.15-2~bpo8+2) ...
Removing linux-kbuild-4.8 (4.8.15-2~bpo8+2) ...
(Reading database ... 314918 files and directories currently installed.)
Preparing to unpack .../libegl1-mesa_13.0.5-1~bpo8+1_amd64.deb ...
Unpacking libegl1-mesa:amd64 (13.0.5-1~bpo8+1) over (13.0.5-1~bpo8+1) ...
Preparing to unpack .../libgl1-mesa-dri_13.0.5-1~bpo8+1_amd64.deb ...
Unpacking libgl1-mesa-dri:amd64 (13.0.5-1~bpo8+1) over (13.0.5-1~bpo8+1) ...
Preparing to unpack .../xserver-xorg-core_2%3a1.16.4-1_amd64.deb ...
Unpacking xserver-xorg-core (2:1.16.4-1) over (2:1.16.4-1) ...
Preparing to unpack .../libgl1-mesa-glx_13.0.5-1~bpo8+1_amd64.deb ...
Unpacking libgl1-mesa-glx:amd64 (13.0.5-1~bpo8+1) over (13.0.5-1~bpo8+1) ...
Preparing to unpack .../firmware-misc-nonfree_20161130-2~bpo8+1_all.deb ...
Unpacking firmware-misc-nonfree (20161130-2~bpo8+1) over (20161130-2~bpo8+1) ...
Preparing to unpack .../xserver-xorg-video-intel_2%3a2.99.917+git20161206-1~bpo8+1_amd64.deb ...
Unpacking xserver-xorg-video-intel (2:2.99.917+git20161206-1~bpo8+1) over (2:2.99.917+git20161206-1~bpo8+1) ...
Processing triggers for glx-alternative-mesa (0.7.3~bpo8+1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for libc-bin (2.24-5) ...
Setting up libegl1-mesa:amd64 (13.0.5-1~bpo8+1) ...
Setting up libgl1-mesa-dri:amd64 (13.0.5-1~bpo8+1) ...
Setting up libgl1-mesa-glx:amd64 (13.0.5-1~bpo8+1) ...
Setting up xserver-xorg-core (2:1.16.4-1) ...
Setting up firmware-misc-nonfree (20161130-2~bpo8+1) ...
update-initramfs: deferring update (trigger activated)
Setting up xserver-xorg-video-intel (2:2.99.917+git20161206-1~bpo8+1) ...
Processing triggers for initramfs-tools (0.120+deb8u2) ...
update-initramfs: Generating /boot/initrd.img-4.9.0-0.bpo.2-amd64
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915

# glxinfo
glxinfo: symbol lookup error: /usr/lib/x86_64-linux-gnu/libGL.so.1: undefined symbol: _glapi_tls_Dispatch

# glxgears
glxgears: symbol lookup error: /usr/lib/x86_64-linux-gnu/libGL.so.1: undefined symbol: _glapi_tls_Dispatch

# inxi
CPU~Dual core Intel Pentium G4400 (-MCP-) clocked at Min:799.822Mhz Max:800.024Mhz Kernel~4.9.0-0.bpo.2-amd64 x86_64 Up~53 min Mem~1091.2/7801.4MB HDD~1000.2GB(62.4% used) Procs~165 Client~Shell inxi~2.1.28  

cat /etc/default/grub (我删除了注释)

GRUB_DEFAULT=0
GRUB_TIMEOUT=3
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX="initrd=/install/initrd.gz"
GRUB_INIT_TUNE="480 440 1"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.preliminary_hw_support=1"
edd=on
video=i915:modeset=0

链接文件不正确可能是问题所在,但我不知道如何解决该问题。我会提供您想要的任何其他日志。

ldd /usr/bin/glxgears节目

    linux-vdso.so.1 (0x00007ffc85b72000)
    libGLEW.so.1.10 => /usr/lib/x86_64-linux-gnu/libGLEW.so.1.10 (0x00007f1665f22000)
    libGLU.so.1 => /usr/lib/x86_64-linux-gnu/libGLU.so.1 (0x00007f1665cb4000)
    libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f1665a40000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f166573c000)
    libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f16653f9000)
    libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f16651e5000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1664e47000)
    libXmu.so.6 => /usr/lib/x86_64-linux-gnu/libXmu.so.6 (0x00007f1664c2e000)
    libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f1664a1e000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f166469d000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1664486000)
    libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f166425a000)
    libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007f1664057000)
    libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007f1663e54000)
    libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007f1663c4d000)
    libxshmfence.so.1 => /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 (0x00007f1663a4b000)
    libglapi.so.0 => /usr/local/lib/libglapi.so.0 (0x00007f16637e3000)
    libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f16635de000)
    libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f16633d8000)
    libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f16631d6000)
    libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007f1662fbd000)
    libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007f1662db8000)
    libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f1662b96000)
    libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f166298e000)
    libdrm.so.2 => /usr/local/lib/libdrm.so.2 (0x00007f1662780000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1662563000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f166235f000)
    /lib64/ld-linux-x86-64.so.2 (0x000055b24657c000)
    libXt.so.6 => /usr/lib/x86_64-linux-gnu/libXt.so.6 (0x00007f16620f6000)
    libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f1661ef0000)
    libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f1661ceb000)
    libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f1661ae3000)
    libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f16618c6000)
    libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f16616c1000)

答案1

_glapi_tls_Dispatch由 定义libglapi.so.0,它位于libglapi-mesa包中。在你的情况下,它也在 中/usr/local/lib,这就是被拾取的内容;在输出中ldd /usr/bin/glxgears

libglapi.so.0 => /usr/local/lib/libglapi.so.0 (0x00007f16637e3000)

您需要删除/usr/local/lib/libglapi*.

相关内容