Skip to content
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

Kernel 5 improvements #7983

Merged
merged 21 commits into from
Dec 14, 2020
Merged

Kernel 5 improvements #7983

merged 21 commits into from
Dec 14, 2020

Conversation

ev-mp
Copy link
Collaborator

@ev-mp ev-mp commented Dec 13, 2020

Changes in v4l backend implementation applicable for Kernels 4.16+ only:

  • v4l backend - use multiplexing to handle metadata and video payloads
  • Modify UVC_URBs from 5 to 16 to mitigate frame drops in uvcvideo
  • Minor enhancement in manual patching script
  • Dedicated unit-test for frame drops

…on intervals

Add uvcvideo and videobuf2 debug patch
- Refactor parsing of user-provided flags
- Build and copy videobuf2 modules when required in debugging
…ads and handling them separately.

In case of partial (i.e. metadatqa only) frame, the relevant v4l buffer will be stored for the next 'select' cycle.
Additional profiling messages for v4l buffers handling
The change was initiated by userptr mode reporting invalid (overrided) metadata buffers during streaming.
Note that using mmap is more susceptible to VideoBuf/URB frame drops
Modify manual exposure value to be closer to min range in order to allow for 60-90 fps scenarios
@ev-mp ev-mp force-pushed the K5_PR branch 3 times, most recently from 64c8c57 to c7f4bca Compare December 14, 2020 09:53
Promote Android NDK toolchain to r20b (istead of r16b)
Use all available CPUs during the compilation stage
src/linux/backend-hid.cpp Outdated Show resolved Hide resolved
scripts/uvc_debug.patch Show resolved Hide resolved
scripts/uvc_debug.patch Show resolved Hide resolved
scripts/uvc_debug.patch Show resolved Hide resolved
src/linux/backend-hid.cpp Outdated Show resolved Hide resolved
src/linux/backend-v4l2.cpp Show resolved Hide resolved
Copy link
Contributor

@remibettan remibettan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No further comments

…bility issues with legacy records. Relax test pass condition as a w/a till transformation to the LiveCI
@ev-mp ev-mp marked this pull request as ready for review December 14, 2020 18:38
Copy link
Collaborator Author

@ev-mp ev-mp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For merge

@ev-mp ev-mp merged commit 9ac1dd4 into IntelRealSense:development Dec 14, 2020
@ev-mp ev-mp deleted the K5_PR branch January 23, 2021 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants