Gimptalk - Premier Gimp Community: High GIMP CPU Utilization from Matching Ants - Gimptalk - Premier Gimp Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

High GIMP CPU Utilization from Matching Ants

#1 User is offline   SAbboushi 

  • Member
  • PipPip
  • Group: Members
  • Posts: 38
  • Joined: 29-June 10

Posted 30 July 2010 - 04:24 AM

Has anyone else experienced this? When I have a selection (e.g. fuzzy select on white background), my CPU utilization jumps to over 40% until I "select none" and then it drops down to 0%. Wondering if it might have to do with the "marching ants"? -- Looks to me like it must be the "marching ants" - when I press ctrl/T to toggle "Show Selection", GIMP is using 40%+ CPU. When I press ctrl/T again, GIMP CPU utilization drops to 0%.

I've got a dual processor running Vista 64 with 4GB RAM and 2GB allocated for tile management. GIMP 2.6.10
0

#2 User is offline   lylejk 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 1,361
  • Joined: 19-November 07

Posted 31 July 2010 - 03:08 AM

This only happens to me when I have complex selections. I still get some CPU usage increase on simple selections too. I sometimes just go to View and unclick show selection. This helps extremly, especially when the selection is complex. If you need an idea of what is actually selected, you can toggle the quick mask button. Hope that helps. :)
0

#3 User is offline   PhotoComix 

  • GT Senior Moderator
  • Group: Senior Moderators
  • Posts: 11,256
  • Joined: 13-June 05

Posted 01 August 2010 - 01:32 PM

i believe the problem happens then there are sprays of selected pixels closely surrounded by unselected pixels and so on

in the display the mimum boundary of marching ant is bigger then 1 pixel,so how to render when selected and uselected pixels are closely mixed ?
i notice that for complex selection the marching ants display may become flashy but the problems disappear just growing the selection of 1 or 2 pixel (then may even be shrinked back )

Obviously you should have no CPU issue to see even very complex selection in quickmask, because there is no problem to render the selection of single pixels... may be even better because quickmask shows the partially selected pixels
0

#4 User is offline   SAbboushi 

  • Member
  • PipPip
  • Group: Members
  • Posts: 38
  • Joined: 29-June 10

Posted 02 August 2010 - 01:09 AM

Thanks - looks like Quick Mask wins!
0

#5 User is offline   saulgoode 

  • Retired Staff
  • PipPipPip
  • Group: Retired Staff
  • Posts: 5,324
  • Joined: 22-August 05

Posted 02 August 2010 - 03:31 AM

You might try reducing the speed of the marching ants. This is accomplished by increasing the duration value specified in "Edit->Preferences->Image Windows".
Everybody makes their own fun. If you don't make it yourself it's not fun, it's entertainment.
0

#6 User is offline   SAbboushi 

  • Member
  • PipPip
  • Group: Members
  • Posts: 38
  • Joined: 29-June 10

Posted 03 August 2010 - 01:49 AM

Thanks - I set it to 1000 (the max) and it helped a lot, but it still slows down many processes significantly like decompose - and I've got a decent nvidia graphics card...
0

#7 User is offline   lylejk 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 1,361
  • Joined: 19-November 07

Posted 03 August 2010 - 02:03 AM

I set mine to 1000 over a long time back; trust me, turn selection ants off. Your filters will even run faster (if you use filters after selections that is). What's really needed is a static view selection option (something like path's view) if folk want to see the selection. Not sure what the algorithm is for doing the marching ants, but it needs a major update. :)
0

#8 User is offline   SAbboushi 

  • Member
  • PipPip
  • Group: Members
  • Posts: 38
  • Joined: 29-June 10

Posted 03 August 2010 - 06:15 AM

k thanks!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic