[Freezing/Lagging] 关于“风华2号”显卡在Deepin 25上无法启用硬件加速的反馈
Tofloor
poster avatar
coolal
deepin
2026-09-13 15:39
Author

对比非常清晰,UOS V25 完全正常,Deepin 25 彻底失败。这直接锁定了问题根源。


关键差异对比

项目 UOS V25(正常) Deepin 25(异常)
驱动版本 fantgpu-fh2m 3.3.8.120-driver-linux-desktop-generic fantgpu-fh2m 3.3.8.126-driver-linux-desktop-sp-generic
OpenGL渲染器 Fantasy II-M ✅ llvmpipe ❌
微信GPU参数 无 --use-angle=swiftshader-webgl ✅ 强制 --use-angle=swiftshader-webgl ❌
Xorg错误 仅1条无害警告,无(EE)错误 ✅ eglInitialize() failed、glamor init failed ❌
Vulkan/DRI3 无报错 ✅ No DRI3 support detected ❌
实际体验 微信小程序清晰流畅,帧率高 ✅ 卡顿、模糊、帧率<10 ❌

根本原因

UOS V25 使用了经过统信深度适配的 fantgpu-fh2m 3.3.8.120-generic 驱动,该驱动在 UOS 的图形栈中能成功完成 eglInitialize(),系统 OpenGL 直接识别为 Fantasy II-M,微信正常调用硬件加速。

Deepin 25 缺少官方适配。你手动安装的 3.3.8.126-sp-generic 是通用版驱动,在 Deepin 25 的 Mesa/Xorg 环境下无法完成 EGL 初始化,导致:

  • eglInitialize() failed
  • GLX_ARB_create_context 扩展缺失
  • libfant_codec.so 缺失
  • 系统回退到 llvmpipe 软件渲染

这不是硬件问题,也不是用户配置问题,而是 Deepin 25 没有获得芯动科技针对“风华2号”的官方驱动适配。


反馈文章(已更新)

关于“风华2号”显卡在Deepin 25上无法启用硬件加速的反馈

一、背景与环境

我使用的是浪潮CE530H整机,配置如下:

  • CPU:海光C86 3350(x86_64)
  • 显卡:风华2号(Fantasy II-M),2GB显存
  • 系统:Deepin 25.2.2(内核 6.6.0-63-generic)
  • 显卡驱动:fantgpu-fh2m 3.3.8.126-sp-generic(官网通用版)
  • 微信版本:官方 deb 包 4.1.13.9

对比系统:同一台机器安装 UOS V25 专业版,使用驱动 fantgpu-fh2m 3.3.8.120-generic,微信小程序完全流畅、字体清晰。

二、问题现象

在Deepin 25上,微信小程序帧率极低(<10 FPS)、字体模糊。系统OpenGL渲染器为 llvmpipe,微信GPU进程强制使用 --use-gl=angle --use-angle=swiftshader-webgl 软件渲染。

三、关键排查证据

3.1 UOS V25(正常)的关键输出

$ glxinfo | grep "OpenGL renderer"
OpenGL renderer string: Fantasy II-M   # 硬件加速正常

$ ps aux | grep WeChatAppEx | grep gpu-process
# 无 --use-angle=swiftshader-webgl 参数

$ sudo cat /var/log/Xorg.0.log | grep -i -E "fh2m|egl" | grep -i -E "\(EE\)|\(WW\)"
[    32.023] (WW) fh2m(0): Option "GlxVendorLibrary" is not used
# 无任何 (EE) 错误

3.2 Deepin 25(异常)的关键输出

$ glxinfo | grep "OpenGL renderer"
OpenGL renderer string: llvmpipe (LLVM 17.0.6, 256 bits)   # 软件渲染

$ ps aux | grep WeChatAppEx | grep gpu-process
--use-gl=angle --use-angle=swiftshader-webgl   # 强制软件渲染

