hi everyone
i?m experiencing some problems when trying to run a fullscreen SDL app
under linux. the program switches to fullscreen as expected but the
actual video surface stays at its original size at the screen center,
that means although fullscreen is engaged, the resolution is not
altered!
i run X at 1152x968 as root, SDL_init flags are HWSurface and
SDL_FULLSCREEN, but hw / sw doesn?t change anything.
hope someone can help
eik
Eike Umlauf wrote:
hi everyone
i?m experiencing some problems when trying to run a fullscreen SDL app
under linux. the program switches to fullscreen as expected but the
actual video surface stays at its original size at the screen center,
that means although fullscreen is engaged, the resolution is not
altered!
i run X at 1152x968 as root, SDL_init flags are HWSurface and
SDL_FULLSCREEN, but hw / sw doesn?t change anything.
hope someone can help
eik
Do you have mdlines set up for the alternate modes? If your X server
doesn’t know how to switch resolution, nothing SDL can do will make it
switch.
~jeffrey :j
Jeffrey Bridge schrieb:
Eike Umlauf wrote:
hi everyone
i?m experiencing some problems when trying to run a fullscreen SDL app
under linux. the program switches to fullscreen as expected but the
actual video surface stays at its original size at the screen center,
that means although fullscreen is engaged, the resolution is not
altered!
i run X at 1152x968 as root, SDL_init flags are HWSurface and
SDL_FULLSCREEN, but hw / sw doesn?t change anything.
hope someone can help
eik
Do you have mdlines set up for the alternate modes? If your X server
doesn’t know how to switch resolution, nothing SDL can do will make it
switch.
~jeffrey :j
hmm guess i don?t, i am pretty new to linux, where do i set mdlines and
how exactly does the config line look like?
eik
Eike Umlauf wrote:
hmm guess i don?t, i am pretty new to linux, where do i set mdlines and
how exactly does the config line look like?
Well, for detailed info consult the XFree86-HOWTO, or something like that,
but for a quick fix go look at your /etc/XF86Config or /etc/X11/XF86Config,
and see if there are 640x480 and 800x600 lines. I don’t know what X setup
tool your distro uses, so I can’t tell you how to easily change it, but it’ll
be in your documentation somewhere.
~jeffrey :j