Opened 2 hours ago
#15492 new defect
SCUMM: MONKEY2 (MAC): Slow rendering with Macintosh titles on OSX PPC in 2.9.0pre
Reported by: | dwatteau | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | Engine: SCUMM |
Version: | Keywords: | macintosh, performance, rendering | |
Cc: | Game: | Monkey Island 2 |
Description
Current Git HEAD on OSX PPC (either 10.4 or 10.5).
Built with GCC 7.5.0 and optimizations.
As an example, the following Monkey2 configurations run fine:
- Monkey Island 2 DOS/English on the same machine
- Monkey Island 2 Macintosh in ScummVM 2.8.x with the same settings
but the following config has performance problems:
- Monkey Island 2 Macintosh on current ScummVM 2.9.0pre
When I play the Macintosh in full screen, the FPS feels slow. Guybrush walking from the right to the left of the screen after talking with Bart & Fink, or Guybrush crossing the Woodtick bridge before meeting Largo, is quite slow and interrupted.
Typing rough
in order to disable the smooth graphics effect doesn't appear to fix the problem. I can't say if the issue is related to that, or the new MacGUI interface, or the gamma correction, or something else.
I'm attaching performance analysis output below.
Attachments (7)
Change History (7)
by , 2 hours ago
Attachment: | gl-calls-monkey2-macintosh.png added |
---|
by , 2 hours ago
Attachment: | gl-calls-monkey2-macintosh.txt added |
---|
OSX Leopard's OpenGL profiler raw output (text format)
by , 2 hours ago
Attachment: | instruments-monkey2-macintosh-running-sample-times-sort.png added |
---|
OSX Leopard's Instruments output when running the game
by , 2 hours ago
Attachment: | Instruments Monkey2 Macintosh OSX 10.5.trace.zip added |
---|
OSX Leopard's Instruments project file -- probably requires an an old release of Instruments (circa Leopard/Snow Leopard?)
by , 2 hours ago
Attachment: | scummvm-monkey2-macintosh-performance-sample.prof.gz added |
---|
OSX Leopard's raw 'sample' output (Linux perf equivalent)
by , 2 hours ago
Attachment: | filtercalltree-monkey2-macintosh-performance-sample.txt added |
---|
OSX Leopard's 'sample' output processed with filtercalltree
by , 2 hours ago
Attachment: | flamegraph-monkey2-macintosh-performance-sample.svg added |
---|
flamegraph output made from OSX Leopard's 'sample' output
OSX Leopard's OpenGL profiler output when running the game