我已经发布这个问题让 cheese 在我的电脑上运行。我收到的解决方案不起作用,所以我尝试安装 KDE 的相机应用程序“Kamoso”,它也显示了一条很长的错误消息。
priyanshu@Inspiron-7501:~$ kamoso
QGLXContext: Failed to create dummy context
new device "Integrated_Webcam_HD: Integrate" "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video0" "/dev/video0"
Playing device changed "/dev/video0"
failed to acquire GL context to resolve capabilities, using defaults..
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/globaltoolbar/ToolBarPageHeader.qml:44:9: QML ActionToolBar: Binding loop detected for property "actions"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/globaltoolbar/ToolBarPageHeader.qml:44:9: QML ActionToolBar: Binding loop detected for property "actions"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/globaltoolbar/ToolBarPageHeader.qml:44:9: QML ActionToolBar: Binding loop detected for property "actions"
error: no element "bulge"
error: no element "frei0r-filter-cartoon"
error: no element "frei0r-filter-twolay0r"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/globaltoolbar/PageRowGlobalToolBarUI.qml:113: TypeError: Cannot read property 'globalToolBarStyle' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/globaltoolbar/PageRowGlobalToolBarUI.qml:58:17: Unable to assign [undefined] to QQmlListProperty<QObject>
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/globaltoolbar/PageRowGlobalToolBarUI.qml:49:13: Unable to assign [undefined] to bool
kf5.kdbusaddons: Can not find 'kdeinit5' executable at "/home/priyanshu/.local/bin:/home/priyanshu/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" "/usr/bin, /usr/lib/qt5/bin"
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
Aborted (core dumped)
但它也打开了我的网络摄像头,我无法关闭它。我尝试暂停笔记本电脑,但没有用。重新启动可能会解决问题,但我想找到问题的根源,所以我开始在网上寻找一些文章。
我尝试了'''sudo modprobe -r uvcvideo```但是它不起作用并且我得到了这个:
modprobe: FATAL: Module uvcvideo is in use
然后我列出了使用该模块的流程:
priyanshu@Inspiron-7501:~$ lsmod | grep uvcvideo
uvcvideo 98304 1
videobuf2_vmalloc 20480 1 uvcvideo
videobuf2_v4l2 32768 1 uvcvideo
videobuf2_common 61440 2 videobuf2_v4l2,uvcvideo
videodev 245760 4 videobuf2_v4l2,uvcvideo,videobuf2_common
mc 57344 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
但它又返回了一堆模块,我又无法删除它们,因为它们都在使用中。在每个模块上运行 lsmod 时,我只是循环遍历不同的模块。
有没有办法使用模块自动终止所有进程?任何帮助都值得感激。