Skip to content

Kernel 5 improvements - #7983

Merged
ev-mp merged 21 commits into
realsenseai:developmentfrom
ev-mp:K5_PR
Dec 14, 2020
Merged

ev-mp merged 21 commits into
realsenseai:developmentfrom
ev-mp:K5_PR

Conversation

@ev-mp

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

Copy link
Copy Markdown
Contributor

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

Evgeni Raikhel added 16 commits December 13, 2020 13:16
…on intervals

Add uvcvideo and videobuf2 debug patch
- Refactor parsing of user-provided flags
- Build and copy videobuf2 modules when required in debugging
Add md note query method
…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
Evgeni Raikhel added 2 commits December 14, 2020 13:53
Promote Android NDK toolchain to r20b (istead of r16b)
Use all available CPUs during the compilation stage
Comment thread src/linux/backend-hid.cpp Resolved
Comment thread scripts/uvc_debug.patch Resolved
Comment thread scripts/uvc_debug.patch Resolved
Comment thread scripts/uvc_debug.patch Resolved
Comment thread src/linux/backend-hid.cpp Resolved
Comment thread src/linux/backend-v4l2.cpp Resolved

@remibettan remibettan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No further comments

Evgeni Raikhel added 2 commits December 14, 2020 19:15
…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

@ev-mp ev-mp left a comment

Copy link
Copy Markdown
Contributor Author

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 realsenseai: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