Turns out I spoke a bit too soon. A more accurate title for this thread would've been "Hardware video decoding working under Ubuntu" or at least it sometimes works.
The day after making this post, I noticed within another thread on these forums that --drm-mode=21 is a 1080 resolution. I am unsure where they got that info from unless it was by trial and error or by using this PR for mpv which gives more help and info regarding --drm-mode settings:
https://github.com/mpv-player/mpv/commit...f23bbab4a0
When using mpv wth --drm-mode=21, many of my home 4K h264 video files cannot play in full before encountering a few 'errinfo' frames that cause mpv to fallback to software decoding, at which point I need to quit mpv because CPU decoding is too slow and causes mpv to lock up after a few seconds.
I am still very happy to see hardware decoding working (a bit) under Ubuntu. It looks like we're nearly there with the r64 video playback.
The day after making this post, I noticed within another thread on these forums that --drm-mode=21 is a 1080 resolution. I am unsure where they got that info from unless it was by trial and error or by using this PR for mpv which gives more help and info regarding --drm-mode settings:
https://github.com/mpv-player/mpv/commit...f23bbab4a0
When using mpv wth --drm-mode=21, many of my home 4K h264 video files cannot play in full before encountering a few 'errinfo' frames that cause mpv to fallback to software decoding, at which point I need to quit mpv because CPU decoding is too slow and causes mpv to lock up after a few seconds.
I am still very happy to see hardware decoding working (a bit) under Ubuntu. It looks like we're nearly there with the r64 video playback.