[Interest] try to resolve problem with black screen with "camera" example from Qt official examples

Jérôme Lanteri jerome.archlinux at gmail.com
Tue Apr 5 15:30:15 CEST 2016


Hi,

I tested and try to resolve from 3 month ago a problem with video and qt5.
I have the same problem since qt5 (and now qt5.6 doesn't resolve the
problem).

When i start the exemple "Camera" (the QML ones are working fine, not
the "Qt widget/C++" one, also no one tell me why this difference), the
camera is well recognized, the recording works, but the screen who has
to show the image from the camera show a black screen.

No one, from the forum or from irc on qt or from archlinux could/would
help me for find to resolve this problem.
I need help, i failed to resolve it too.

the output from terminal is:


Unable to query the parameter info: "Argument invalide"
Unable to query the parameter info: "Argument invalide"
Unable to query the parameter info: "Argument invalide"
Unable to query the parameter info: "Argument invalide"
Unable to query the parameter info: "Argument invalide"
Unable to query the parameter info: "Argument invalide"
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva
error,driver_name=(null)
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva
error,driver_name=(null)
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
Unable to query the parameter info: "Argument invalide"
Unable to query the parameter info: "Argument invalide"
CameraBin error: "failed to validate source buffer"
CameraBin error: "Erreur interne de flux de données."
CameraBin error: "Erreur interne de flux de données."


my distro is archlinux (64bits)
my GPU is from the mobo intel CPU i7 (HD4600)

lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th
Gen Core Processor Integrated Graphics Controller (rev 06)

drivers installed:

xf86-video-intel 1:2.99.917+587+gc186d4d-1
libva-intel-driver 1.7.0-1
mesa 11.1.2-1
intel-ucode 20151106-1 (and well mounted on boot with initramfs image)
intel-tbb 4.4_20160128-1
libvdpau-va-gl 0.3.6-1
gstreamermm 1.4.3-2
qt5-gstreamer 1.2.0-2
phonon-qt5-gstreamer 4.8.2-4
gstreamer0.10-good 0.10.31-10
gstreamer0.10-good-plugins 0.10.31-10
gstreamer0.10-ffmpeg 0.10.13-2
gstreamer-vaapi 1.6.0-1
gstreamer 1.6.3-1
gst-libav 1.6.3-3
gst-plugins-good 1.6.3-1
gstreamer-vaapi 1.6.0-1

lib32-mesa

cat /etc/X11/xorg.conf.d/20_intel.conf

Section "Device"
	Identifier	"Intel Graphics"
	Driver		"intel"
	Option          "DRI"           "false"
        Option          "TearFree"      "true"
EndSection

(DRI to 3 has same result)

sudo lshw -c video

description: VGA compatible controller
       produit: Xeon E3-1200 v3/4th Gen Core Processor Integrated
Graphics Controller
       fabriquant: Intel Corporation
       identifiant matériel: 2
       information bus: pci at 0000:00:02.0
       version: 06
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       ressources: irq:46 mémoire:ef400000-ef7fffff
mémoire:c0000000-cfffffff portE/S:f000(taille=64)



More information about the Interest mailing list