<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.stereopi.com/app.php/feed/topic/1262" />

	<title>StereoPi Forum</title>
	<subtitle>StereoPi Forum</subtitle>
	<link href="https://forum.stereopi.com/index.php" />
	<updated>2021-12-01T19:01:05+00:00</updated>

	<author><name><![CDATA[StereoPi Forum]]></name></author>
	<id>https://forum.stereopi.com/app.php/feed/topic/1262</id>

		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2021-12-01T19:01:05+00:00</updated>

		<published>2021-12-01T19:01:05+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2976#p2976</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2976#p2976"/>
		<title type="html"><![CDATA[Re: picamera.exc.PiCameraMMALError: Failed to enable connection: Out of resources]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2976#p2976"><![CDATA[
Hi atrunyan,<br>Am I got it right that you are using the fresh RaspiOS installation, but not our ready-to-use OpenCV RaspiOS image?<br><br>If yes, please check the GPU memory in config.txt (gpu_mem=...) You see, Python and Picamera libraries require much more memory than the regular camera use. Set this value to 192 or 256.<br><br>Which version of RaspiOS, Python, and Picamera you are using?<br>upd&gt; The latest code can be found in this repository: <a href="https://github.com/realizator/stereopi-fisheye-robot" class="postlink">https://github.com/realizator/stereopi-fisheye-robot</a><p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Wed Dec 01, 2021 7:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[atrunyan]]></name></author>
		<updated>2021-12-01T18:18:11+00:00</updated>

		<published>2021-12-01T18:18:11+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2975#p2975</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2975#p2975"/>
		<title type="html"><![CDATA[Re: picamera.exc.PiCameraMMALError: Failed to enable connection: Out of resources]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2975#p2975"><![CDATA[
When I change the line:<br><br>camera = PiCamera(stereo_mode='side-by-side',stereo_decimate=False)<br><br>to only be camera = PiCamera()<br><br>I am able to get a video stream but I think it is only for one camera. I also tried:<br><br>camera = PiCamera()<br>camera.stereo_mode='side-by-side'<br>camera.stereo_decimate=False <br><br>but both run an attribute error that camera doesn't have the attributes stereo_mode and stereo_decimate.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=1009">atrunyan</a> — Wed Dec 01, 2021 6:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[atrunyan]]></name></author>
		<updated>2021-12-01T17:48:17+00:00</updated>

		<published>2021-12-01T17:48:17+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2974#p2974</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2974#p2974"/>
		<title type="html"><![CDATA[picamera.exc.PiCameraMMALError: Failed to enable connection: Out of resources]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2974#p2974"><![CDATA[
I am trying to run the stereopi tutorial code 1_test.py. After running vcgencmd get_camera I get supported=2 detected=2, and I enabled cameras in raspi-config. I also ran sudo apt update and sudo apt upgrade and checked to make sure no other programs are using the camera. This error happens when I run the script, along with these messages before the final error code:<br><br>mmal: mmal_vc_port_enable: failed to enable port vc.null_sink:in:0(OPQV): ENOSPC<br>mmal: mmal_port_enable: failed to enable connected port (vc.null_sink:in:0(OPQV))0x2665e40 (ENOSPC)<br>mmal: mmal_connection_enable: output port couldn't be enabled<br><br>Please advise.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=1009">atrunyan</a> — Wed Dec 01, 2021 5:48 pm</p><hr />
]]></content>
	</entry>
	</feed>
