Problème ouverture de cheese

Bonjour
Je ne parviens plus à ouvrir ma webcam avec cheese en console comme d’hab j 'obtiens ce message

joel@hP600:~$ cheese 
(cheese:2654): cheese-WARNING **: 09:47:56.922: Internal data stream error.: ../libs/gst/base/gstbasesrc.c(3132): gst_base_src_loop (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin28/GstPipeWireSrc:pipewiresrc1:
streaming stopped, reason not-negotiated (-4) 

Si quelqu’un a une idée…
Merci

Quel version de Debian, quel version de l’application ?

apt policy cheese

Idem avec vlc ou autre application pouvant utiliser la webcam ou le problème est uniquement lié à cheese ?

Bonjour

  cheese:
    Installé : 43.0-1
    Candidat : 43.0-1
   Table de version :
   *** 43.0-1 500
          500 http://deb.debian.org/debian bookworm/main amd64 Packages
          100 /var/lib/dpkg/status
  joel@hP600:~$ cat /etc/debian_version
  12.5
  joel@hP600:~$ 

Ma 12.5 vient de mises à jour successives depuis 12.2
Je n’ai pas de problème avec des applications de visio conférence zoom teams jitsi etc.
J’ai essayé vlc / media/ ouvrir un périphérique de capture mais je n’ai pas su aller plus loin

Merci

message vlc en essayant d’ouvrir /dev/video1 :
Votre média d’entrée ne peut être ouvert:

VLC ne peut pas ouvrir « v4l2:///dev/video1 ». Vérifier les messages du journal pour plus de détails.

Bonjour
en cherchant dans les docs j’ai trouvé ceci :

 joel@hP600:~$ dpkg -s cheese
Package: cheese
  Status: install ok installed
  Priority: optional
  Section: gnome
  Installed-Size: 473
  Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
  Architecture: amd64
  Version: 43.0-1
  Depends: libc6 (>= 2.34), libcanberra-gtk3-0 (>= 0.25), libcheese-gtk25 (= 43.0-1), libcheese8 (= 43.0-1), libclutter-1.0-0 (>= 1.16), libclutter-gtk-1.0-0 (>= 0.91.8), libgdk-pixbuf-2.0-0 (>= 2.25.2), libglib2.0-0 (>= 2.39.90), libgnome-desktop-3-20 (>= 3.17.92), libgstreamer1.0-0 (>= 1.0.0), libgtk-3-0 (>= 3.21.5), cheese-common (>= 43.0-1), gnome-video-effects
  Recommends: gvfs, yelp
  Suggests: gnome-video-effects-frei0r
  Description: tool to take pictures and videos from your webcam
   A webcam application that supports image and video capture. Makes
   it easy to take photos and videos of you, your friends, pets or whatever
   you want. Allows you to apply fancy visual effects, fine-control image
   settings and has features such as Multi-Burst mode, Countdown timer
   for photos.
  Homepage: https://wiki.gnome.org/Apps/Cheese
  joel@hP600:~$ 

Le fait que cheese soit à l’origine un paquet de gnome pose-t-il problème pour mon bureau xfce ?
Je suis tenté d’essayer guvcview et si ça marche de supprimer cheese . Un avis ?
merci

absolument pas ; le problème vient d’ailleurs

que donne dmesg juste après avoir branché ta webcam?

Bonjour
Voici ce que j’obtiens à l’ouverture de cheese


(cheese:2777): cheese-WARNING **: 08:18:49.679: Internal data stream error.: ../libs/gst/base/gstbasesrc.c(3132): gst_base_src_loop (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin28/GstPipeWireSrc:pipewiresrc1:
streaming stopped, reason not-negotiated (-4)

dmesg :

[    0.047262] ACPI: Core revision 20220331
[    0.047482] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635855245 ns
[    0.047552] APIC: Switch to symmetric I/O mode setup
[    0.048776] x2apic: IRQ remapping doesn't support X2APIC mode
[    0.053013] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.071580] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x3101f59f5e6, max_idle_ns: 440795259996 ns
[    0.071585] Calibrating delay loop (skipped), value calculated using timer frequency.. 6799.81 BogoMIPS (lpj=13599624)
[    0.071601] x86/cpu: VMX (outside TXT) disabled by BIOS
[    0.071604] x86/cpu: SGX disabled by BIOS.
[    0.071609] CPU0: Thermal monitoring enabled (TM1)
[    0.071649] process: using mwait in idle threads
[    0.071651] Last level iTLB entries: 4KB 128, 2MB 8, 4MB 8
[    0.071652] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4
[    0.071656] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.071657] Spectre V2 : Mitigation: IBRS
[    0.071658] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.071659] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT
[    0.071659] RETBleed: Mitigation: IBRS
[    0.071660] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[    0.071662] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl
[    0.071668] MDS: Mitigation: Clear CPU buffers
[    0.071669] TAA: Mitigation: TSX disabled
[    0.071669] MMIO Stale Data: Mitigation: Clear CPU buffers
[    0.071675] SRBDS: Mitigation: Microcode
[    0.071683] GDS: Mitigation: Microcode
[    0.071688] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.071690] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.071691] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.071692] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[    0.071693] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[    0.071694] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.071696] x86/fpu: xstate_offset[3]:  832, xstate_sizes[3]:   64
[    0.071697] x86/fpu: xstate_offset[4]:  896, xstate_sizes[4]:   64
[    0.071699] x86/fpu: Enabled xstate features 0x1f, context size is 960 bytes, using 'compacted' format.
[    0.088253] Freeing SMP alternatives memory: 36K
[    0.088256] pid_max: default: 32768 minimum: 301
[    0.091001] LSM: Security Framework initializing
[    0.091014] landlock: Up and running.
[    0.091014] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.091031] AppArmor: AppArmor initialized
[    0.091033] TOMOYO Linux initialized
[    0.091037] LSM support for eBPF active
[    0.091059] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.091067] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.091582] smpboot: CPU0: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz (family: 0x6, model: 0x9e, stepping: 0x9)
[    0.091582] cblist_init_generic: Setting adjustable number of callback queues.
[    0.091582] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.091582] cblist_init_generic: Setting adjustable number of callback queues.
[    0.091582] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.091582] cblist_init_generic: Setting adjustable number of callback queues.
[    0.091582] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.091582] Performance Events: PEBS fmt3+, Skylake events, 32-deep LBR, full-width counters, Intel PMU driver.
[    0.091582] ... version:                4
[    0.091582] ... bit width:              48
[    0.091582] ... generic registers:      8
[    0.091582] ... value mask:             0000ffffffffffff
[    0.091582] ... max period:             00007fffffffffff
[    0.091582] ... fixed-purpose events:   3
[    0.091582] ... event mask:             00000007000000ff
[    0.091582] signal: max sigframe size: 2032
[    0.091582] Estimated ratio of average max frequency by base frequency (times 1024): 1084
[    0.091582] rcu: Hierarchical SRCU implementation.
[    0.091582] rcu: 	Max phase no-delay instances is 1000.
[    0.091582] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[    0.091582] smp: Bringing up secondary CPUs ...
[    0.091582] x86: Booting SMP configuration:
[    0.091582] .... node  #0, CPUs:      #1 #2 #3
[    0.093343] smp: Brought up 1 node, 4 CPUs
[    0.093343] smpboot: Max logical packages: 1
[    0.09334

J’ai installé guvcview, pas de problème d’installation en apparence mais en lançant la commande j’obtiens l’image et les paramètres mais sans les boutons pour prendre une photo ni enregistrer une video

joel@hP600:~$ guvcview
GUVCVIEW: version 2.0.8
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
Cannot connect to server socket err = Aucun fichier ou dossier de ce type
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = Aucun fichier ou dossier de ce type
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_a52.c:1001:(_snd_pcm_a52_open) a52 is only for playback
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
Cannot connect to server socket err = Aucun fichier ou dossier de ce type
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
control[0]:(unknown - 0x6) 0x980001 'User Controls'
control[12]:(unknown - 0x6) 0x9a0001 'Camera Controls'
V4L2_CORE: (jpeg decoder) error while decoding frame

dmesg après lancement de guvcview

[    0.176044] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.176044] PTP clock support registered
[    0.176044] EDAC MC: Ver: 3.0.0
[    0.176044] Registered efivars operations
[    0.176044] NetLabel: Initializing
[    0.176044] NetLabel:  domain hash size = 128
[    0.176044] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.176044] NetLabel:  unlabeled traffic allowed by default
[    0.176044] PCI: Using ACPI for IRQ routing
[    0.183383] PCI: pci_cache_line_size set to 64 bytes
[    0.183471] e820: reserve RAM buffer [mem 0x00058000-0x0005ffff]
[    0.183472] e820: reserve RAM buffer [mem 0x0009e000-0x0009ffff]
[    0.183474] e820: reserve RAM buffer [mem 0xc80ac000-0xcbffffff]
[    0.183475] e820: reserve RAM buffer [mem 0xd5cc2000-0xd7ffffff]
[    0.183476] e820: reserve RAM buffer [mem 0xd8f9b000-0xdbffffff]
[    0.183477] e820: reserve RAM buffer [mem 0xda000000-0xdbffffff]
[    0.183478] e820: reserve RAM buffer [mem 0x21f800000-0x21fffffff]
[    0.183490] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.183490] pci 0000:00:02.0: vgaarb: bridge control possible
[    0.183490] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.183490] vgaarb: loaded
[    0.184563] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0
[    0.184570] hpet0: 8 comparators, 64-bit 24.000000 MHz counter
[    0.186621] clocksource: Switched to clocksource tsc-early
[    0.186714] VFS: Disk quotas dquot_6.6.0
[    0.186723] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.186820] AppArmor: AppArmor Filesystem Enabled
[    0.186830] pnp: PnP ACPI init
[    0.186882] system 00:00: [mem 0x40000000-0x403fffff] has been reserved
[    0.186965] system 00:01: [mem 0xfd000000-0xfdabffff] has been reserved
[    0.186968] system 00:01: [mem 0xfdad0000-0xfdadffff] has been reserved
[    0.186969] system 00:01: [mem 0xfdb00000-0xfdffffff] has been reserved
[    0.186971] system 00:01: [mem 0xfe000000-0xfe01ffff] could not be reserved
[    0.186973] system 00:01: [mem 0xfe03d000-0xfe3fffff] has been reserved
[    0.187225] system 00:02: [io  0x2000-0x20fe] has been reserved
[    0.187346] system 00:03: [io  0x0680-0x069f] has been reserved
[    0.187348] system 00:03: [io  0xffff] has been reserved
[    0.187350] system 00:03: [io  0xffff] has been reserved
[    0.187351] system 00:03: [io  0xffff] has been reserved
[    0.187352] system 00:03: [io  0x1800-0x18fe] has been reserved
[    0.187354] system 00:03: [io  0x164e-0x164f] has been reserved
[    0.187432] system 00:04: [io  0x0800-0x087f] has been reserved
[    0.187486] system 00:05: [io  0x1854-0x1857] has been reserved
[    0.187486] system 00:08: [io  0x0200-0x023f] has been reserved
[    0.187486] system 00:08: [mem 0xfedb0000-0xfedbffff] has been reserved
[    0.187486] system 00:09: [mem 0xfed10000-0xfed17fff] has been reserved
[    0.187486] system 00:09: [mem 0xfed18000-0xfed18fff] has been reserved
[    0.187486] system 00:09: [mem 0xfed19000-0xfed19fff] has been reserved
[    0.187486] system 00:09: [mem 0xf8000000-0xfbffffff] has been reserved
[    0.187486] system 00:09: [mem 0xfed20000-0xfed3ffff] has been reserved
[    0.187486] system 00:09: [mem 0xfed90000-0xfed93fff] has been reserved
[    0.187486] system 00:09: [mem 0xfed45000-0xfed8ffff] has been reserved
[    0.187486] system 00:09: [mem 0xff000000-0xffffffff] has been reserved
[    0.187486] system 00:09: [mem 0xfee00000-0xfeefffff] has been reserved
[    0.187486] system 00:09: [mem 0xde800000-0xde81ffff] has been reserved
[    0.187486] pnp: PnP ACPI: found 10 devices
[    0.190630] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.190678] pci 0000:00:1f.1: [8086:a2a0] type 00 class 0x058000
[    0.190743] pci 0000:00:1f.1: reg 0x10: [mem 0xfd000000-0xfdffffff 64bit]
[    0.191048] NET: Registered PF_INET protocol family
[    0.191119] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.192402] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.192421] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.192456] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.192594] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[    0.192790] TCP: Hash tables configured (established 65536 bind 65536)
[    0.192839] MPTCP token hash table entries: 8192 (order: 5, 196608 bytes, linear)
[    0.192863] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.192882] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.192915] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.192927] NET: Registered PF_XDP protocol family
[    0.192936] pci 0000:00:1c.0: PCI bridge to [bus 01]
[    0.192947] pci 0000:00:1c.0:   bridge window [mem 0xf0100000-0xf01fffff]
[    0.192965] pci 0000:00:1c.6: PCI bridge to [bus 02]
[    0.192974] pci 0000:00:1c.6:   bridge window [mem 0xf0000000-0xf00fffff]
[    0.192992] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    0.192994] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    0.192996] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    0.192997] pci_bus 0000:00: resource 7 [mem 0xde800000-0xf7ffffff window]
[    0.192998] pci_bus 0000:00: resource 8 [mem 0x1c00000000-0x1fffffffff window]

