Hi John,
John Martin wrote:
> Darren Kenny wrote:
>>> The bundled NVIDIA X driver did not change between b93 and b95.
>> So from what you're saying, while the X server supports XRandR 1.2, the
>> driver
>> might not - what is the supported way to detect this scenario, and is it as
>> simply a change as calling XRRSetScreenConfig instead, or more complex than
>> that?
> Probably more complex, since the resolution changes even though
> an error is generated. The protocol also includes passing
> a Window value. Are you certain none of the five values changes
> between b93 and b95?
>
>
> typedef struct {
> CARD8 reqType;
> CARD8 randrReqType;
> CARD16 length B16;
> Window window B32;
> CARD16 width B16;
> CARD16 height B16;
> CARD32 widthInMillimeters B32;
> CARD32 heightInMillimeters B32;
> } xRRSetScreenSizeReq;
> #define sz_xRRSetScreenSizeReq 20
>
I don't see any code that uses this structure... where is it?
>
> Does "xrandr -q" show a mode that matches
> the resolution in pixels and size for your request:
>
> XRRSetScreenSize(0x807a008, 0x13a, 0x400, 0x300, 0x10f, 0xcb)
>
> This would be 1024x768 and 271x203mm.
>
xrandr -q on snv_95 gives me:
xrandr -q
Screen 0: minimum 320 x 240, current 1440 x 900, maximum 1440 x 900
default connected 1440x900+0+0 0mm x 0mm
1440x900 50.0*
1024x768 51.0
960x600 52.0
960x540 53.0
800x600 54.0 55.0
800x512 56.0
700x525 57.0
640x512 58.0
640x480 59.0 60.0
512x384 61.0
400x300 62.0
320x240 63.0
nothing about the mm sizes here... but the resolutions are there.
Darren