Xephyr in the case of using XRandR
Submitted by kta..@..il.com
Assigned to Xorg Project Team
Description
Created attachment 85953 patch of Xephyr
We have developed a application that works on Xephyr. Our system changes resolution of the display many times by using XRandR. (For example, more than 1000 times) At that time, undeletable modeline is set unintentionally.
For example... Modelines when I changed the resolution twice. (632x1140, 1288x1428)
/xorg-server-1.6.5/hw/kdrive/ephyr> xrandr
Screen 0: minimum 160 x 160, current 1288 x 1428, maximum 1600 x 1428
default connected 1288x1428+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
...
1024x768 0.0
...
160x160 0.0
632x1140 0.0 <- unexpected modeline. Cannot delete.
1288x1428 0.0* <- unexpected modeline. Cannot delete.
632x1140_60.00 59.4 <- expected modeline. Can delete.
1288x1428_60.00 59.8 <- expected modeline. Can delete.
As a result, the time required to change the display resolution increases steadily. (Number of modelines will be more than 1000.) Is this a specification?
To prevent increasing number of modelines, I have applied the patch to Xephyr. In this patch, I intend to suppress RRRegisterSize call. This measure is correct? Are there any side effects?
Please tell me if there is other measures.
Attachment 85953, "patch of Xephyr":
xorg-server-xephyrXRandR.patch
Version: 7.4 (2008.09)