Can't get second monitor to work.

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
jamby
Posts: 14
Joined: Tue Jan 08, 2013 6:30 pm

Can't get second monitor to work.

Post by jamby »

I have a dell desktop running Ubuntu 22.04 current. ZM 1.36
cameras are identical both have usb and sound connections and when both are attached ls /dev/vid* shows /dev/video0 /dev/video1 /dev/video2 /dev/video3
monitor one is working fine on video0 but when I add monitor 2 on video2 no picture is show and the text is red.
with ZM stopped and mjpg-streamer running I get video on both video 0 and 2.
used individually either camera will work from video0
both monitor 1 and 2 are defined using the same values.

I have been lost in the log files hoping to find an answer but it appears above my pay grade.

examples. vim zmc_dvideo2.log
05/13/23 10:52:26.231421 zmc_dvideo2[6058].INF-zm_local_camera.cpp/384 [Selected capture palette: YUYV 4:2:2 (0x56595559)]
05/13/23 10:52:26.231521 zmc_dvideo2[6058].INF-zm_local_camera.cpp/446 [No direct match for the selected palette (1) and target colorspace (04). Format conversion is required, performance penalty expected]
05/13/23 10:52:26.250480 zmc_dvideo2[6058].ERR-zm_local_camera.cpp/970 [Failed to set video standard 1: 25 Inappropriate ioctl for device]
05/13/23 10:52:26.255322 zmc_dvideo2[6058].INF-zmc.cpp/220 [Starting Capture version 1.36.33]
05/13/23 10:52:26.281648 zmc_dvideo2[6058].ERR-zm_local_camera.cpp/2035 [Failed to start capture stream: No space left on device]

Help much appreciated
Thanks Jim
jamby
Posts: 14
Joined: Tue Jan 08, 2013 6:30 pm

Re: Can't get second monitor to work.

Post by jamby »

Well after reading the /var/log/zm files and checking the errors found in zmc_dvideo2.log
zmc_dvideo2[34887].ERR-zm_local_camera.cpp/2035 [Failed to start capture stream: No space left on device]
and reading "This is a badly worded error message ; the cause is not having enough USB bandwidth on the controller." in a posting stackoverflow I moved the second monitor to a usb port on the front of the pc to get a different usb hub.

So for now both monitors are working

Jim
User avatar
iconnor
Posts: 3361
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Can't get second monitor to work.

Post by iconnor »

Thanks for following up with the fix. You;d think modern USB wouldn't have these issues... but it does.
Post Reply