LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-24-2011, 08:16 PM   #1
illuminatedwax
LQ Newbie
 
Registered: Apr 2004
Posts: 19

Rep: Reputation: 0
Basic Qt app doesn't redraw window properly (linux/debian)


I've compiled a basic Qt app as given in this tutorial: http://zetcode.com/tutorials/qt4tutorial/introduction/ ("Testing a Small Example").

When I run it, the window shows up but Qt doesn't draw in the background. I end up with phantoms from windows behind it: http://i.imgur.com/yg79s.png

The window will draw the background correctly when I resize it -- MOST of the time. And sometimes there will be a noticeable delay between resizing and drawing in the window.

Am I missing some libraries? Is this a bug? Maybe there's something else I can look up to find a solution?

I'm running Debian sid, my window manager is fluxbox, and my video card is a GeForce FX Go5200 64M.

I should note that this works perfectly well on another computer I have that's running Debian sid as well.
 
Old 01-25-2011, 02:04 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Hmmm ... slackware64 13.1, fluxbox 1.1.1, Intel Corporation Mobile 4 Series Chipset


No problems. I'd say it's something about how your Qt interacts w/ your graphics
driver/X11 set-up. What graphics card/device driver is the other machine of yours using?



Cheers,
Tink

Last edited by Tinkster; 01-25-2011 at 02:06 PM.
 
Old 01-25-2011, 03:53 PM   #3
illuminatedwax
LQ Newbie
 
Registered: Apr 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Tinkster View Post
Hmmm ... slackware64 13.1, fluxbox 1.1.1, Intel Corporation Mobile 4 Series Chipset


No problems. I'd say it's something about how your Qt interacts w/ your graphics
driver/X11 set-up. What graphics card/device driver is the other machine of yours using?



Cheers,
Tink
Radeon HD 3200 Graphics with the fglrx driver. This is an nVidia machine. Maybe I should google incompatibilities with Qt and my graphics card/driver?
 
Old 01-25-2011, 06:47 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Quote:
Originally Posted by illuminatedwax View Post
Radeon HD 3200 Graphics with the fglrx driver. This is an nVidia machine. Maybe I should google incompatibilities with Qt and my graphics card/driver?

Sounds like an option; and while the posts I dug up mentioning NVidia
and Qt4 problems look kind of unrelated: what happens if you start
your sample app w/
Code:
./qttest -graphicssystem raster

Cheers,
Tink
 
Old 01-26-2011, 02:48 PM   #5
illuminatedwax
LQ Newbie
 
Registered: Apr 2004
Posts: 19

Original Poster
Rep: Reputation: 0
I get the same behavior, unfortunately. I've tried it with ./test -graphicssystem native with no luck as well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Redraw problems with Window Maker General Linux - Desktop 1 06-23-2010 11:28 AM
Basic small linux to run just one app valnar Linux - Newbie 7 09-08-2009 06:10 PM
X Window Background Redraw Error Muraii Linux - Software 3 11-20-2007 08:51 PM
Redraw the Root Window pxumsgdxpcvjm Linux - General 3 02-22-2007 02:26 AM
Slow window redraw with Mobility Radeon 9000 NightShade737 Linux - Laptop and Netbook 2 11-21-2006 08:56 AM


All times are GMT -5. The time now is 01:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration