Linux

為什麼在 Fedora 23 中未檢測到我的(thunderbolt 連接的)監視器

  • March 2, 2017

我有一台戴爾 XPS13,其飛利浦 UltraWide 顯示器通過 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

我的核心是最新的

unname -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

資訊 | 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

存在一個錯誤,即在 Linux 核心 4.1、4.2 和 4.3 中無法辨識 Thunderbolt 連接,但在 4.0 中。

這已在核心 4.4 中修復,因此添加更新的核心可以修復它。由於 Fedora 23 沒有更新到 4.4。直到 Fedora 24(實際上是 4.6)。如果您使用的是舊版本,可以手動完成,如下所示

添加核心香草回購

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

安裝穩定版本(如果你夠勇敢,也可以安裝 dev [ kernel-vanilla-mainline ])

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

然後重新啟動,核心 4.4 將成為啟動時的一個選項。

我不知道為什麼帶有核心 4.0 的 Fedora 不起作用。

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