win32ss / supermium

Chromium fork for Windows XP/2003 and up
https://win32subsystem.live/supermium/
BSD 3-Clause "New" or "Revised" License
2.46k stars 85 forks source link

Feature Request: Bring Back VDAVideoDecoder for old GPUs #866

Closed Half-Modern closed 1 week ago

Half-Modern commented 2 months ago

EDIT: I found the real culprit. Look at https://github.com/Alex313031/thorium-legacy/issues/114#issue-2541145108

jimjonesbased69 commented 2 months ago

https://github.com/win32ss/supermium/issues/657#issuecomment-2158976094

There is no video decoder currently present in Supermium and it needs to be re-added eventually. You can still see what video decode support you theoretically would have on the chrome://gpu page, but it'll not work since the decoder itself is missing.

Half-Modern commented 2 months ago

FYI, video decode functionality works in Chromium version 78.0.3904.87, but you might need to change some settings: resim The stuff I drawn over are personal preferences, no need to be changed.

Half-Modern commented 2 months ago

#657 (comment)

There is no video decoder currently present in Supermium and it needs to be re-added eventually. You can still see what video decode support you theoretically would have on the chrome://gpu page, but it'll not work since the decoder itself is missing.

I'm talking about Windows 7, where you would be able to use video decoding if your GPU's drivers are new enough. There's something else which prevents the older drivers from using that functionality, maybe a blocklist. Look at that: resim I believe this keeps my GPU from using DXVA as they disabled it in the code. Switching backends won't do anything since they are ONLY used for rendering the browser screen, the video decoding RELIES on DirectX Video Acceleration (DXVA) which is present in Windows Vista and newer. On the other hand, Windows XP requires a much complex solution, which will be harder to restore IMO. XP users are limited to Mypal68 if they want to benefit from their GPUs at video playback.

jimjonesbased69 commented 2 months ago

@FK2FAGHMS

DXVA decoding doesn't work in Supermium (regardless of circumvention of gpu blacklists and/or driver bug workarounds) as the component is broken/missing. As I previously said; your hardware works fine but Supermium is not able to take advantage of that unlike regular chromium where DXVA decoding works normally (as you've already found out).

Half-Modern commented 2 months ago

It RELIES on DXVA, I will repeat: Chromium (or any other Chromium-based browser) relies on DXVA on Windows, this means Supermium also relies on DXVA and it's working with drivers "supported by Google". If it didn't, then nobody would be able to use Video Decoding feature of their GPUs in this browser. Supermium isn't missing any DXVA functionality, it just (and other Chromium-based browsers) has a blocklist where it stops older drivers from using it. I hope this helps.

regular chromium where DXVA decoding works normally (as you've already found out).

The regular Chromium you (and I) meant is Brave and it's based on Version 78, an extremely old version, back when they didn't block older drivers yet. If I try with some newer version (for example 109, last officially supported version), it doesn't work anyway since they blocked it there as well.

Half-Modern commented 1 week ago

Closing as lost interest with the project.