Results 1 to 3 of 3

Thread: QT 4.7.2 : Hardware Accelaration causes font corruption and images not displayed

  1. #1

    Question QT 4.7.2 : Hardware Accelaration causes font corruption and images not displayed

    Hello,

    I have been developing a QT Application using Visual Studio IDE and QT 4.7.1 and 4.7.2. The application uses DrawText (Arial font) and also displays GIF and JPG images using QPainter::drawPixmap. The font and images were good on my laptop and some other laptops. But then we had to use this on multiple machines including desktops. On most of the desktops, images were not displayed and text was garbled. We then found that changing Hardware Acceleration setting from Full to None; and Unchecking "Enable write combining" in the display properties fixes the problem. This means hardware acceleration worsens the graphics in this scenario.
    Does anyone have more information on this, what is causing this. Can this display be made independent of Hardware Acceleration settings.

    We have to distribute this software to external clients and we should not require to ask them to change hardware acceleration settings.

    Thanks in advance.
    Anil

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QT 4.7.2 : Hardware Accelaration causes font corruption and images not displayed

    Since the deployed software didn't change, and the surrounding environment did, the trigger/cause is in the surrounding environment. Isolation of the problem requires more than just the Qt version number. "Hardware Acceleration" is a setting of the video driver, and write-combining is a low level motherboard behaviour setting, and nothing that is within Qt's control.

    How about you share a little information about what was common between the machines it did not work on.

    What is the video hardware? Is that common between malfunctioning devices?
    What is the video driver version? Is it the latest available? Is that common between malfunctioning devices?
    What is the operating system? Is that common between malfunctioning devices?
    Does the problem persist if you start your application with the software raster renderer? (Should be the default on Windows but worth a try)
    Qt Code:
    1. myexe -graphicssystem raster
    To copy to clipboard, switch view to plain text mode 
    Have you searched Qt bug reports for the video hardware type?

  3. #3

    Default Re: QT 4.7.2 : Hardware Accelaration causes font corruption and images not displayed

    Response:

    What is the video hardware? Is that common between malfunctioning devices?
    Mostly common but not all. All desktops had the problem but one laptop also has the problem. Desktops have Plug and Play Monitor. Display adapter "Intel(R) 946GZ Express Chipset Family".

    What is the video driver version? Is it the latest available? Is that common between malfunctioning devices?
    Video driver version is not the latest but is common between malfunctioning devices.

    What is the operating system? Is that common between malfunctioning devices?
    OS is XP SP2. Is common among all devices including the ones where it works.

    Does the problem persist if you start your application with the software raster renderer? (Should be the default on Windows but worth a try)
    I will try this.

    Thanks for your advise, based on that I will try updating the driver etc. I am also hoping for something within QT that should fix this problem.

    Anil

Similar Threads

  1. memory corruption
    By Rambobino in forum Qt Programming
    Replies: 2
    Last Post: 10th August 2010, 21:35
  2. Replies: 0
    Last Post: 2nd August 2010, 11:17
  3. gif formate images is not displayed in linux
    By addu in forum Qt Programming
    Replies: 2
    Last Post: 11th November 2009, 06:37
  4. Images/icons. It's not displayed
    By LMZ in forum Qt Tools
    Replies: 37
    Last Post: 18th May 2007, 14:55
  5. Widget corruption
    By grzywacz in forum Qt Tools
    Replies: 5
    Last Post: 28th May 2006, 11:48

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.