mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-14 13:52:11 +00:00
set to use one camera, add Grub instructions
This commit is contained in:
1 parent
0cd71d1626
commit
37eee321e5
2 files changed
+18
-1
No files matched your search
@@ -37,6 +37,23 @@ sudo apt install k4a-tools
|
||||
sudo apt install libk4a1.1-dev
|
||||
```
|
||||
|
||||
Modify this:
|
||||
|
||||
```
|
||||
sudo sh -c 'echo 2047 > /sys/module/usbcore/parameters/usbfs_memory_mb'
|
||||
```
|
||||
|
||||
Grub bootloader modifications:
|
||||
|
||||
```
|
||||
sudo vi /etc/default/grub
|
||||
```
|
||||
|
||||
Then modify this directive to add the following:
|
||||
|
||||
```
|
||||
GRUB_CMDLINE_LINUX_DEFAULT="[KEEP EXISTING PARTS THE SAME] usbcore.usbfs_memory_mb=2047"
|
||||
```
|
||||
|
||||
|
||||
Ubuntu 20.04 LTS Support
|
||||
|
||||
+1
-1
@@ -110,7 +110,7 @@ pub fn main() -> AnyhowResult<()> {
|
||||
};
|
||||
|
||||
let capture_provider: Arc<dyn CaptureProvider> = if opts.enable_cameras {
|
||||
let multi_device = MultiDeviceCapturer::new(2, Some(1))
|
||||
let multi_device = MultiDeviceCapturer::new(1, Some(1))
|
||||
.expect("multi-device create");
|
||||
|
||||
multi_device.start_cameras().expect("start cameras");
|
||||
|
||||
Reference in new issue
Block a user