A Proposal To Fix The Full-Screen Linux Window Mess

Posted by Michael Larabel on October 25, 2012

Ryan Gordon, the well-known Linux game porter and developer of SDL and other open-source projects, along with Sam Lantinga, another key SDL developer and recent hire for Valve's Linux team, have proposed a window manager change to work out the full-screen X11 window mess.

Most Linux users are aware that dealing with full-screen windows on X11 can be a mess, especially for games. There's issues pertaining to changing the resolution for gaming, the current full-screen window manager hint not being incredibly clear, and other problems. Ryan Gordon writes in his new proposal, "I've been doing Linux video games for over a decade now, and we've never really had a satisfactory means to handle fullscreen games on X11. I see this mailing list discussed fullscreen problems briefly in February, but I wanted to make a formal proposal of how the system should handle applications that want to 'go fullscreen.'"

The proposal is to come up with a _NET_WM_STATE_FULLSCREEN_EXCLUSIVE window manager hint that works out the shortcomings of the full-screen hint used currently by most games, _NET_WM_STATE_FULLSCREEN.

Ryan and Sam have already worked out an initial patch for the SDL library to use this new hint but they haven't tried hooking in the support to any window manager yet.

Those interested in the specification and low-level technical details about this proposal, all of the information is available from this mailing list message.

One of the changes is that games (or other software using this exclusive full-screen hint) would make the request to the window manager to change the resolution if needed, rather than tapping RandR, XVidMode, or other interfaces directly. However, not everyone is fond of this proposal. Martin Gräßlin of KDE/KWin already wrote, "we (KDE window management) actually hate that games change the resolution and I don't think that moving the responsibility to the window manager will solve anything." He backs up his dissenting opinion about KDE specifics for why he doesn't like games changing the desktop resolution.

This mailing list discussion has just started so check back on the thread for the latest feedback to Ryan Gordon's WM proposal.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Phoronix Test Suite 4.6.0 "Utsira" Released
  2. New Intel X.Org Driver Supports All Of Haswell
  3. SQLite Now Faster With Memory Mapped I/O
  4. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  5. Qt For Tizen Launches, Based On Qt 5.1
  6. KTAP Released For Linux Kernel Dynamic Tracing
  7. Linux 3.10-rc2 Kernel Takes In A Few Extra Pulls
  8. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  9. Handbrake 0.9.9 Supports OpenCL Offloading
  10. Freedreno Gallium3D Now Banging The Adreno A3XX
  11. Jolla Announces Their First Phone
Latest Forum Talk
  1. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  2. New Intel X.Org Driver Supports All Of Haswell
  3. Intel Linux OpenGL Driver Leading Over Apple OS X
  4. Modern Intel Gallium3D Driver Still Being Toyed...
  5. Microsoft Releases Skype For Linux 4.2, Has...
  6. Jolla Announces Their First Phone
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite