Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install since I updated to Ubuntu 24.04 (device.get_properties() is null) #362

Open
greguti opened this issue May 8, 2024 · 12 comments · May be fixed by #363
Open

Unable to install since I updated to Ubuntu 24.04 (device.get_properties() is null) #362

greguti opened this issue May 8, 2024 · 12 comments · May be fixed by #363
Milestone

Comments

@greguti
Copy link

greguti commented May 8, 2024

I was using EasyScreenCast with Ubuntu 23.10 with Wayland. After the dist upgrade, and several attemps at installing the utilty, I just can't make it work again.

Each time I install via the Gnome Extension utility, I get the same message error after the installation of EasyScrenCast :

TypeError: device.get_properties() is null

I tried to use it on my Wayland session and on my X11 session, same failure each time.
I tried installing it via the Gnome Extension utility AND with the git command on my terminal (each time I erased the config files in my /home folder), same result as well.

Here are the "technical details" informations from the Gnome Extension GUI.

The settings of extension EasyScreenCast@iacopodeenosee.gmail.com had an error:

TypeError: device.get_properties() is null

Stack trace:
  getDevicesIV/filtered<@file:///home/greguti/.local/share/gnome-shell/extensions/EasyScreenCast@iacopodeenosee.gmail.com/utilwebcam.js:247:53
  getDevicesIV@file:///home/greguti/.local/share/gnome-shell/extensions/EasyScreenCast@iacopodeenosee.gmail.com/utilwebcam.js:247:29
  refreshAllInputVideo@file:///home/greguti/.local/share/gnome-shell/extensions/EasyScreenCast@iacopodeenosee.gmail.com/utilwebcam.js:125:34
  HelperWebcam@file:///home/greguti/.local/share/gnome-shell/extensions/EasyScreenCast@iacopodeenosee.gmail.com/utilwebcam.js:80:22
  EasyScreenCastSettingsWidget@file:///home/greguti/.local/share/gnome-shell/extensions/EasyScreenCast@iacopodeenosee.gmail.com/prefs.js:47:27
  fillPreferencesWindow@file:///home/greguti/.local/share/gnome-shell/extensions/EasyScreenCast@iacopodeenosee.gmail.com/prefs.js:1179:24
  _loadPrefs@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:41:18
  async*_init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:26:14
  ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:17:4
  OpenExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:139:33
  async*LaunchExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:126:14
  _handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:373:35
  _wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:408:34
  _init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
@JonBlackwell
Copy link

I had this same problem. I was able to temporarily fix the extension so it would run by editing utilwebcam.js - line 247

From:
var filtered = list.filter(device => device.get_properties().get_string('device.path') !== null);

To:
var filtered = [];

You will not be able to use webcams but it will get the extension working until it's fixed.

@greguti
Copy link
Author

greguti commented May 24, 2024

Thanks, this workaround is good for me, as I never had to screencast my webcam anyway!

adangel added a commit to adangel/EasyScreenCast that referenced this issue May 24, 2024
@adangel adangel linked a pull request May 24, 2024 that will close this issue
@adangel
Copy link
Collaborator

adangel commented May 24, 2024

Thanks for reporting this bug. I've created a fix (#363).

Could you please download the new version from here: https://github.com/EasyScreenCast/EasyScreenCast/actions/runs/9222014962/artifacts/1534386142 and test it? Thanks!

@adangel adangel added this to the next milestone May 24, 2024
@greguti
Copy link
Author

greguti commented May 24, 2024

I downloaded your zip file and replaced the files inside my .local/share/gnome-shell/extensions/EasyScreenCast@iacopodeenosee.gmail.com with it. Seems to run ok after a few tests! Thanks!

@greguti
Copy link
Author

greguti commented May 28, 2024

Finally, your zip file didn't work: when launching the recording, a op up says "an error occured, check the logs" and that's all.

So I came back to the "normal" version (with the correction suggested by JohnBlackwell), and now it works ok.

@adangel
Copy link
Collaborator

adangel commented May 31, 2024

Thanks for testing and the feedback. Unfortunately, I can't reproduce the original issue: In a fresh install of ubuntu 24.04, I can simply install the latest stable release of ESC and it just works (well, only tested a short screen cast). But I don't have any problems regarding device.get_properties() being null - tested with and without an attached webcam.

Could you please post the output of the following command? /usr/bin/gst-device-monitor-1.0 - this lists all the devices, that are available. If you don't have this command yet, might need to install it first (sudo apt install gstreamer1.0-plugins-base-apps). Maybe you have some device without properties?

For me the output is as follows:

Probing devices...

Device found:

name  : Internes Audio Analog Stereo
class : Audio/Source
caps  : audio/x-raw, layout=interleaved, format={ (string)S32LE, (string)S16LE }, rate=[ 44100, 192000 ], channels=2
properties:
	alsa.card = 0
	alsa.card_name = HDA Intel PCH
	alsa.class = generic
	alsa.components = HDA:10ec0256,10280704,00100002 HDA:80862809,80860101,00100000
	alsa.device = 0
	alsa.driver_name = snd_hda_intel
	alsa.id = PCH
	alsa.long_card_name = HDA Intel PCH at 0xdc328000 irq 140
	alsa.mixer_name = Realtek ALC3246
	alsa.name = ALC3246 Analog
	alsa.resolution_bits = 16
	alsa.subclass = generic-mix
	alsa.subdevice = 0
	alsa.subdevice_name = subdevice #0
	api.alsa.card.longname = HDA Intel PCH at 0xdc328000 irq 140
	api.alsa.card.name = HDA Intel PCH
	api.alsa.path = front:0
	api.alsa.pcm.card = 0
	api.alsa.pcm.stream = capture
	audio.channels = 2
	audio.position = FL,FR
	card.profile.device = 0
	device.api = alsa
	device.class = sound
	device.id = 46
	device.profile.description = Analog Stereo
	device.profile.name = analog-stereo
	device.routes = 3
	factory.name = api.alsa.pcm.source
	media.class = Audio/Source
	node.description = Internes Audio Analog Stereo
	node.name = alsa_input.pci-0000_00_1f.3.analog-stereo
	node.nick = ALC3246 Analog
	node.pause-on-idle = false
	object.path = alsa:pcm:0:front:0:capture
	priority.driver = 2009
	priority.session = 2009
	factory.id = 18
	clock.quantum-limit = 8192
	client.id = 40
	node.driver = true
	factory.mode = split
	audio.adapt.follower = 
	library.name = audioconvert/libspa-audioconvert
	object.id = 56
	object.serial = 56
