Read the statement by Michael Teeuw here.
MMM-Live-Stream-TV Black Screen
-
@sdetweil Yes I did. I also checked my config and it comes up with no errors.
-
@hengy said in MMM-Live-Stream-TV Black Screen:
All I get is a black screen
this was the sissue I was questioning about…
can u show the messages at MM startup
stop any current running MagicMirror
if you use pm2, then do
pm2 stop all
then
cd ~/MagicMirror npm start >somefile.txt 2>&1
wait til MM is up
hit ctrl-q (to quit)
and examine the contents of ~/MagicMirror/somefile.txt -
@sdetweil > magicmirror@2.21.0 start
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js
[23.11.2022 12:20.28.906] [LOG] Starting MagicMirror: v2.21.0
[23.11.2022 12:20.28.919] [LOG] Loading config …
[23.11.2022 12:20.28.933] [LOG] Loading module helpers …
[23.11.2022 12:20.28.937] [LOG] No helper found for module: MMM-pages.
[23.11.2022 12:20.28.941] [LOG] No helper found for module: MMM-page-indicator
.
[23.11.2022 12:20.28.944] [LOG] No helper found for module: clock.
[23.11.2022 12:20.28.955] [LOG] Initializing new module helper …
[23.11.2022 12:20.28.958] [LOG] Module helper loaded: MMM-TouchAlarm
[23.11.2022 12:20.28.963] [LOG] Initializing new module helper …
[23.11.2022 12:20.28.965] [LOG] Module helper loaded: MMM-RAIN-RADAR
[23.11.2022 12:20.28.968] [LOG] No helper found for module: weather.
[23.11.2022 12:20.29.259] [LOG] Initializing new module helper …
[23.11.2022 12:20.29.260] [LOG] Module helper loaded: MMM-MQTT
[23.11.2022 12:20.29.291] [LOG] Initializing new module helper …
[23.11.2022 12:20.29.303] [LOG] Module helper loaded: MMM-Live-Stream-TV
[23.11.2022 12:20.29.304] [LOG] No helper found for module: weatherforecast.
[23.11.2022 12:20.29.305] [LOG] All module helpers loaded.
[23.11.2022 12:20.29.506] [LOG] Starting server on port 8080 …
[23.11.2022 12:20.29.534] [LOG] Server started …
[23.11.2022 12:20.29.536] [LOG] Connecting socket for: MMM-TouchAlarm
[23.11.2022 12:20.29.537] [LOG] Starting module helper: MMM-TouchAlarm
[23.11.2022 12:20.29.538] [LOG] Connecting socket for: MMM-RAIN-RADAR
[23.11.2022 12:20.29.539] [LOG] Starting node helper for: MMM-RAIN-RADAR
[23.11.2022 12:20.29.540] [LOG] Connecting socket for: MMM-MQTT
[23.11.2022 12:20.29.541] [LOG] MMM-MQTT: Starting node helper
[23.11.2022 12:20.29.542] [LOG] Connecting socket for: MMM-Live-Stream-TV
[23.11.2022 12:20.29.577] [LOG] [MMM-Live-Stream-TV]:: Starting node_helper fo
r module [MMM-Live-Stream-TV]
[23.11.2022 12:20.29.578] [LOG] Sockets connected & modules started …
[23.11.2022 12:20.30.200] [LOG] Launching application.
[23.11.2022 12:20.30.884] [ERROR] node subprocess error.message: Command failed:
./modules/MMM-Live-Stream-TV/node_modules/@warren-bank/hls-proxy/hls-proxy/bin/
hlsd.js --port “8181”
node:events:491
throw er; // Unhandled ‘error’ event
^Error: listen EADDRINUSE: address already in use :::8181
at Server.setupListenHandle [as _listen2] (node:net:1463:16)
at listenInCluster (node:net:1511:12)
at Server.listen (node:net:1599:7)
at /home/pi/MagicMirror/modules/MMM-Live-Stream-TV/node_modules/@warren-bank
/hls-proxy/hls-proxy/servers/start_http.js:12:12
Emitted ‘error’ event on Server instance at:
at emitErrorNT (node:net:1490:8)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
code: ‘EADDRINUSE’,
errno: -98,
syscall: ‘listen’,
address: ‘::’,
port: 8181
}[23.11.2022 12:20.30.886] [ERROR] node subprocess error: Error: Command failed:
./modules/MMM-Live-Stream-TV/node_modules/@warren-bank/hls-proxy/hls-proxy/bin/h
lsd.js --port “8181”
node:events:491
throw er; // Unhandled ‘error’ event
^Error: listen EADDRINUSE: address already in use :::8181
at Server.setupListenHandle [as _listen2] (node:net:1463:16)
at listenInCluster (node:net:1511:12)
at Server.listen (node:net:1599:7)
at /home/pi/MagicMirror/modules/MMM-Live-Stream-TV/node_modules/@warren-bank
/hls-proxy/hls-proxy/servers/start_http.js:12:12
Emitted ‘error’ event on Server instance at:
at emitErrorNT (node:net:1490:8)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
code: ‘EADDRINUSE’,
errno: -98,
syscall: ‘listen’,
address: ‘::’,
port: 8181
}[1888:1123/122031.156354:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to
errors during initialization
[1929:1123/122031.343024:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extens
ion not supported.
[1893:1123/122031.430701:ERROR:command_buffer_proxy_impl.cc(126)] ContextResult:
:kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[23.11.2022 12:20.36.453] [LOG] nodeHelper, socketNotificationReceived MMM-Tou
chAlarm-STARTED {
config: {
minutesStepSize: 5,
snoozeMinutes: 20,
alarmTimeoutMinutes: 1,
alarmSound: true,
alarmSoundFile: ‘Bach.mp3’,
alarmSoundMaxVolume: 1,
alarmSoundFade: true,
alarmSoundFadeSeconds: 1,
debug: false,
defaultHour: 8,
defaultMinutes: 0,
alarmStoreFileName: ‘alarm.json’
},
alarmFile: ‘modules/MMM-TouchAlarm/alarm.json’
}
[23.11.2022 12:20.36.502] [LOG] nodeHelper, socketNotificationReceived MMM-Tou
chAlarm-ALARM-CHANGED { active: false, nextAlarm: null, hour: 8, minutes: 0 }
[23.11.2022 12:20.37.786] [LOG] MMM-MQTT: Starting client for localhost:1883 u
ser user
[23.11.2022 12:20.37.787] [LOG] MMM-MQTT: Connecting to mqtt://localhost:1883
[23.11.2022 12:20.38.039] [LOG] MMM-MQTT connected to mqtt://localhost:1883
[23.11.2022 12:20.38.040] [LOG] MMM-MQTT: subscribing to WillTemp,Main_Floor,B
asement,Basement_Humidity
[23.11.2022 12:20.38.277] [LOG] Shutting down server…
[23.11.2022 12:20.38.278] [LOG] Stopping module helper: MMM-TouchAlarm
[23.11.2022 12:20.38.279] [LOG] Stopping module helper: MMM-RAIN-RADAR
[23.11.2022 12:20.38.279] [LOG] Stopping module helper: MMM-MQTT
[23.11.2022 12:20.38.280] [LOG] Stopping module helper: MMM-Live-Stream-TV -
@hengy eaddressinuse means more than likely a process stuck in the background
do
ps -ef | grep "Live-Stream"
if u find one
use the 1st number on the row insudo kill -9 xxx
xxx is the number
-
@sdetweil There were 3 processes for Live Stream
i@raspberrypi:~/MagicMirror $ ps -ef | grep “Live-Stream”
pi 7037 7014 0 13:52 pts/1 00:00:00 /bin/sh -c ./modules/MMM-Live-Stream-TV/node_modules/@warren-bank/hls-proxy/hls-proxy/bin/hlsd.js --port “8181”
pi 7038 7037 3 13:52 pts/1 00:00:01 node ./modules/MMM-Live-Stream-TV/node_modules/@warren-bank/hls-proxy/hls-proxy/bin/hlsd.js --port 8181
pi 7157 6922 0 13:53 pts/0 00:00:00 grep --color=auto Live-StreamI’ve killed them and then restarted Magi Mirror and again get 3 processes. I tired killing only 2 of the 3, no luck.