[8.10] mythzmserver will not display live feed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mythplugins |
Invalid
|
Unknown
|
|||
mythplugins (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mythplugins
System: Ubuntu 8.10 Alpha 6
zoneminder: 1.23.3-3
mythzoneminder: 0.21.0+
Installed package mythzoneminder which loads fine in mythfrontend however will not display any live video feeds. When opening the live stream window only a black box is shown. This occurs for GL, XV and RGB display options.
mythzmserver output:
: sudo mythzmserver -c /etc/zm/zm.conf
loading zm config from /etc/zm/zm.conf
ZM is version '1.23.3'
Listening on port: 6548
Failed to shmget for monitor: 1
ENOENT - no segment exists for the given key
Failed to shmget for monitor: 3
ENOENT - no segment exists for the given key
mythfrontend (-v most) output:
2008-10-02 09:44:03.099 MythZoneMinder: Using Xv for display
2008-10-02 09:44:03.111 Found 0 Xv adaptors
2008-10-02 09:44:03.111 WARNING: Couldn't find free Xv adaptor with RGB XvImage support
2008-10-02 09:44:03.111 Falling back to XImage - slow and ugly rescaling
2008-10-02 09:44:03.111 write -> 26 20 GET_LIVE_
2008-10-02 09:44:03.111 read <- 26 46 ERROR - Cannot get shared memory pointers[]:[]
2008-10-02 09:44:03.111 The server failed to process the command. The error was:-
2008-10-02 09:44:03.214 write -> 26 20 GET_LIVE_
2008-10-02 09:44:03.214 read <- 26 46 ERROR - Cannot get shared memory pointers[]:[]
2008-10-02 09:44:03.214 The server failed to process the command. The error was:-
2008-10-02 09:44:03.315 write -> 26 20 GET_LIVE_
2008-10-02 09:44:03.315 read <- 26 46 ERROR - Cannot get shared memory pointers[]:[]
2008-10-02 09:44:03.315 The server failed to process the command. The error was:-
Error message repeats for as long as live stream screen is open.
(Whilst there is an error above saying that Xv could not be loaded, this is unrelated as the same problem is experienced on another system where Xv works normally)
Zoneminder is setup correctly and video can be displayed via web interface so the problem is with myth zoneminder. Same setup worked with mythzoneminder under 8.04.
Suggested cause:
This is possibly due to a limitation of mythzoneminder:
http://
Above site states that mythzoneminder only works with zoneminder versions 1.22.2 and 1.22.3 whereas Intrepid has upgraded to zoneminder 1.23.3. Not 100% sure this is the cause of the problem, but it is a possibility.
If the versioning issue above is the issue, it will obviously need to wait until the problem is fixed upstream, but in the mean time it should be documented somewhere that package mythzoneminder will not work on Intrepid.
Changed in mythplugins: | |
status: | Unknown → New |
Changed in mythplugins: | |
status: | New → Invalid |
Problem is due to ZoneMinder 1.23.3 using a different value for its shared memory key. Patch has been submitted upstream but it makes some changes to mythzmserver that may not be accepted.
Temporary workaround for anyone experiencing this issue is the following:
In zoneminder mysql database, in table 'config', change the 'Value' field of setting 'ZM_SHM_KEY' to be the same as the 'DefaultValue' field. Restart mythzmserver.