Camera not displaying with Photonvision

I am trying to get PhotonVision back and running for testing and none of my cameras will load when I open the dashboard (Photons, not driver station).

The Raspberry Pi I am trying to use Photon on has Photon on it from previous testing that worked, and now none of the same cameras are working.

This is all I get on the dashboard.

I have followed the troubleshooting part on the docs for USB cameras and our logs look fine (I will attach them for anyone that wants to look over them).

Logs (wouldn’t let me upload the TXT):
photon_vision_logs.zip (100.8 KB)

I also connected to the Pi with ssh and ran the commands and got this result.

Any help is appreciated.

I’d recommend using the Photon Vision discord for support they do an amazing job of helping people FAST.

Are you connected through the Rio? IIRC the only way to get the camera feed with Photon is with a Rio connected.

Sorry, not required.
The fact that the web page is showing demonstrates that a good connection to the PV processor is made.
Try removing all cameras from the processor, then reboot. Now connect the cameras one by one with a refresh the web page or restart PV in between adding each camera. You should see the cameras as they are added.

I believe I have done that a few times, I will try it again Sunday when I can, and I will let you know the results.

I also have tried using different cameras (same brand and type) with the same result.

I do not know how PV determines what video format and fps to use for input. In your log for the LifeCam you are using a video mode and fps that does not appear in my enumerations. I know for programs that allow me to select the mode and fps if I select one not enumerated I get no video.

Wild guess in order from least intrusiveness based on no knowledge of PV - try deleting the cameas, delete the configuration photon.sqlite, reload the RPi image from scratch. I hope I haven’t led you astray and wasted your time.

I have thought about reloading the RPi image so I will do this after I try some other stuff.

I tried this and I still had the same issue.

All the camera settings are the default settings set by Photon.
Tried deleting them, again no result.

If I open the video stream in a new tab it load forever, then if I restart photon or the RPi it will load a still image after a while.

According to the logs, you are running v2024.2.4. There were a number of changes last season to address camera matching problems. You may want to try using either 2024.3.1 or the most recent beta version.

From the logs, it looks like it’s matching both cameras to the same stored config:

Dec 11 13:41:46 photonvision java[1126]: [2023-12-11 13:41:46] [Camera - VisionSourceManager] [DEBUG] Matching 2 new cameras!
Dec 11 13:41:46 photonvision java[1126]: [2023-12-11 13:41:46] [Camera - VisionSourceManager] [INFO] Adding local video device - "Microsoft® LifeCam HD-3000" at "/dev/video0"
Dec 11 13:41:46 photonvision java[1126]: [2023-12-11 13:41:46] [Camera - VisionSourceManager] [INFO] Adding local video device - "Microsoft® LifeCam HD-3000" at "/dev/video2"
Dec 11 13:41:46 photonvision java[1126]: [2023-12-11 13:41:46] [Camera - VisionSourceManager] [DEBUG] Trying to match 2 unmatched configs...
Dec 11 13:41:46 photonvision java[1126]: [2023-12-11 13:41:46] [Camera - VisionSourceManager] [DEBUG] Trying to find a match for loaded camera Microsoft LifeCam HD-3000 with path-by-id /dev/v4l/by-id/usb-Microsoft_Microsoft®_LifeCam_HD-3000-video-index0
Dec 11 13:41:46 photonvision java[1126]: [2023-12-11 13:41:46] [Camera - VisionSourceManager] [DEBUG] Matched the config for Microsoft LifeCam HD-3000 to a physical camera!
Dec 11 13:41:46 photonvision java[1126]: [2023-12-11 13:41:46] [Camera - VisionSourceManager] [DEBUG] Updating path config from /dev/video0 to /dev/video2
Dec 11 13:41:46 photonvision java[1126]: [2023-12-11 13:41:46] [Camera - VisionSourceManager] [DEBUG] Trying to find a match for loaded camera Microsoft LifeCam HD-3000 with path-by-id /dev/v4l/by-id/usb-Microsoft_Microsoft®_LifeCam_HD-3000-video-index0
Dec 11 13:41:46 photonvision java[1126]: [2023-12-11 13:41:46] [Camera - VisionSourceManager] [DEBUG] Trying to find a match for loaded camera Microsoft LifeCam HD-3000 with path /dev/video2
Dec 11 13:41:46 photonvision java[1126]: [2023-12-11 13:41:46] [Camera - VisionSourceManager] [DEBUG] Trying to find a match for loaded camera with name Microsoft LifeCam HD-3000
Dec 11 13:41:46 photonvision java[1126]: [2023-12-11 13:41:46] [Camera - VisionSourceManager] [DEBUG] Matched the config for Microsoft LifeCam HD-3000 to a physical camera!
Dec 11 13:41:46 photonvision java[1126]: [2023-12-11 13:41:46] [Camera - VisionSourceManager] [DEBUG] Updating path config from /dev/video2 to /dev/video0

I’m not sure why this ever worked correctly, but it may have been that in plugging the cameras in a specific order worked.

If you must use two identical cameras, you may want to try v2025.0.0-beta-6 with the “Enable strict matching” option turned on.

Was just testing some other things and opened my driver station the camera will render on there just fine and the setting will update the video output on the dashboard. But I still have nothing on photon itself.