我有一台台式机Ubuntu 18.04 LTS安装并最近尝试连接安卓高清电视使用 VGA 转 HDMI 适配器连接到它,因为我的桌面只有 VGA 输出。但是,屏幕分辨率停留在 1024x768,并且“xrandr -q”的输出也没有显示最高分辨率 1920x1080。这是“xrandr -q”的输出
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1024 x 768
default connected primary 1024x768+0+0 0mm x 0mm
1024x768 61.00*
800x600 61.00
640x480 60.00
我尝试通过使用 xrandr 添加 1920x1080 的“新模式”来手动设置分辨率,然后使用以下命令将该模式应用于 VGA 输出 -
xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode default "1920x1080_60.00"
xrandr --output default --mode "1920x1080_60.00"
但最后一条命令有时会失败,并出现以下错误 -
xrandr: screen cannot be larger than 1024x768 (desired size 1920x1080)
或这个,
xrandr: Configure crtc 0 failed
我猜适配器没有问题,因为当我从 Windows 笔记本电脑连接电视时,它可以在全高清分辨率(1920x1080)下完美运行。
如果有人能在这方面提供任何支持,我将不胜感激。如果我能使用 Ubuntu 桌面的大显示屏就太好了。
如果有帮助的话,这里是输出须藤lshw对于图形控制器
*-display UNCLAIMED
description: VGA compatible controller
product: Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list
configuration: latency=0
resources: memory:f7800000-f7bfffff memory:e0000000-efffffff ioport:f000(size=64) memory:c0000-dfff
这是输出“cat /var/log/gpu-manager.log” 复制代码
log_file: /var/log/gpu-manager.log
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
can't access /run/u-d-c-nvidia-was-loaded file
can't access /opt/amdgpu-pro/bin/amdgpu-pro-px
Looking for nvidia modules in /lib/modules/5.3.0-62-generic/updates/dkms
Looking for amdgpu modules in /lib/modules/5.3.0-62-generic/updates/dkms
Is nvidia loaded? no
Was nvidia unloaded? no
Is nvidia blacklisted? no
Is intel loaded? yes
Is radeon loaded? no
Is radeon blacklisted? no
Is amdgpu loaded? no
Is amdgpu blacklisted? no
Is amdgpu versioned? no
Is amdgpu pro stack? no
Is nouveau loaded? no
Is nouveau blacklisted? no
Is nvidia kernel module available? no
Is amdgpu kernel module available? no
Vendor/Device Id: 8086:152
BusID "PCI:0@0:2:0"
Is boot vga? yes
Error: can't access /sys/bus/pci/devices/0000:00:02.0/driver
The device is not bound to any driver.
Error : Failed to open /dev/dri
Error : Failed to open /dev/dri
Error : Failed to open /dev/dri
Error : Failed to open /dev/dri
Does it require offloading? no
last cards number = 1
Has amd? no
Has intel? yes
Has nvidia? no
How many cards? 1
Has the system changed? No
Single card detected
Nothing to do
另请注意,我已经设置模式设置在 grub 加载程序中,否则当 Xserver 启动时,我会看到奇怪的闪烁颜色。