Results 1 to 12 of 12

Thread: qt4 and X11 remote display

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: qt4 and X11 remote display

    Have you verified the problem is related to the X protocol? How much bandwidth does the application consume?

  2. #2
    Join Date
    Jan 2009
    Posts
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qt4 and X11 remote display

    A single click results in a spike of 30MB/s on a full screen 1920x1200 application.
    Total network transfer itself is about 15MB on that, using a single event as the driver. since that's network transfer itself that definitely contributes to the perceived slowness. I used iftop to gather some of these statistics.

    On our own application I probably could spend a couple days trying to totally fix this problem, although our own application is good enough remotely. I'm a bit more concerned about our partner's application which processes our output.

    Customer just confirmed....the windows build of that application also runs unacceptably with windows terminal server...
    Last edited by bnolsen; 23rd January 2009 at 19:50.

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: qt4 and X11 remote display

    "Speed" won't tell us anything. How many bytes are transferred per click?

  4. #4
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qt4 and X11 remote display

    Is your main window QGraphicsView (previous QCanvas) based? Or something else? If graphics view, you can sometimes get into pathological cases where the bounding rects overlap such that everything needs to be redrawn even if only a small line changes. If this is the case, you may want to play around with QGraphicsView::setOptimizationFlags().

    But without your source code it's had to track down what's wrong. That's where support contracts come in handy, you don't have to share your source with the world in order for someone to figure out your problem.

  5. #5
    Join Date
    Jan 2009
    Posts
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qt4 and X11 remote display

    No we're not using QCanvas or QGraphicsView

    We have extremely rigorous demands for sub pixel accuracy and have all of our own precise transforms. My partner actually worked with the developer responsible for qt's engine at qt4 was being written to try get these type transforms introduced. That didn't happen.

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
  •  
Qt is a trademark of The Qt Company.