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

Feature Request: Bring Back VDAVideoDecoder for old GPUs #866

Closed
Half-Modern opened this issue Sep 5, 2024 · 6 comments
Closed

Feature Request: Bring Back VDAVideoDecoder for old GPUs #866

Half-Modern opened this issue Sep 5, 2024 · 6 comments
Labels
Minor bug A bug that does not break the browser

Comments

@Half-Modern
Copy link

Half-Modern commented Sep 5, 2024

EDIT: I found the real culprit. Look at Alex313031/thorium-legacy#114 (comment)

@Half-Modern Half-Modern added the Minor bug A bug that does not break the browser label Sep 5, 2024
@ZepopaOwleMukasa
Copy link

ZepopaOwleMukasa commented Sep 8, 2024

#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.

@Half-Modern
Copy link
Author

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
Copy link
Author

#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.

@Half-Modern Half-Modern changed the title Browser doesn't use Video Decoder of GPU (Nvidia 342.01) (Not a Bug/Restore Functionality) Disable D3D11VideoDecoder Blocklist for Older Drivers Sep 14, 2024
@ZepopaOwleMukasa
Copy link

@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
Copy link
Author

Half-Modern commented Sep 14, 2024

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 Half-Modern changed the title (Not a Bug/Restore Functionality) Disable D3D11VideoDecoder Blocklist for Older Drivers Feature Request: Bring Back VDAVideoDecoder for old GPUs Sep 22, 2024
@Half-Modern
Copy link
Author

Closing as lost interest with the project.

@Half-Modern Half-Modern closed this as not planned Won't fix, can't repro, duplicate, stale Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Minor bug A bug that does not break the browser
Projects
None yet
Development

No branches or pull requests

2 participants