win32ss / supermium

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

[Feature Request, Functional] Enable back H264 Acceleration for GT220M #657

Open FK2FAGHMS opened 2 weeks ago

FK2FAGHMS commented 2 weeks ago

Chromium has disabled any form of GPU acceleration for video playback on Geforce GT220M GPUs. If your CPU is a weak one like Core 2 Duo T6400, you'll experience high CPU usage and poor playback performance as it will try to play the video itself. image image Backend: D3D9 OS: Windows 7 x64 SP1 (with Platform Update)

MizaGBF commented 2 weeks ago

Do you have an example of such a website/video with poor playback?
I checked on an old machine with a different GPU (Geforce 605) than your, but with pretty much the same chrome://gpu listing (minus Canvas out-of-process rasterization being disabled) and, on Supermium 122.0.6261.152 (R6):

I do have an old ASUS laptop with Windows 7 and a Geforce GT220M but it's in a too poor state for me to give it a try.

FK2FAGHMS commented 2 weeks ago

Playing YT videos (or any video in the web) will up CPU usage to highest. avc1 (H264) codec is enforced. Anyway, if Chromium itself disables it, then there shouldn't be such expectation for it to accelerate video playback.

win32ss commented 2 weeks ago

The DXVA video decoder needs to be restored. But this will take some time to do.

FK2FAGHMS commented 2 weeks ago

Thanks for the attention. Meanwhile, users can try using Firefox to get GPU acceleration on systems unsupported by Chromium.

Ravenant1234 commented 2 weeks ago

Chromium has disabled any form of GPU acceleration for video playback on Geforce GT220M GPUs. If your CPU is a weak one like Core 2 Duo T6400, you'll experience high CPU usage and poor playback performance as it will try to play the video itself. image image Backend: D3D9 OS: Windows 7 x64 SP1 (with Platform Update)

For that u can use the extension "Enhanced h264ify" and disable any kind of high-resource-eating codecs

You should try it

Ravenant1234 commented 2 weeks ago

Try to disable av1/vp9/vp8 or all of those or block 60fps video and see if that helps (usually does)

FK2FAGHMS commented 2 weeks ago

You certainly didn't read it well.

avc1 (H264) codec is enforced.

In terms of performance, Core 2 Duo (T6400) is like a Pentium D. You can't expect a good video playback performance from it. For that reason, GPU acceleration is almost a must. Whatever, Firefox supports this GPU so I can watch videos on it without frying the CPU. Having that DXVA feature implemented into Supermium would decrease the number of browsers I'd have to use though 😏