gst-launch-1.0 pipewiresrc target-object=56 ! ...

Device found:

name  : Genius WideCam F100 Digital Stereo (IEC958)
class : Audio/Source
caps  : audio/x-raw, layout=interleaved, format={ (string)S24LE, (string)S16LE }, rate=[ 8000, 48000 ], channels=2
properties:
	alsa.card = 2
	alsa.card_name = USB_Camera
	alsa.class = generic
	alsa.components = USB0458:708c
	alsa.device = 0
	alsa.driver_name = snd_usb_audio
	alsa.id = USBCamera
	alsa.long_card_name = KYE Systems Corp. USB_Camera at usb-0000:00:14.0-2.2.3.3.4, high speed
	alsa.mixer_name = USB Mixer
	alsa.name = USB Audio
	alsa.resolution_bits = 16
	alsa.subclass = generic-mix
	alsa.subdevice = 0
	alsa.subdevice_name = subdevice #0
	api.alsa.card.longname = KYE Systems Corp. USB_Camera at usb-0000:00:14.0-2.2.3.3.4, high speed
	api.alsa.card.name = USB_Camera
	api.alsa.path = iec958:2
	api.alsa.pcm.card = 2
	api.alsa.pcm.stream = capture
	audio.channels = 2
	audio.position = FL,FR
	card.profile.device = 2
	device.api = alsa
	device.class = sound
	device.id = 75
	device.profile.description = Digital Stereo (IEC958)
	device.profile.name = iec958-stereo
	device.routes = 1
	factory.name = api.alsa.pcm.source
	media.class = Audio/Source
	node.description = Genius WideCam F100 Digital Stereo (IEC958)
	node.name = alsa_input.usb-KYE_Systems_Corp._USB_Camera_200901010001-02.iec958-stereo
	node.nick = USB_Camera
	node.pause-on-idle = false
	object.path = alsa:pcm:2:iec958:2:capture
	priority.driver = 2008
	priority.session = 2008
	factory.id = 18
	clock.quantum-limit = 8192
	client.id = 40
	node.driver = true
	factory.mode = split
	audio.adapt.follower = 
	library.name = audioconvert/libspa-audioconvert
	object.id = 93
	object.serial = 523
gst-launch-1.0 pipewiresrc target-object=523 ! ...

Device found:

name  : Dell D3100 Docking Station Analog Stereo
class : Audio/Sink
caps  : audio/x-raw, layout=interleaved, format=S16LE, rate=48000, channels=2
properties:
	alsa.card = 1
	alsa.card_name = Dell D3100 USB3.0 Dock
	alsa.class = generic
	alsa.components = USB17e9:436e
	alsa.device = 0
	alsa.driver_name = snd_usb_audio
	alsa.id = Dock
	alsa.long_card_name = DisplayLink Dell D3100 USB3.0 Dock at usb-0000:00:14.0-2.3, super speed
	alsa.mixer_name = USB Mixer
	alsa.name = USB Audio
	alsa.resolution_bits = 16
	alsa.subclass = generic-mix
	alsa.subdevice = 0
	alsa.subdevice_name = subdevice #0
	api.alsa.card.longname = DisplayLink Dell D3100 USB3.0 Dock at usb-0000:00:14.0-2.3, super speed
	api.alsa.card.name = Dell D3100 USB3.0 Dock
	api.alsa.path = front:1
	api.alsa.pcm.card = 1
	api.alsa.pcm.stream = playback
	audio.channels = 2
	audio.position = FL,FR
	card.profile.device = 4
	device.api = alsa
	device.class = sound
	device.id = 45
	device.profile.description = Analog Stereo
	device.profile.name = analog-stereo
	device.routes = 1
	factory.name = api.alsa.pcm.sink
	media.class = Audio/Sink
	node.description = Dell D3100 Docking Station Analog Stereo
	node.name = alsa_output.usb-DisplayLink_Dell_D3100_USB3.0_Dock_1512280507-02.analog-stereo.12
	node.nick = Dell D3100 USB3.0 Dock
	node.pause-on-idle = false
	object.path = alsa:pcm:1:front:1:playback
	priority.driver = 1009
	priority.session = 1009
	factory.id = 18
	clock.quantum-limit = 8192
	client.id = 40
	node.driver = true
	factory.mode = merge
	audio.adapt.follower = 
	library.name = audioconvert/libspa-audioconvert
	object.id = 53
	object.serial = 1698
	node.max-latency = 16384/48000
	api.alsa.period-size = 256
	api.alsa.period-num = 128
	api.alsa.headroom = 256
gst-launch-1.0 ... ! pipewiresink target-object=1698

Device found:

name  : Internes Audio Analog Stereo
class : Audio/Sink
caps  : audio/x-raw, layout=interleaved, format={ (string)S32LE, (string)S16LE }, rate=[ 44100, 48000 ], channels=2
properties:
	alsa.card = 0
	alsa.card_name = HDA Intel PCH
	alsa.class = generic
	alsa.components = HDA:10ec0256,10280704,00100002 HDA:80862809,80860101,00100000
	alsa.device = 0
	alsa.driver_name = snd_hda_intel
	alsa.id = PCH
	alsa.long_card_name = HDA Intel PCH at 0xdc328000 irq 140
	alsa.mixer_name = Realtek ALC3246
	alsa.name = ALC3246 Analog
	alsa.resolution_bits = 16
	alsa.subclass = generic-mix
	alsa.subdevice = 0
	alsa.subdevice_name = subdevice #0
	api.alsa.card.longname = HDA Intel PCH at 0xdc328000 irq 140
	api.alsa.card.name = HDA Intel PCH
	api.alsa.path = front:0
	api.alsa.pcm.card = 0
	api.alsa.pcm.stream = playback
	audio.channels = 2
	audio.position = FL,FR
	card.profile.device = 6
	device.api = alsa
	device.class = sound
	device.id = 46
	device.profile.description = Analog Stereo
	device.profile.name = analog-stereo
	device.routes = 2
	factory.name = api.alsa.pcm.sink
	media.class = Audio/Sink
	node.description = Internes Audio Analog Stereo
	node.name = alsa_output.pci-0000_00_1f.3.analog-stereo
	node.nick = ALC3246 Analog
	node.pause-on-idle = false
	object.path = alsa:pcm:0:front:0:playback
	priority.driver = 1009
	priority.session = 1009
	factory.id = 18
	clock.quantum-limit = 8192
	client.id = 40
	node.driver = true
	factory.mode = merge
	audio.adapt.follower = 
	library.name = audioconvert/libspa-audioconvert
	object.id = 55
	object.serial = 55
