Comments (3)
MengJia, please check this issue.
Thanks.
from libxcam.
commit f0f23a8 drm: enable prime buffer sharing for cl buffer and image
With above commit, two hidden issue are triggered by our use case:
V4l2 exports dma buf fd -> DrmBoData is created and get its own fd via drm_intel_bo_gem_export_to_prime() -> drm prime driver find an already exported dma buf (by v4l2), and go to a specific path.
- RBP Linux kernel 3.10.28 has a bug inside drm_prime.c, fixed later in 3.11. With this bug, driver already allocates fd, but failed to return it to user space. so drm_intel_bo_gem_export_to_prime() always failed in our user case, and has no way to close the fd.
- DrmBoBuffer is created for every incoming V4l2Buffer, and allocates a fd. But it didn't close the fd in destructor.
from libxcam.
Fixed by #217 and another linux kernel patch.
from libxcam.
Related Issues (20)
- Car Surround view with fisheye cameras HOT 23
- If surround view is working with libxcam, can anyone please post output image ? HOT 2
- The documents are not generate HOT 1
- How do I process live camera inputs to generate surround view? HOT 5
- How do I specify OpenCV calibration parameters? HOT 1
- Build failure with GCC 12, narrowing conversion from 'long unsigned int' to 'int' [-Wnarrowing]
- How to get better Car Surround view with fisheye cameras?
- Is there any way to correct the fisheye of a single image? HOT 7
- How to add 2 inputs to gstreamer's xcamfilter plugin for stitch HOT 4
- configure giving error for wrong opencv version while running autogen.sh HOT 2
- not makefile found HOT 1
- build 'dump_dma_video_buf' was not declared in this scope HOT 3
- Surround View with 2 cameras using DewarpSphere Mode HOT 4
- test-surround-view: command not found HOT 5
- how to check which makefile is running when we execute the build given in wiki? HOT 2
- Bowl View using Fisheye Cameras from a Car HOT 1
- FisheyeInfo doesn't match to OpenCL program.
- About 360 Surround View
- minor wiki/testing typo?
- Missing Parameters K,D,R,t,c in json file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libxcam.