Mpv: Raspberry Pi DRM Failed to create KMS

Created on 15 Feb 2018  Â·  13Comments  Â·  Source: mpv-player/mpv

mpv version and platform

mpv v0.27.7 on Raspberry Pi 3 ARMv7l

Reproduction steps

Attempt to play any video without X or Wayland in the CLI mpv --vo=drm --hwdec=rpi file.mp4

Expected behavior

The video should play

Actual behavior

The video does not play

Log file

log

Sample files

Not needed, any h264 video will do.

Most helpful comment

Forgot to update this, but I managed to get it to work. Kudos to @fmang for the mpv-rpi and ffmpeg-mmal packages in AUR.

All 13 comments

Not a mpv problem.

Apparently the kernel doesn't support DRM for you. I'm not sure why you expect the command line to work at all. Even if DRM worked, --hwdec=rpi would fail.

omxplayer doesn't use DRM?

I wasted about 5 minutes of my precious, unpaid life by typing up this: https://github.com/mpv-player/mpv/wiki/FAQ#Video_on_RPI_doesnt_work_or_is_too_slow

Thanks Vincent, sorry for the confusion.

On Feb 14, 2018 20:35, "Vincent Lang" notifications@github.com wrote:

I wasted about 5 minutes of my precious, unpaid life by typing up this:
https://github.com/mpv-player/mpv/wiki/FAQ#Video_on_RPI_
doesnt_work_or_is_too_slow
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmpv-player%2Fmpv%2Fwiki%2FFAQ%23Video_on_RPI_doesnt_work_or_is_too_slow&data=02%7C01%7Csameer.puri%40mail-service-3-mx.vanderbilt.edu%7Cd4e7ea7dba3345639a2408d5741cd76c%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636542589580395587&sdata=OmICDc54anscyfRPdUlNNaUo8QYK54NZ%2FniOMxSpfxw%3D&reserved=0

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmpv-player%2Fmpv%2Fissues%2F5533%23issuecomment-365809864&data=02%7C01%7Csameer.puri%40mail-service-3-mx.vanderbilt.edu%7Cd4e7ea7dba3345639a2408d5741cd76c%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636542589580395587&sdata=A1SV3BoR%2FjDt3glIvcinmIijqWTyiZOFNZuK7Dc2x84%3D&reserved=0,
or mute the thread
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKlUCN-sOvBmmibC3huKWC3M1jNj2kVgks5tU5gLgaJpZM4SGPCU&data=02%7C01%7Csameer.puri%40mail-service-3-mx.vanderbilt.edu%7Cd4e7ea7dba3345639a2408d5741cd76c%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636542589580395587&sdata=WXrGlP3dvcanLJyFsDnlBeZ8H%2F8zAGSCnRpCykqsW1c%3D&reserved=0
.

Feel free to enhance the FAQ if you found a solution. The main problem is that it's too hard to build, and also often distros don't bother doing that.

I managed to get it to work the first time I installed it on Raspbian, but now I have no clue how I did it...
I'll try to build through ArchlinuxArm and let you know if I figure it out.

Arch makes this quite easy, there are ffmpeg-mmal and mpv-rpi packages in AUR.

Yup, I saw those. I haven't gotten around to building mpv-rpi but I started ffmpeg-mmal last night.
It's hard to believe how old some of the repos on Raspbian are. The golang repo is from 2016...

Forgot to update this, but I managed to get it to work. Kudos to @fmang for the mpv-rpi and ffmpeg-mmal packages in AUR.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lightonflux picture lightonflux  Â·  4Comments

beew picture beew  Â·  3Comments

fitipe picture fitipe  Â·  3Comments

jcowgill picture jcowgill  Â·  3Comments

laichiaheng picture laichiaheng  Â·  3Comments