salut

es-tu sur mate, j’ai eu le même problème:dans ce cas intalle cinnamon et réessayes.

Autant pour moi j’ai enfin pigé que cinnamon est un environnement de bureau et non une distro !
J’aime bien mon bureau xfce et je ne veux pas prendre de risque, je veux être certain de revenir à xfce si je suis déçu de cinnamon
cette page en anglais me semble simple à suivre pour installer et désinstaller cinnamon, qu’en penses tu ?
merci

Tu peux avoir les deux sur ta machine en fait, tu choisi laquelle tu veux au moment du login sacahnt que ton login garde le dernier environnement choisi.
Si ensuite tu ne peux plus Cinnamon il te suffira de le retirer.

J’ai trouvé comment ouvrir la session cinnamon ( j’allais trop vite dans le login ) mais les problèmes cheese et guvcview persistent .
Ca ne m’empêchera pas d’explorer un peu cinnamon …

Il doit du coup te manquer des librairies, cheeze étant habituellement installé sous Gnome, il faudrait voir si il ne manque rien côté gstreamer.
test en installant totem (prends note des paquets qu’il installe tout de même pour faire le nettoyage si ça n’arrange rien).

Voilà pourquoi je trouve toujours XFCE pas user friendly …

je ne pense pas que ça vienne de là : j’utilise toujours cheese comme visionneur de webcam de base pour tous mes systèmes, et je n’ai jamais eu de problème auparavant
PS : j’ai un pb actuellement avec un cheese sur un debian où cheese marchait avant.
PS2 : je viens de booter sur un iso xfce deb12 , j’ai installé cheese et la caméra usb marche

