Skip to content

CameraServer on Linux in 4.5-beta1 fails to detect cameras. #108136

@madebydavid

Description

@madebydavid

Tested versions

  • Reproducable in: v4.5.beta1.official.46c495ca2
  • Works in: 4.4.1.stable.official.49a5bc7b6

System information

Godot v4.5.beta1 - Ubuntu 22.04.2 LTS 22.04 on X11 - X11 display driver, Multi-window, 1 monitor - Vulkan (Mobile) - integrated AMD Unknown (RADV REMBRANDT) - AMD Ryzen 7 PRO 6850U with Radeon Graphics (16 threads) - 27.17 GiB memory

Issue description

I have a small test script which just loops the CameraServer.feeds() and prints the name.

extends Camera2D

var camera_name = "USB 2.0 Camera"
var camera: CameraFeed

func _ready():
	CameraServer.monitoring_feeds = true
	for feed in CameraServer.feeds():
		name = feed.get_name()
		print(name)
		if camera == null and name == camera_name:
			camera = feed

	if camera == null:
		print("no camera found")
		return

On the latest beta version (4.5-beta1) on Linux, it doesn't detect any feeds.

This same code works in 4.4.1 on Linux

Steps to reproduce

I have included an MRP which shows this issue.

Minimal reproduction project (MRP)

2025-06-30-camera-server-issue.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions