drneau.com Forum Index drneau.com
A discussion board for drneau.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Change console layout, bogging down laptop, why???

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    drneau.com Forum Index -> The v2 Bucket
View previous topic :: View next topic  
Author Message
patiolanterns
"Ace High"


Joined: 15 Aug 2006
Posts: 7

PostPosted: Wed Apr 18, 2007 11:49 pm    Post subject: Change console layout, bogging down laptop, why??? Reply with quote

I copied the default play console, and then hit design.
I removed everything except chips on the left (we use 9 colors).
Title at the top
next line has time to break with the countdown (i did make it larger for easier visibilty), cause if I hear how much longer til break i'll friggin lose it!!! Blind level, and time of day
next line is the actual blind, again made bigger.
and then the next blind level on the bottom.
When we were playing last week, someone pointed out that it seems late before the break, we start at 7:45pm, 4 blind increases at 15 minutes each=1 hour, this was pointed out at 8:30 with still 10 minutes til break, holy crap, that was way off!!!
I did some time checks, and it looks like we were losing around 12 secs per minute.
I pulled up the good old ctrl,alt,delete to check what resources were being used on the laptop, and the application was running 97-100% of the systems resources. I switched back to the default screen for play, and viloa! it only uses 26% of the resources??????
What boggles my mind is-The default console has all that information on it, yet runs 26%, mine has a very limited amount of info and is using 100%??????
Anyone know what might be wrong?
Could it be the size of the display, i believe i am using 200 bold for the countdown blind?
I could maybe get a screenshot to show oyu and I will post it later.
Anyone have anything to help me past this problem would be very much appreciated!
I have switched back to the defautl for now.
Back to top
View user's profile Send private message
patiolanterns
"Ace High"


Joined: 15 Aug 2006
Posts: 7

PostPosted: Thu Apr 19, 2007 12:12 am    Post subject: Here's a screenshot Reply with quote



I had forgotten to mention that the laptop has 194mb RAM, not a lot, but i didn't think the application used very much RAM.

I have tried it on 3 different laptops as well, same problem (some run slower than others)
Again, looking at the display from the main one, I would think it would use a lot less resources than the default that has way more info on it.

Thanks again
Pat
Back to top
View user's profile Send private message
patiolanterns
"Ace High"


Joined: 15 Aug 2006
Posts: 7

PostPosted: Fri Apr 20, 2007 10:09 pm    Post subject: I may have solved it? Reply with quote

I had to make all the fonts smaller, and lose some of the bold (if I left them anyways big).
Got it down to using approx 20-30% of resources, will settle for that.
l8tr!
Back to top
View user's profile Send private message
drneau
Site Admin


Joined: 13 Feb 2005
Posts: 2385
Location: Woodbury, MN

PostPosted: Sat Apr 21, 2007 2:54 pm    Post subject: Re: I may have solved it? Reply with quote

patiolanterns wrote:
I had to make all the fonts smaller, and lose some of the bold (if I left them anyways big).
Got it down to using approx 20-30% of resources, will settle for that.
l8tr!


I *think* this is what's happening.

I believe in v2, the font sizes are constantly being recalculated every time the text is redrawn. So, if you set the font size super big, each time the text is redrawn a BUNCH of recalculation is being done.

So, for instance, if you say the font size should be 200, but the largest it can display and still fit the required text is 100. It tries 200, then tries 199, then tries 198...until 100 works. Every time the font is redrawn.
That's stupid.

In v3, the font sizes are cached...recalculation is only done when the size of the component changes.
_________________
--
Dr. Neau (not a real doctor)
http://drneau.com
http://home.comcast.net/~jneau
Back to top
View user's profile Send private message Send e-mail Visit poster's website
pfapfap
"A Set of Mop Squeezers"


Joined: 06 Jul 2006
Posts: 51
Location: O-Town

PostPosted: Sun Apr 22, 2007 8:28 am    Post subject: Reply with quote

Oh, wow, now you tell us.

Hmm, may have to rework the consoles as I wait patiently for v3...
_________________
Wherever you go, there you are.
Back to top
View user's profile Send private message Visit poster's website AIM Address
drneau
Site Admin


Joined: 13 Feb 2005
Posts: 2385
Location: Woodbury, MN

PostPosted: Sun Apr 22, 2007 9:04 am    Post subject: Reply with quote

pfapfap wrote:
Oh, wow, now you tell us.

Hmm, may have to rework the consoles as I wait patiently for v3...


I should correct myself.

In v3, the recalculation is done only when one of the following changes:
- The font style (bold, etc)
- The font family (Serif, etc)
- The preferred font size
- The size of the component
- The text being displayed

BTW, if I didn't do this recalculation, you'd have a lot of partially-displayed text, because the size you picked was too big for the available space...so I shink it down until it fits.

If you think *that's* stupid (what I was doing in v2 for static text components), you should see what I was doing for marquees... Embarassed
_________________
--
Dr. Neau (not a real doctor)
http://drneau.com
http://home.comcast.net/~jneau
Back to top
View user's profile Send private message Send e-mail Visit poster's website
drneau
Site Admin


Joined: 13 Feb 2005
Posts: 2385
Location: Woodbury, MN

PostPosted: Sun Apr 22, 2007 9:06 am    Post subject: Reply with quote

drneau wrote:
pfapfap wrote:
Oh, wow, now you tell us.

Hmm, may have to rework the consoles as I wait patiently for v3...




I should correct myself.

In v3, the recalculation is done only when one of the following changes:
- The font style (bold, etc)
- The font family (Serif, etc)
- The preferred font size
- The size of the component
- The text being displayed

BTW, if I didn't do this recalculation, you'd have a lot of partially-displayed text, because the size you picked was too big for the available space...so I shink it down until it fits.

If you think *that's* stupid (what I was doing in v2 for static text components), you should see what I was doing for marquees... Embarassed

BTW, the reason this becomes a limiting factor is when the computer can't keep up with all of the object being created. Super fast machines probably don't see a problem, whereas lower end machines will notice more of an effect. v3 will make this MUCH better.
_________________
--
Dr. Neau (not a real doctor)
http://drneau.com
http://home.comcast.net/~jneau
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Calendyr
"Miracle Flush"


Joined: 17 Aug 2006
Posts: 121
Location: Montreal

PostPosted: Sun Jun 24, 2007 4:36 am    Post subject: Reply with quote

Dang... any way to have the software show correct time... our tournaments are already on a very tight schedule, can't have blind increasing slower than they are supposed to!

Otherwise... when is V3 coming out? I seems to have been waiting for ever for it since V2 did not really suit my needs. Last time I check was about 6 months ago and a beta was available for interface design... how much closer are we to release?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
drneau
Site Admin


Joined: 13 Feb 2005
Posts: 2385
Location: Woodbury, MN

PostPosted: Sun Jun 24, 2007 7:46 am    Post subject: Reply with quote

Calendyr wrote:
Dang... any way to have the software show correct time... our tournaments are already on a very tight schedule, can't have blind increasing slower than they are supposed to!

Otherwise... when is V3 coming out? I seems to have been waiting for ever for it since V2 did not really suit my needs. Last time I check was about 6 months ago and a beta was available for interface design... how much closer are we to release?


Right now, I'm hoping for the fall.
_________________
--
Dr. Neau (not a real doctor)
http://drneau.com
http://home.comcast.net/~jneau
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    drneau.com Forum Index -> The v2 Bucket All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group