Peux-tu essayer avec vlc? : vlc v4l2:///dev/video0
que donne sudo dmesg |grep -i usb

joel@hP600:~$ vlc v4l2:///dev/video0
VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b)
[00005628b5db6550] main libvlc: Lancement de vlc avec l’interface par défaut. Utiliser « cvlc » pour démarrer VLC sans interface.
[00007f2b880043d0] gl gl: Initialized libplacebo v4.208.0 (API v208)

joel@hP600:~$ sudo dmesg |grep -i usb
[sudo] Mot de passe de joel : 
[    5.791382] usb 1-13: Found UVC 1.00 device HP 2.0MP High Definition Webcam (1bcf:2c8d)
[    5.816005] input: HP 2.0MP High Definition Webcam as /devices/pci0000:00/0000:00:14.0/usb1/1-13/1-13:1.0/input/input13
[    5.816052] usbcore: registered new interface driver uvcvideo
[    5.930142] usbcore: registered new interface driver btusb
joel@hP600:~$ 

la webcam s’ouvre bien avec VLC, je n’ai pas vu les fonctions habituelles comme " prendre un photo " ou une video , ni de modification d’image. La capture d’écran fonctionne

message depuis une live 12.2 xfce
cheese fonctionne normalement mais avec ceci dans le terminal

user@debian:~$ cheese

(cheese:2858): Gtk-WARNING **: 20:42:20.551: Calling org.xfce.Session.Manager.Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “Inhibit”

(cheese:2858): cheese-WARNING **: 20:42:20.647: A lot of buffers are being dropped.: ../libs/gst/base/gstbasesink.c(3143): gst_base_sink_is_too_late (): /GstCameraBin:camerabin/GstViewfinderBin:vf-bin/ClutterGstVideoSink:cluttergstvideosink0:
There may be a timestamping problem, or this computer is too slow.

Ma machine trop lente ?

salut
je viens de faire un test sur la machine qui ne voulait pas de cheese :
j’ai viré cheese et les pilotes nvidia de la carte video , puis après reboot installation de cheese et ça marche

Sur une clé usb ça arrive : usb1/2 , peu de ram … mais au moins ça marche donc ça ne vient pas de xfce mais de ta conf générale

il faut ajouter menu Vue::controle avancés