You are not logged in.

#1 2015-06-14 03:43:56

cxld
Member
Registered: 2012-12-09
Posts: 8

Can I create a scaled Xephyr window?

I'm playing some old games in Wine with low maximum resolutions like 800x600 inside a Xephyr instance. Is there some way I can enlarge the Xephyr window so that it will run at 1600x1200 and simply scale its contents up? I tried to use xrandr, but that didn't work out the way I hoped:

~$ Xephyr :1 -ac -screen 800x600x16 & disown
[1] 31247
~$ export DISPLAY=:1
~$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 160 x 160, current 800 x 600, maximum 1600 x 1200
default connected 800x600+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1600x1200      0.00
   1400x1050      0.00
   1280x960       0.00
   1280x1024      0.00
   1152x864       0.00
   1024x768       0.00
   832x624        0.00
   800x600        0.00*
   720x400        0.00
   480x640        0.00
   640x480        0.00
   640x400        0.00
   320x240        0.00
   240x320        0.00
   160x160        0.00
1 DAMAGEs still allocated at reset
TOTAL: 0 objects, 0 bytes, 0 allocs
~$ xrandr --output default --scale 2x2
xrandr: Failed to get size of gamma for output default
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  26 (RRSetCrtcTransform)
  Value in failed request:  0x4d
  Serial number of failed request:  21
  Current serial number in output stream:  22
1 DAMAGEs still allocated at reset
TOTAL: 0 objects, 0 bytes, 0 allocs
(1)
~$

Offline

Board footer

Powered by FluxBB