$ sudo cat /var/log/Xorg.0.log | grep -i "fh2m" | grep -i "\(EE\)"
[    12.385] (EE) fh2m(0): eglInitialize() failed
[    12.387] (EE) fh2m(0): fh2m glamor initialization failed

$ vulkaninfo | grep deviceName
vulkan: No DRI3 support detected - required for presentation
        deviceName        = Fantasy II-M
        deviceName        = llvmpipe

$ 微信启动终端错误:
Cannot create an OpenGL ES platform on GLX without the GLX_ARB_create_context extension.
libva error: dlopen of /usr/lib/x86_64-linux-gnu/dri/fh2m_drv_video.so failed: libfant_codec.so: cannot open shared object file

四、问题根源

Deepin 25 缺少芯动科技针对“风华2号”的官方适配驱动。 UOS V25 使用的 3.3.8.120-generic 驱动经过统信深度适配,eglInitialize() 成功,OpenGL 识别为 Fantasy II-M,微信硬件加速正常。而 Deepin 25 用户只能手动安装通用版 3.3.8.126-sp-generic,该驱动在 Deepin 25 的 Mesa/Xorg 环境下 EGL 初始化失败,缺少 GLX_ARB_create_context 扩展和 libfant_codec.so,导致系统回退到 llvmpipe。

五、对社区的建议

  1. 推动芯动科技适配 Deepin 25:希望 Deepin 社区能与芯动科技沟通,推动官方为 Deepin 25 提供适配驱动。
  2. 文档标注:在 Deepin 25 硬件兼容性列表中,明确标注风华2号显卡当前不支持硬件加速。
  3. 长期合作:建议 Deepin 与国产显卡厂商建立更紧密的适配合作。

六、附件

  • UOS V25 成功日志:glxinfo 输出 Fantasy II-M,Xorg 无错误。
  • Deepin 25 失败日志:glxinfo 输出 llvmpipe,Xorg 报 eglInitialize() failed。
  • 系统信息:Deepin 25.2.2,内核 6.6.0-63-generic,驱动 3.3.8.126-sp-generic,微信 4.1.13.9。

希望以上信息能帮助 Deepin 社区定位并解决风华2号显卡的兼容性问题。感谢!

Reply Favorite View the author
All Replies
avatar
杀毒软件吧
deepin
2026-09-13 18:24
#1

这个内核版本是不是太低了?就算是6.6 HWE内核,也太低了。

Reply View the author
avatar
𰻞𰻝面
deepin
2026-09-13 20:36
#2

还是老牌显卡稳

Reply View the author
avatar
deepin流云
Super Moderator
Community OP
2026-09-14 10:13
#3

上游厂家没有给社区版提供驱动

Reply View the author
avatar
Shalling
Deepin Wiki Editor
2026-09-15 08:30
#4

风华2号显卡驱动是不是闭源的?有没有可能把相关显卡驱动上架应用商店,让用户自己按需求安装。

Reply View the author
avatar
coolal
deepin
2026-09-15 08:48
#5
Shalling:

风华2号显卡驱动是不是闭源的?有没有可能把相关显卡驱动上架应用商店,让用户自己按需求安装。

https://www.fantasyxpu.com/support/driver-download

官网虽然提供下载,但这是统信UOS的,UOS装这个新版本也没任何问题。

虽然deepin也可以安装,但就是缺东西,有问题。

Reply View the author
avatar
CTZ老斑鸠
deepin
2026-09-15 10:05
#6

闭源驱动,没招

Reply View the author
avatar
玲泷沙.spark
deepin
2026-09-15 22:57
#7

装uos的内核会不会好一点

Reply View the author
avatar
coolal
deepin
2026-09-17 14:37
#8
玲泷沙.spark:

装uos的内核会不会好一点

就是装的UOS的驱动啊,官网也没提供deepin的驱动,但是下载麒麟和uos的驱动对比了一下是一样的大小。。

Reply View the author