2013/7/8 Sik the hedgehog <sik.the.hedgehog at gmail.com>
I don’t know how to program X
Tried looking around but didn’t find
much, other than the fact SDL seems to not set the viewport explicitly
I don’t think anyway here really is an expert in X (which might probably
part of the problem!), for instance I did the multi monitor code “by
example”, just following the xrandr.c source and having lots of patience 
Again what was the reason for making XRandR not the default? The only
It is the default. From SDL_x11modes.c:
/#define X11MODES_DEBUG/
/* I’m becoming more and more convinced that the application should never
- use XRandR, and it’s the window manager’s responsibility to track and
- manage display modes for fullscreen windows. Right now XRandR is
completely
- broken with respect to window manager behavior on every window manager
that
- I can find. For example, on Unity 3D if you show a fullscreen window
while
- the resolution is changing (within ~250 ms) your window will retain the
- fullscreen state hint but be decorated and windowed.*
- However, many people swear by it, so let them swear at it.

/
/#define XRANDR_DISABLED_BY_DEFAULT*/
Anyway. As the subject keeps coming up on the list, we may just as well
give it another go…the problem is in my system things seem to work quite
well 
I’m posting my results below (xrandr output with testrendercopyex running).
I had seen the “mouse pans desktop” bug before, but it isn’t present now.
This is on Kubuntu 13.04 64bits, nVidia binary drivers 313.30, latest SDL
from HG. Visually everything looks as it should AFAICT, and it’s backed up
by the xrandr output.
If people with problems in this regard are interested in solving this once
and for all (if it’s a solvable problem, which remains to be seen), I
advise you use the latest SDL, run similar tests, and give a detailed
report of what’s going.
xrandr -q
Screen 0: minimum 8 x 8, current 4480 x 1440, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
DVI-I-2 connected 1920x1080+0+0 (normal left inverted right x axis y axis)
531mm x 299mm
1920x1080 60.0*+
1680x1050 60.0
1440x900 75.0 59.9
1280x1024 75.0 60.0
1280x960 60.0
1280x800 59.8
1152x864 75.0
1024x768 75.0 70.1 60.0
800x600 75.0 72.2 60.3 56.2
640x480 75.0 72.8 59.9
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DVI-I-3 connected 2560x1440+1920+0 (normal left inverted right x axis y
axis) 597mm x 336mm
2560x1440 60.0*+
DP-1 disconnected (normal left inverted right x axis y axis)
testrendercopyex --fullscreen --geometry 640x480 --display 1
Screen 0: minimum 8 x 8, current 4480 x 1440, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
DVI-I-2 connected 1920x1080+0+0 (normal left inverted right x axis y axis)
531mm x 299mm
1920x1080 60.0*+
1680x1050 60.0
1440x900 75.0 59.9
1280x1024 75.0 60.0
1280x960 60.0
1280x800 59.8
1152x864 75.0
1024x768 75.0 70.1 60.0
800x600 75.0 72.2 60.3 56.2
640x480 75.0 72.8 59.9
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DVI-I-3 connected 2560x1440+1920+0 (normal left inverted right x axis y
axis) 597mm x 336mm
2560x1440 60.0*+
DP-1 disconnected (normal left inverted right x axis y axis)
testrendercopyex --fullscreen --geometry 640x480 --display 1
Screen 0: minimum 8 x 8, current 4480 x 1440, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
DVI-I-2 connected 1920x1080+0+0 (normal left inverted right x axis y axis)
531mm x 299mm
1920x1080 60.0*+
1680x1050 60.0
1440x900 75.0 59.9
1280x1024 75.0 60.0
1280x960 60.0
1280x800 59.8
1152x864 75.0
1024x768 75.0 70.1 60.0
800x600 75.0 72.2 60.3 56.2
640x480 75.0 72.8 59.9
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DVI-I-3 connected 2560x1440+1920+0 (normal left inverted right x axis y
axis) 597mm x 336mm
2560x1440 60.0*+
DP-1 disconnected (normal left inverted right x axis y axis)
–
Gabriel.