Repository navigation
Add instructions to enable video overlay #37
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
Merged
sjakki88
merged 2 commits into
dragonwing-docs:main
from
abinjose-qualcomm:add-video-instructions
Feb 25, 2026
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,31 +1,68 @@ | ||
| .. _enable_dtb_overlay: | ||
|
|
||
| Enable camera overlays | ||
| ^^^^^^^^^^^^^^^^^^^^^^ | ||
|
|
||
| .. note:: | ||
| This section applies only to QCS6490, IQ-9075 and IQ-8275. | ||
|
|
||
| When you flash and boot ``qcom-multimedia-proprietary-image``, the upstream | ||
| camera stack is enabled by default. You can change this by updating the | ||
| EFI variable setting. | ||
|
|
||
| EFI variable setting must be updated at runtime, after booting the device. | ||
| On the first boot, set the EFI variable using the sysfs node and reboot to get | ||
| CAMX enabled in subsequent boots. | ||
|
|
||
| Run the following commands to apply the DTB Overlay: | ||
|
|
||
| .. container:: nohighlight | ||
|
|
||
| :: | ||
|
|
||
| # The -n option is mandatory for EFI variables | ||
| # Expect the exact data without trailing newline characters. | ||
| echo -n "camx" > /tmp/overlay | ||
|
|
||
| # The EFI variable used to control the overlays loaded during UEFI | ||
| # boot is 882f8c2b-9646-435f-8de5-f208ff80c1bd-VendorDtbOverlays. | ||
| # Use efivar to write the data into the runtime EFI variable | ||
| efivar -n 882f8c2b-9646-435f-8de5-f208ff80c1bd-VendorDtbOverlays -w -f /tmp/overlay | ||
|
|
||
| # Print the EFI variable for confirmation | ||
| efivar -n 882f8c2b-9646-435f-8de5-f208ff80c1bd-VendorDtbOverlays -p | ||
|
|
||
| # Reboot to reflect the changes | ||
| sync | ||
| reboot | ||
|
|
||
| Enable upstream video driver | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
|
||
| .. note:: | ||
| This section applies only to the IQ‑615‑EVK. | ||
|
|
||
| IQ‑615‑EVK supports only the upstream video driver ``venus``. The video overlay functionality is | ||
| not supported. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we please add the driver name here to be clear which is the upstream drive module.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Clarified upstream video driver name as |
||
|
|
||
| When you flash and boot ``qcom-multimedia-proprietary-image``, the upstream | ||
| camera stack is enabled by default. You can change this by updating the | ||
| EFI variable setting. | ||
| When you flash and boot ``qcom-multimedia-proprietary-image`` the upstream video driver is | ||
| not enabled by default. This can be changed by updating the kernel module configuration. | ||
|
|
||
| EFI variable setting must be updated at runtime, after booting the device. | ||
| On the first boot, set the EFI variable using the sysfs node and reboot to get | ||
| CAMX enabled in subsequent boots. | ||
| Run the following command to enable the upstream video driver: | ||
|
|
||
| Run the following commands to apply the DTB Overlay: | ||
| .. container:: nohighlight | ||
|
|
||
| .. container:: nohighlight | ||
| :: | ||
|
|
||
| :: | ||
| update-alternatives --install /etc/modprobe.d/blacklist-video.conf blacklist-video /etc/modprobe.d/blacklist-video.conf.vidc 200 | ||
|
|
||
| # The -n option is mandatory for EFI variables | ||
| # Expect the exact data without trailing newline characters. | ||
| echo -n "camx" > /tmp/overlay | ||
| After rebooting the device, you can run ``lsmod`` to confirm if the changes have been applied. | ||
|
|
||
| # The EFI variable used to control the overlays loaded during UEFI | ||
| # boot is 882f8c2b-9646-435f-8de5-f208ff80c1bd-VendorDtbOverlays. | ||
| # Use efivar to write the data into the runtime EFI variable | ||
| efivar -n 882f8c2b-9646-435f-8de5-f208ff80c1bd-VendorDtbOverlays -w -f /tmp/overlay | ||
| .. container:: nohighlight | ||
|
|
||
| # Print the EFI variable for confirmation | ||
| efivar -n 882f8c2b-9646-435f-8de5-f208ff80c1bd-VendorDtbOverlays -p | ||
| :: | ||
|
|
||
| # Reboot to reflect the changes | ||
| sync | ||
| reboot | ||
| lsmod | grep venus | ||
| # Expected Output | ||
| # venus_enc 28672 0 | ||
| # venus_dec 28672 0 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.