black screen ubuntu 9.10 zm 1.24.1

Forum for questions and support relating to the 1.24.x releases only.
Locked
icomxwing
Posts: 2
Joined: Fri Dec 04, 2009 4:05 am

black screen ubuntu 9.10 zm 1.24.1

Post by icomxwing »

Hey all,

I've read through a bunch of posts and google'd my issues but couldn't resolve it.

I've got a Ubuntu box with ZM installed and am using WVC210 cameras. I've got the control function to work and can view the cameras directly but when I try to view it through ZM i get a black screen.

tail -f /var/log/messages
Dec 3 22:10:27 zm-desktop zmdc[1480]: INF [Starting pending process, zmc -m 2]
Dec 3 22:10:27 zm-desktop zmdc[1973]: INF ['zmc -m 2' started at 09/12/03 22:10:27]
Dec 3 22:10:27 zm-desktop zmdc[1480]: INF ['zmc -m 2' starting at 09/12/03 22:10:27, pid = 1973]
Dec 3 22:10:27 zm-desktop zmc_m2[1973]: INF [Debug Level = 0, Debug Log = <none>]
Dec 3 22:10:27 zm-desktop zmc_m2[1973]: INF [Starting Capture]
Dec 3 22:10:36 zm-desktop zms[1979]: INF [Debug Level = 0, Debug Log = <none>]
Dec 3 22:10:36 zm-desktop zms[1979]: Libgcrypt warning: missing initialization - please fix the application
Dec 3 22:10:36 zm-desktop zms[1979]: INF [Authenticated user 'admin']
Dec 3 22:10:36 zm-desktop zms[1979]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results]
Dec 3 22:10:36 zm-desktop zms[1979]: WAR [Unable to store frame as shared memory invalid]
Dec 3 22:11:07 zm-desktop zmdc[1480]: INF [Starting pending process, zmc -m 2]
Dec 3 22:11:07 zm-desktop zmdc[1480]: INF ['zmc -m 2' starting at 09/12/03 22:11:07, pid = 2026]
Dec 3 22:11:07 zm-desktop zmdc[2026]: INF ['zmc -m 2' started at 09/12/03 22:11:07]
Dec 3 22:11:07 zm-desktop zmc_m2[2026]: INF [Debug Level = 0, Debug Log = <none>]
Dec 3 22:11:07 zm-desktop zmc_m2[2026]: INF [Starting Capture]
Dec 3 22:12:27 zm-desktop zmdc[1480]: INF [Starting pending process, zmc -m 2]
Dec 3 22:12:27 zm-desktop zmdc[1480]: INF ['zmc -m 2' starting at 09/12/03 22:12:27, pid = 2042]
Dec 3 22:12:27 zm-desktop zmdc[2042]: INF ['zmc -m 2' started at 09/12/03 22:12:27]
Dec 3 22:12:27 zm-desktop zmc_m2[2042]: INF [Debug Level = 0, Debug Log = <none>]
Dec 3 22:12:27 zm-desktop zmc_m2[2042]: INF [Starting Capture]
Dec 3 22:15:07 zm-desktop zmdc[1480]: INF [Starting pending process, zmc -m 2]
Dec 3 22:15:07 zm-desktop zmdc[2045]: INF ['zmc -m 2' started at 09/12/03 22:15:07]
Dec 3 22:15:07 zm-desktop zmdc[1480]: INF ['zmc -m 2' starting at 09/12/03 22:15:07, pid = 2045]
Dec 3 22:15:07 zm-desktop zmc_m2[2045]: INF [Debug Level = 0, Debug Log = <none>]
Dec 3 22:15:07 zm-desktop zmc_m2[2045]: INF [Starting Capture]


I've tried increasing the shared memory settings to kernel.shmall = 256000000
kernel.shmmax = 500000000 and decreasing the framerate to 15 fps and resolution to 320*240

any help you can provide would be greatly appreciated!

Thanks
ClarkJeff
Posts: 2
Joined: Sat Dec 05, 2009 6:43 am

Post by ClarkJeff »

I had similar issues. This fixed my problem:

sudo adduser www-data video
gazoo
Posts: 45
Joined: Mon Nov 30, 2009 1:04 pm

Post by gazoo »

another thing to try, but only if it's a USB cam is:

sudo chmod 777 /dev/video0
(or video1, etc.)
Locked