gst-launch-1.0 ... ! pipewiresink target-object=55

Device found:

name  : Integrated_Webcam_HD (V4L2)
class : Video/Source
caps  : video/x-raw, format=YUY2, width=640, height=480, framerate={ (fraction)30/1, (fraction)30/1 }
        video/x-raw, format=YUY2, width=160, height=120, framerate=30/1
        video/x-raw, format=YUY2, width=320, height=180, framerate=30/1
        video/x-raw, format=YUY2, width=320, height=240, framerate=30/1
        video/x-raw, format=YUY2, width=424, height=240, framerate=30/1
        video/x-raw, format=YUY2, width=640, height=360, framerate=30/1
        video/x-raw, format=YUY2, width=640, height=480, framerate={ (fraction)30/1, (fraction)30/1 }
        image/jpeg, width=848, height=480, framerate=30/1
        image/jpeg, width=960, height=540, framerate=30/1
        image/jpeg, width=1280, height=720, framerate=30/1
properties:
	api.v4l2.cap.bus_info = usb-0000:00:14.0-5
	api.v4l2.cap.capabilities = 84a00001
	api.v4l2.cap.card = Integrated_Webcam_HD: Integrate
	api.v4l2.cap.device-caps = 04200001
	api.v4l2.cap.driver = uvcvideo
	api.v4l2.cap.version = 6.7.12
	api.v4l2.path = /dev/video0
	device.api = v4l2
	device.devids = [ 20736 ]
	device.id = 67
	device.product.id = 0x568
	device.vendor.id = 0x0bd
	factory.name = api.v4l2.source
	media.class = Video/Source
	node.description = Integrated_Webcam_HD (V4L2)
	node.name = v4l2_input.pci-0000_00_14.0-usb-0_5_1.0
	node.nick = Integrated_Webcam_HD
	node.pause-on-idle = false
	object.path = v4l2:/dev/video0
	priority.session = 1000
	factory.id = 10
	client.id = 40
	clock.quantum-limit = 8192
	media.role = Camera
	node.driver = true
	object.id = 97
	object.serial = 1154
gst-launch-1.0 pipewiresrc target-object=1154 ! ...

Device found:

name  : USB_Camera (V4L2)
class : Video/Source
caps  : video/x-raw, format=YUY2, width=640, height=480, framerate=30/1
        video/x-raw, format=YUY2, width=160, height=120, framerate=30/1
        video/x-raw, format=YUY2, width=176, height=144, framerate=30/1
        video/x-raw, format=YUY2, width=320, height=240, framerate=30/1
        video/x-raw, format=YUY2, width=352, height=288, framerate=30/1
        video/x-raw, format=YUY2, width=800, height=600, framerate=10/1
        video/x-raw, format=YUY2, width=1280, height=720, framerate=8/1
        video/x-raw, format=YUY2, width=1920, height=1080, framerate=5/1
        image/jpeg, width=640, height=480, framerate=30/1
        image/jpeg, width=160, height=120, framerate=30/1
        image/jpeg, width=176, height=144, framerate=30/1
        image/jpeg, width=320, height=240, framerate=30/1
        image/jpeg, width=352, height=288, framerate=30/1
        image/jpeg, width=800, height=600, framerate=30/1
        image/jpeg, width=1280, height=720, framerate=30/1
        image/jpeg, width=1920, height=1080, framerate=30/1
properties:
	api.v4l2.cap.bus_info = usb-0000:00:14.0-2.2.3.3.4
	api.v4l2.cap.capabilities = 84a00001
	api.v4l2.cap.card = USB_Camera: USB_Camera
	api.v4l2.cap.device-caps = 04200001
	api.v4l2.cap.driver = uvcvideo
	api.v4l2.cap.version = 6.7.12
	api.v4l2.path = /dev/video2
	device.api = v4l2
	device.devids = [ 20738 ]
	device.id = 57
	device.product.id = 0x708
	device.vendor.id = 0x045
	factory.name = api.v4l2.source
	media.class = Video/Source
	node.description = USB_Camera (V4L2)
	node.name = v4l2_input.pci-0000_00_14.0-usb-0_2.2.3.3.4_1.0
	node.nick = USB_Camera
	node.pause-on-idle = false
	object.path = v4l2:/dev/video2
	priority.session = 980
	factory.id = 10
	client.id = 40
	clock.quantum-limit = 8192
	media.role = Camera
	node.driver = true
	object.id = 74
	object.serial = 519
gst-launch-1.0 pipewiresrc target-object=519 ! ...

Device found:

name  : unknown
class : Stream/Output/Audio
caps  : audio/x-raw, layout=interleaved, format=S16LE, rate=44100, channels=1
properties:
	client.api = pipewire-pulse
	pulse.server.type = unix
	application.name = speech-dispatcher-dummy
	application.process.id = 1068096
	application.process.user = andreas
	application.process.host = adangel
	application.process.binary = sd_dummy
	application.language = C
	window.x11.display = :0
	application.process.machine-id = 30f818ff53fa4d859ad641522bcee466
	media.name = playback
	node.rate = 1/44100
	node.latency = 882/44100
	stream.is-live = true
	node.name = speech-dispatcher-dummy
	node.want-driver = true
	node.autoconnect = true
	media.class = Stream/Output/Audio
	adapt.follower.spa-node = 
	object.register = false
	factory.id = 6
	clock.quantum-limit = 8192
	factory.mode = split
	audio.adapt.follower = 
	library.name = audioconvert/libspa-audioconvert
	client.id = 128
	object.id = 92
	object.serial = 465
	pulse.attr.maxlength = 4194304
	pulse.attr.tlength = 5292
	pulse.attr.prebuf = 3530
	pulse.attr.minreq = 1764

Device found:

