使用 USB-HDMI 轉接器在 Linux 中設定三重顯示器

使用 USB-HDMI 轉接器在 Linux 中設定三重顯示器

我正在嘗試使用 Fedora 17 在我的辦公室設置三顯示器桌面,但這似乎不可能,讓我解釋一下設定:

  • 筆記型電腦 ASUS K53SD,附 2 張顯示卡,Intel 和 nVidia(螢幕由 Intel 卡控制)
  • 連接到 HDMI 輸出的 24 吋全高清顯示器(由 Intel 卡控制)
  • 連接到 USB-HDMI 轉接器的 23 吋全高清顯示器(顯然是透過 /dev/fb2 中的幀緩衝區)
  • VGA 輸出(未使用)由 nVidia 卡控制

首先,USB-HDMI 適配器工作完美,它給了我一個綠幕(這意味著通訊正常),如果我透過 Xorg 中的幀緩衝區設置單個顯示器設置,我就可以讓它工作。在這裡,我離開了獲得說明的頁面:http://plugable.com/2011/12/23/usb-graphics-and-linux

現在,我嘗試使用英特爾驅動程式設定兩個主顯示器(筆記型電腦和24 吋),使用幀緩衝區設定23 吋顯示器,但我得到的最成功的配置是兩個主顯示器工作,第三個顯示器斷開連接。

你知道我該怎麼做才能讓這份工作成功嗎?

在這裡,我留下我的 xRandr 輸出和我的 Xorg 配置:

-> xrandr
Screen 0: minimum 320 x 200, current 3286 x 1080, maximum 8192 x 8192
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1366x768       60.0*+
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA2 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1920x1080+1366+0 (normal left inverted right x axis y axis) 531mm x 299mm
   1920x1080      60.0*+   50.0     25.0     30.0  
   1680x1050      59.9  
   1680x945       60.0  
   1400x1050      74.9     59.9  
   1600x900       60.0  
   1280x1024      75.0     60.0  
   1440x900       75.0     59.9  
   1280x960       60.0  
   1366x768       60.0  
   1360x768       60.0  
   1280x800       74.9     59.9  
   1152x864       75.0  
   1280x768       74.9     60.0  
   1280x720       50.0     60.0  
   1440x576       25.0  
   1024x768       75.1     70.1     60.0  
   1440x480       30.0  
   1024x576       60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   720x576        50.0  
   848x480        60.0  
   720x480        59.9  
   640x480        72.8     75.0     66.7     60.0     59.9  
   720x400        70.1  
DP1 disconnected (normal left inverted right x axis y axis)
   1920x1080_60.00   60.0  

Xorg 檔:

# Xorg configuration file for using a tri-head display

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "HDMI" 0 0
    Screen      1  "USB" RightOf "HDMI"
    Option         "Xinerama" "on"
EndSection

########### MONITORS ################

Section "Monitor"
    Identifier     "USB1"
    VendorName     "Unknown"
    ModelName      "Acer 24as"
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "HDMI1"
    VendorName     "Unknown"
    ModelName      "Acer 23SH"
    Option         "DPMS"
EndSection

########### DEVICES ##################

Section "Device"
    Identifier     "Device 0"
    Driver         "intel"
    BoardName      "GeForce"
    BusID          "PCI:0:02:0"
    Screen          0
EndSection

Section "Device" 
    Identifier     "USB Device 0" 
    driver         "fbdev" 
    Option         "fbdev" "/dev/fb2" 
    Option         "ShadowFB" "off"
EndSection 


############## SCREENS ######################

Section "Screen"
    Identifier     "HDMI"
    Device         "Device 0"
    Monitor        "HDMI1"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "USB"
    Device         "USB Device 0"
    Monitor        "USB1"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

答案1

我知道這可能應該是一條評論,但我在 SuperUser 上只有 46 個代表。

我過去常常透過付費來解決 X windows 問題,大多數問題都不是微不足道的,而且對於這種格式來說解決起來太複雜了。基本上,如果我想解決您的問題,我可能需要有一個類似的設定來測試或在您的系統本身上工作。 Ian 對 Matrox TripleHead2Go 的建議是一個很好的建議。

我現在就告訴你,如果我要為某人建造一個支援三頭的客製化 Linux 盒子,我將使用至少 2 個相同的雙頭顯示卡。我不一定需要相同的顯示卡,但它簡化了事情。現在我知道筆記型電腦不是一個選擇。

您需要做的第一件事是向我們展示 xorg 日誌。如果我們不知道 USB 顯示卡不工作的原因,我們就很難解決這個問題。因此,我們需要檢查的第一件事是 xorg 日誌,看看它是否可以告訴我們為什麼它不起作用,甚至它甚至沒有嘗試運行它。

答案2

您可能需要考慮像 Matrox TripleHead2Go 這樣的解決方案。它支援 DisplayPort 顯示器,並配備支援 DVI 和 VGA 顯示器的可選轉接器。 Matrox 有適用於 Linux 的驅動程式。這是一個昂貴的解決方案,但它會減輕您設定的痛苦。

答案3

蘭德爾

載入驅動程式後,DisplayLink 監視器將被列為輸出提供者:

$ xrandr --listproviders

Providers: number : 2
Provider 0: id: 0x43 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 2 outputs: 2 associated providers: 1 name:Intel
Provider 1: id: 0xcb cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting

在上面的範例中,提供者 1 是 DisplayLink 設備,提供者 0 是預設顯示器。運行時xrandr --current會給出可用螢幕的清單:

$ xrandr --current

Screen 0: minimum 320 x 200, current 1600 x 900, maximum 8192 x 8192
LVDS1 connected 1600x900+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
   1600x900       60.0*+   40.0  
   1440x900       59.9  
   1360x768       59.8     60.0  
   1152x864       60.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
DVI-1-0 connected (normal left inverted right x axis y axis)
   1366x768       60.0 +
   1368x768_59.90   59.9  
  1368x768_59.90 (0xd0)   85.7MHz
        h: width  1368 start 1440 end 1584 total 1800 skew    0 clock   47.6KHz
        v: height  768 start  769 end  772 total  795           clock   59.9Hz

如果上面沒有列出 DisplayLink 螢幕,那麼您需要將 DisplayLink 卸載到主 GPU:

xrandr --setprovideroutputsource 1 0

相關內容