我的显示器出现间歇性问题。从休眠模式恢复后,显示器会调整大小。
这是我的图形硬件:
me@computer:~$ /usr/bin/inxi -G
Graphics: Card: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480]
Display Server: x11 (X.Org 1.19.6 ) drivers: ati,amdgpu (unloaded: modesetting,fbdev,vesa,radeon)
Resolution: [email protected]
OpenGL: renderer: Radeon RX 580 Series (POLARIS10, DRM 3.23.0, 4.15.0-45-generic, LLVM 7.0.1)
version: 4.5 Mesa 19.0.0-devel (git-932ed9c 2019-01-29 bionic-oibaf-ppa)
休眠之前(正常运行,1360x768):
me@computer:~$ xrandr
Screen 0: minimum 320 x 200, current 1360 x 768, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 connected primary 1360x768+0+0 (normal left inverted right x axis y axis) 1600mm x 900mm
1360x768 60.02*+
1920x1080 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98
1152x864 59.97
1280x720 60.00 50.00 59.94
1024x768 60.00 58.98
800x600 60.32
720x576 50.00
720x480 60.00 59.94
640x480 60.00 59.94
720x400 70.08
HDMI-A-1 disconnected (normal left inverted right x axis y axis)
DVI-D-0 disconnected (normal left inverted right x axis y axis)
休眠后(压缩为 1280x720):
me@computer:~$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 720, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 connected primary 1280x720+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1280x720 60.02*
1024x768 60.02
800x600 60.02
640x480 60.02
HDMI-A-1 disconnected (normal left inverted right x axis y axis)
DVI-D-0 disconnected (normal left inverted right x axis y axis)
分辨率在重启后会自动更正。我更希望在不重启的情况下停止此问题或更正分辨率。
在系统日志中,有一堆与系统恢复时间一致的消息,其中 kscreen.xrandr 似乎正在尝试调用 1360x768,失败,然后调用 1280x720。
我将不胜感激大家提供的任何帮助。也许只是驱动程序的一个错误?我正在使用这个 ppa:https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers