[Camera] 相机打开闪退的问题。
Tofloor
poster avatar
leek
deepin
2021-07-30 18:28
Author

之前相机是可以用的,有次打开VMware之后,我在虚拟机了连接了宿主机的摄像头,在虚拟机里可用。但是从此之后,宿主机上打开相机就闪退,再也不能用了。期间我也将VMware的虚拟机断开连接摄像头,这样操作之后宿主机依然打开相机就闪退。辛苦知道哪有问题的老哥指导一下。谢谢。

Reply Favorite View the author
All Replies
1 / 2
To page
Maicss
deepin
2021-07-30 18:40
#1

感觉可能是bug,我先记录一下,看看开发怎么回复

Reply View the author
leek
deepin
2021-08-06 00:08
#2
Maicss

感觉可能是bug,我先记录一下,看看开发怎么回复

我想重新安装相机试试看看能不能解决?大佬有安装相机的步骤吗?

Reply View the author
Maicss
deepin
2021-08-06 21:47
#3
leek

我想重新安装相机试试看看能不能解决?大佬有安装相机的步骤吗?

sudo apt reinstall deepin-camera

重装相机试试,测试那边说没复现

Reply View the author
leek
deepin
2021-08-06 22:05
#4
It has been deleted!
leek
deepin
2021-08-06 22:12
#5
Maicss

sudo apt reinstall deepin-camera

重装相机试试,测试那边说没复现

能看下日志吗?

$ deepin-camera 
2021-08-06, 14:10:46.242 [Info   ] [                                                         0] LogFile: "/home/leek/.cache/deepin/deepin-camera/deepin-camera.log"
2021-08-06, 14:10:46.420 [Info   ] [                                                         0] configPath "/home/leek/.config/deepin/deepin-camera/config.conf"
2021-08-06, 14:10:46.420 [Info   ] [                                                         0] keys ("base.general.last_open_pic_path", "base.general.last_open_vd_path", "base.save.picdatapath", "base.save.vddatapath", "outsetting.outformat.picformat", "outsetting.outformat.vidformat", "outsetting.resolutionsetting.resolution", "photosetting.audiosetting.soundswitchbtn", "photosetting.photosdelay.photodelays", "photosetting.photosnumber.takephotos")
Cannot open libmwv206dec.so, libmwv206dec.so: 无法打开共享对象文件: 没有那个文件或目录
V4L2_CORE: V4L2_CAP_VIDEO_CAPTURE error: 成功
V4L2_CORE: ignore the device(/dev/video1) for not have the ability to capture video.
V4L2_CORE: Unable to find parent usb device.2021-08-06, 14:10:46.485 [Info   ] [                                                         0] 800
deepin-camera: (config) skiping invalid config entry at line 29
deepin-camera: (config) skiping invalid config entry at line 31
deepin-camera: (config) skiping invalid config entry at line 37
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: 对设备不适当的 ioctl 操作
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: 对设备不适当的 ioctl 操作
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: 对设备不适当的 ioctl 操作
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: 对设备不适当的 ioctl 操作
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: 对设备不适当的 ioctl 操作
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: 对设备不适当的 ioctl 操作
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: 对设备不适当的 ioctl 操作
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: 对设备不适当的 ioctl 操作
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: 对设备不适当的 ioctl 操作
    - FORMAT NOT SUPPORTED BY DECODER -
V4L2_CORE: (VIDIOC_ENUM_FRAMESIZES) - Error enumerating frame sizes
v4L2_CORE: Unable to enumerate frame sizes :对设备不适当的 ioctl 操作
V4L2_CORE: requested format(34363248)  [0] -> 36314454
V4L2_CORE: requested format(34363248)  [1] -> 33424752
V4L2_CORE: requested format(34363248)  [2] -> 33524742
V4L2_CORE: requested format(34363248)  [3] -> 32315559
V4L2_CORE: requested format(34363248)  [4] -> 32315659
V4L2_CORE: Control 0x80000000 failed to query with error -1
buggy V4L2_CTRL_FLAG_NEXT_CTRL flag implementation (workaround enabled)
V4L2_CORE: (get control values) empty control list
deepin-camera: no valid file extension for image file 
deepin-camera: using format 1
ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
Cannot connect to server socket err = 没有那个文件或目录
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 = 没有那个文件或目录
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:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_a52.c:823:(_snd_pcm_a52_open) a52 is only for playback
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
Cannot connect to server socket err = 没有那个文件或目录
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
V4L2_CORE: requested format(47504a4d)  [0] -> 36314454
V4L2_CORE: requested format(47504a4d)  [1] -> 33424752
V4L2_CORE: requested format(47504a4d)  [2] -> 33524742
V4L2_CORE: requested format(47504a4d)  [3] -> 32315559
V4L2_CORE: requested format(47504a4d)  [4] -> 32315659
V4L2_CORE: requested format(36314454)  [0] -> 36314454
段错误
Reply View the author
Maicss
deepin
2021-08-06 22:15
#6
leek

