# Sdl, x11 & fullscreen

**URL:** <https://discourse.libsdl.org/t/sdl-x11-fullscreen/3447>\
**Category:** SDL Development\
**Created:** [November 9, 2000, 8:31am UTC](https://discourse.libsdl.org/t/sdl-x11-fullscreen/3447 "2000-11-09T08:31:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![michele](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/m/ed8c4c/32.png) [@michele](https://discourse.libsdl.org/u/michele)\
**Post date:** [November 9, 2000, 8:31am UTC](https://discourse.libsdl.org/t/sdl-x11-fullscreen/3447/1 "2000-11-09T08:31:49Z")

</div>

bug:  
when I start a SDL-FULLSCREEN at any resolution the system shows a BIG  
window (with the same theme of my wm) that covers the surface

system: XFree 3.3.6 (SVGA)  
sawmill version 0.24  
RH 6.2

thanks michele

---

<div class="post-metadata">

**Author:** ![slouken](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/s/ec9cab/32.png) [@slouken](https://discourse.libsdl.org/u/slouken)\
**Post date:** [November 9, 2000, 7:07pm UTC](https://discourse.libsdl.org/t/sdl-x11-fullscreen/3447/2 "2000-11-09T19:07:35Z")

</div>

> bug:  
> when I start a SDL-FULLSCREEN at any resolution the system shows a BIG  
> window (with the same theme of my wm) that covers the surface

This is SDL’s way of giving you a fullscreen window even though you don’t  
have the requested video mode configured. You need to add the desired modes  
to your X configuration.

See ya!  
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

---

<div class="post-metadata">

**Author:** ![michele](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/m/ed8c4c/32.png) [@michele](https://discourse.libsdl.org/u/michele)\
**Post date:** [November 9, 2000, 8:33pm UTC](https://discourse.libsdl.org/t/sdl-x11-fullscreen/3447/3 "2000-11-09T20:33:00Z")

</div>

Sam Lantinga wrote:

> This is SDL’s way of giving you a fullscreen window even though you don’t  
> have the requested video mode configured. You need to add the desired modes  
> to your X configuration.

I HAVE the video mode configured.  
the window is black and empty and covers the screen. some times I get  
the fullscreen without problems.

ciao  
michele

---

<div class="post-metadata">

**Author:** ![David\_Olofson](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/david_olofson/32/115_2.png) [@David\_Olofson](https://discourse.libsdl.org/u/David_Olofson)\
**Post date:** [November 10, 2000, 6:39am UTC](https://discourse.libsdl.org/t/sdl-x11-fullscreen/3447/4 "2000-11-10T06:39:10Z")

</div>

Speaking of modes, here are modelines for some cute modes that may  
come in handy if you need to run very low resolutions on very big  
and/or sharp CRT monitors:

—8\<----------------------------------------------------------------------

# 320x240 @ 100 Hz, 53.01 kHz hsync

Modeline “320x240” 22.9 320 336 384 432 240 244 247 265 DoubleScan

# 400x300 @ 100 Hz, 64.02 kHz hsync

Modeline “400x300” 34.8 400 432 464 544 300 302 305 320 DoubleScan

# 640x480 @ 100 Hz, 107.16 kHz hsync

Modeline “640x480” 88.62 640 656 720 848 480 488 492 524 DoubleScan

# 800x600 @ 100 Hz, 64.02 kHz hsync

Modeline “800x600” 139 800 864 928 1088 600 604 610 640 DoubleScan

----------------------------------------------------------------------\>8—

NOTE: These use video frequencies normally used for 640x480 through  
1600x1200 @ 100 Hz, so the higher ones won’t work on the  
average 17" or smaller monitor. OTOH, you probably don’t need  
double scan above 400x300 on those anyway.

//David

.- M u C o S -------------------------. .- David Olofson --------.  
| A Free/Open Source | | Audio Hacker |  
| Plugin and Integration Standard | | Linux Advocate |  
| for | | Open Source Advocate |  
| Professional and Consumer | | Singer |  
| Multimedia | | Songwriter |  
`-----> http://www.linuxdj.com/mucos -' `—\> david at [linuxdj.com](http://linuxdj.com) -'On Thu, 09 Nov 2000, Sam Lantinga wrote:

> > bug:  
> > when I start a SDL-FULLSCREEN at any resolution the system shows a BIG  
> > window (with the same theme of my wm) that covers the surface
> 
> This is SDL’s way of giving you a fullscreen window even though you don’t  
> have the requested video mode configured. You need to add the desired modes  
> to your X configuration.
