Bug#1108416: zbarcam: Invalid argument in zbar_processor_init()
Output of `zbarcam --verbose`:
_zbar_video_open: opened camera device /dev/video0 (fd=5)
_zbar_v4l2_probe: 5MP World Facing: 5MP World Fac on usb-0000:00:15.0-2 driver uvcvideo (version 6.12.29)
_zbar_v4l2_probe: capabilities: CAPTURE READWRITE STREAMING
v4l2_reset_crop: crop bounds: 2560 x 1920 @ (0, 0)
v4l2_reset_crop: current crop win: 2560 x 1920 @ (0, 0) aspect 1 / 1
v4l2_probe_formats: Max supported size: 2560 x 1920
v4l2_probe_formats: current format: MJPG(47504a4d) 2560 x 1920 (line=0x0 size=0x960000)
v4l2_query_controls: Control class User:
v4l2_query_controls: int Brightness - 0x980900
v4l2_query_controls: int Contrast - 0x980901
v4l2_query_controls: int Saturation - 0x980902
v4l2_query_controls: int Hue - 0x980903
v4l2_query_controls: bool White Balance, Automatic - 0x98090c
v4l2_query_controls: int Gamma - 0x980910
v4l2_query_controls: menu Power Line Frequency - 0x980918
v4l2_query_controls: 0: Disabled
v4l2_query_controls: 1: 50 Hz
v4l2_query_controls: 2: 60 Hz
v4l2_query_controls: int White Balance Temperature - 0x98091a
v4l2_query_controls: int Sharpness - 0x98091b
v4l2_query_controls: int Backlight Compensation - 0x98091c
v4l2_query_controls: Control class Camera:
v4l2_query_controls: menu Auto Exposure - 0x9a0901
v4l2_query_controls: 1: Manual Mode
v4l2_query_controls: 3: Aperture Priority Mode
v4l2_query_controls: int Exposure Time, Absolute - 0x9a0902
v4l2_query_controls: int Focus, Absolute - 0x9a090a
v4l2_query_controls: bool Focus, Automatic Continuous - 0x9a090c
v4l2_get_supported_resolutions: 2560x1920 (30.00 fps)
v4l2_get_supported_resolutions: 1920x1080 (30.00 fps)
v4l2_get_supported_resolutions: 1600x1200 (30.00 fps)
v4l2_get_supported_resolutions: 1280x720 (30.00 fps)
v4l2_get_supported_resolutions: 640x480 (30.00 fps)
v4l2_get_supported_resolutions: 640x360 (30.00 fps)
WARNING: zbar video in v4l2_probe_iomode():
system error: USERPTR failed. Falling back to mmap: Invalid argument (22)
_zbar_v4l2_probe: using I/O mode: MMAP
ERROR: zbar processor in _zbar_processor_open():
X11 display error: unable to open X display
ERROR: zbar processor in zbar_processor_init():
system error: spawning input thread: Invalid argument (22)
ERROR: zbar processor in zbar_processor_init():
system error: spawning input thread: Invalid argument (22)
Reply to: