Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Start mm-renderer Service AoLoadConfig: could not open mmr.conf or default.conf (2): (3 Items)
   
Start mm-renderer Service AoLoadConfig: could not open mmr.conf or default.conf (2)  
Product Name: QNX Software Development Platform - Perpetual - Named User Developer License (ver. 7.1.0)
On x86-64-generic BSP
start mm-render service command line
#!/bin/sh
mkdir -p /pps/services/multimedia/renderer/
slogger2
mm-renderer -v -N 0 -e -f &

the message:
slogger2 appears to have been restarted, performing cleanup...
# 27.558[6] Created directory /pps/services/multimedia/renderer/context?nopersist (555)
27.558[6] Created directory /pps/services/multimedia/renderer/component?nopersist (555)
27.559[5] Initializing "Single-track engine plugin" (mmr-track-engine.so)
27.559[5] Initialized "Single-track engine plugin" (mmr-track-engine.so)
27.560[5] Initializing "QNX MMF routing plugin" (mmr-mmf-routing.so)
27.560[6] MMF router: suspend_string could be 75 bytes instead of 84
27.560[2] AoLoadConfig: could not open mmr.conf or default.conf (2)
27.560[3] No AIO config file, trying the old MmInitialize()
27.565[5] [tid=1] static int32_t rtp::reader::AOConfig::VerifyAll():47 config done
27.572[3] A filter has the AOStreamInspector interface but no AOStreamMimetypes string, we will not publish its MIME 
info
27.572[6] MMF router (built on Sep 23 2021 at 01:14:37) initialized
27.572[5] Initialized "QNX MMF routing plugin" (mmr-mmf-routing.so)
27.572[5] Initialization complete
====================================================
AoLoadConfig: could not open mmr.conf or default.conf (2)

How to define the mmr.conf or defualt.conf?
Re: Start mm-renderer Service AoLoadConfig: could not open mmr.conf or default.conf (2)  
> How to define the mmr.conf or defualt.conf?

These files are optional and your mm-renderer should work fine without them, as long as you have the necessary binaries 
under /lib/dll/mmedia (or in some other place and the $MM_INIT environment variable points to that place).

But having those files lets you fine-tune your configuration and can significantly speed up mm-renderer's startup.  
There's a tool that lets you generate optimized config files:

http://www.qnx.com/developers/docs/7.1/#com.qnx.doc.neutrino.utilities/topic/a/aoiconftool.html
Re: Start mm-renderer Service AoLoadConfig: could not open mmr.conf or default.conf (2)  
Thank you for your prompt reply!
That's working!
my /system partition was writable
export MM_INIT=/lib/dll/mmedia
aoiconftool -d $MM_INIT -R -o /system/etc/config/aoi/default.conf

add on BSP build script
[uid=0 gid=0 type=dir dperms=0755] /etc/system/config/aoi/
[type=link] /etc/system/config/aoi/default.conf=/system/etc/config/aoi/default.conf

update boot bin file and then start mm-renderer after reboot
# mm-renderer -v -N 0 -e -f &    
[1] 884751
# 02.041[6] Created directory /pps/services/multimedia/renderer/context?nopersist (555)
02.041[6] Created directory /pps/services/multimedia/renderer/component?nopersist (555)
02.041[5] Initializing "Single-track engine plugin" (mmr-track-engine.so)
02.041[5] Initialized "Single-track engine plugin" (mmr-track-engine.so)
02.042[5] Initializing "QNX MMF routing plugin" (mmr-mmf-routing.so)
02.042[6] MMF router: suspend_string could be 75 bytes instead of 84
02.042[5] AoLoadConfig: mmr.conf does not exist, using default.conf
02.043[3] A filter has the AOStreamInspector interface but no AOStreamMimetypes string, we will not publish its MIME 
info
02.043[6] MMF router (built on Sep 23 2021 at 01:14:37) initialized
02.043[5] Initialized "QNX MMF routing plugin" (mmr-mmf-routing.so)
02.044[5] Initialization complete

AoLoadConfig using default.conf

Thanks