Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Vista: Failed to change display mode for fullscreen  (Read 2275 times)

0 Members and 1 Guest are viewing this topic.

Gamer Gamester

  • Newbie
  • *
  • Posts: 3
    • View Profile
Vista: Failed to change display mode for fullscreen
« on: July 27, 2010, 10:44:05 pm »
I've been testing my work-in-progress on as many machines as possible.

SFML (and my game on top of it) have worked flawlessly on my Windows XP laptop, my Ubuntu 10.04 (same laptop), and OS X Tiger (old PowerPC computer).

A friend of mine has a laptop with Vista, so I decided to test the game on this OS as well.  It works fine, except when attempting fullscreen std::err prints "Failed to change display mode for fullscreen" and instead of fullscreen I get a window with a titlebar and no controls.  This behavior occurs regardless of which VideoMode I use (typically the DesktopMode, which SFML detects correctly).

Any ideas?  It's a Dell laptop with a pretty lousy Intel integrated graphics card (though my game runs fine in a window).  I'd be happy to obtain any further details for you all that might be useful.  Help is much appreciated!

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Vista: Failed to change display mode for fullscreen
« Reply #1 on: July 27, 2010, 10:46:04 pm »
That's weird. Have you tried to update the graphics drivers? Are you able to run other fullscreen applications on that laptop?
Laurent Gomila - SFML developer

Gamer Gamester

  • Newbie
  • *
  • Posts: 3
    • View Profile
Vista: Failed to change display mode for fullscreen
« Reply #2 on: July 27, 2010, 10:58:47 pm »
Other applications do fullscreen just fine (though I'm not sure if they're OpenGL contexts or not, or if that even makes a difference... I'll try to test one that I know is OpenGL).

I'm not sure if the graphics drivers could use updating, I'll check on that as well and post back.

By the way, thanks for all your hard work on SFML -- the interface is quite elegant and intuitive -- it's fun to use!

Gamer Gamester

  • Newbie
  • *
  • Posts: 3
    • View Profile
Vista: Failed to change display mode for fullscreen
« Reply #3 on: July 28, 2010, 01:35:24 am »
The graphics card drivers were indeed outdated, so I updated them.
However, the problem persisted.

Desperate to find a solution, I tried disabling "Panel Fitting" (not even sure what exactly this is) and, lo and behold, fullscreen worked perfectly!  What's odd is that fullscreen still works now even if I re-enable Panel Fitting.  I can't get it to break anymore since that first time I toggled Panel Fitting.

Vista is weird.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Vista: Failed to change display mode for fullscreen
« Reply #4 on: July 28, 2010, 08:17:49 am »
:mrgreen:
Laurent Gomila - SFML developer