xiaoyaocz / dart_simple_live

简简单单的看直播
GNU General Public License v3.0
6.44k stars 306 forks source link

[BUG] Linux 平台 bug,硬件加速开关不生效(AMD apu, 无NVIDIA显卡) #382

Open expoli opened 5 months ago

expoli commented 5 months ago

BUG内容 输入BUG详细内容

Linux 平台 bug,硬件加速开关不生效

  1. 我的平台 amd apu,wayland image
  2. 遇到的问题:默认调用 NVIDIA VDPAU 硬件解码库,但是我没有,所以一直无法正常播放
    • 已经尝试关闭硬件加速功能 image
./simple_live_app                                                                                                             ✔  1m 59s   09:52:53  

** (simple_live_app:28700): CRITICAL **: 09:52:56.037: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: 未找到请求的设置

** (simple_live_app:28700): CRITICAL **: 09:52:56.038: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: 未找到请求的设置

** (simple_live_app:28700): CRITICAL **: 09:52:56.038: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: 未找到请求的设置

** (simple_live_app:28700): CRITICAL **: 09:52:56.038: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: 未找到请求的设置

** (simple_live_app:28700): CRITICAL **: 09:52:56.039: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: 未找到请求的设置
package:media_kit_libs_linux registered.
flutter: dynamic_color: Accent color detected.
media_kit: VideoOutput: video_output_new: 4903018884688
media_kit: VideoOutput: Using S/W rendering.
flutter: VideoOutput.Resize
flutter: {handle: 4903018884688, id: 4902801504656, rect: {left: 0, top: 0, width: 1, height: 1}}
flutter: NativeVideoController: Texture ID: 4902801504656
flutter: media_kit: wakelock: _count = 1
Failed to open VDPAU backend libvdpau_nvidia.so: 无法打开共享目标文件: 没有那个文件或目录
flutter: media_kit: wakelock: _count = 0
flutter: media_kit: wakelock: _count = 1
Failed to open VDPAU backend libvdpau_nvidia.so: 无法打开共享目标文件: 没有那个文件或目录
flutter: VideoOutput.Resize
flutter: {handle: 4903018884688, id: 4902801504656, rect: {left: 0, top: 0, width: 1280, height: 720}}
flutter: media_kit: wakelock: _count = 0
flutter: media_kit: wakelock: _count = 1
Failed to open VDPAU backend libvdpau_nvidia.so: 无法打开共享目标文件: 没有那个文件或目录
flutter: media_kit: wakelock: _count = 0
flutter: media_kit: wakelock: _count = 1
flutter: media_kit: wakelock: _count = 0
media_kit: VideoOutput: video_output_dispose: 4903018884688
MediaKitEventLoopHandler::Register: std::thread exit: 4903018884688
MediaKitEventLoopHandler::Dispose: 4903018884688