Opened 3 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)

gl-calls-monkey2-macintosh.png (72.2 KB ) - added by dwatteau 3 hours ago.
OSX Leopard's OpenGL profiler output when running the game
gl-calls-monkey2-macintosh.txt (41.2 KB ) - added by dwatteau 3 hours ago.
OSX Leopard's OpenGL profiler raw output (text format)
instruments-monkey2-macintosh-running-sample-times-sort.png (108.5 KB ) - added by dwatteau 3 hours ago.
OSX Leopard's Instruments output when running the game
Instruments Monkey2 Macintosh OSX 10.5.trace.zip (302.1 KB ) - added by dwatteau 3 hours ago.
OSX Leopard's Instruments project file -- probably requires an an old release of Instruments (circa Leopard/Snow Leopard?)
scummvm-monkey2-macintosh-performance-sample.prof.gz (10.5 KB ) - added by dwatteau 3 hours ago.
OSX Leopard's raw 'sample' output (Linux perf equivalent)
filtercalltree-monkey2-macintosh-performance-sample.txt (110.0 KB ) - added by dwatteau 3 hours ago.
OSX Leopard's 'sample' output processed with filtercalltree
flamegraph-monkey2-macintosh-performance-sample.svg (147.8 KB ) - added by dwatteau 3 hours ago.
flamegraph output made from OSX Leopard's 'sample' output

Download all attachments as: .zip

Change History (7)

by dwatteau, 3 hours ago

OSX Leopard's OpenGL profiler output when running the game

by dwatteau, 3 hours ago

OSX Leopard's OpenGL profiler raw output (text format)

by dwatteau, 3 hours ago

OSX Leopard's Instruments output when running the game

by dwatteau, 3 hours ago

OSX Leopard's Instruments project file -- probably requires an an old release of Instruments (circa Leopard/Snow Leopard?)

by dwatteau, 3 hours ago

OSX Leopard's raw 'sample' output (Linux perf equivalent)

by dwatteau, 3 hours ago

OSX Leopard's 'sample' output processed with filtercalltree

by dwatteau, 3 hours ago

flamegraph output made from OSX Leopard's 'sample' output

Note: See TracTickets for help on using tickets.