LinHES Forums
http://forums.linhes.org/

GUI drawing is really slow.
http://forums.linhes.org/viewtopic.php?f=17&t=17969
Page 1 of 1

Author:  Grant_Edwards [ Wed Feb 27, 2008 10:05 am ]
Post subject:  GUI drawing is really slow.

I recently changed the resolution that one of my KM boxes is
running at from 640x480 to 1280x768. Now some of the GUI
screens (e.g. the "watch recording" file selector) take a long
time (about 2 seconds) to paint. It's pretty annoying. I
disabled use of transparency so the selector boxes now have a
black background, but that didn't make any difference. I tried
switching from Qt to OpenGL, but OpenGL doesn't draw anything
at all (you never see anything except the theme's background).

The graphics card is an on-board ATI IGP 9100, which isn't too
shabby and certainly should be able to update the screen in
under 2 seconds.

Any ideas on what causes the GUI to be so sluggish?

Author:  jzigmyth [ Wed Feb 27, 2008 11:56 am ]
Post subject: 

Judging from This Thread, others have seen this and it may be dependent on what theme you have selected.
Ziggy

Author:  Grant_Edwards [ Wed Feb 27, 2008 3:02 pm ]
Post subject: 

jzigmyth wrote:
Judging from This Thread, others have seen this and it
may be dependent on what theme you have selected. Ziggy

Thanks. I'll try some different themes and see if it makes a
difference. It's a 2GHz P4 with 1GB of RAM, so it's hard to
understand how a what's basically a file selector dialog could
bring the machine to its knees. I don't even have thumbnails
enabled, so the Myth frontend GUI code must be doing something
in an amazingly inefficient manner.

Author:  grante [ Thu Feb 28, 2008 1:59 pm ]
Post subject: 

Grant_Edwards wrote:
Thanks. I'll try some different themes and see if it makes a
difference.

I tried a few other themes, (including the ones reported to
work better at higher resolutions in the above-mentioned
thread), and it doesn't help. :/

Author:  tjc [ Thu Feb 28, 2008 6:39 pm ]
Post subject: 

Are you using the OpenGL rendering? All that eye candy can really drag the CPU down...

Author:  Grant_Edwards [ Thu Feb 28, 2008 9:00 pm ]
Post subject: 

tjc wrote:
Are you using the OpenGL rendering? All that eye candy can really drag the CPU down...


No, I'm using Qt.
Quote:
I tried switching from Qt to OpenGL, but OpenGL doesn't draw
anything at all (you never see anything except the theme's
background).


One thing I have noticed: after changing themes, the program
selector dialog is pretty snappy the first time I use it, but
then it goes back to the 2-second redraw mode.

I've been keeping an eye on the disk activity LED, and it's not
coming on when I scroll up/down through the program list. I'm
also checking memory usage, and memory used for
non-buffer-cache data doesn't seem to ever get higher than
about 60%.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/