Previous Thread
Next Thread
Print Thread
Page 26 of 116 1 2 24 25 26 27 28 115 116
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Guess I was a bit too optimistic there... it's more like 500 ms, but it's at least something smile.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Someone on Windows self-compiling QMC2 (from SVN) could perhaps do me a favor and experiment with the QMC2_FILE_BUFFER_SIZE value in macros.h:

Code:
rene@thunder:~/src/qmc2> grep QMC2_FILE_BUFFER_SIZE macros.h
#define QMC2_FILE_BUFFER_SIZE                   QMC2_64K

This value seems to be perfect on Linux/ext4, but depending on the OS and file-system it could make a difference to use a smaller/larger read buffer.

Measurements you should compare (this is from QMC2 MAME / triggered a reload after the initial start-up):

Code:
...
14:56:37.617: done (loading XML game list data from cache, elapsed time = 00:02.777)
...
14:56:39.113: done (loading game data from game list cache, elapsed time = 00:01.385)
...

Last edited by qmc2; 03/27/13 01:59 PM.

A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Nov 2011
Posts: 175
O
Senior Member
Offline
Senior Member
O
Joined: Nov 2011
Posts: 175
Many tnx Rene, later test....

Joined: Dec 2009
Posts: 351
ASH Offline
Senior Member
Offline
Senior Member
Joined: Dec 2009
Posts: 351
Rene?

when Qmc2 takes a snapshot, does it apply the in game filter?

even when switched off by the user.

Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
No, but it scales the image smoothly if "native resolution" is turned on (which has a similar effect). It actually just grabs the window contents (QPixmap::grabWindow()).

Last edited by qmc2; 03/28/13 11:14 AM.

A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
@oddi: For reference, here's my full start-up log:

Code:
12:57:04.320: M.A.M.E. Catalog / Launcher II v0.39, SVN r4818 (Qt 4.8.4, SDLMAME, us)
12:57:04.321: Phonon features enabled - using Phonon v4.4.0
12:57:04.321: SDL joystick support enabled - using SDL v1.2.14
12:57:04.321: processing global emulator configuration
12:57:04.322: creating template configuration map
12:57:04.322: template info: emulator = SDLMAME, version = 0.148u2, format = 0.2.6
12:57:04.469: image cache size set to 128 MB
12:57:04.472: shortcut map is clean
12:57:04.472: joystick map is clean
12:57:04.511: SDLMAME output notifier FIFO created
12:57:04.646: loading game info DB
12:57:06.041: done (loading game info DB, elapsed time = 00:01.395)
12:57:06.041: 25922 game info records loaded
12:57:06.042: loading emulator info DB
12:57:07.302: done (loading emulator info DB, elapsed time = 00:01.259)
12:57:07.303: 8766 emulator info records loaded
12:57:07.304: loading software info DB
12:57:08.556: done (loading software info DB, elapsed time = 00:01.251)
12:57:08.556: 6336 software info records loaded
12:57:08.561: determining emulator version and supported sets
12:57:08.699: done (determining emulator version and supported sets, elapsed time = 00:00.135)
12:57:08.700: emulator info: type = MAME, version = 0.148u2
12:57:08.700: 28472 supported (non-device) sets
12:57:08.700: loading catver.ini
12:57:08.822: done (loading catver.ini, elapsed time = 00:00.122)
12:57:08.823: 19534 category / 19534 version records loaded
12:57:08.823: loading XML game list data from cache
12:57:11.648: done (loading XML game list data from cache, elapsed time = 00:02.825)
12:57:11.659: loading ROM state from cache
12:57:11.765: done (loading ROM state from cache, elapsed time = 00:00.106)
12:57:11.765: 28495 cached ROM states loaded
12:57:11.766: processing game list
12:57:11.767: loading game data from game list cache
12:57:11.774: pre-caching icons from ZIP archive
12:57:12.922: done (pre-caching icons from ZIP archive, elapsed time = 00:01.148)
12:57:12.923: 9932 icons loaded
12:57:14.209: done (loading game data from game list cache, elapsed time = 00:02.436)
12:57:15.506: sorting game list by game description in ascending order
12:57:16.032: restoring game selection
12:57:16.045: done (processing game list, elapsed time = 00:04.279)
12:57:16.046: 28406 games, 66 BIOS sets and 23 devices loaded
12:57:16.046: ROM state info: L:28495 C:25906 M:2589 I:0 N:0 U:0
12:57:16.048: applying ROM state filter
12:57:16.523: done (applying ROM state filter, elapsed time = 00:00.475)
12:57:16.524: loading favorites
12:57:16.525: done (loading favorites)
12:57:16.525: loading play history
12:57:16.525: done (loading play history)

So it takes just about 12 seconds now (here smile ).


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
@ASH: I've replaced the "native resolution" option with a drop-down menu (SVN r4819) to allow for the selection of the scale-mode. Options are: "no scaling", "original size - no filter" and "original size - filtered".


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Nov 2011
Posts: 175
O
Senior Member
Offline
Senior Member
O
Joined: Nov 2011
Posts: 175
Rene, plss post new svn, Tnx smile

Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Well, I thought someone might wanna play with the QMC2_FILE_BUFFER_SIZE value first, but OK...


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: May 2012
Posts: 429
Likes: 1
R
Senior Member
Offline
Senior Member
R
Joined: May 2012
Posts: 429
Likes: 1
Originally Posted By qmc2
Well, I thought someone might wanna play with the QMC2_FILE_BUFFER_SIZE value first, but OK...


I would have, but have really no time at the moment frown

Page 26 of 116 1 2 24 25 26 27 28 115 116

Moderated by  qmc2 

Link Copied to Clipboard
Who's Online Now
1 members (1 invisible), 17 guests, and 3 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,102
Posts119,263
Members5,019
Most Online890
Jan 17th, 2020
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com