missing /dev/dma_heap/*
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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