Yak*_*sha 4 xrandr multiple-monitors intel-graphics hdmi vga
我一直在尝试通过笔记本电脑(戴尔 Latitude 5480、Ubuntu 16.04)上的 VGA 端口在投影仪上获得输出。我只有英特尔高清显卡,没有专用 GPU。
我无法在投影仪上获得任何输出。
xrandr 不在输出中列出 VGA:
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 173mm
1920x1080 60.01*+ 59.93 48.01
1680x1050 59.95 59.88
1600x1024 60.17
1400x1050 59.98
1600x900 60.00
1280x1024 60.02
1440x900 59.89
1280x960 60.00
1368x768 60.00
1360x768 59.80 59.96
1152x864 60.00
1280x720 60.00
1024x768 60.00
1024x576 60.00
960x540 60.00
800x600 60.32 56.25
864x486 60.00
640x480 59.94
720x405 60.00
640x360 60.00
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
Run Code Online (Sandbox Code Playgroud)
的输出 lspci | grep VGA:
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
Run Code Online (Sandbox Code Playgroud)
的输出 lshw -numeric -C display:
WARNING: you should run this program as super-user.
*-display
description: VGA compatible controller
product: Intel Corporation [8086:591B]
vendor: Intel Corporation [8086]
physical id: 2
bus info: pci@0000:00:02.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=i915_bpo latency=0
resources: irq:129 memory:ee000000-eeffffff memory:d0000000-dfffffff ioport:f000(size=64)
Run Code Online (Sandbox Code Playgroud)
我尝试过的其他事情
sudo apt-get update和upgrade.可以做些什么来解决这个问题并在投影机上获得输出?请帮帮我。
我非常小心地选择了这台带有配置(预装了 Ubuntu)的笔记本电脑,以便大多数硬件都能在 Ubuntu 上正常工作,但是这个 VGA 问题一直是一个很大的问题。
好的,回答我自己的问题,我猜测 VGA 端口实际上是 HDMI 内部是正确的。澄清一下,三个 HDMI 代表
一旦我猜到了这一点,我就不得不强制 xrandr 通过其中之一显示输出,因为没有自动检测到 VGA 的插入。我知道我的投影仪是 4:3。所以我尝试了一些 4:3 纵横比的分辨率,比如(在我的情况下,这两个命令在每个分辨率下都是必需的 - 添加自定义分辨率):
xrandr --addmode HDMI3 1400x1050
xrandr --output HDMI3 --mode 1400x1050
Run Code Online (Sandbox Code Playgroud)
最高的 4:3 分辨率为 1400x1050。
我用 HDMI3 在投影仪上成功输出了!但是显示被剪掉了。然后我意识到我的笔记本电脑屏幕以不同的分辨率(16:9)显示,所以屏幕没有得到正确的镜像。
我手动将笔记本电脑屏幕更改为 1400x1050,然后投影:
xrandr --output eDP1 --mode 1400x1050
xrandr --addmode HDMI3 1400x1050
xrandr --output HDMI3 --mode 1400x1050
Run Code Online (Sandbox Code Playgroud)
现在,一切都很好。拔掉电源后,我将笔记本电脑屏幕改回默认分辨率:
xrandr --output eDP1 --auto
Run Code Online (Sandbox Code Playgroud)
为了进一步使用,我将前三个命令放入一个 .sh 文件中,在我连接时运行它们,最后一个在插入时运行。
这些是帮助我进行初步猜测的问题。非常感谢!:
| 归档时间: |
|
| 查看次数: |
5395 次 |
| 最近记录: |