[通告] 本论坛迁移啦~请前往位于 https://forum.archlinuxcn.org/ 的新论坛。所有帖子和参与的用户都已经迁移。
您正在访问的是原 bbs.archlinuxcn.org 的静态存档。本页面的新地址位于 https://forum.archlinuxcn.org/t/topic/13882。
页次: 1
一开始我使用12400F+4060Ti的组合,只有独立显卡,OBS工作的很好。之后我更换了cpu(12400F-->12600k),在核显+独显的情况下,OBS(pipewire)无法正常捕获屏幕了,视频编码器中只有x264、SVT-AV1、AOM AV1三项可选。使用这些软件包:mesa lib32-mesa vulkan-intel lib32-vulkan-intel nvidia nvidia-settings lib32-nvidia-utils。
logs:
02:44:55.889: Platform: Wayland
02:44:55.889: CPU Name: 12th Gen Intel(R) Core(TM) i5-12600K
02:44:55.889: CPU Speed: 1642.038MHz
02:44:55.890: Physical Cores: 10, Logical Cores: 16
02:44:55.890: Physical Memory: 31836MB Total, 20536MB Free
02:44:55.890: Kernel Version: Linux 6.13.1-arch1-1
02:44:55.890: Flatpak Branch: stable
02:44:55.890: Flatpak Arch: x86_64
02:44:55.890: Flatpak Runtime: runtime/org.kde.Platform/x86_64/6.6
02:44:55.890: App Extensions:
02:44:55.890: - com.obsproject.Studio.Locale
02:44:55.890: Runtime Extensions:
02:44:55.890: - org.freedesktop.Platform.GL.default
02:44:55.890: - org.freedesktop.Platform.openh264
02:44:55.890: - org.gtk.Gtk3theme.Breeze
02:44:55.890: - org.kde.Platform.Locale
02:44:55.890: - org.freedesktop.Platform.GL.default
02:44:55.890: Flatpak Framework Version: 1.16.0
02:44:55.890: Desktop Environment: KDE (KDE)
02:44:55.890: Session Type: wayland
02:44:55.891: Qt Version: 6.6.3 (runtime), 6.6.3 (compiled)
02:44:55.891: Portable mode: false
02:44:55.947: OBS 31.0.1 (linux)
02:44:55.947: ---------------------------------
02:44:55.948: ---------------------------------
02:44:55.948: audio settings reset:
02:44:55.948: samples per sec: 48000
02:44:55.948: speakers: 2
02:44:55.948: max buffering: 960 milliseconds
02:44:55.948: buffering type: dynamically increasing
02:44:55.948: ---------------------------------
02:44:55.948: Initializing OpenGL...
02:44:55.948: Using EGL/Wayland
02:44:55.957: Initialized EGL 1.5
02:44:55.971: Loading up OpenGL on adapter Mesa llvmpipe (LLVM 17.0.6, 256 bits)
02:44:55.971: OpenGL loaded successfully, version 4.5 (Core Profile) Mesa 24.3.1 (git-c815d651b8), shading language 4.50
02:44:55.990: ---------------------------------
02:44:55.990: video settings reset:
02:44:55.990: base resolution: 2560x1440
02:44:55.990: output resolution: 2560x1440
02:44:55.990: downscale filter: Bicubic
02:44:55.990: fps: 60/1
02:44:55.990: format: NV12
02:44:55.990: YUV mode: Rec. 709/Partial
02:44:55.991: NV12 texture support enabled
02:44:55.991: P010 texture support not available
02:44:55.998: Audio monitoring device:
02:44:55.998: name: 默认
02:44:55.998: id: default
02:44:55.999: ---------------------------------
02:44:56.009: No AJA devices found, skipping loading AJA UI plugin
02:44:56.009: Failed to initialize module 'aja-output-ui.so'
02:44:56.018: No AJA devices found, skipping loading AJA plugin
02:44:56.018: Failed to initialize module 'aja.so'
02:44:56.140: [pipewire] Available capture sources:
02:44:56.140: [pipewire] - Monitor source
02:44:56.140: [pipewire] - Window source
02:44:56.158: v4l2loopback not installed, virtual camera not registered
02:44:56.164: [obs-browser]: Version 2.24.4
02:44:56.164: [obs-browser]: CEF Version 127.0.6533.100 (runtime), 127.3.4+ge9e2e14+chromium-127.0.6533.100 (compiled)
02:44:56.170: VAAPI: Failed to initialize display in vaapi_device_h264_supported
02:44:56.170: VAAPI: Failed to initialize display in vaapi_device_h264_supported
02:44:56.170: FFmpeg VAAPI H264 encoding not supported
02:44:56.170: VAAPI: Failed to initialize display in vaapi_device_av1_supported
02:44:56.170: VAAPI: Failed to initialize display in vaapi_device_av1_supported
02:44:56.170: FFmpeg VAAPI AV1 encoding not supported
02:44:56.170: VAAPI: Failed to initialize display in vaapi_device_hevc_supported
02:44:56.170: VAAPI: Failed to initialize display in vaapi_device_hevc_supported
02:44:56.170: FFmpeg VAAPI HEVC encoding not supported
02:44:56.185: os_dlopen(libnvidia-encode.so.1->libnvidia-encode.so.1): libnvidia-encode.so.1: 无法打开共享对象文件: 没有那个文件或目录
02:44:56.185:
02:44:56.185: NVENC not supported
02:44:56.185: Failed to initialize module 'obs-nvenc.so'
02:44:56.223: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.5.4 | RPC Version: 1)
02:44:56.223: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.3 | Qt version (run-time): 6.6.3
02:44:56.223: [obs-websocket] [obs_module_load] Linked ASIO Version: 103100
02:44:56.223: DEPRECATION: obs_frontend_get_global_config is deprecated. Read from global or user configuration explicitly instead.
02:44:56.228: [obs-websocket] [obs_module_load] Module loaded.
02:44:56.244: ---------------------------------
02:44:56.244: Loaded Modules:
02:44:56.244: text-freetype2.so
02:44:56.244: rtmp-services.so
02:44:56.244: obs-x264.so
02:44:56.244: obs-websocket.so
02:44:56.244: obs-webrtc.so
02:44:56.244: obs-vst.so
02:44:56.244: obs-transitions.so
02:44:56.244: obs-qsv11.so
02:44:56.244: obs-outputs.so
02:44:56.244: obs-libfdk.so
02:44:56.244: obs-filters.so
02:44:56.244: obs-ffmpeg.so
02:44:56.244: obs-browser.so
02:44:56.244: linux-v4l2.so
02:44:56.244: linux-pulseaudio.so
02:44:56.244: linux-pipewire.so
02:44:56.244: linux-jack.so
02:44:56.244: linux-capture.so
02:44:56.244: image-source.so
02:44:56.244: frontend-tools.so
02:44:56.244: ---------------------------------
02:44:56.244: ---------------------------------
02:44:56.244: Available Encoders:
02:44:56.244: Video Encoders:
02:44:56.244: - ffmpeg_svt_av1 (SVT-AV1)
02:44:56.244: - ffmpeg_aom_av1 (AOM AV1)
02:44:56.244: - obs_x264 (x264)
02:44:56.244: Audio Encoders:
02:44:56.244: - ffmpeg_aac (FFmpeg AAC)
02:44:56.244: - ffmpeg_opus (FFmpeg Opus)
02:44:56.244: - ffmpeg_pcm_s16le (FFmpeg PCM (16位))
02:44:56.244: - ffmpeg_pcm_s24le (FFmpeg PCM (24位))
02:44:56.244: - ffmpeg_pcm_f32le (FFmpeg PCM (32位浮点))
02:44:56.244: - ffmpeg_alac (FFmpeg ALAC (24位))
02:44:56.244: - ffmpeg_flac (FFmpeg FLAC (16位))
02:44:56.244: - libfdk_aac (libfdk AAC)
02:44:56.244: ==== Startup complete ===============================================
02:44:56.269: All scene data cleared
02:44:56.269: ------------------------------------------------
02:44:56.272: pulse-input: Server name: 'PulseAudio (on PipeWire 1.2.7) 15.0.0'
02:44:56.272: pulse-input: Audio format: s16le, 48000 Hz, 2 channels
02:44:56.272: pulse-input: Started recording from 'alsa_output.usb-EDIFIER_EDIFIER_R19BT_EDI00000X06-00.analog-stereo.monitor' (default)
02:44:56.272: [Loaded global audio device]: '桌面音频'
02:44:56.273: pulse-input: Server name: 'PulseAudio (on PipeWire 1.2.7) 15.0.0'
02:44:56.273: pulse-input: Audio format: s16le, 48000 Hz, 2 channels
02:44:56.273: pulse-input: Started recording from 'alsa_input.usb-MV_UGREEN_CM379_USB_Audio_20220901001-00.analog-stereo' (default)
02:44:56.273: [Loaded global audio device]: '麦克风/Aux'
02:44:56.273: PipeWire initialized
02:44:56.274: Switched to scene '场景'
02:44:56.274: ------------------------------------------------
02:44:56.274: Loaded scenes:
02:44:56.274: - scene '场景':
02:44:56.274: - source: '屏幕采集(PipeWire)' (pipewire-screen-capture-source)
02:44:56.274: ------------------------------------------------
02:44:56.309: [pipewire] Screencast session created
02:44:56.326: [pipewire] Asking for monitor and window
02:44:56.365: [pipewire] source selected, setting up screencast
02:44:56.369: [pipewire] Server version: 1.2.7
02:44:56.369: [pipewire] Library version: 0.3.83
02:44:56.369: [pipewire] Header version: 0.3.83
02:44:56.369: [pipewire] Created stream 0x65288ee00660
02:44:56.370: [pipewire] Stream 0x65288ee00660 state: "connecting" (error: none)
02:44:56.379: [pipewire] Playing stream 0x65288ee00660
02:44:56.380: [pipewire] Stream 0x65288ee00660 state: "paused" (error: none)
02:44:56.386: [pipewire] Negotiated format:
02:44:56.386: [pipewire] Format: 12 (Spa:Enum:VideoFormat:BGRA)
02:44:56.386: [pipewire] Modifier: 0x0
02:44:56.386: [pipewire] Size: 2560x1440
02:44:56.386: [pipewire] Framerate: 0/1
02:44:56.391: [pipewire] Negotiated format:
02:44:56.391: [pipewire] Format: 12 (Spa:Enum:VideoFormat:BGRA)
02:44:56.391: [pipewire] Modifier: 0xffffffffffffff
02:44:56.391: [pipewire] Size: 2560x1440
02:44:56.391: [pipewire] Framerate: 0/1
02:44:56.424: [pipewire] Stream 0x65288ee00660 state: "streaming" (error: none)
02:44:56.425: [pipewire] buffer is corrupt
02:44:56.428: [pipewire] buffer is corrupt
02:44:56.432: [pipewire] buffer is corrupt
02:44:56.437: [pipewire] buffer is corrupt
02:44:56.441: [pipewire] buffer is corrupt
02:44:56.444: [pipewire] buffer is corrupt
02:44:56.448: [pipewire] buffer is corrupt
02:44:56.449: [pipewire] buffer is corrupt
02:44:56.451: [pipewire] buffer is corrupt
02:44:56.453: [pipewire] buffer is corrupt
02:44:56.459: [pipewire] buffer is corrupt
02:44:56.461: [pipewire] buffer is corrupt
02:44:56.463: [pipewire] buffer is corrupt
02:44:56.466: [pipewire] buffer is corrupt
02:44:56.468: [pipewire] buffer is corrupt
02:44:56.470: [pipewire] buffer is corrupt
02:44:56.473: [pipewire] buffer is corrupt
02:44:56.474: [pipewire] buffer is corrupt
02:44:56.476: [pipewire] buffer is corrupt
02:44:56.478: [pipewire] buffer is corrupt
02:44:56.480: [pipewire] buffer is corrupt
02:44:56.481: [pipewire] buffer is corrupt
02:44:56.487: [pipewire] buffer is corrupt
02:44:56.489: [pipewire] buffer is corrupt
02:44:56.491: [pipewire] buffer is corrupt
02:44:56.493: [pipewire] buffer is corrupt
02:44:56.495: [pipewire] buffer is corrupt
02:44:56.497: [pipewire] buffer is corrupt
02:44:56.499: [pipewire] buffer is corrupt
02:44:56.500: [pipewire] buffer is corrupt
02:44:56.502: [pipewire] buffer is corrupt
02:44:56.823: Last log entry repeated for 108 more lines
02:44:56.823: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: 桌面音频)
02:44:56.823:
02:44:56.824: [pipewire] buffer is corrupt
02:44:56.825: [pipewire] buffer is corrupt
02:44:56.826: [pipewire] buffer is corrupt
02:44:56.827: [pipewire] buffer is corrupt
02:44:56.828: [pipewire] buffer is corrupt
02:44:56.829: [pipewire] buffer is corrupt
02:44:56.830: [pipewire] buffer is corrupt
02:44:56.831: [pipewire] buffer is corrupt
02:44:56.832: [pipewire] buffer is corrupt
02:44:56.833: [pipewire] buffer is corrupt
02:44:56.836: [pipewire] buffer is corrupt
02:44:56.838: [pipewire] buffer is corrupt
02:44:56.839: [pipewire] buffer is corrupt
02:44:56.840: [pipewire] buffer is corrupt
02:44:56.841: [pipewire] buffer is corrupt
02:44:56.842: [pipewire] buffer is corrupt
02:44:56.843: [pipewire] buffer is corrupt
02:44:56.844: [pipewire] buffer is corrupt
02:44:56.845: [pipewire] buffer is corrupt
02:44:56.846: [pipewire] buffer is corrupt
02:44:56.847: [pipewire] buffer is corrupt
最近编辑记录 白川 (2025-02-06 04:34:14)
离线
这里有一个更早的更换cpu之前的正常工作logs作为对比:19:49:40.746: Platform: Wayland
19:49:40.746: CPU Name: 12th Gen Intel(R) Core(TM) i5-12400F
19:49:40.746: CPU Speed: 3799.863MHz
19:49:40.746: Physical Cores: 6, Logical Cores: 12
19:49:40.746: Physical Memory: 31907MB Total, 18299MB Free
19:49:40.746: Kernel Version: Linux 6.12.10-arch1-1
19:49:40.746: Flatpak Branch: stable
19:49:40.746: Flatpak Arch: x86_64
19:49:40.746: Flatpak Runtime: runtime/org.kde.Platform/x86_64/6.6
19:49:40.746: App Extensions:
19:49:40.746: - com.obsproject.Studio.Locale
19:49:40.746: Runtime Extensions:
19:49:40.746: - org.freedesktop.Platform.GL.default
19:49:40.746: - org.freedesktop.Platform.GL.nvidia-565-77
19:49:40.746: - org.freedesktop.Platform.openh264
19:49:40.746: - org.gtk.Gtk3theme.Breeze
19:49:40.746: - org.kde.Platform.Locale
19:49:40.746: - org.freedesktop.Platform.GL.default
19:49:40.746: Flatpak Framework Version: 1.16.0
19:49:40.746: Desktop Environment: KDE (KDE)
19:49:40.746: Session Type: wayland
19:49:40.749: Qt Version: 6.6.3 (runtime), 6.6.3 (compiled)
19:49:40.749: Portable mode: false
19:49:40.798: OBS 31.0.1 (linux)
19:49:40.798: ---------------------------------
19:49:40.798: ---------------------------------
19:49:40.798: audio settings reset:
19:49:40.798: samples per sec: 48000
19:49:40.798: speakers: 2
19:49:40.798: max buffering: 960 milliseconds
19:49:40.798: buffering type: dynamically increasing
19:49:40.799: ---------------------------------
19:49:40.799: Initializing OpenGL...
19:49:40.799: Using EGL/Wayland
19:49:40.799: Initialized EGL 1.5
19:49:40.803: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce RTX 4060 Ti/PCIe/SSE2
19:49:40.803: OpenGL loaded successfully, version 3.3.0 NVIDIA 565.77, shading language 3.30 NVIDIA via Cg compiler
19:49:40.823: ---------------------------------
19:49:40.823: video settings reset:
19:49:40.823: base resolution: 2560x1440
19:49:40.823: output resolution: 2560x1440
19:49:40.823: downscale filter: Bicubic
19:49:40.823: fps: 60/1
19:49:40.823: format: NV12
19:49:40.823: YUV mode: Rec. 709/Partial
19:49:40.823: NV12 texture support enabled
19:49:40.823: P010 texture support not available
19:49:40.862: Audio monitoring device:
19:49:40.862: name: 默认
19:49:40.862: id: default
19:49:40.863: ---------------------------------
19:49:40.873: No AJA devices found, skipping loading AJA UI plugin
19:49:40.873: Failed to initialize module 'aja-output-ui.so'
19:49:40.882: No AJA devices found, skipping loading AJA plugin
19:49:40.882: Failed to initialize module 'aja.so'
19:49:41.005: [pipewire] Available capture sources:
19:49:41.005: [pipewire] - Monitor source
19:49:41.005: [pipewire] - Window source
19:49:41.022: v4l2loopback not installed, virtual camera not registered
19:49:41.032: [obs-browser]: Version 2.24.4
19:49:41.032: [obs-browser]: CEF Version 127.0.6533.100 (runtime), 127.3.4+ge9e2e14+chromium-127.0.6533.100 (compiled)
19:49:41.051: VAAPI: Failed to initialize display in vaapi_device_h264_supported
19:49:41.051: FFmpeg VAAPI H264 encoding not supported
19:49:41.051: VAAPI: Failed to initialize display in vaapi_device_av1_supported
19:49:41.051: FFmpeg VAAPI AV1 encoding not supported
19:49:41.051: VAAPI: Failed to initialize display in vaapi_device_hevc_supported
19:49:41.051: FFmpeg VAAPI HEVC encoding not supported
19:49:41.670: [obs-nvenc] NVENC version: 12.2 (compiled) / 12.2 (driver), CUDA driver version: 12.70, AV1 supported: true
19:49:41.743: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.5.4 | RPC Version: 1)
19:49:41.743: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.3 | Qt version (run-time): 6.6.3
19:49:41.743: [obs-websocket] [obs_module_load] Linked ASIO Version: 103100
19:49:41.743: DEPRECATION: obs_frontend_get_global_config is deprecated. Read from global or user configuration explicitly instead.
19:49:41.750: [obs-websocket] [obs_module_load] Module loaded.
19:49:41.779: ---------------------------------
19:49:41.779: Loaded Modules:
19:49:41.779: text-freetype2.so
19:49:41.779: rtmp-services.so
19:49:41.779: obs-x264.so
19:49:41.779: obs-websocket.so
19:49:41.779: obs-webrtc.so
19:49:41.779: obs-vst.so
19:49:41.779: obs-transitions.so
19:49:41.779: obs-qsv11.so
19:49:41.779: obs-outputs.so
19:49:41.779: obs-nvenc.so
19:49:41.779: obs-libfdk.so
19:49:41.779: obs-filters.so
19:49:41.779: obs-ffmpeg.so
19:49:41.779: obs-browser.so
19:49:41.779: linux-v4l2.so
19:49:41.779: linux-pulseaudio.so
19:49:41.779: linux-pipewire.so
19:49:41.779: linux-jack.so
19:49:41.779: linux-capture.so
19:49:41.779: image-source.so
19:49:41.779: frontend-tools.so
19:49:41.779: ---------------------------------
19:49:41.779: ---------------------------------
19:49:41.779: Available Encoders:
19:49:41.779: Video Encoders:
19:49:41.779: - ffmpeg_svt_av1 (SVT-AV1)
19:49:41.779: - ffmpeg_aom_av1 (AOM AV1)
19:49:41.780: - obs_nvenc_h264_tex (NVIDIA NVENC H.264)
19:49:41.780: - obs_nvenc_hevc_tex (NVIDIA NVENC HEVC)
19:49:41.780: - obs_nvenc_av1_tex (NVIDIA NVENC AV1)
19:49:41.780: - obs_x264 (x264)
19:49:41.780: Audio Encoders:
19:49:41.780: - ffmpeg_aac (FFmpeg AAC)
19:49:41.780: - ffmpeg_opus (FFmpeg Opus)
19:49:41.780: - ffmpeg_pcm_s16le (FFmpeg PCM (16位))
19:49:41.780: - ffmpeg_pcm_s24le (FFmpeg PCM (24位))
19:49:41.780: - ffmpeg_pcm_f32le (FFmpeg PCM (32位浮点))
19:49:41.780: - ffmpeg_alac (FFmpeg ALAC (24位))
19:49:41.780: - ffmpeg_flac (FFmpeg FLAC (16位))
19:49:41.780: - libfdk_aac (libfdk AAC)
19:49:41.780: ==== Startup complete ===============================================
19:49:41.823: All scene data cleared
19:49:41.823: ------------------------------------------------
19:49:41.827: pulse-input: Server name: 'PulseAudio (on PipeWire 1.2.7) 15.0.0'
19:49:41.827: pulse-input: Audio format: s16le, 48000 Hz, 2 channels
19:49:41.827: pulse-input: Started recording from 'alsa_output.usb-EDIFIER_EDIFIER_R19BT_EDI00000X06-00.analog-stereo.monitor' (default)
19:49:41.827: [Loaded global audio device]: '桌面音频'
19:49:41.827: pulse-input: Server name: 'PulseAudio (on PipeWire 1.2.7) 15.0.0'
19:49:41.828: pulse-input: Audio format: s16le, 48000 Hz, 2 channels
19:49:41.828: pulse-input: Started recording from 'alsa_input.usb-MV_UGREEN_CM379_USB_Audio_20220901001-00.analog-stereo' (default)
19:49:41.828: [Loaded global audio device]: '麦克风/Aux'
19:49:41.828: PipeWire initialized
19:49:41.829: Switched to scene '场景'
19:49:41.829: ------------------------------------------------
19:49:41.829: Loaded scenes:
19:49:41.829: - scene '场景':
19:49:41.829: - source: '屏幕采集(PipeWire)' (pipewire-screen-capture-source)
19:49:41.829: ------------------------------------------------
19:49:41.867: [pipewire] Screencast session created
19:49:41.879: [pipewire] Asking for monitor and window
19:49:41.893: [pipewire] source selected, setting up screencast
19:49:41.899: [pipewire] Server version: 1.2.7
19:49:41.899: [pipewire] Library version: 0.3.83
19:49:41.899: [pipewire] Header version: 0.3.83
19:49:41.933: [pipewire] Created stream 0x5f9d992cb490
19:49:41.933: [pipewire] Stream 0x5f9d992cb490 state: "connecting" (error: none)
19:49:41.933: [pipewire] Playing stream 0x5f9d992cb490
19:49:41.934: [pipewire] Stream 0x5f9d992cb490 state: "paused" (error: none)
19:49:41.941: [pipewire] Negotiated format:
19:49:41.941: [pipewire] Format: 12 (Spa:Enum:VideoFormat:BGRA)
19:49:41.941: [pipewire] Modifier: 0x0
19:49:41.941: [pipewire] Size: 2560x1440
19:49:41.941: [pipewire] Framerate: 0/1
19:49:41.942: [pipewire] Negotiated format:
19:49:41.942: [pipewire] Format: 12 (Spa:Enum:VideoFormat:BGRA)
19:49:41.942: [pipewire] Modifier: 0x300000000606014
19:49:41.942: [pipewire] Size: 2560x1440
19:49:41.942: [pipewire] Framerate: 0/1
19:49:41.949: [pipewire] Stream 0x5f9d992cb490 state: "streaming" (error: none)
19:49:42.377: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: 桌面音频)
19:49:42.377:
19:49:44.392: ReadOne on org.freedesktop.portal.Settings returned an invalid reply
19:49:44.393: ReadOne on org.freedesktop.portal.Settings returned an invalid reply
19:49:44.466: OpenType support missing for "Open Sans", script 11
19:49:44.475: OpenType support missing for "Open Sans", script 12
19:49:44.484: OpenType support missing for "Open Sans", script 20
19:49:56.385: Settings changed (stream 1)
19:49:56.385: ------------------------------------------------
19:49:57.817: ReadOne on org.freedesktop.portal.Settings returned an invalid reply
19:49:57.817: ReadOne on org.freedesktop.portal.Settings returned an invalid reply
19:50:01.361: [obs-nvenc: 'advanced_video_stream'] settings:
19:50:01.361: codec: H264
19:50:01.361: rate_control: CBR
19:50:01.361: bitrate: 10000
19:50:01.361: keyint: 250
19:50:01.361: preset: p5
19:50:01.361: tuning: hq
19:50:01.361: multipass: qres
19:50:01.361: profile: high
19:50:01.361: width: 2560
19:50:01.361: height: 1440
19:50:01.361: b-frames: 2
19:50:01.361: b-ref-mode: 0
19:50:01.361: lookahead: true (8 frames)
19:50:01.361: aq: true
19:50:01.361:
19:50:01.401: ---------------------------------
19:50:01.401: [FFmpeg aac encoder: 'adv_stream_audio'] bitrate: 160, channels: 2, channel_layout: stereo, track: 1
19:50:01.401:
19:50:01.401: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-push.bilivideo.com/live-bvc/...
19:50:01.991: [rtmp stream: 'adv_stream'] Connection to rtmp://live-push.bilivideo.com/live-bvc/ (36.150.57.244) successful
19:50:02.055: ==== Streaming Start ===============================================
20:06:15.908: [rtmp stream: 'adv_stream'] User stopped the stream
20:06:15.908: Output 'adv_stream': stopping
20:06:15.908: Output 'adv_stream': Total frames output: 58414
20:06:15.908: Output 'adv_stream': Total drawn frames: 58464 (58471 attempted)
20:06:15.908: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 7 (0.0%)
20:06:15.908: Video stopped, number of skipped frames due to encoding lag: 6/58431 (0.0%)
20:06:15.909: ==== Streaming Stop ================================================
20:06:16.587: ==== Shutting down ==================================================
20:06:16.627: pulse-input: Stopped recording from 'alsa_output.usb-EDIFIER_EDIFIER_R19BT_EDI00000X06-00.analog-stereo.monitor'
20:06:16.627: pulse-input: Got 39790 packets with 47748000 frames
20:06:16.627: pulse-input: Stopped recording from 'alsa_input.usb-MV_UGREEN_CM379_USB_Audio_20220901001-00.analog-stereo'
20:06:16.627: pulse-input: Got 39791 packets with 47749200 frames
20:06:16.627: [pipewire] Stream 0x5f9d992cb490 state: "paused" (error: none)
20:06:16.627: [pipewire] Stream 0x5f9d992cb490 state: "unconnected" (error: none)
20:06:16.640: All scene data cleared
20:06:16.640: ------------------------------------------------
20:06:16.703: [obs-websocket] [obs_module_unload] Shutting down...
20:06:16.703: Tried to call obs_frontend_remove_event_callback with no callbacks!
20:06:16.703: [obs-websocket] [obs_module_unload] Finished shutting down.
20:06:16.708: [Scripting] Total detached callbacks: 0
20:06:16.708: Freeing OBS context data
20:06:16.727: == Profiler Results =============================
20:06:16.727: run_program_init: 1283.5 ms
20:06:16.727: ┣OBSApp::AppInit: 9.329 ms
20:06:16.727: ┃ ┗OBSApp::InitLocale: 1.02 ms
20:06:16.727: ┗OBSApp::OBSInit: 1117.29 ms
20:06:16.727: ┣obs_startup: 2.923 ms
20:06:16.727: ┗OBSBasic::OBSInit: 1065.21 ms
20:06:16.727: ┣OBSBasic::InitBasicConfig: 0.45 ms
20:06:16.727: ┣OBSBasic::ResetAudio: 0.101 ms
20:06:16.727: ┣OBSBasic::ResetVideo: 63.984 ms
20:06:16.727: ┃ ┗obs_init_graphics: 24.385 ms
20:06:16.727: ┃ ┗shader compilation: 18.943 ms
20:06:16.727: ┣OBSBasic::InitOBSCallbacks: 0.004 ms
20:06:16.727: ┣OBSBasic::InitHotkeys: 0.017 ms
20:06:16.727: ┣obs_load_all_modules2: 916.499 ms
20:06:16.727: ┃ ┣obs_init_module(aja-output-ui.so): 0.064 ms
20:06:16.727: ┃ ┣obs_init_module(aja.so): 0.058 ms
20:06:16.727: ┃ ┣obs_init_module(frontend-tools.so): 51.27 ms
20:06:16.727: ┃ ┣obs_init_module(image-source.so): 0.011 ms
20:06:16.727: ┃ ┣obs_init_module(linux-capture.so): 0 ms
20:06:16.727: ┃ ┣obs_init_module(linux-jack.so): 0.002 ms
20:06:16.727: ┃ ┣obs_init_module(linux-pipewire.so): 4.187 ms
20:06:16.727: ┃ ┣obs_init_module(linux-pulseaudio.so): 0.002 ms
20:06:16.727: ┃ ┣obs_init_module(linux-v4l2.so): 6.969 ms
20:06:16.727: ┃ ┣obs_init_module(obs-browser.so): 0.111 ms
20:06:16.727: ┃ ┣obs_init_module(obs-ffmpeg.so): 0.465 ms
20:06:16.727: ┃ ┣obs_init_module(obs-filters.so): 0.031 ms
20:06:16.727: ┃ ┣obs_init_module(obs-libfdk.so): 0.001 ms
20:06:16.727: ┃ ┣obs_init_module(obs-nvenc.so): 600.005 ms
20:06:16.727: ┃ ┃ ┗nvenc_check: 599.98 ms
20:06:16.727: ┃ ┣obs_init_module(obs-outputs.so): 0.008 ms
20:06:16.727: ┃ ┣obs_init_module(obs-qsv11.so): 1.201 ms
20:06:16.727: ┃ ┣obs_init_module(obs-transitions.so): 0.013 ms
20:06:16.727: ┃ ┣obs_init_module(obs-vst.so): 0.006 ms
20:06:16.727: ┃ ┣obs_init_module(obs-webrtc.so): 0.012 ms
20:06:16.727: ┃ ┣obs_init_module(obs-websocket.so): 6.982 ms
20:06:16.727: ┃ ┣obs_init_module(obs-x264.so): 0.002 ms
20:06:16.727: ┃ ┣obs_init_module(rtmp-services.so): 0.414 ms
20:06:16.727: ┃ ┗obs_init_module(text-freetype2.so): 0.016 ms
20:06:16.727: ┣OBSBasic::InitService: 0.141 ms
20:06:16.727: ┣OBSBasic::ResetOutputs: 0.317 ms
20:06:16.727: ┣OBSBasic::CreateHotkeys: 0.077 ms
20:06:16.727: ┣OBSBasic::InitPrimitives: 0.378 ms
20:06:16.727: ┗OBSBasic::Load: 47.455 ms
20:06:16.727: obs_hotkey_thread(25 ms): min=0 ms, median=0 ms, max=0.083 ms, 99th percentile=0.001 ms, 100% below 25 ms
20:06:16.727: audio_thread(Audio): min=0.011 ms, median=1.295 ms, max=29.323 ms, 99th percentile=12.201 ms
20:06:16.727: ┗receive_audio: min=0.001 ms, median=1.209 ms, max=29.175 ms, 99th percentile=12.155 ms
20:06:16.727: ┣buffer_audio: min=0 ms, median=0.002 ms, max=0.053 ms, 99th percentile=0.003 ms
20:06:16.727: ┗do_encode: min=0.018 ms, median=1.203 ms, max=29.167 ms, 99th percentile=12.149 ms
20:06:16.727: ┣encode(adv_stream_audio): min=0.016 ms, median=1.181 ms, max=29.12 ms, 99th percentile=12.116 ms
20:06:16.727: ┗send_packet: min=0.001 ms, median=0.01 ms, max=5.288 ms, 99th percentile=0.065 ms
20:06:16.727: obs_graphics_thread(16.6667 ms): min=0.068 ms, median=1.813 ms, max=94.655 ms, 99th percentile=6.915 ms, 99.9531% below 16.667 ms
离线
解决了,是因为通过flatpak安装的obs没有及时更新,跟硬件更改没有关系。旧版obs使用的运行时 org.kde.Platform 分支 6.6 已结束生命周期。
执行flatpak update后解决~
kuriko@archlinux:~> flatpak update
正在查找更新…
信息:运行时 org.kde.Platform 分支 6.6 已结束生命周期,原因:
We strongly recommend moving to the latest stable version of the Platform and SDK
信息:使用该运行时的应用程序:
com.obsproject.Studio
ID 分支 操作 远程 下载
1. [✓] org.freedesktop.Platform.GL.nvidia-570-86-16 1.4 i flathub 376.1 MB / 376.6 MB
2. [✓] org.freedesktop.Platform.VAAPI.Intel 23.08 i flathub 13.4 MB / 13.6 MB
3. [-] org.freedesktop.Platform.GL.nvidia-565-77 1.4 r
更改完成。
离线
实际上 obs 现在用的也是那个过时的 org.kde.Platform 6.6,而且 obs 本体都升级过一次了他们还是没有升级这个运行时,不知道打包那边是不是遇到了什么困难。
你这里真正的问题是最近 Arch Linux 源内的 nvidia 驱动从 565 升级到了 570,然后 flatpak 内相应的 nvidia 驱动库没有及时跟进更新。建议系统更新之后都顺便执行一遍 flatpak update。
离线
真正的问题是不用系统库(
离线
页次: 1