Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: AtomicFe question  (Read 2290 times)

0 Members and 1 Guest are viewing this topic.

protokatie

  • I DO try to be insulting and horrible to my fellow Terran
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1396
  • Last login:March 27, 2012, 09:36:43 pm
  • Is anyone here a member of team retard?
AtomicFe question
« on: July 01, 2008, 11:48:29 pm »
I nearly finished my basic layout with atomicFE and thought it odd that it is constantly using 100% of the CPU. I have a 2 gHz cpu and DDR2 ram. The funny thing is tho, that I don't have any videos or animation effect at all in the front end. So basically, the only time anything changes on the screen is when I hit a direction button.

What could be causing AFE to use so much CPU time when there are no animations and such?

Just for info: The layout has 3 pic objects (snap dyn custom 1 and 2), it has the text list and a static pic (which is a blown up black pixel that I use to make dyn custom 2 be 50% darkened.




Here is my basic test pic. Note: the background and some other elements will be changed, and I was going to add borders for the various boxes. (Also, the snaps pic will eventually be different from the title pic behind the text list.)

Any ideas why this is constantly using 100% CPU time on a 2 gHz machine, when nothing is changing on screen?

Thanx.
« Last Edit: July 01, 2008, 11:53:08 pm by protokatie »
--- Yes I AM doing this on purpose, and yes I DO realize it is pissing you off.

---If my computers were cats, my place would look like an old widows house, with half of the cats having obvious health problems

youki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1612
  • Last login:November 19, 2016, 01:07:33 pm
  • Atomic Front End Creator
    • Atomic Front End
Re: AtomicFe question
« Reply #1 on: July 02, 2008, 03:34:54 am »
Hi,

Atomic is made like a video game, is refreshing permently his screen even if nothing change on the screen.

The problem is not the CPU it consume, the problem is : is it slow or not?

Don't worry about CPU consumption while Atomic is in foreground.  When Atomic is running a game or emulator  its own  CPU consumption go back to  0%. Atomic sleeps , and let all the power to the game.

Now, if you find your layout reacts too slow (it should not) , i can work with you to fix that.   I use more sophisticated layout on old celeron 500mhz...

FYI, if you use a multi-cpu or hyperthreaded , the CPU usage won't be 100% of course. On machine i tested it uses around 40%.

So except if you really have performance problem don't worry about the CPU usage of Atomic.





SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1146
  • Last login:May 31, 2025, 10:10:32 pm
Re: AtomicFe question
« Reply #2 on: July 02, 2008, 10:56:31 am »

protokatie

  • I DO try to be insulting and horrible to my fellow Terran
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1396
  • Last login:March 27, 2012, 09:36:43 pm
  • Is anyone here a member of team retard?
Re: AtomicFe question
« Reply #3 on: July 03, 2008, 02:28:27 am »
Youki, that I what I "feared". I was hoping it was something I did, but I did imagine that AFE just pumped out as many frames as it can. The only problem I have with it is that I dont want my MAME cab to be using 100% cpu time when sitting idle (100% cpu 24/7 is a good way to kill a cpu in a matter of a few years). Is there any way in future releases (or even as a patch) that you could allow user selectable framerates to make it so AFE doesnt constantly use 100% of the cpu all the time? (IE like after 15 seconds, have the thing go to 3 frames a second with the program being idle between frames, or even have the program stop running after a set time until new input is added)
--- Yes I AM doing this on purpose, and yes I DO realize it is pissing you off.

---If my computers were cats, my place would look like an old widows house, with half of the cats having obvious health problems

youki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1612
  • Last login:November 19, 2016, 01:07:33 pm
  • Atomic Front End Creator
    • Atomic Front End
Re: AtomicFe question
« Reply #4 on: July 03, 2008, 03:46:50 am »
I think i can do easily a plugin for that.

Or if it is not urgent, just wait few weeks the next version is coming and i think i could introduce this feature in the engine itself.

Speaking about that, i remember to have done this kind of option few time ago for my personnal test. I think it is still in the engine.  I will dig in my code tonight to see if i can find it!


youki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1612
  • Last login:November 19, 2016, 01:07:33 pm
  • Atomic Front End Creator
    • Atomic Front End
Re: AtomicFe question
« Reply #5 on: July 03, 2008, 04:01:47 am »
I was just thinking. If you enable a windows screensaver. (the windows's one, not Atomic one) . When the screensaver is running Atomic sleeps! And should consume 0% of CPU.

Atomic sleeps each time it is not in foreground.



protokatie

  • I DO try to be insulting and horrible to my fellow Terran
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1396
  • Last login:March 27, 2012, 09:36:43 pm
  • Is anyone here a member of team retard?
Re: AtomicFe question
« Reply #6 on: July 31, 2008, 01:29:54 am »
I was just thinking. If you enable a windows screensaver. (the windows's one, not Atomic one) . When the screensaver is running Atomic sleeps! And should consume 0% of CPU.

Atomic sleeps each time it is not in foreground.





Well I guess I will just do that instead. I was going to have the monitor go blank (IE standby) after 5 minutes of no input anyways, so might as well use the blank windows screensaver too...

BTW, I am 95% finished with my front end setup. The only things left are to fill out the intrsuction card (this will be after the cab is built) and a few cleanups here and there. Here are some snaps of it (only looks good when full size). I decided to go with a simple and straight forward look (easy on the eye, but no real need for added bling). If anyone has any suggestions about minor tweaks I could do to it, please say so.


(Here are the links to the 800x600 images, as they look crappy scaled down)
http://s102.photobucket.com/albums/m105/protoplatapus/?action=view&current=screen1.jpg
http://s102.photobucket.com/albums/m105/protoplatapus/?action=view&current=screen2.jpg
http://s102.photobucket.com/albums/m105/protoplatapus/?action=view&current=screen3.jpg







--- Yes I AM doing this on purpose, and yes I DO realize it is pissing you off.

---If my computers were cats, my place would look like an old widows house, with half of the cats having obvious health problems

youki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1612
  • Last login:November 19, 2016, 01:07:33 pm
  • Atomic Front End Creator
    • Atomic Front End
Re: AtomicFe question
« Reply #7 on: July 31, 2008, 03:55:25 am »
Very nice layout.  :applaud:

protokatie

  • I DO try to be insulting and horrible to my fellow Terran
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1396
  • Last login:March 27, 2012, 09:36:43 pm
  • Is anyone here a member of team retard?
Re: AtomicFe question
« Reply #8 on: August 01, 2008, 12:15:11 am »
Very nice layout.  :applaud:

Thanx! Now lets see how I can use my alpha channel method I discovered to make the selector bar look a little better :D


EDIT: also, still, if anyone has suggestions about how to make my layout any better, please speak up!
« Last Edit: August 01, 2008, 12:31:08 am by protokatie »
--- Yes I AM doing this on purpose, and yes I DO realize it is pissing you off.

---If my computers were cats, my place would look like an old widows house, with half of the cats having obvious health problems