patjak / facetimehd

Reverse engineered Linux driver for the FacetimeHD (Broadcom 1570) PCIe webcam
GNU General Public License v2.0
1.35k stars 160 forks source link

Error on cheese: there was an error playing from this web cam #284

Open gamerseye123 opened 1 year ago

gamerseye123 commented 1 year ago

i did everything, and apparently it works, but when i run cheese it throws an error. if i run it from the command line it says stream error: ports are in error: ../src/gst/gstpipewiresrc.c(685): on_state_changed (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin35/GstPipeWireSrc:pipewiresrc1

also when i load it, dmesg says stream error: ports are in error: ../src/gst/gstpipewiresrc.c(685): on_state_changed (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin35/GstPipeWireSrc:pipewiresrc1

i tried to fix that by running sudo echo 'install_items+=" /usr/lib/firmware/facetimehd/firmware.bin "' >> /etc/dracut.conf.d/facetimehd.conf but it didnt work

i have no idea what to do please help

JediBrooker commented 8 months ago

yep same issue here. Macbook Pro 11,4.

running cheese i get:

(cheese:2019): cheese-WARNING **: 11:45:50.043: stream error: can't negotiate buffers on port: ../pipewire/src/gst/gstpipewiresrc.c(689): on_state_changed ():
 /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin36/GstPipeWireSrc:pipewiresrc1

similarly with kamoso:

Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
error debugMessage: stream error: can't negotiate buffers on port
error: "../pipewire/src/gst/gstpipewiresrc.c(689): on_state_changed (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:/GstPipeWireSrc:Apple Facetime HD (V4L2)"
Stop

(kamoso:1952): GLib-GObject-CRITICAL **: 11:45:15.505: g_object_notify: assertion 'G_IS_OBJECT (object)' failed
error debugMessage: stream error: can't negotiate buffers on port
error: "../pipewire/src/gst/gstpipewiresrc.c(689): on_state_changed (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:/GstPipeWireSrc:Apple Facetime HD (V4L2)"
Stop
zsh: segmentation fault (core dumped)  kamoso