[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [linuxgames] SDL and hertz
On Sat, Jul 02, 2005 at 02:47:45AM +0200, voidstar wrote:
> screen = SDL_SetVideoMode(1024, 768, 32, SDL_HWSURFACE|SDL_FULLSCREEN);
> It works, but the problem is that it enters 1024x768 resolution using
> only 60Hz! My monitor can reach 100Hz and more at 1024x768!
> How can I change Herz frequency?
Edit your X-Window configuration (e.g., /etc/X11/XF86Config-4) so that a
1024x768 mode is available at the higher frequency.
If your X server allows you to change modes with [Ctrl]+[Alt]+[Keypad Plus]
and [Keypad Minus], you'll probably notice that when it drops your regular
desktop view down to 1024x768 (it'll probably pan when you move the mouse)
it will also be at 60Hz.
-bill! Picn*x14 --- Linux Anniversary Picnic & BBQ!
bill@xxxxxxxxxxxxxxxxxxxx Sunnyvale Baylands Park, Sunday, August 14th
http://newbreedsoftware.com/ http://linuxpicnic.org/ to RSVP & volunteer!