Hi,

I'm investigating an issue with Wine, xrandr and the proprietary
nvidia driver [1]. Wine uses XRRSetCrtcConfig() to change the
resolution without calling XRRScreenSize() beforehand [2]. At least
with the nvidia driver, the result is that the new resolution is set
to the CRTC but the original resolution is used as panning:

    1280x1024+0+0 (normal left inverted right x axis y axis) 430mm x 270mm 
panning 1680x1050+0+0"    

Is this supposed to be correct with respect to the xrandr
specification? Should this be seen as a bug in the driver? Should it
be seen as a bug in Wine? Both?

SDL2 for example does the same thing [3] (leading to the same bug).

[1] https://bugs.winehq.org/show_bug.cgi?id=33290#add_comment

[2] 
https://github.com/wine-mirror/wine/blob/8a348a4/dlls/winex11.drv/xrandr.c#L348

[3] 
http://hg.libsdl.org/SDL/file/6c8f3b478b45/src/video/x11/SDL_x11modes.c#l1004

Cheers,

-- 
Gabriel Corona
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to