Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: 升级至1.5.7版本后,视频出现锯齿 #728

Open
2 tasks done
nanbloom001 opened this issue Feb 15, 2025 · 13 comments
Open
2 tasks done

[Bug]: 升级至1.5.7版本后,视频出现锯齿 #728

nanbloom001 opened this issue Feb 15, 2025 · 13 comments
Labels
bug Something isn't working

Comments

@nanbloom001
Copy link

nanbloom001 commented Feb 15, 2025

在使用的时候发生了什么 Bug ?

升级至1.5.7版本后,视频出现锯齿,打开超分辨率后锯齿更加明显,回退至1.5.5版本后(因为并不是从1.5.6升级至1.5.7的,所以未测试1.5.6版本)视频恢复正常,开启超分辨率后画质正常,猜测是否与impeller有关?

您在使用哪个操作系统?

Android

请具体提供设备、版本号等信息。

华为Matepad Pro XYAO-W00 鸿蒙4.2.0

(选填)一些与 Bug 相关的硬件信息。

No response

日志信息

提交前确认

  • issue 列表中,没有我发现的这个 Bug
  • 我正在使用最新版本的 Kazumi
@nanbloom001 nanbloom001 added the bug Something isn't working label Feb 15, 2025
@Predidit
Copy link
Owner

@ErBWs

可以复现这一问题吗。也许我们需要重新考虑禁用 impeller 。

@ErBWs
Copy link
Contributor

ErBWs commented Feb 15, 2025

有照片吗?

我是 p50 pro 鸿蒙4.2 没感觉到有明显锯齿

@nanbloom001
Copy link
Author

有照片吗?

我是 p50 pro 鸿蒙4.2 没感觉到有明显锯齿

稍等,我去重新运行一下

@nanbloom001
Copy link
Author

有照片吗?
我是 p50 pro 鸿蒙4.2 没感觉到有明显锯齿

稍等,我去重新运行一下

可能是我使用的平板设备屏幕更大,感觉更明显

@nanbloom001
Copy link
Author

Image

Image

上面是1.5.5 下面是1.5.7 两者是同一视频源,同时打开效率档,超分辨率

@nanbloom001
Copy link
Author

有照片吗?

我是 p50 pro 鸿蒙4.2 没感觉到有明显锯齿

Image

Image

这是未打开超分辨率的图片对比

@Predidit
Copy link
Owner

Predidit commented Feb 15, 2025

看上去是 flutter/flutter#159688

我感到很困惑,因为这个问题应该已经在 3.29 被修复了

我注意到 Maleoon GPU 全系列都在 impeller vulkan 的黑名单中。这意味着他们在启用 impeller 的情况下会回退到 impeller openGL。

很明显 P50Pro的GPU 可以使用正常的 impeller vulkan 后端,上面提到的问题可能只在 impeller vulkan 上修复而没有在 impeller openGL上修复。

@nanbloom001 你在使用的设备的 GPU是什么。

@nanbloom001
Copy link
Author

看上去是 flutter/flutter#159688

我感到很困惑,因为这个问题应该已经在 3.29 被修复了

我注意到 Maleoon GPU 全系列都在 impeller vulkan 的黑名单中。这意味着他们在启用 impeller 的情况下会回退到 impeller openGL。

很明显 P50Pro的GPU是 Arm Mail,可以使用正常的 impeller vulkan 后端,上面提到的问题可能只在 impeller vulkan 上修复而没有在 impeller openGL上修复。

@nanbloom001 你在使用的设备的 GPU是什么。

处理器是降频版的麒麟9000s,GPU我查到的是是maleoon 910

@ErBWs
Copy link
Contributor

ErBWs commented Feb 15, 2025

或许构建一个禁用 impeller 的 apk 做下测试

impeller 之前的问题是花屏,还未出现过视频锯齿的问题反馈

media kit 用到了 platform view 吗?我对此没有了解

可能和 media kit 与 3.29.0 有关

@Predidit
Copy link
Owner

我们确实应该做一下这样的测试,不过今天有些太晚了,明天我会在这里发布一个禁用 impeller 的测试包

3.29 之前在黑名单中的设备会回退到 skia,现在会回退到刚刚加入的 impeller openGL

media-kit 的这部分实现充满了 hack ,最终行为几乎是 PlatformView

fvp 和官方实现是 Texture

@ErBWs
Copy link
Contributor

ErBWs commented Feb 15, 2025

next 版本的 flutter 引擎倒是对 impeller 的支持挺好的

如果能升级且可以接受 next 的话可以升级试试(

就是没有超分辨率和亮度调节

@Predidit
Copy link
Owner

这是我当初打开 #541 的原因之一

media-kit 的实现让我们有机会配合高版本的 mpv 在 android 平台上实现官方实现也做不到的 HDR 功能

不过我现在并没有很想推进这一实现,我们完全没有播放 HDR 内容的需求

@nanbloom001
Copy link
Author

hack ,最终行为几乎是 PlatformView

但是明天我可能没办法测试了🥺,明天我返校,手头没有华为设备

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants