[ut2003io] Refresh rate changing

Matthew Arnold marnold at ez-net.com
Thu Mar 27 12:42:36 EST 2003


Matthew Arnold wrote:

> Here's what was in the XFree86 log when it was trying to change the 
> resolution. I never looked at this before since it wasn't an issue. My 
> desktop is at 1024x768 and I play at 800x600:
> 
> SwitchToMode - scrn: 0 clock: 50000
>                hdsp: 800 hbeg: 856 hend: 976 httl: 1040
>                vdsp: 600 vbeg: 637 vend: 643 vttl: 666 flags: 5
> Checking against clock: 94500 (94500)
>                  hdsp: 1024 hbeg: 1072 hend: 1168 httl: 1376
>                  vdsp: 768 vbeg: 769 vend: 772 vttl: 808 flags: 5
> Checking against clock: 56300 (56300)
>                  hdsp: 800 hbeg: 832 hend: 896 httl: 1048
>                  vdsp: 600 vbeg: 601 vend: 604 vttl: 631 flags: 5
> Checking against clock: 36000 (36000)
>                  hdsp: 640 hbeg: 696 hend: 752 httl: 832
>                  vdsp: 480 vbeg: 481 vend: 484 vttl: 509 flags: 10
> Checking against clock: 78800 (78800)
>                  hdsp: 1024 hbeg: 1040 hend: 1136 httl: 1312
>                  vdsp: 768 vbeg: 769 vend: 772 vttl: 800 flags: 5
> Checking against clock: 75000 (75000)
>                  hdsp: 1024 hbeg: 1048 hend: 1184 httl: 1328
>                  vdsp: 768 vbeg: 771 vend: 777 vttl: 806 flags: 10
> Checking against clock: 65000 (65000)
>                  hdsp: 1024 hbeg: 1048 hend: 1184 httl: 1344
>                  vdsp: 768 vbeg: 771 vend: 777 vttl: 806 flags: 10
> Checking against clock: 102400 (102400)
>                  hdsp: 896 hbeg: 960 hend: 1060 httl: 1224
>                  vdsp: 672 vbeg: 672 vend: 674 vttl: 697 flags: 38
> Checking against clock: 57284 (57284)
>                  hdsp: 832 hbeg: 864 hend: 928 httl: 1152
>                  vdsp: 624 vbeg: 625 vend: 628 vttl: 667 flags: 10
> Checking against clock: 65000 (65000)
>                  hdsp: 1024 hbeg: 1032 hend: 1176 httl: 1344
>                  vdsp: 480 vbeg: 488 vend: 494 vttl: 563 flags: 10
> Checking against clock: 49500 (49500)
>                  hdsp: 800 hbeg: 816 hend: 896 httl: 1056
>                  vdsp: 600 vbeg: 601 vend: 604 vttl: 625 flags: 5
> Checking against clock: 50000 (50000)
>                  hdsp: 800 hbeg: 856 hend: 976 httl: 1040
>                  vdsp: 600 vbeg: 637 vend: 643 vttl: 666 flags: 5
> (II) NVIDIA(0): Setting mode "800x600"
> SwitchToMode - Succeeded
> 
> My stats:
> Mandrake 9.1 (kernel 2.4.21-0.13mdk, glibc 2.3.1-10)
> GeForce 3 Ti200 (NVIDIA 4191 drivers)
> 512M PC2100
> SB Audigy with OSS drivers

I'm beginning to suspect that this is in fact a bug in SDL. Quake III and
RtCW can change resolution to 800x600 from my desktop 1024x768 without any
problems. Here's what my XFree86 log says when I try to run RtCW at 800x600:

SwitchToMode - scrn: 0 clock: 56300
                hdsp: 800 hbeg: 832 hend: 896 httl: 1048
                vdsp: 600 vbeg: 601 vend: 604 vttl: 631 flags: 5
Checking against clock: 94500 (94500)
                  hdsp: 1024 hbeg: 1072 hend: 1168 httl: 1376
                  vdsp: 768 vbeg: 769 vend: 772 vttl: 808 flags: 5
Checking against clock: 56300 (56300)
                  hdsp: 800 hbeg: 832 hend: 896 httl: 1048
                  vdsp: 600 vbeg: 601 vend: 604 vttl: 631 flags: 5
(II) NVIDIA(0): Setting mode "800x600"
SwitchToMode - Succeeded

Quite some difference. People are running into the same problem with the
NWN beta which also uses SDL. Does SDL not like XFree86 4.3?

Matt





More information about the ut2003 mailing list