name  : llvmpipe (LLVM 17.0.6, 256 bits)
class : Video/Sink
caps  : video/x-raw(memory:VulkanImage)
properties:
	vulkan.name = llvmpipe (LLVM 17.0.6, 256 bits)
	vulkan.type = CPU
	vulkan.api.version = 1.3.274
	vulkan.api.version.major = 1 (0x00000001)
	vulkan.api.version.minor = 3 (0x00000003)
	vulkan.api.version.patch = 274 (0x00000112)
	vulkan.driver.version = 0.0.1
	vulkan.driver.version.major = 0 (0x00000000)
	vulkan.driver.version.minor = 0 (0x00000000)
	vulkan.driver.version.patch = 1 (0x00000001)
	vulkan.vendor.id = 65541 (0x00010005)
	vulkan.device.id = 0 (0x00000000)
	vulkan.memory.n_heaps = 1 (0x00000001)
	vulkan.memory.heaps.0.size = 16617779200
	vulkan.memory.heaps.0.flags = 1 (0x00000001)
	vulkan.memory.heaps.0.flags.str = device-local
	vulkan.memory.n_types = 1 (0x00000001)
	vulkan.memory.types.0.heap = 0 (0x00000000)
	vulkan.memory.types.0.flags = 15 (0x0000000f)
	vulkan.memory.types.0.flags.str = device-local|host-visible|host-coherent|host-cached
	vulkan.n_queue_families = 1 (0x00000001)
	vulkan.queue_family.0.n_queues = 1 (0x00000001)
	vulkan.queue_family.0.flags = 7 (0x00000007)
	vulkan.queue_family.0.flags.str = graphics|compute|transfer
	vulkan.queue_family.0.timestamp_resolution = 64 (0x00000040)
	vulkan.queue_family.0.min_image_transfer_granuality.width = 1 (0x00000001)
	vulkan.queue_family.0.min_image_transfer_granuality.height = 1 (0x00000001)
	vulkan.queue_family.0.min_image_transfer_granuality.depth = 1 (0x00000001)
	is-default = false
gst-launch-1.0 ... ! vulkansink

Device found:

name  : Intel(R) Iris(R) Graphics 540 (SKL GT3)
class : Video/Sink
caps  : video/x-raw(memory:VulkanImage)
properties:
	vulkan.name = Intel(R) Iris(R) Graphics 540 (SKL GT3)
	vulkan.type = integrated
	vulkan.api.version = 1.3.274
	vulkan.api.version.major = 1 (0x00000001)
	vulkan.api.version.minor = 3 (0x00000003)
	vulkan.api.version.patch = 274 (0x00000112)
	vulkan.driver.version = 24.0.7
	vulkan.driver.version.major = 24 (0x00000018)
	vulkan.driver.version.minor = 0 (0x00000000)
	vulkan.driver.version.patch = 7 (0x00000007)
	vulkan.vendor.id = 32902 (0x00008086)
	vulkan.device.id = 6438 (0x00001926)
	vulkan.memory.n_heaps = 1 (0x00000001)
	vulkan.memory.heaps.0.size = 12463334400
	vulkan.memory.heaps.0.flags = 1 (0x00000001)
	vulkan.memory.heaps.0.flags.str = device-local
	vulkan.memory.n_types = 3 (0x00000003)
	vulkan.memory.types.0.heap = 0 (0x00000000)
	vulkan.memory.types.0.flags = 1 (0x00000001)
	vulkan.memory.types.0.flags.str = device-local
	vulkan.memory.types.1.heap = 0 (0x00000000)
	vulkan.memory.types.1.flags = 7 (0x00000007)
	vulkan.memory.types.1.flags.str = device-local|host-visible|host-coherent
	vulkan.memory.types.2.heap = 0 (0x00000000)
	vulkan.memory.types.2.flags = 15 (0x0000000f)
	vulkan.memory.types.2.flags.str = device-local|host-visible|host-coherent|host-cached
	vulkan.n_queue_families = 1 (0x00000001)
	vulkan.queue_family.0.n_queues = 1 (0x00000001)
	vulkan.queue_family.0.flags = 7 (0x00000007)
	vulkan.queue_family.0.flags.str = graphics|compute|transfer
	vulkan.queue_family.0.timestamp_resolution = 36 (0x00000024)
	vulkan.queue_family.0.min_image_transfer_granuality.width = 1 (0x00000001)
	vulkan.queue_family.0.min_image_transfer_granuality.height = 1 (0x00000001)
	vulkan.queue_family.0.min_image_transfer_granuality.depth = 1 (0x00000001)
	is-default = true
gst-launch-1.0 ... ! vulkansink

@greguti
Copy link
Author

greguti commented May 31, 2024

greguti@Greguti-Asus:~$ /usr/bin/gst-device-monitor-1.0
Probing devices...

[3:23:15.025503573] [49456]  WARN IPAManager ipa_manager.cpp:154 No IPA found in '/usr/lib/x86_64-linux-gnu/libcamera'
[3:23:15.025539983] [49456]  INFO Camera camera_manager.cpp:284 libcamera v0.2.0

Device found:

	name  : Tiger Lake-LP Smart Sound Technology Audio Controller Headphones Stereo Microphone
	class : Audio/Source
	caps  : audio/x-raw, layout=interleaved, format={ (string)S24_32LE, (string)S16LE }, rate=48000, channels=2
	properties:
		alsa.card = 0
		alsa.card_name = sof-hda-dsp
		alsa.class = generic
		alsa.components = HDA:80862812,80860101,00100000 HDA:10ec0294,10431452,00100004 cfg-dmics:2
		alsa.device = 0
		alsa.driver_name = snd_soc_skl_hda_dsp
		alsa.id = sofhdadsp
		alsa.long_card_name = ASUSTeKCOMPUTERINC.-ZenBookUX325EA_UX325EA-1.0-UX325EA
		alsa.mixer_device = _ucm0001.hw:sofhdadsp
		alsa.mixer_name = Realtek ALC294
		alsa.name = 
		alsa.resolution_bits = 16
		alsa.subclass = generic-mix
		alsa.subdevice = 0
		alsa.subdevice_name = subdevice #0
		api.alsa.card.longname = ASUSTeKCOMPUTERINC.-ZenBookUX325EA_UX325EA-1.0-UX325EA
		api.alsa.card.name = sof-hda-dsp
		api.alsa.open.ucm = true
		api.alsa.path = hw:sofhdadsp
		api.alsa.pcm.card = 0
		api.alsa.pcm.stream = capture
		audio.channels = 2
		audio.position = FL,FR
		card.profile.device = 4
		device.api = alsa
		device.class = sound
		device.id = 46
		device.profile.description = Headphones Stereo Microphone
		device.profile.name = HiFi: hw:sofhdadsp: source
		device.routes = 1
		factory.name = api.alsa.pcm.source
		media.class = Audio/Source
		node.description = Tiger Lake-LP Smart Sound Technology Audio Controller Headphones Stereo Microphone
		node.name = alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__source
		node.nick = Headphones Stereo Microphone
		node.pause-on-idle = false
		object.path = alsa:pcm:0:hw:sofhdadsp:capture
		priority.driver = 2000
		priority.session = 2000
		factory.id = 18
		clock.quantum-limit = 8192
		client.id = 35
		node.driver = true
		factory.mode = split
		audio.adapt.follower = 
		library.name = audioconvert/libspa-audioconvert
		object.id = 51
		object.serial = 51
	gst-launch-1.0 pipewiresrc target-object=51 ! ...


