microsoft / microsoft/WSL

missing /dev/dma_heap/*

Open
#13,136 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

Is your feature request related to a problem? Please describe.
running libcamera/cam app fail and get below log, i believe that dmabuf is not only about dma/cma but heap/shared_mem management. Virtual environment dont have dma/cma but it should have heap management api.

[4:02:43.357334657] [42643] INFO Camera camera_manager.cpp:326 libcamera v0.5.1+26-a17c85e6-dirty (2025-06-18T17:30:44GMT)
[4:02:43.362243459] [42644] ERROR DmaBufAllocator dma_buf_allocator.cpp:119 Could not open any dma-buf provider
Available cameras:

Describe the solution you'd like
enable kernel with dmabuf heap

Describe alternatives you've considered
Nil.

Additional context
Nil.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the libcamera/cam failure and investigating WSL's kernel configuration for the missing /dev/dma_heap/* devices. No source file or test is named; done means enabling dmabuf heap support so a dma-buf provider is available and the allocator no longer reports that none can be opened.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.