您尚未登录。

#1 2024-07-18 17:49:44

BreadCat209
K.I.S.S.
注册时间: 2023-09-09
帖子: 203

[已解决]本地包安装依赖问题

我准备使用一个obs的手柄插件(这个链接),它提供了一个.deb包供linux用户安装,在使用debtap将其转为arch包之后安装,出现以下提示:

❯ sudo pacman -U input-overlay-5.0.5-1-x86_64.pkg.tar.zst
[sudo] mbm 的密码:
正在加载软件包...
正在解析依赖关系...
警告:无法解决 "libqt5core5a>=5.9.0beta","input-overlay" 的一个依赖关系
警告:无法解决 "libqt5gui5>=5.3.0","input-overlay" 的一个依赖关系
警告:无法解决 "libqt5widgets5>=5.7.0","input-overlay" 的一个依赖关系
:: 因为无法解决依赖关系,以下软件包无法进行更新:
      input-overlay

其中这几个依赖项都不是包,也没找到有哪个包提供它
我将它提供的.zip包解压后放入obs的plugins文件夹,发现插件可以显示,但是只能正常使用手柄的扳机和摇杆,其他按键全部不能使用并且显示异常(如图)
6698e429ab90d.png

附:

内核:linux 6.9.9-zen1-1-zen
手柄:xbox360(它的Xinput模式是模拟它的,obs里也显示是360手柄)

#好像是作者提供的json文件没更上新版本,去github下载最新的json就解决了,晕

最近编辑记录 BreadCat209 (2024-07-21 13:56:42)


[mbm@ArchLinux:~]$ sudo rm -rf /*

离线

#2 2024-07-18 17:58:26

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,961
个人网站

Re: [已解决]本地包安装依赖问题

你这个包是哪里来的?从 deb 包自动转的?

更新:哦是我眼瞎没看到……自动转是这样的,依赖的包名不能自动转。你自己改改啦。

最近编辑记录 依云 (2024-07-18 17:59:21)

离线

#3 2024-07-18 17:59:51

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,961
个人网站

Re: [已解决]本地包安装依赖问题

另外 AUR 里有这个东西啊: https://aur.archlinux.org/packages/obs- … ut-overlay

离线

#4 2024-07-18 18:41:24

BreadCat209
K.I.S.S.
注册时间: 2023-09-09
帖子: 203

Re: [已解决]本地包安装依赖问题

依云 说:

另外 AUR 里有这个东西啊: https://aur.archlinux.org/packages/obs- … ut-overlay

不行捏,-原版、git和-bin都试过了,原版和git都闪退,bin跟直接复制一样,只有部分能用


[mbm@ArchLinux:~]$ sudo rm -rf /*

离线

#5 2024-07-18 19:06:52

BreadCat209
K.I.S.S.
注册时间: 2023-09-09
帖子: 203

Re: [已解决]本地包安装依赖问题

报错如下

❯ obs
debug: Found portal inhibitor
debug: Attempted path: share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: share/obs/obs-studio/locale.ini
debug: Attempted path: /usr/share/obs/obs-studio/locale.ini
debug: Attempted path: share/obs/obs-studio/locale/zh-CN.ini
debug: Attempted path: /usr/share/obs/obs-studio/locale/zh-CN.ini
info: Using preferred locale 'zh-CN'
debug: Attempted path: share/obs/obs-studio/themes
debug: Attempted path: /usr/share/obs/obs-studio/themes
debug: Attempted path: share/obs/obs-studio/themes/Yami.qss
debug: Attempted path: /usr/share/obs/obs-studio/themes/Yami.qss
info: Platform: Wayland
info: CPU Name: AMD Ryzen 5 5600 6-Core Processor
info: CPU Speed: 3502.873MHz
info: Physical Cores: 6, Logical Cores: 12
info: Physical Memory: 15879MB Total, 9840MB Free
info: Kernel Version: Linux 6.9.9-zen1-1-zen
info: Distribution: "Arch Linux" Unknown
info: Desktop Environment: Hyprland (Hyprland)
info: Session Type: wayland
info: Qt Version: 6.7.2 (runtime), 6.7.1 (compiled)
info: Portable mode: false
info: OBS 30.1.2-2 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
	samples per sec: 48000
	speakers:        2
	max buffering:   960 milliseconds
	buffering type:  dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Using EGL/Wayland
info: Initialized EGL 1.5
info: Loading up OpenGL on adapter AMD AMD Radeon RX 6750 XT (radeonsi, navi22, LLVM 18.1.8, DRM 3.57, 6.9.9-zen1-1-zen)
info: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 24.1.3-arch1.1, shading language 4.60
info: ---------------------------------
info: video settings reset:
	base resolution:   2540x1391
	output resolution: 2540x1390
	downscale filter:  Bicubic
	fps:               60/1
	format:            NV12
	YUV mode:          Rec. 709/Partial
info: NV12 texture support enabled
info: P010 texture support not available
info: Audio monitoring device:
	name: 默认
	id: default
info: ---------------------------------
warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
warning: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
libDeckLinkAPI.so: 无法打开共享目标文件: 没有那个文件或目录
warning: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
warning: Failed to initialize module 'decklink.so'
info: [input-overlay] Loading v5.0.5-makepkg (e90e7e9) build time 2024.07.18 18:21
info: [input-overlay] Initializing SDL2 for gamepad input (compile-time: 2.30.5, run-time:  2.30.5)
info: [pipewire] Available captures:
info: [pipewire]     - Desktop capture
info: [pipewire]     - Window capture
warning: v4l2loopback not installed, virtual camera disabled
error: VAAPI: Failed to initialize display in vaapi_device_h264_supported
info: FFmpeg VAAPI H264 encoding not supported
error: VAAPI: Failed to initialize display in vaapi_device_av1_supported
info: FFmpeg VAAPI AV1 encoding not supported
error: VAAPI: Failed to initialize display in vaapi_device_hevc_supported
info: FFmpeg VAAPI HEVC encoding not supported
info: ---------------------------------
info:   Loaded Modules:
info:     text-freetype2.so
info:     rtmp-services.so
info:     obs-x264.so
info:     obs-webrtc.so
info:     obs-vst.so
info:     obs-transitions.so
info:     obs-qsv11.so
info:     obs-outputs.so
info:     obs-libfdk.so
info:     obs-filters.so
info:     obs-ffmpeg.so
info:     linux-v4l2.so
info:     linux-pulseaudio.so
info:     linux-pipewire.so
info:     linux-jack.so
info:     linux-capture.so
info:     linux-alsa.so
info:     input-overlay.so
info:     image-source.so
info:     frontend-tools.so
info:     decklink-output-ui.so
info:     decklink-captions.so
info: ---------------------------------
info: ==== Startup complete ===============================================
warning: QObject::connect: No such slot io_settings_dialog::RefreshUi()
warning: QObject::connect:  (receiver name: 'io_config_dialog')
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'PulseAudio (on PipeWire 1.2.1) 15.0.0'
info: pulse-input: Audio format: s16le, 48000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.usb-HECATE_G2_GAMING_HEADSET_HECATE_G2_GAMING_HEADSET_20190403-00.analog-stereo.monitor' (default)
info: [Loaded global audio device]: '桌面音频'
info: pulse-input: Server name: 'PulseAudio (on PipeWire 1.2.1) 15.0.0'
info: pulse-input: Audio format: s16le, 48000 Hz, 1 channels
info: pulse-input: Started recording from 'alsa_input.usb-HECATE_G2_GAMING_HEADSET_HECATE_G2_GAMING_HEADSET_20190403-00.mono-fallback' (default)
info: [Loaded global audio device]: '麦克风/Aux'
info: Switched to scene '场景'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene '场景':
info: ------------------------------------------------
info: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: 桌面音频)

info: User added source '输入叠加' (input-overlay) to scene '场景'
/usr/include/c++/14.1.1/array:208: constexpr std::array<_Tp, _Nm>::value_type& std::array<_Tp, _Nm>::operator[](size_type) [with _Tp = bool; long unsigned int _Nm = 21; reference = bool&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
[1]    43845 IOT instruction (core dumped)  obs

[mbm@ArchLinux:~]$ sudo rm -rf /*

离线

#6 2024-07-19 06:44:17

giteeajake
a noob
所在地: Hebei
注册时间: 2024-06-11
帖子: 62
个人网站

Re: [已解决]本地包安装依赖问题


i am a noob

离线

#7 2024-07-19 12:19:50

BreadCat209
K.I.S.S.
注册时间: 2023-09-09
帖子: 203

Re: [已解决]本地包安装依赖问题

额,网页403错误…


[mbm@ArchLinux:~]$ sudo rm -rf /*

离线

#8 2024-07-19 12:31:04

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,961
个人网站

Re: [已解决]本地包安装依赖问题

换个 IP 试试吧。最近 Arch Linux 站点正在遭受主要来自中国大陆的爬虫攻击。

离线

#9 2024-07-19 18:56:34

BreadCat209
K.I.S.S.
注册时间: 2023-09-09
帖子: 203

Re: [已解决]本地包安装依赖问题

额……这个是干啥的


[mbm@ArchLinux:~]$ sudo rm -rf /*

离线

页脚