Device found:

	name  : Tiger Lake-LP Smart Sound Technology Audio Controller Digital Microphone
	class : Audio/Source
	caps  : audio/x-raw, layout=interleaved, format={ (string)S32LE, (string)S24_32LE, (string)S16LE }, rate=48000, channels=2
	properties:
		alsa.card = 0
		alsa.card_name = sof-hda-dsp
		alsa.class = generic
		alsa.components = HDA:80862812,80860101,00100000 HDA:10ec0294,10431452,00100004 cfg-dmics:2
		alsa.device = 6
		alsa.driver_name = snd_soc_skl_hda_dsp
		alsa.id = sofhdadsp
		alsa.long_card_name = ASUSTeKCOMPUTERINC.-ZenBookUX325EA_UX325EA-1.0-UX325EA
		alsa.mixer_device = _ucm0001.hw:sofhdadsp
		alsa.mixer_name = Realtek ALC294
		alsa.name = 
		alsa.resolution_bits = 16
		alsa.subclass = generic-mix
		alsa.subdevice = 0
		alsa.subdevice_name = subdevice #0
		api.alsa.card.longname = ASUSTeKCOMPUTERINC.-ZenBookUX325EA_UX325EA-1.0-UX325EA
		api.alsa.card.name = sof-hda-dsp
		api.alsa.open.ucm = true
		api.alsa.path = hw:sofhdadsp,6
		api.alsa.pcm.card = 0
		api.alsa.pcm.stream = capture
		audio.channels = 2
		audio.position = FL,FR
		card.profile.device = 5
		device.api = alsa
		device.class = sound
		device.id = 46
		device.profile.description = Digital Microphone
		device.profile.name = HiFi: hw:sofhdadsp,6: source
		device.routes = 1
		factory.name = api.alsa.pcm.source
		media.class = Audio/Source
		node.description = Tiger Lake-LP Smart Sound Technology Audio Controller Digital Microphone
		node.name = alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_6__source
		node.nick = Digital Microphone
		node.pause-on-idle = false
		object.path = alsa:pcm:0:hw:sofhdadsp,6:capture
		priority.driver = 1648
		priority.session = 1648
		factory.id = 18
		clock.quantum-limit = 8192
		client.id = 35
		node.driver = true
		factory.mode = split
		audio.adapt.follower = 
		library.name = audioconvert/libspa-audioconvert
		object.id = 52
		object.serial = 52
	gst-launch-1.0 pipewiresrc target-object=52 ! ...


Device found:

	name  : JBL Charge 3
	class : Audio/Sink
	caps  : audio/x-raw, layout=interleaved, format=S16LE, rate=48000, channels=2
	properties:
		api.bluez5.address = B8:D5:0B:AF:AD:61
		api.bluez5.codec = sbc
		api.bluez5.profile = a2dp-sink
		api.bluez5.transport = 
		card.profile.device = 1
		device.id = 68
		device.routes = 1
		factory.name = api.bluez5.a2dp.sink
		node.description = JBL Charge 3
		node.name = bluez_output.B8_D5_0B_AF_AD_61.1
		node.pause-on-idle = false
		priority.driver = 1010
		priority.session = 1010
		factory.id = 8
		clock.quantum-limit = 8192
		device.api = bluez5
		media.class = Audio/Sink
		media.name = JBL Charge 3
		node.driver = true
		factory.mode = merge
		audio.adapt.follower = 
		library.name = audioconvert/libspa-audioconvert
		object.id = 69
		object.serial = 147
		client.id = 35
	gst-launch-1.0 ... ! pipewiresink target-object=147


Device found:

	name  : Tiger Lake-LP Smart Sound Technology Audio Controller Headphones
	class : Audio/Sink
	caps  : audio/x-raw, layout=interleaved, format={ (string)S32LE, (string)S24_32LE, (string)S16LE }, rate=48000, channels=2
	properties:
		alsa.card = 0
		alsa.card_name = sof-hda-dsp
		alsa.class = generic
		alsa.components = HDA:80862812,80860101,00100000 HDA:10ec0294,10431452,00100004 cfg-dmics:2
		alsa.device = 0
		alsa.driver_name = snd_soc_skl_hda_dsp
		alsa.id = sofhdadsp
		alsa.long_card_name = ASUSTeKCOMPUTERINC.-ZenBookUX325EA_UX325EA-1.0-UX325EA
		alsa.mixer_device = _ucm0001.hw:sofhdadsp
		alsa.mixer_name = Realtek ALC294
		alsa.name = 
		alsa.resolution_bits = 16
		alsa.subclass = generic-mix
		alsa.subdevice = 0
		alsa.subdevice_name = subdevice #0
		api.alsa.card.longname = ASUSTeKCOMPUTERINC.-ZenBookUX325EA_UX325EA-1.0-UX325EA
		api.alsa.card.name = sof-hda-dsp
		api.alsa.open.ucm = true
		api.alsa.path = hw:sofhdadsp
		api.alsa.pcm.card = 0
		api.alsa.pcm.stream = playback
		audio.channels = 2
		audio.position = FL,FR
		card.profile.device = 3
		device.api = alsa
		device.class = sound
		device.id = 46
		device.profile.description = Headphones
		device.profile.name = HiFi: hw:sofhdadsp: sink
		device.routes = 1
		factory.name = api.alsa.pcm.sink
		media.class = Audio/Sink
		node.description = Tiger Lake-LP Smart Sound Technology Audio Controller Headphones
		node.name = alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink
		node.nick = Headphones
		node.pause-on-idle = false
		object.path = alsa:pcm:0:hw:sofhdadsp:playback
		priority.driver = 1000
		priority.session = 1000
		factory.id = 18
		clock.quantum-limit = 8192
		client.id = 35
		node.driver = true
		factory.mode = merge
		audio.adapt.follower = 
		library.name = audioconvert/libspa-audioconvert
		object.id = 50
		object.serial = 50
	gst-launch-1.0 ... ! pipewiresink target-object=50


