-
Notifications
You must be signed in to change notification settings - Fork 822
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
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied #9662
Comments
@IvensaMDH are you running the command in a Docker container? It seems to work when using a WSL distro:
Ignore the |
Yes - the issue is present when running directly in WSL as well as in docker. Below log with GST_DEBUG=2 - however the error seems vaapi related and not gstreamer:
EDIT: Getting below error from LIBVA_TRACE. See attachment trace.log
|
This is the
Could be driver issue! DRM device info:
|
Indeed a driver issue... I downgraded from
Still getting the weird KMS errors - but it seems to be "working" anyway - also in docker with 22.5. Thanks! |
I'm getting the same problem. I have RX 6600 AMD with latest 23.3.1 driver. Vainfo works, but then trying to encode and decode with gstreamer is not working. |
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
1 similar comment
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
Version
1.1.2.0
WSL Version
Kernel Version
5.15.83.1
Distro Version
Ubuntu 22.04
Other Software
Docker Desktop 4.16.3
Intel driver 31.0.101.4091
Repro Steps
Trying to follow the examples given in https://devblogs.microsoft.com/commandline/d3d12-gpu-video-acceleration-in-the-windows-subsystem-for-linux-now-available/ and https://github.com/microsoft/wslg/blob/main/samples/container/Containers.md#containerized-applications-access-to-vgpu-accelerated-video I am getting the below error when running the example:
gst-launch-1.0 -v videotestsrc num-buffers=250 ! video/x-raw,width=1920,height=1200 ! vaapipostproc ! vaapih264enc ! filesink location=~/wsl_test.h264
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
and
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Invalid argument
Setting
sudo chmod 666 /dev/dri/*
as suggested in #9523 (comment) does not helpOutput of
vainfo --display drm --device /dev/dri/card0
:Expected Behavior
Expected the example pipeline to run encoding using vaapi as described in the blog post
Actual Behavior
Pipeline crashes when running the command:
gst-launch-1.0 -v videotestsrc num-buffers=250 ! video/x-raw,width=1920,height=1200 ! vaapipostproc ! vaapih264enc ! filesink location=~/wsl_test.h264
Diagnostic Logs
The text was updated successfully, but these errors were encountered: