stefanpartheym / archlinux-ipu6-webcam

Easy installation for patched Intel IPU6 camera drivers
145 stars 15 forks source link

gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed #63

Closed aplund closed 4 months ago

aplund commented 9 months ago

The v4l2-relayd service doesn't seem to be working. Using the tester for firefox linked in the README yields a blank screen and the logs have the message

gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed

The gstreamer based test in the test script works.

Should I be able to do ffplay /dev/video0 and have the camera work? That seems to just give a black screen as well.

aplund commented 9 months ago

It looks like there may have been some strangeness with what was in the root user's .cache folder. I couldn't see 'icamerasrc' in 'gst-inspect' as root, but as a regular user it was ok. I removed the cache folder and it seems to work. Perhaps the environment variable for the GST_PLUGINS_PATH should be set by the systemd unit, just to avoid such oddities.