Device found:

	name  : Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 1 Output
	class : Audio/Sink
	caps  : audio/x-raw, layout=interleaved, format={ (string)S24_32LE, (string)S16LE }, rate=48000, channels=2
	properties:
		alsa.card = 0
		alsa.card_name = sof-hda-dsp
		alsa.class = generic
		alsa.components = HDA:80862812,80860101,00100000 HDA:10ec0294,10431452,00100004 cfg-dmics:2
		alsa.device = 3
		alsa.driver_name = snd_soc_skl_hda_dsp
		alsa.id = sofhdadsp
		alsa.long_card_name = ASUSTeKCOMPUTERINC.-ZenBookUX325EA_UX325EA-1.0-UX325EA
		alsa.mixer_device = _ucm0001.hw:sofhdadsp
		alsa.mixer_name = Realtek ALC294
		alsa.name = 
		alsa.resolution_bits = 16
		alsa.subclass = generic-mix
		alsa.subdevice = 0
		alsa.subdevice_name = subdevice #0
		api.alsa.card.longname = ASUSTeKCOMPUTERINC.-ZenBookUX325EA_UX325EA-1.0-UX325EA
		api.alsa.card.name = sof-hda-dsp
		api.alsa.open.ucm = true
		api.alsa.path = hw:sofhdadsp,3
		api.alsa.pcm.card = 0
		api.alsa.pcm.stream = playback
		audio.channels = 2
		audio.position = FL,FR
		card.profile.device = 2
		device.api = alsa
		device.class = sound
		device.id = 46
		device.profile.description = HDMI / DisplayPort 1 Output
		device.profile.name = HiFi: hw:sofhdadsp,3: sink
		device.routes = 1
		factory.name = api.alsa.pcm.sink
		media.class = Audio/Sink
		node.description = Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 1 Output
		node.name = alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink
		node.nick = HDMI / DisplayPort 1 Output
		node.pause-on-idle = false
		object.path = alsa:pcm:0:hw:sofhdadsp,3:playback
		priority.driver = 696
		priority.session = 696
		factory.id = 18
		clock.quantum-limit = 8192
		client.id = 35
		node.driver = true
		factory.mode = merge
		audio.adapt.follower = 
		library.name = audioconvert/libspa-audioconvert
		object.id = 49
		object.serial = 49
	gst-launch-1.0 ... ! pipewiresink target-object=49


Device found:

	name  : Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 2 Output
	class : Audio/Sink
	caps  : audio/x-raw, layout=interleaved, format={ (string)S24_32LE, (string)S16LE }, rate=48000, channels=2
	properties:
		alsa.card = 0
		alsa.card_name = sof-hda-dsp
		alsa.class = generic
		alsa.components = HDA:80862812,80860101,00100000 HDA:10ec0294,10431452,00100004 cfg-dmics:2
		alsa.device = 4
		alsa.driver_name = snd_soc_skl_hda_dsp
		alsa.id = sofhdadsp
		alsa.long_card_name = ASUSTeKCOMPUTERINC.-ZenBookUX325EA_UX325EA-1.0-UX325EA
		alsa.mixer_device = _ucm0001.hw:sofhdadsp
		alsa.mixer_name = Realtek ALC294
		alsa.name = 
		alsa.resolution_bits = 16
		alsa.subclass = generic-mix
		alsa.subdevice = 0
		alsa.subdevice_name = subdevice #0
		api.alsa.card.longname = ASUSTeKCOMPUTERINC.-ZenBookUX325EA_UX325EA-1.0-UX325EA
		api.alsa.card.name = sof-hda-dsp
		api.alsa.open.ucm = true
		api.alsa.path = hw:sofhdadsp,4
		api.alsa.pcm.card = 0
		api.alsa.pcm.stream = playback
		audio.channels = 2
		audio.position = FL,FR
		card.profile.device = 1
		device.api = alsa
		device.class = sound
		device.id = 46
		device.profile.description = HDMI / DisplayPort 2 Output
		device.profile.name = HiFi: hw:sofhdadsp,4: sink
		device.routes = 1
		factory.name = api.alsa.pcm.sink
		media.class = Audio/Sink
		node.description = Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 2 Output
		node.name = alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink
		node.nick = HDMI / DisplayPort 2 Output
		node.pause-on-idle = false
		object.path = alsa:pcm:0:hw:sofhdadsp,4:playback
		priority.driver = 680
		priority.session = 680
		factory.id = 18
		clock.quantum-limit = 8192
		client.id = 35
		node.driver = true
		factory.mode = merge
		audio.adapt.follower = 
		library.name = audioconvert/libspa-audioconvert
		object.id = 48
		object.serial = 48
	gst-launch-1.0 ... ! pipewiresink target-object=48


Device found:

	name  : Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 3 Output
	class : Audio/Sink
	caps  : audio/x-raw, layout=interleaved, format={ (string)S24_32LE, (string)S16LE }, rate=48000, channels=2
	properties:
		alsa.card = 0
		alsa.card_name = sof-hda-dsp
		alsa.class = generic
		alsa.components = HDA:80862812,80860101,00100000 HDA:10ec0294,10431452,00100004 cfg-dmics:2
		alsa.device = 5
		alsa.driver_name = snd_soc_skl_hda_dsp
		alsa.id = sofhdadsp
		alsa.long_card_name = ASUSTeKCOMPUTERINC.-ZenBookUX325EA_UX325EA-1.0-UX325EA
		alsa.mixer_device = _ucm0001.hw:sofhdadsp
		alsa.mixer_name = Realtek ALC294
		alsa.name = 
		alsa.resolution_bits = 16
		alsa.subclass = generic-mix
		alsa.subdevice = 0
		alsa.subdevice_name = subdevice #0
		api.alsa.card.longname = ASUSTeKCOMPUTERINC.-ZenBookUX325EA_UX325EA-1.0-UX325EA
		api.alsa.card.name = sof-hda-dsp
		api.alsa.open.ucm = true
		api.alsa.path = hw:sofhdadsp,5
		api.alsa.pcm.card = 0
		api.alsa.pcm.stream = playback
		audio.channels = 2
		audio.position = FL,FR
		card.profile.device = 0
		device.api = alsa
		device.class = sound
		device.id = 46
		device.profile.description = HDMI / DisplayPort 3 Output
		device.profile.name = HiFi: hw:sofhdadsp,5: sink
		device.routes = 1
		factory.name = api.alsa.pcm.sink
		media.class = Audio/Sink
		node.description = Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 3 Output
		node.name = alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink
		node.nick = HDMI / DisplayPort 3 Output
		node.pause-on-idle = false
		object.path = alsa:pcm:0:hw:sofhdadsp,5:playback
		priority.driver = 664
		priority.session = 664
		factory.id = 18
		clock.quantum-limit = 8192
		client.id = 35
		node.driver = true
		factory.mode = merge
		audio.adapt.follower = 
		library.name = audioconvert/libspa-audioconvert
		object.id = 47
		object.serial = 47
	gst-launch-1.0 ... ! pipewiresink target-object=47


