Most active commenters
  • NavinF(3)

←back to thread

1113 points Bluestein | 12 comments | | HN request time: 0.836s | source | bottom
Show context
Venn1 ◴[] No.41278065[source]
If you're on Linux, don't forget to enable hardware acceleration by adding hwdec=auto to mpv.conf. Works with AMD/Intel/NVIDIA.

https://interfacinglinux.com/2024/01/10/hardware-acceleratio...

replies(6): >>41278523 #>>41279207 #>>41279536 #>>41281393 #>>41282346 #>>41294660 #
1. NavinF ◴[] No.41279207[source]
Why would that be disabled by default?
replies(5): >>41279339 #>>41279391 #>>41279988 #>>41281302 #>>41281618 #
2. diggan ◴[] No.41279339[source]
Doesn't work on all systems, I presume. Better to default to something that definitely works everywhere.

https://github.com/mpv-player/mpv/blob/a3baf94ab9f3b43a8027d...

Would be appropriate to have true/false/auto instead of auto==true though, so auto wouldn't use it unless it confirmed to be working.

replies(1): >>41302533 #
3. crossroadsguy ◴[] No.41279391[source]
Because if you don't have to enable a flag or two in a text config file what's the fun of using Linux after all :)
replies(1): >>41283422 #
4. varenc ◴[] No.41279988[source]
In addition to what others have said, hardware decoding comes with other drawbacks. There’s occasionally decoding inaccuracies and there’s no support for most video filters (unless you’re using `auto-copy`)
replies(2): >>41280486 #>>41284755 #
5. tvshtr ◴[] No.41280486[source]
Try watching UHD HDR on intel iGPU without accel, or AV1. MPV also supports vulkan decoders.
6. krzys ◴[] No.41281302[source]
If you autodetect hw accel, even the slowest underpowered gpu might get returned, which could result in worstened user experience compared to just using cpu.
replies(2): >>41282241 #>>41302498 #
7. mzajc ◴[] No.41281618[source]
It breaks on suspend-to-memory for my system with a nVIDIA GPU. I assume that's a driver problem, though.
8. IshKebab ◴[] No.41282241[source]
Just do a quick automatic benchmark surely?
9. brettermeier ◴[] No.41283422[source]
Hahaha yeah, that's why I don't like it.
10. radicality ◴[] No.41284755[source]
Do you know if/why on apple silicon Macs there’s a difference between videotoolbox and videotoolbox-copy ? I thought the SoC memory is shared and that there wouldn’t be a need for copying data from VRAM to RAM.
11. NavinF ◴[] No.41302498[source]
That's never been an issue on Windows or macOS. Apps only use the GPU if it's new enough
12. NavinF ◴[] No.41302533[source]
Still, isn't this bizarre? Over the last couple of decades using Windows and macOS across many machines, I've encountered one time I had to mess with settings like this. That's the time I temporarily disabled hw accel in chrome so I could screenshare and watch a show with someone.

Meanwhile on Linux you gotta configure every app one at a time because sane defaults and auto configuration weren't invented here.