能看下日志吗?

$ deepin-camera 
2021-08-06, 14:10:46.242 [Info   ] [                                                         0] LogFile: "/home/leek/.cache/deepin/deepin-camera/deepin-camera.log"
2021-08-06, 14:10:46.420 [Info   ] [                                                         0] configPath "/home/leek/.config/deepin/deepin-camera/config.conf"
2021-08-06, 14:10:46.420 [Info   ] [                                                         0] keys ("base.general.last_open_pic_path", "base.general.last_open_vd_path", "base.save.picdatapath", "base.save.vddatapath", "outsetting.outformat.picformat", "outsetting.outformat.vidformat", "outsetting.resolutionsetting.resolution", "photosetting.audiosetting.soundswitchbtn", "photosetting.photosdelay.photodelays", "photosetting.photosnumber.takephotos")
Cannot open libmwv206dec.so, libmwv206dec.so: 无法打开共享对象文件: 没有那个文件或目录
V4L2_CORE: V4L2_CAP_VIDEO_CAPTURE error: 成功
V4L2_CORE: ignore the device(/dev/video1) for not have the ability to capture video.
V4L2_CORE: Unable to find parent usb device.2021-08-06, 14:10:46.485 [Info   ] [                                                         0] 800
deepin-camera: (config) skiping invalid config entry at line 29
deepin-camera: (config) skiping invalid config entry at line 31
deepin-camera: (config) skiping invalid config entry at line 37
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: 对设备不适当的 ioctl 操作
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: 对设备不适当的 ioctl 操作
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: 对设备不适当的 ioctl 操作
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: 对设备不适当的 ioctl 操作
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: 对设备不适当的 ioctl 操作
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: 对设备不适当的 ioctl 操作
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: 对设备不适当的 ioctl 操作
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: 对设备不适当的 ioctl 操作
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: 对设备不适当的 ioctl 操作
    - FORMAT NOT SUPPORTED BY DECODER -
V4L2_CORE: (VIDIOC_ENUM_FRAMESIZES) - Error enumerating frame sizes
v4L2_CORE: Unable to enumerate frame sizes :对设备不适当的 ioctl 操作
V4L2_CORE: requested format(34363248)  [0] -> 36314454
V4L2_CORE: requested format(34363248)  [1] -> 33424752
V4L2_CORE: requested format(34363248)  [2] -> 33524742
V4L2_CORE: requested format(34363248)  [3] -> 32315559
V4L2_CORE: requested format(34363248)  [4] -> 32315659
V4L2_CORE: Control 0x80000000 failed to query with error -1
buggy V4L2_CTRL_FLAG_NEXT_CTRL flag implementation (workaround enabled)
V4L2_CORE: (get control values) empty control list
deepin-camera: no valid file extension for image file 
deepin-camera: using format 1
ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
Cannot connect to server socket err = 没有那个文件或目录
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 = 没有那个文件或目录
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:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_a52.c:823:(_snd_pcm_a52_open) a52 is only for playback
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
Cannot connect to server socket err = 没有那个文件或目录
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
V4L2_CORE: requested format(47504a4d)  [0] -> 36314454
V4L2_CORE: requested format(47504a4d)  [1] -> 33424752
V4L2_CORE: requested format(47504a4d)  [2] -> 33524742
V4L2_CORE: requested format(47504a4d)  [3] -> 32315559
V4L2_CORE: requested format(47504a4d)  [4] -> 32315659
V4L2_CORE: requested format(36314454)  [0] -> 36314454
段错误

好的

Reply View the author
leek
deepin
2021-08-06 22:23
#7
Maicss

好的

辛苦哈,有解决方案了,辛苦回复我下,谢谢~

Reply View the author
Maicss
deepin
2021-08-06 22:41
#8
leek

辛苦哈,有解决方案了,辛苦回复我下,谢谢~

怎么解决的?

Reply View the author
leek
deepin
2021-08-06 23:58
#9
Maicss

怎么解决的?

尴尬。。。我意思是你们有解决方案了。。。同步我一下。我不懂咋解决。。。感觉问题是有两个.so的包没找到的原因导致相机没能启动起来。

Reply View the author
leek
deepin
2021-08-07 00:10
#10
Maicss

怎么解决的?