Device found:

	name  : unknown
	class : Stream/Output/Audio
	caps  : audio/x-raw, layout=interleaved, format=S16LE, rate=44100, channels=1
	properties:
		client.api = pipewire-pulse
		pulse.server.type = unix
		application.name = speech-dispatcher-dummy
		application.process.id = 36998
		application.process.user = greguti
		application.process.host = Greguti-Asus
		application.process.binary = sd_dummy
		application.language = C
		window.x11.display = :0
		application.process.machine-id = bb6059847fda4215a001997457951ace
		pulse.min.req = 512/48000
		pulse.min.quantum = 512/48000
		pulse.idle.timeout = 5
		media.name = playback
		node.rate = 1/44100
		node.latency = 471/44100
		stream.is-live = true
		node.name = speech-dispatcher-dummy
		node.want-driver = true
		node.autoconnect = true
		media.class = Stream/Output/Audio
		adapt.follower.spa-node = 
		object.register = false
		factory.id = 6
		clock.quantum-limit = 8192
		factory.mode = split
		audio.adapt.follower = 
		library.name = audioconvert/libspa-audioconvert
		client.id = 82
		object.id = 88
		object.serial = 180
		pulse.attr.maxlength = 4194304
		pulse.attr.tlength = 2826
		pulse.attr.prebuf = 1886
		pulse.attr.minreq = 942


Device found:

	name  : \_SB_.PC00.XHCI.RHUB.HS06-6:1.0-0408:30c0
	class : Source/Video
	caps  : image/jpeg, width=160, height=120
	        image/jpeg, width=176, height=144
	        image/jpeg, width=320, height=240
	        image/jpeg, width=352, height=288
	        image/jpeg, width=640, height=480
	        image/jpeg, width=1280, height=720
	        video/x-raw, format=YUY2, width=160, height=120
	        video/x-raw, format=YUY2, width=176, height=144
	        video/x-raw, format=YUY2, width=320, height=240
	        video/x-raw, format=YUY2, width=352, height=288
	        video/x-raw, format=YUY2, width=640, height=480
	        video/x-raw, format=YUY2, width=1280, height=720
	gst-launch-1.0 libcamerasrc camera-name="\\_SB_.PC00.XHCI.RHUB.HS06-6:1.0-0408:30c0" ! ...


Device found:

	name  : llvmpipe (LLVM 17.0.6, 256 bits)
	class : Video/Sink
	caps  : video/x-raw(memory:VulkanImage)
	properties:
		vulkan.name = llvmpipe (LLVM 17.0.6, 256 bits)
		vulkan.type = CPU
		vulkan.api.version = 1.3.274
		vulkan.api.version.major = 1 (0x00000001)
		vulkan.api.version.minor = 3 (0x00000003)
		vulkan.api.version.patch = 274 (0x00000112)
		vulkan.driver.version = 0.0.1
		vulkan.driver.version.major = 0 (0x00000000)
		vulkan.driver.version.minor = 0 (0x00000000)
		vulkan.driver.version.patch = 1 (0x00000001)
		vulkan.vendor.id = 65541 (0x00010005)
		vulkan.device.id = 0 (0x00000000)
		vulkan.memory.n_heaps = 1 (0x00000001)
		vulkan.memory.heaps.0.size = 16450670592
		vulkan.memory.heaps.0.flags = 1 (0x00000001)
		vulkan.memory.heaps.0.flags.str = device-local
		vulkan.memory.n_types = 1 (0x00000001)
		vulkan.memory.types.0.heap = 0 (0x00000000)
		vulkan.memory.types.0.flags = 15 (0x0000000f)
		vulkan.memory.types.0.flags.str = device-local|host-visible|host-coherent|host-cached
		vulkan.n_queue_families = 1 (0x00000001)
		vulkan.queue_family.0.n_queues = 1 (0x00000001)
		vulkan.queue_family.0.flags = 7 (0x00000007)
		vulkan.queue_family.0.flags.str = graphics|compute|transfer
		vulkan.queue_family.0.timestamp_resolution = 64 (0x00000040)
		vulkan.queue_family.0.min_image_transfer_granuality.width = 1 (0x00000001)
		vulkan.queue_family.0.min_image_transfer_granuality.height = 1 (0x00000001)
		vulkan.queue_family.0.min_image_transfer_granuality.depth = 1 (0x00000001)
		is-default = false
	gst-launch-1.0 ... ! vulkansink


