创建

登录 ReadmeX

或

了解我们如何处理你的信息: 隐私政策

ReadmeX

陪你读懂 AI 动态

今天,想先了解什么?

选一份动态总结,或直接聊聊你的问题。

社区和关注动态总结只属于你自己。

资讯

Linux修复AMD Radeon老显卡视频损坏

AI 总结

一项已获接受的Linux内核补丁计划进入Linux 7.5,解决AMD Radeon HD 2000和HD 3000系列在视频解码与图形绘制同时运行时出现的UVD画面损坏。贡献者Ted Bullock在RV610 iMac上复现问题,并确认将解码缓冲区保留在VRAM中可正确输出画面。补丁覆盖RV610、RV620、RV630、RV635和RV670,Bullock还使用Codex协助调查、测试和编写补丁。

深度见解

该补丁修复了Linux上的长期硬件解码缺陷,同时也展示了Codex协助开源内核问题调查和补丁编写的具体案例。

A newly accepted kernel patch slated for the upcoming Linux 7.5 release finally resolves a long-standing hardware video decoding bug on AMD's ancient R600 architecture, nearly two decades after the cards first hit store shelves. As spotted by Phoronix, the fix targets the Unified Video Decoder (UVD) engine across the RV610, RV620, RV630, RV635, and RV670 silicon families, making up the Radeon HD 2000 and HD 3000 families released starting in 2007. Linux users running these cards experienced visual corruption during hardware-accelerated video playback whenever the GPU was simultaneously handling active 3D or desktop drawing workloads; those issues should now be resolved.

I investigated video corruption on my older iMac7,1 (RV610/M74,device ID 1002:94c8). When the decoder was reading compressed video from system memory while the GPU was drawing, it would corrupt video frames. Moving the input to VRAM allowed frames to decode correctly. Disabling graphics draws also stopped the corruption.Here is a proposal to keep UVD buffers in VRAM for this family of devices, as the driver already does for some other chips. The patch covers RV610, RV620, RV630, RV635 and RV670. These chips share the RV6xx decoder path and legacy R600 firmware, so I think they are likely to have the same hardware requirements. Someone with the other hardware would need to verify that.I tested this on Debian. I used Codex to help with the investigation, testing and patch. Ted Bullock, first-time kernel contributor

#AMD#Radeon HD 2000#Radeon HD 3000#Linux kernel#Linux 7.5#Codex#OpenAI#RV610#RV620#RV630#RV635#RV670

原文约 3 分钟读完阅读原文
群聊

还没有评论,来说说你的看法。