我简单百度了下,貌似深度这个系统这个问题普遍出现在remmina这个软件安装后出现的,巧了我这个问题出现的时候也是先在商店里安装remmina提示下载失败,然后我手动安装了remmina (apt install remmian 貌似这样安装了下),然后过了几天我在商店重试了下remmina的安装,发现挺神奇的安装好了,之后就可以一直正常的使用remmina,也就是在这以后,相机就打不开了。然后我百度搜了下缺少的两个so文件libmwv206dec.so, libmwv206dec.so,才发现这个问题普遍出现在跟remmina相关。

Reply View the author
Maicss
deepin
2021-08-07 01:39
#11

开发回复说需要收集些信息。
1、设备信息导出来
2、摄像头型号(是台式还是笔记本,最好能找出摄像头的型号来)
3、系统镜像和相机的版本号
4、安装coredump收集下信息,具体如下:
        一、sudo apt install systemd-coredump
        二、安上之后就正常崩溃操作复现一到两次就可以了,日志在/var/lib/systemd/coredump/,这个目录下会生成后缀名为lz4的文件,把那个拷出来就行了,如果有很多的话可以区分一下是core.deepin-camera开头的

麻烦把以上信息收集一下打包发出来,便于开发定位问题。

Reply View the author
leek
deepin
2021-08-10 01:23
#12
Maicss

开发回复说需要收集些信息。
1、设备信息导出来
2、摄像头型号(是台式还是笔记本,最好能找出摄像头的型号来)
3、系统镜像和相机的版本号
4、安装coredump收集下信息,具体如下:
        一、sudo apt install systemd-coredump
        二、安上之后就正常崩溃操作复现一到两次就可以了,日志在/var/lib/systemd/coredump/,这个目录下会生成后缀名为lz4的文件,把那个拷出来就行了,如果有很多的话可以区分一下是core.deepin-camera开头的

麻烦把以上信息收集一下打包发出来,便于开发定位问题。

1. 这个我给个截图吧。

2. 摄像头型号是thinkpad L470的摄像头具体型号应该就是设备管理器上的。

3. 

Reply View the author
Maicss
deepin
2021-08-10 01:25
#13
leek

1. 这个我给个截图吧。

2. 摄像头型号是thinkpad L470的摄像头具体型号应该就是设备管理器上的。

3. 

4勒

Reply View the author
leek
deepin
2021-08-10 01:27
#14

4. 由于文件太大,我上传百度云了。

链接: https://pan.baidu.com/s/12iQtL4I9zWpN2aXSwzfxHA  密码: 2s4f

Reply View the author
leek
deepin
2021-08-10 01:28
#15
Maicss

4勒

在楼下。

Reply View the author
Maicss
deepin
2021-08-10 01:30
#16
leek

在楼下。

好的

Reply View the author
Maicss
deepin
2021-08-10 01:58
#17
leek

在楼下。

缺少两个信息,麻烦补充一下:

cat /etc/product-info (镜像版本)

apt policy deepin-camera (相机版本,也可在右上角关于页面查看)

Reply View the author
leek
deepin
2021-08-10 04:55
#18
Maicss

缺少两个信息,麻烦补充一下:

cat /etc/product-info (镜像版本)

apt policy deepin-camera (相机版本,也可在右上角关于页面查看)

cat /etc/product-info 

deepin-20.2-20210331012436-1_x86_64

-------------------------------------------------

apt policy deepin-camera

deepin-camera:

  已安装:1.1.3-1

  候选: 1.1.3-1

  版本列表:

 *** 1.1.3-1 500

        500 https://community-packages.deepin.com/deepin apricot/main amd64 Packages

        100 /usr/lib/dpkg-db/status

     1.0.0.16-1 500

        500 https://community-packages.deepin.com/deepin apricot/non-free amd64 Packages

 

Reply View the author
Maicss
deepin
2021-08-11 18:28
#19
leek

cat /etc/product-info 

deepin-20.2-20210331012436-1_x86_64

-------------------------------------------------

apt policy deepin-camera

deepin-camera:

  已安装:1.1.3-1

  候选: 1.1.3-1

  版本列表:

 *** 1.1.3-1 500

        500 https://community-packages.deepin.com/deepin apricot/main amd64 Packages

        100 /usr/lib/dpkg-db/status

     1.0.0.16-1 500

        500 https://community-packages.deepin.com/deepin apricot/non-free amd64 Packages

 

好的,这个bug已经处理了,下次应该会更新跟进

Reply View the author
leek
deepin
2021-08-11 18:30
#20
Maicss

好的,这个bug已经处理了,下次应该会更新跟进

非常感谢~

Reply View the author
1 / 2
To page