为什么在 Fedora 23 中未检测到我的(已连接 Thunderbolt)显示器

为什么在 Fedora 23 中未检测到我的(已连接 Thunderbolt)显示器

我有一台戴尔 XPS13,其飞利浦超宽显示器通过 Thunderbolt 3/USB-C 连接进行连接。由于除了 Apple 显示器之外,没有其他显示器支持这种新的扭曲连接,因此我有一个 HDMI 外部转换器(我也尝试过 DVI 和 Mini HDMI)。然而 Fedora 23 没有检测到我的显示器。里面没有什么有用的/etc/X11/xorg.conf.d,只有键盘配置。也没什么用处/usr/share/X11/xorg.conf.d

我尝试过重新启动、插入后重新启动、未插入时重新启动、以终端模式重新启动(插入或未插入)并运行startx

有什么想法或者我可以尝试什么吗?当然,总有可能不支持它。 Linux 还不支持这个东西上的 Wifi。

Linux 内核 4.1 和 4.2 错误

有一个现有的漏洞在 Linux Kernel 4.1、4.2 和 4.3 上使用 Thunderbolt,但我已经下载了 Fedora 22 Live 并从它启动(使用 Kernel 4.0),我也遇到了同样的问题。

xrandr-q

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected primary 1920x1080+0+0 0mm x 0mm
   1920x1080     77.00* 

lspci-v

00:02.0 VGA compatible controller: Intel Corporation Sky Lake Integrated Graphics (rev 07) (prog-if 00 [VGA controller])
    DeviceName:  Onboard IGD
    Subsystem: Dell Device 0704
    Flags: bus master, fast devsel, latency 0, IRQ 11
    Memory at db000000 (64-bit, non-prefetchable) [size=16M]
    Memory at 90000000 (64-bit, prefetchable) [size=256M]
    I/O ports at f000 [size=64]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: <access denied>
    Kernel modules: i915

我的内核是最新的

uname -a

Linux localhost.localdomain 4.2.6-300.fc23.x86_64 #1 SMP Tue Nov 10 19:32:21 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

查找 /dev-group 视频

/dev/video0
/dev/fb0

glxinfo | grep -i 供应商

server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: VMware, Inc.

猫 /var/log/Xorg.0.log | grep "(EE)"

[  1838.502] (EE) 
[  1838.503] (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE) 
[  1838.503] (EE) 
[  1838.503] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1838.503] (EE) 
[  1838.503] (EE) Server terminated with error (1). Closing log file.

Xorg.0.log- 其他可能相关的部分

[    11.762] (==) No Layout section.  Using the first Screen section.
[    11.762] (==) No screen section available. Using defaults.
[    11.762] (**) |-->Screen "Default Screen Section" (0)
[    11.762] (**) |   |-->Monitor "<default monitor>"
[    11.763] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
...
[    11.772] (==) Matched intel as autoconfigured driver 0
[    11.772] (==) Matched modesetting as autoconfigured driver 1
[    11.772] (==) Matched fbdev as autoconfigured driver 2
[    11.772] (==) Matched vesa as autoconfigured driver 3
[    11.772] (==) Assigned the driver to the xf86ConfigLayout
[    11.772] (II) LoadModule: "intel"
[    11.772] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[    11.772] (II) Module intel: vendor="X.Org Foundation"
[    11.772]    compiled for 1.17.99.901, module version = 2.99.917
[    11.772]    Module class: X.Org Video Driver
[    11.772]    ABI class: X.Org Video Driver, version 20.0
[    11.772] (II) LoadModule: "modesetting"
[    11.772] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[    11.773] (II) Module modesetting: vendor="X.Org Foundation"
[    11.773]    compiled for 1.18.0, module version = 1.18.0
[    11.773]    Module class: X.Org Video Driver
[    11.773]    ABI class: X.Org Video Driver, version 20.0
[    11.773] (II) LoadModule: "fbdev"
[    11.773] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[    11.773] (II) Module fbdev: vendor="X.Org Foundation"
[    11.773]    compiled for 1.17.99.901, module version = 0.4.3
[    11.773]    Module class: X.Org Video Driver
[    11.773]    ABI class: X.Org Video Driver, version 20.0
[    11.773] (II) LoadModule: "vesa"
[    11.773] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[    11.773] (II) Module vesa: vendor="X.Org Foundation"
[    11.773]    compiled for 1.17.99.901, module version = 2.3.2
[    11.773]    Module class: X.Org Video Driver
[    11.773]    ABI class: X.Org Video Driver, version 20.0
[    11.773] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
    i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
    915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
    Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
    GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    11.773] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[    11.773] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[    11.773] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[    11.773] (II) modesetting: Driver for Modesetting Kernel Drivers: kms

答案1

有一个漏洞其中 Thunderbolt 连接在 Linux 内核 4.1、4.2 和 4.3 中无法识别,但在 4.0 中可以识别。

该问题已在内核 4.4 中得到修复,因此添加更新的内核即可修复该问题。由于 Fedora 23 没有更新到 4.4。直到 Fedora 24(实际上是 4.6)。如果您使用的是旧版本,则可以手动完成如下

添加内核 Vanilla 存储库

curl -s https://repos.fedorapeople.org/repos/thl/kernel-vanilla.repo | sudo tee /etc/yum.repos.d/kernel-vanilla.repo

安装稳定版本(或 dev [内核-香草-主线]如果你勇敢的话)

sudo dnf --enablerepo=kernel-vanilla-stable update

然后重新启动,启动时会出现内核4.4的选项。

我不知道为什么带有 Kernel 4.0 的 Fedora 不起作用。

相关内容