Device found:

	name  : Intel(R) Xe Graphics (TGL GT2)
	class : Video/Sink
	caps  : video/x-raw(memory:VulkanImage)
	properties:
		vulkan.name = Intel(R) Xe Graphics (TGL GT2)
		vulkan.type = integrated
		vulkan.api.version = 1.3.274
		vulkan.api.version.major = 1 (0x00000001)
		vulkan.api.version.minor = 3 (0x00000003)
		vulkan.api.version.patch = 274 (0x00000112)
		vulkan.driver.version = 24.0.5
		vulkan.driver.version.major = 24 (0x00000018)
		vulkan.driver.version.minor = 0 (0x00000000)
		vulkan.driver.version.patch = 5 (0x00000005)
		vulkan.vendor.id = 32902 (0x00008086)
		vulkan.device.id = 39497 (0x00009a49)
		vulkan.memory.n_heaps = 1 (0x00000001)
		vulkan.memory.heaps.0.size = 12338002944
		vulkan.memory.heaps.0.flags = 1 (0x00000001)
		vulkan.memory.heaps.0.flags.str = device-local
		vulkan.memory.n_types = 4 (0x00000004)
		vulkan.memory.types.0.heap = 0 (0x00000000)
		vulkan.memory.types.0.flags = 1 (0x00000001)
		vulkan.memory.types.0.flags.str = device-local
		vulkan.memory.types.1.heap = 0 (0x00000000)
		vulkan.memory.types.1.flags = 7 (0x00000007)
		vulkan.memory.types.1.flags.str = device-local|host-visible|host-coherent
		vulkan.memory.types.2.heap = 0 (0x00000000)
		vulkan.memory.types.2.flags = 15 (0x0000000f)
		vulkan.memory.types.2.flags.str = device-local|host-visible|host-coherent|host-cached
		vulkan.memory.types.3.heap = 0 (0x00000000)
		vulkan.memory.types.3.flags = 33 (0x00000021)
		vulkan.memory.types.3.flags.str = device-local|protected
		vulkan.n_queue_families = 1 (0x00000001)
		vulkan.queue_family.0.n_queues = 1 (0x00000001)
		vulkan.queue_family.0.flags = 31 (0x0000001f)
		vulkan.queue_family.0.flags.str = graphics|compute|transfer|sparse-binding|protected
		vulkan.queue_family.0.timestamp_resolution = 36 (0x00000024)
		vulkan.queue_family.0.min_image_transfer_granuality.width = 1 (0x00000001)
		vulkan.queue_family.0.min_image_transfer_granuality.height = 1 (0x00000001)
		vulkan.queue_family.0.min_image_transfer_granuality.depth = 1 (0x00000001)
		is-default = true
	gst-launch-1.0 ... ! vulkansink

@adangel
Copy link
Collaborator

adangel commented Jun 2, 2024

Thanks for the info. I finally see now a similar exception. You seem to have a webcam installed after all:

Device found:

name : _SB_.PC00.XHCI.RHUB.HS06-6:1.0-0408:30c0
class : Source/Video
caps : image/jpeg, width=160, height=120
image/jpeg, width=176, height=144
image/jpeg, width=320, height=240
image/jpeg, width=352, height=288
image/jpeg, width=640, height=480
image/jpeg, width=1280, height=720
video/x-raw, format=YUY2, width=160, height=120
video/x-raw, format=YUY2, width=176, height=144
video/x-raw, format=YUY2, width=320, height=240
video/x-raw, format=YUY2, width=352, height=288
video/x-raw, format=YUY2, width=640, height=480
video/x-raw, format=YUY2, width=1280, height=720
gst-launch-1.0 libcamerasrc camera-name="\SB.PC00.XHCI.RHUB.HS06-6:1.0-0408:30c0" ! ...

This problem appears, after I install the package gstreamer1.0-libcamera - which provides a gstreamer device, with which EasyScreenCast obviously can't deal with properly.

As a workaround, you can remove this package, if you don't need it: sudo apt remove gstreamer1.0-libcamera.

@greguti
Copy link
Author

greguti commented Jun 3, 2024

Hmmm... how do I know that I DON'T need it to handle my webcam? I use mainly kDrive (Jitsi) and Zoom as visio applications (maybe linked to these apps?).

Here is the output of the nala show gstreamer1.0-libcamera command.

Package: gstreamer1.0-libcamera
Version: 0.2.0-3fakesync1build6
Architecture: amd64
Installed: yes
Priority: optional
Essential: no
Section: libs
Source: libcamera
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 164 KB
Depends: 
  libc6 (>= 2.32)
  libcamera0.2 (>= 0.2.0)
  libgcc-s1 (>= 3.3.1)
  libglib2.0-0t64 (>= 2.79.0)
  libgstreamer-plugins-base1.0-0 (>= 1.12.0)
  libgstreamer1.0-0 (>= 1.18.0)
  libstdc++6 (>= 13.1)
Replaces: gstreamer1.0-libcamera, libcamera0
Breaks: libcamera0 (< 0.0.3-1~), gstreamer1.0-libcamera (!= 0.2.0-3fakesync1build6)
Homepage: https://libcamera.org/
Download-Size: 43 KB
APT-Sources: https://ubuntu.mirrors.ovh.net/ubuntu/ noble/main amd64 Packages
Description: complex camera support library (GStreamer plugin)
 libcamera is a complex camera support library which handles low-level
 control of the camera devices, providing a unified higher-level
 programming interface to the applications.
 .
 This package contains the libcamera GStreamer plugin.

@greguti
Copy link
Author

greguti commented Jun 3, 2024

And here the output of the command sudo nala remove gstreamer1.0-libcamera.

====================================================================================================
 Auto-Removing                                                                                      
====================================================================================================
  Package:                         Version:                                                  Size:  
  libcamera0.2                     0.2.0-3fakesync1build6                                   1.4 MB  
  liblttng-ust-common1t64          2.13.7-1.1ubuntu2                                        101 KB  
  liblttng-ust-ctl5t64             2.13.7-1.1ubuntu2                                        278 KB  
  liblttng-ust1t64                 2.13.7-1.1ubuntu2                                        804 KB  
                                                                                                    
====================================================================================================
 Removing                                                                                           
====================================================================================================
  Package:                         Version:                                                  Size:  
  gnome-snapshot                   46.2-1ubuntu2                                            1.9 MB  
  gstreamer1.0-libcamera           0.2.0-3fakesync1build6                                   164 KB  
                                                                                                    
====================================================================================================
 Summary                                                                                            
====================================================================================================
 Auto-Remove 4 Packages                                                                             
 Remove      2 Packages                                                                             
                                                                                                    
 Disk space to free  4.6 MB   

@greguti
Copy link
Author

greguti commented Jun 3, 2024

(Not sure I wanna get rid of gnome-snapshot... !)

@adangel
Copy link
Collaborator

adangel commented Jun 6, 2024

Sure, if you need gnome-snapshot, then removing it is not an option.

I've tested now again, and with my proposed fix I can't reproduce the problem anymore. I can record my screen multiple times, with various different options. I didn't see such an error.

Finally, your zip file didn't work: when launching the recording, a op up says "an error occured, check the logs" and that's all.

Any chance, you can reproduce it and actually look at the logs? It might have been a completely different error. And as far as I know, the original error appeared when opening the preferences, but this error seems to appear when starting the recording? If so, it is definitively something else (and deserves an issue on its own).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants