BlissRoms-x86 / support

Public repo for Bliss OS bug reports, feature requests etc.
https://blissos.org
GNU General Public License v3.0
16 stars 2 forks source link

šŸ› [BUG] - 15.8.6, webcam, camera app fails to use webcam #31

Open promeneur opened 9 months ago

promeneur commented 9 months ago

Description

openSUSE Tumbleweed QEMU 8.1 bliss 15.8.6 DOS partition 64 GB RAM 8 GB

webcam : Logitech C270

Script to launch bliss

`#!/bin/bash

qemu-kvm -enable-kvm -m 8G -smp 4 -cpu host -display gtk,gl=on,zoom-to-fit=off -device virtio-vga-gl -device qemu-xhci,p2=5,p3=5,id=xhci -device usb-kbd -device usb-mouse -device usb-host,vendorid=0x046d,productid=0x0825 -device usb-host,vendorid=0x0b05,productid=0x190e -device intel-hda -device hda-duplex,audiodev=snd0 -audiodev pipewire,id=snd0 -boot menu=on -nic bridge,mac=00:16:3e:4f:90:5a ~/QEMU_VM/Bliss-v15.8.6-x86_64-OFFICIAL-gapps-20230703.img ` Same problem with android camera or opencamera.

The app window is displayed, then the window (not the image) is blinking very fast. We can't use the app. We can't close the app. The image inside the window is just black. The webcam led is switch on.

We get an error messsage in KDE konsole :

vrend_check_no_error: context error reported 21 "RenderThread" Unknown 1281 context 21 failed to dispatch CREATE_OBJECT: 22 vrend_decode_ctx_submit_cmd: context error reported 21 "RenderThread" Illegal command buffer 394753

No problem using webcam with android-x86-64 8.1 r6.

Reproduction steps

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Screenshots

![DESCRIPTION](LINK.png)

Logs

No response

Category

Other

OS Version

15.x

skeezmoe commented 2 months ago

Same problem here webcam is Logitech USB Webcam C920 with qemu launch params: qemu-system-x86_64 -device qemu-xhci,id=xhci -machine vmport=off -enable-kvm -m 4G -cpu host -smp $(nproc) -bios /usr/share/ovmf/x64/OVMF.fd -drive file=bliss_os_15.drv,if=virtio -device usb-host,vendorid=0x046d,productid=0x082d -audiodev pipewire,id=snd0 -device AC97,audiodev=snd0 -device virtio-vga-gl -display sdl,gl=on

Mario100000 commented 4 days ago

Probably the same problem, open camera fails with error:

"FAILED TO OPEN CAMERA. CAMERA MAY BE IN USE BY ANOTHER APPLICATION? ID:0"

version:

Bliss-Go-v14.10.2-x86_64-OFFICIAL-opengapps-20240603;

qemu parameters:

qemu-system-x86_64 -enable-kvm -M q35 -m 3G -smp 4 -cpu host -bios OVMF.fd -device virtio-tablet -device virtio-keyboard -device qemu-xhci,id=xhci -device usb-host,bus=xhci.0,hostport=1 -machine vmport=off -device virtio-vga-gl -display gtk,gl=on -audiodev pa,id=snd0 -device AC97,audiodev=snd0 -device virtio-net-pci,netdev=n1 -netdev user,id=n1 -drive format=qcow2,if=virtio,file=BlissOS_1.qcow2;

also tested using -device usb-ehci with the same result;

dmesg -T:

[Wed Sep 25 17:21:02 2024] usb 1-2: Found UVC 1.00 device EasyCamera 5M (04ca:707a) [Wed Sep 25 17:21:02 2024] input: EasyCamera 5M: EasyCamera 5M as /devices/pci0000:00/0000:00:03.0/usb1/1-2/1-2:1.0/input/input8 [Wed Sep 25 17:21:02 2024] usbcore: registered new interface driver uvcvideo [Wed Sep 25 17:21:02 2024] ueventd: Loaded kernel module /system/lib/modules/6.1.84-gloria-xanmod1/kernel/drivers/media/usb/uvc/uvcvideo.ko [Wed Sep 25 17:21:07 2024] init: starting service 'vendor.camera-provider-2-4'... [Wed Sep 25 17:21:07 2024] libprocessgroup: Failed to open /dev/cpuset/camera-daemon/tasks: No such file or directory: No such file or directory [Wed Sep 25 17:21:07 2024] libprocessgroup: Failed to apply CameraServiceCapacity task profile: No such file or directory [Wed Sep 25 17:21:07 2024] libprocessgroup: Failed to open /dev/stune/top-app/tasks: No such file or directory: No such file or directory [Wed Sep 25 17:21:07 2024] libprocessgroup: Failed to apply MaxPerformance task profile: No such file or directory [Wed Sep 25 17:21:07 2024] init: Service 'vendor.camera-provider-2-4' (pid 3920) exited with status 1 [Wed Sep 25 17:21:07 2024] init: Sending signal 9 to service 'vendor.camera-provider-2-4' (pid 3920) process group... [Wed Sep 25 17:21:07 2024] libprocessgroup: Successfully killed process cgroup uid 1047 pid 3920 in 0ms