Emulating MT-32 on an RPi2

General information and assistance with Munt.

Re: Emulating MT-32 on an RPi2

Postby kiwa » 2017-8-25 @ 21:58

Hi,

So i compiled this on my orange pi one, seems to work, but i get high cpu usage and constant Output buffer underrun, idk if my device is just underpowered or i did something wrong compiling munt, can anyone give me some pointers?

Screen Shot 2017-08-25 at 6.56.37 PM.png


thanks
User avatar
kiwa
Newbie
 
Posts: 48
Joined: 2016-1-22 @ 19:44
Location: Santiago, Chile

Re: Emulating MT-32 on an RPi2

Postby gdjacobs » 2017-8-26 @ 06:28

kiwa wrote:So i compiled this on my orange pi one, seems to work, but i get high cpu usage and constant Output buffer underrun, idk if my device is just underpowered or i did something wrong compiling munt, can anyone give me some pointers?


It could be either one. This is typical behavior for a build of Munt which is either unoptimized or running on an underpowered platform. Please show what you get from uname -a, identify what processor the OPi in question runs, and what compiler version and compiler flags were used to build Munt.
User avatar
gdjacobs
l33t
 
Posts: 3924
Joined: 2015-11-03 @ 05:51
Location: The Great White North

Re: Emulating MT-32 on an RPi2

Postby kiwa » 2017-8-26 @ 21:20

Thanks,

From uname i get:
Linux orangepipc 3.4.113-sun8i #16 SMP PREEMPT Tue Jun 13 14:15:57 CEST 2017 armv7l GNU/Linux

The cpu:
Architecture: armv7l
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
CPU max MHz: 1536.0000
CPU min MHz: 480.0000

gcc version and my flags:
gcc version 4.9.2 (Debian 4.9.2-10)

export CCFLAGS="-Ofast -mcpu=cortex-a53 -mfpu=neon-vfpv4 -funsafe-math-optimizations”
export CXXFLAGS="-Ofast -mcpu=cortex-a53 -mfpu=neon-vfpv4 -funsafe-math-optimizations”
User avatar
kiwa
Newbie
 
Posts: 48
Joined: 2016-1-22 @ 19:44
Location: Santiago, Chile

Re: Emulating MT-32 on an RPi2

Postby gdjacobs » 2017-8-27 @ 01:47

That all looks in order. What does the OrangePi use for a power supply? Could it be downclocking because of low voltage? Could the cores be getting hot and the SoC downclocking to protect itself?
User avatar
gdjacobs
l33t
 
Posts: 3924
Joined: 2015-11-03 @ 05:51
Location: The Great White North

Re: Emulating MT-32 on an RPi2

Postby mrau » 2017-8-27 @ 23:26

change the governor? in case you see low cpu clocks while under load of course; whats the performance when playing to a file or playing a simple file without emu? how is sound set up in general?
mrau
Oldbie
 
Posts: 793
Joined: 2015-11-28 @ 12:43

Re: Emulating MT-32 on an RPi2

Postby gdjacobs » 2017-8-28 @ 06:42

Excellent thought. What is your audio driver? How extensively have you tested it?
User avatar
gdjacobs
l33t
 
Posts: 3924
Joined: 2015-11-03 @ 05:51
Location: The Great White North

Previous

Return to MT-32 General

Who is online

Users browsing this forum: No registered users and 1 guest