eembc / energyrunner

The EEMBC EnergyRunner application framework for the MLPerf Tiny benchmark.
14 stars 5 forks source link

Stuck on "Booting the framework..." #27

Closed AlexMontgomerie closed 1 year ago

AlexMontgomerie commented 1 year ago

Hi, I've downloaded the binary from https://www.eembc.org/energyrunner/mlperftiny/ (version 3.0.10) for Ubuntu Linux, however the benchmark runner does not get past "Booting the framework...".

Screenshot from 2022-11-02 14-34-41

My system is Ubuntu 18.04 (5.4.0-131-generic #147~18.04.1-Ubuntu SMP). I have the default eembc.ini file also.

There are no warning or error messages either. Is there any log files I can look at to help me find out what the issue is? Or perhaps a version that's more stable for linux?

petertorelli commented 1 year ago

Hi Alex, Can you try running with

ELECTRON_ENABLE_LOGGING=1 DEBUG=* NODE_ENV=dev ./benchmark-framework

And tell me what you see on the console?

petertorelli commented 1 year ago

I run almost exclusively on Ubuntu 18.04, I'm wondering if it might be a udev issue, but that should have complained on the screen, not stopped at "Booting..."

Can you also try running as sudo (not the best option, since the logs will then be saved as root, but we're debugging here...)

AlexMontgomerie commented 1 year ago

Thank you for the quick response! Here's the output for the following commands in my terminal:

ELECTRON_ENABLE_LOGGING=1 DEBUG=* NODE_ENV=dev ./benchmark-framework
  ee:framework PID=19721 +0ms
  ee:main PID=19721 +0ms
[19752:1102/154156.231015:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
[19721:1102/154156.342698:INFO:CONSOLE(2)] "%cee:framework %cPID=19765%c +0ms color: #00CCCC color: inherit color: #00CCCC", source: file:///home/alex/eembc/resources/app.asar/renderer.js (2)
[19721:1102/154156.695152:INFO:CONSOLE(2)] "[object Object]", source: file:///home/alex/eembc/resources/app.asar/renderer.js (2)
[19721:1102/154156.695537:INFO:CONSOLE(2)] "%cee:renderer %cPID=19765%c +0ms color: #00CC99 color: inherit color: #00CC99", source: file:///home/alex/eembc/resources/app.asar/renderer.js (2)
sudo ELECTRON_ENABLE_LOGGING=1 DEBUG=* NODE_ENV=dev ./benchmark-framework --no-sandbox
  ee:framework PID=20191 +0ms
  ee:main PID=20191 +0ms
[20191:1102/154442.901728:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[20191:1102/154442.908596:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[20191:1102/154442.912571:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[20216:1102/154442.941786:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
[20191:1102/154443.038692:INFO:CONSOLE(2)] "%cee:framework %cPID=20225%c +0ms color: #00CCCC color: inherit color: #00CCCC", source: file:///home/alex/eembc/resources/app.asar/renderer.js (2)
[20191:1102/154443.383393:INFO:CONSOLE(2)] "[object Object]", source: file:///home/alex/eembc/resources/app.asar/renderer.js (2)
[20191:1102/154443.383790:INFO:CONSOLE(2)] "%cee:renderer %cPID=20225%c +0ms color: #00CC99 color: inherit color: #00CC99", source: file:///home/alex/eembc/resources/app.asar/renderer.js (2)

I wasn't able to run just sudo ELECTRON_ENABLE_LOGGING=1 DEBUG=* NODE_ENV=dev ./benchmark-framework as i get the error Running as root without --no-sandbox is not supported.

petertorelli commented 1 year ago

Thanks. Unfortunately that didn't help. :) Two paths here: 1. We can try to build it on your machine so that all the debug features are turned on and you'll get way more messages; 2. I can VNC into your machine and build it for you and run some debug tests (this.

For option 1, let's work offline send me an email me at peter.torelli@eembc.org and I'll send you a debug bundle and build instructions if you're OK with that? Otherwise I can VNC in and do it myself (but I'll need to install a few things ... node, npm & yarn).