![Kubuntu 18.04,系统休眠后屏幕分辨率发生变化](https://linux22.com/image/1163421/Kubuntu%2018.04%EF%BC%8C%E7%B3%BB%E7%BB%9F%E4%BC%91%E7%9C%A0%E5%90%8E%E5%B1%8F%E5%B9%95%E5%88%86%E8%BE%A8%E7%8E%87%E5%8F%91%E7%94%9F%E5%8F%98%E5%8C%96.png)
我的显示器出现间歇性问题。从休眠模式恢复后,显示器会调整大小。
这是我的图形硬件:
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