Results 1 to 2 of 2

Thread: QGLWidget 30 fps maximum on Windows XP

  1. #1
    Join Date
    Feb 2009
    Posts
    33
    Thanks
    6
    Thanked 7 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default QGLWidget 30 fps maximum on Windows XP

    I'm trying to get a QGLWidget to swap buffers at 60 fps (the monitor refresh rate), but it seems no matter what I try, the fps maxes out at 30 fps. If I drag a corner of the window to resize the main window containing the QGLWidget, the fps jumps and starts approaching 60 fps, but as soon as I stop dragging the fps drops back down to a rock-solid 30 fps.

    I've read that "window manager" may be responsible for such a low frame-rate, but I'm not sure what that means or if it's even relevant (there's so much conflicting info re: opengl out there -- so many things to try that don't work).

    Does anyone know what's going on -- why is the fps seemingly locked to 30 fps?

    Frustrated,
    ~ andy.f

  2. #2
    Join Date
    Feb 2009
    Posts
    33
    Thanks
    6
    Thanked 7 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QGLWidget 30 fps maximum on Windows XP

    Whelp, 30 fps definitely seems to be the maximum for WinXP (on my machine, anyway). I tested the qml-scenegraph qt-labs project on the same machine using Windows 7, and the fps is not limited to 30 fps like it is on XP. I guess that's what's meant by "window manager".

    At least I've got a good reason to switch to Win7, now =)

    Cheers,
    ~ andy.f

Similar Threads

  1. QGLWidget Problems on Windows OS
    By blackrue in forum Qt Programming
    Replies: 0
    Last Post: 18th December 2009, 20:33
  2. Replies: 3
    Last Post: 24th August 2009, 14:41
  3. Maximum Speed Needed
    By lixo1 in forum Qt Programming
    Replies: 35
    Last Post: 22nd March 2009, 22:27
  4. other windows affecting depth buffer in QGLwidget
    By mullwaden in forum Qt Programming
    Replies: 0
    Last Post: 10th September 2008, 13:43
  5. QGLWidget and multiple windows
    By ToddAtWSU in forum Qt Programming
    Replies: 1
    Last Post: 21st November 2006, 13:38

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.