Blank screen on old mac mini
I've got my tinypilot (hobbyist kit) up and running great. Confirmed by connecting it to my laptop dock and it mirrored my mac pro screen great.
the problems begin when i connect to an old mac mini [mid 2011 - A1347 (EMC 2442)]
i just get a blank screen.
i dumped the logs for ustreamer. there is one line where it looks like things go sour:
tinypilot systemd[1]: ustreamer.service: Current command vanished from the unit file, execution of the command list won't be resumed.
here are the full results from pilot@tinypilot:~ $ sudo journalctl -u ustreamer
:
-- Reboot --
Aug 20 20:17:16 tinypilot systemd[1]: Started uStreamer - Lightweight, optimized video encoder.
Aug 20 20:17:17 tinypilot ustreamer[580]: -- INFO [19.420 main] -- Using internal blank placeholder
Aug 20 20:17:17 tinypilot ustreamer[580]: -- INFO [19.420 main] -- Listening HTTP on [127.0.0.1]:8001
Aug 20 20:17:17 tinypilot ustreamer[580]: -- INFO [19.420 stream] -- Using V4L2 device: /dev/video0
Aug 20 20:17:17 tinypilot ustreamer[580]: -- INFO [19.420 stream] -- Using desired FPS: 0
Aug 20 20:17:17 tinypilot ustreamer[580]: -- INFO [19.420 http] -- Starting HTTP eventloop ...
Aug 20 20:17:17 tinypilot ustreamer[580]: ================================================================================
Aug 20 20:17:17 tinypilot ustreamer[580]: -- INFO [19.661 stream] -- Device fd=8 opened
Aug 20 20:17:17 tinypilot ustreamer[580]: -- INFO [19.661 stream] -- Using input channel: 0
Aug 20 20:17:17 tinypilot ustreamer[580]: -- INFO [19.662 stream] -- Using resolution: 1920x1080
Aug 20 20:17:17 tinypilot ustreamer[580]: -- ERROR [19.662 stream] -- Could not obtain the requested pixelformat=JPEG; driver gave us MJPEG
Aug 20 20:17:17 tinypilot ustreamer[580]: -- INFO [19.662 stream] -- Falling back to pixelformat=MJPEG
Aug 20 20:17:17 tinypilot ustreamer[580]: -- INFO [19.662 stream] -- Using pixelformat: MJPEG
Aug 20 20:17:17 tinypilot ustreamer[580]: -- INFO [19.663 stream] -- Using HW FPS: 0 -> 30 (coerced)
Aug 20 20:17:17 tinypilot ustreamer[580]: -- ERROR [19.663 stream] -- Device does not support setting of HW encoding quality parameters
Aug 20 20:17:17 tinypilot ustreamer[580]: -- INFO [19.663 stream] -- Using IO method: MMAP
Aug 20 20:17:17 tinypilot ustreamer[580]: -- INFO [19.691 stream] -- Requested 5 device buffers, got 5
Aug 20 20:17:17 tinypilot ustreamer[580]: -- INFO [19.704 stream] -- Capturing started
Aug 20 20:17:17 tinypilot ustreamer[580]: -- INFO [19.704 stream] -- Using JPEG quality: encoder default
Aug 20 20:17:17 tinypilot ustreamer[580]: -- INFO [19.704 stream] -- Creating pool JPEG with 1 workers ...
Aug 20 20:17:17 tinypilot ustreamer[580]: -- INFO [19.704 stream] -- Capturing ...
Jan 14 18:27:38 tinypilot ustreamer[580]: -- INFO [627.343 http] -- HTTP: Registered client: [fe80::c46:4fbb:30cb:5bc4]:48250, id=b3f384ae3d67cfdd; cl
Jan 14 18:28:50 tinypilot ustreamer[580]: -- INFO [700.081 http] -- HTTP: Disconnected client: [fe80::c46:4fbb:30cb:5bc4]:48250, id=b3f384ae3d67cfdd,
Jan 14 18:29:00 tinypilot ustreamer[580]: -- INFO [709.310 http] -- HTTP: Registered client: [fe80::c46:4fbb:30cb:5bc4]:48278, id=bdf8da0dc44d987c; cl
Jan 14 18:31:39 tinypilot systemd[1]: ustreamer.service: Current command vanished from the unit file, execution of the command list won't be resumed.
Jan 14 18:32:32 tinypilot ustreamer[580]: -- INFO [922.059 main] -- ===== Stopping by SIGTERM =====
Jan 14 18:32:32 tinypilot ustreamer[580]: -- INFO [922.060 http] -- HTTP eventloop stopped
Jan 14 18:32:32 tinypilot systemd[1]: Stopping uStreamer - Lightweight, optimized video encoder...
Jan 14 18:32:32 tinypilot ustreamer[580]: -- INFO [922.075 stream] -- Destroying workers pool JPEG ...
Jan 14 18:32:32 tinypilot ustreamer[580]: -- INFO [922.078 stream] -- Capturing stopped
Jan 14 18:32:32 tinypilot ustreamer[580]: -- INFO [922.085 stream] -- Device fd=8 closed
Jan 14 18:32:32 tinypilot ustreamer[580]: -- INFO [922.085 main] -- Bye-bye
Jan 14 18:32:32 tinypilot systemd[1]: ustreamer.service: Succeeded.
Jan 14 18:32:32 tinypilot systemd[1]: Stopped uStreamer - Lightweight, optimized video encoder.
Jan 14 18:32:32 tinypilot systemd[1]: Started uStreamer - Lightweight, optimized video encoder.
Jan 14 18:32:32 tinypilot ustreamer[4228]: -- INFO [922.105 main] -- Using internal blank placeholder
Jan 14 18:32:32 tinypilot ustreamer[4228]: -- INFO [922.105 main] -- Listening HTTP on [127.0.0.1]:8001
Jan 14 18:32:32 tinypilot ustreamer[4228]: -- INFO [922.106 http] -- Starting HTTP eventloop ...
Jan 14 18:32:32 tinypilot ustreamer[4228]: -- INFO [922.106 stream] -- Using V4L2 device: /dev/video0
Jan 14 18:32:32 tinypilot ustreamer[4228]: -- INFO [922.106 stream] -- Using desired FPS: 0
Jan 14 18:32:32 tinypilot ustreamer[4228]: ================================================================================
Jan 14 18:32:32 tinypilot ustreamer[4228]: -- INFO [922.106 stream] -- Device fd=8 opened
Jan 14 18:32:32 tinypilot ustreamer[4228]: -- INFO [922.106 stream] -- Using input channel: 0
Jan 14 18:32:32 tinypilot ustreamer[4228]: -- INFO [922.108 stream] -- Using resolution: 1920x1080
Jan 14 18:32:32 tinypilot ustreamer[4228]: -- ERROR [922.108 stream] -- Could not obtain the requested pixelformat=JPEG; driver gave us MJPEG
Jan 14 18:32:32 tinypilot ustreamer[4228]: -- INFO [922.108 stream] -- Falling back to pixelformat=MJPEG
Jan 14 18:32:32 tinypilot ustreamer[4228]: -- INFO [922.108 stream] -- Using pixelformat: MJPEG
Jan 14 18:32:32 tinypilot ustreamer[4228]: -- INFO [922.109 stream] -- Using HW FPS: 0 -> 30 (coerced)
Jan 14 18:32:32 tinypilot ustreamer[4228]: -- ERROR [922.109 stream] -- Device does not support setting of HW encoding quality parameters
Jan 14 18:32:32 tinypilot ustreamer[4228]: -- INFO [922.109 stream] -- Using IO method: MMAP
Jan 14 18:32:32 tinypilot ustreamer[4228]: -- INFO [922.137 stream] -- Requested 5 device buffers, got 5
Jan 14 18:32:32 tinypilot ustreamer[4228]: -- INFO [922.151 stream] -- Capturing started
Jan 14 18:32:32 tinypilot ustreamer[4228]: -- INFO [922.151 stream] -- Using JPEG quality: encoder default
Jan 14 18:32:32 tinypilot ustreamer[4228]: -- INFO [922.151 stream] -- Creating pool JPEG with 1 workers ...
- Michael Lynch @michael2022-01-18 17:33:24.642Z
Thanks for reporting this!
I'm not sure what's going wrong here, as I've never heard of incompatibility on a Mac Mini, especially with the HDMI to USB dongle. It could be that the HDMI to USB dongle doesn't work with that particular system, but it would be unusual since its compatibility is pretty good.
If you reboot both systems, does that change anything?
The line about
ustreamer.service: Current command vanished from the unit file
I think is a red herring. It's a warning from the system responsible for launching uStreamer, but it's still launching uStreamer fine. There aren't any indications in uStreamer's logs of any problem.