我有个奇怪的问题。我运行ubuntu20.04在一个自定义构建的PC上的核心i7-9700 (内置英特尔图形)和三星CRG9屏幕,我目前试图运行的PBP模式。我以前用5120x1440分辨率作为一个屏幕运行它,在使用自定义/usr/share/x11/xorg.con.d条目将正确的设置放入xrandr之后,我让它在60 in的DP电缆上以该分辨率工作。在初始登录屏幕后,它在任何地方都能工作--在PC启动后,分辨率会降低,直到我登录为止。
为了提高效率/方便,我决定尝试使用一个DP和一个HDMI电缆,在PBP模式下运行屏幕,分成两个QHD (2560x1440)屏幕。它的工作直到屏幕关闭,因为PC一直闲置,然后它回来倾斜-屏幕被替换,其中一个是在某种奇怪的分辨率,改变回QHD,立即我试图打开设置窗口。以下是当一切都好的时候,我从克朗那里得到的东西:
creen 0: minimum 320 x 200, current 5120 x 1440, maximum 16384 x 16384
DP-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 1190mm x 340mm
2560x1440 99.95 + 59.95*
2560x1080 100.00 60.00 59.94
1920x1080 100.00 60.00 60.00 59.94
1680x1050 59.95
1600x900 60.00
1280x1024 75.02 60.02
1440x900 59.89
1280x800 59.81
1152x864 75.00
1280x720 60.00 59.94
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 66.67 60.00 59.94
720x400 70.08
HDMI-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
HDMI-3 connected 2560x1440+2560+0 (normal left inverted right x axis y axis) 1190mm x 340mm
2560x1440 59.95*
2560x1080 60.00 59.94
1920x1080 100.00 60.00 59.94
1680x1050 59.88
1600x900 60.00
1280x1024 75.02 60.02
1440x900 59.90
1280x800 59.91
1152x864 75.00
1280x720 60.00 59.94
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 66.67 60.00 59.94
720x400 70.08 当我从空闲或关闭的屏幕上打开电源时,这就是xrandr返回的结果:
Screen 0: minimum 320 x 200, current 6400 x 1440, maximum 16384 x 16384
DP-1 connected 2560x1440+3840+0 (normal left inverted right x axis y axis) 1190mm x 340mm
2560x1440 99.95*+ 59.95
2560x1080 100.00 60.00 59.94
1920x1080 100.00 60.00 60.00 59.94
1680x1050 59.95
1600x900 60.00
1280x1024 75.02 60.02
1440x900 59.89
1280x800 59.81
1152x864 75.00
1280x720 60.00 59.94
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 66.67 60.00 59.94
720x400 70.08
HDMI-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
HDMI-3 connected primary 3840x1080+0+0 (normal left inverted right x axis y axis) 1190mm x 340mm
2560x1440 59.95
2560x1080 60.00 59.94
1920x1080 100.00 60.00 59.94
1680x1050 59.88
1600x900 60.00
1280x1024 75.02 60.02
1440x900 59.90
1280x800 59.91
1152x864 75.00
1280x720 60.00 59.94
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 66.67 60.00 59.94
720x400 70.08
3840x1080 (0x5a3) 266.500MHz +HSync -VSync
h: width 3840 start 3888 end 3920 total 4000 skew 0 clock 66.62KHz
v: height 1080 start 1083 end 1093 total 1111 clock 59.97Hz但是在运行xranrd,或者启动显示设置applet之后,一切都恢复正常--这真的很烦人,因为我正在做的其他事情之一是运行一个VM,它的工作内容似乎也影响到它的显示方式,只是如果两个屏幕在监视器关闭时都显示VM,那么将屏幕恢复到可用状态就更复杂了。
对为什么会发生这种事有什么想法吗?我开始怀疑屏幕的固件,因为PBP模式一直有点问题,即使在Windows上也是如此。但是,也许有一种方法,我可以强迫xrandr在任何时候都为DP和HDMI连接使用特定的设置?
发布于 2021-02-06 19:22:03
已经有一段时间了,我已经放弃尝试了。我回到使用单一电缆,但屏幕不是那么好的生产力,可以。这个问题的答案很简单: Wayland。
我在X11配置中启用了gdm3和Wayland之间的选择,当我选择后者时,在显式设置解决方案一次之后,问题就消失了。
https://askubuntu.com/questions/1278203
复制相似问题