Search found 9 matches
- Sat Feb 23, 2019 10:12 am
- Forum: Support and Development
- Topic: Problem with hanging and reading stdout from python in threads
- Replies: 10
- Views: 13218
Re: Problem with hanging and reading stdout from python in threads
Not sure if should mark this thread as solved, as I still don't know the cause and it could be a bug in love2d.
- Sat Feb 23, 2019 9:18 am
- Forum: Support and Development
- Topic: Video distortion/corruption on Raspberry Pi 3
- Replies: 6
- Views: 8216
Re: Video distortion/corruption on Raspberry Pi 3
Unfortunately I didn't have the time to test anymore because the installation went live. Luckilly we got positive reactions on the corruption, and because it enhances the meaning of the piece we left it in. So while the issue isn't resolved it worked out well in the end. When it's available again I'...
- Tue Feb 19, 2019 8:17 pm
- Forum: Support and Development
- Topic: Problem with hanging and reading stdout from python in threads
- Replies: 10
- Views: 13218
Re: Problem with hanging and reading stdout from python in threads
Awesome, the example seems to work fine, I'll check it out with the real code tomorrow.
Btw, do you by any chance know how I could detect video corruption and reload it live(ish)? As that's the other problem I'm currently struggling with: viewtopic.php?f=4&t=86386.
Btw, do you by any chance know how I could detect video corruption and reload it live(ish)? As that's the other problem I'm currently struggling with: viewtopic.php?f=4&t=86386.
- Tue Feb 19, 2019 1:39 pm
- Forum: Support and Development
- Topic: Video distortion/corruption on Raspberry Pi 3
- Replies: 6
- Views: 8216
Re: Video distortion/corruption on Raspberry Pi 3
I have set it as high as 512 Mb and still got corruption. To trip it I compile love in the background, and the available (non-video) ram stays between the 200-300 Mb. So I think those are both not the problem. Thanks for ruling that out tho!
- Tue Feb 19, 2019 10:51 am
- Forum: Support and Development
- Topic: Video distortion/corruption on Raspberry Pi 3
- Replies: 6
- Views: 8216
Re: Video distortion/corruption on Raspberry Pi 3
I have it set to 265 Mb of the 1024 Mb total. I still have some ram left so I could try increasing it to maybe 300, 320?
- Tue Feb 19, 2019 9:23 am
- Forum: Support and Development
- Topic: Video distortion/corruption on Raspberry Pi 3
- Replies: 6
- Views: 8216
Re: Video distortion/corruption on Raspberry Pi 3
I suspect the corruption to be caused by high cpu load and insufficient resources to decode the stream. However the biggest problem is that I can't seem to detect the corruption: the position updates normally according to video:tell() and it gets rewinded after stopping and will play() again, althou...
- Tue Feb 19, 2019 9:12 am
- Forum: Support and Development
- Topic: Problem with hanging and reading stdout from python in threads
- Replies: 10
- Views: 13218
Re: Problem with hanging and reading stdout from python in threads
Thanks for the answer! First check: are you actually printing out complete lines in your test cases? The above code doesn't print out any "\n" characters, which means p:read("*l") will naturally freeze forever, waiting for an end-line that never comes. Oh yes sorry, that's a copy...
- Mon Feb 18, 2019 6:31 pm
- Forum: Support and Development
- Topic: Problem with hanging and reading stdout from python in threads
- Replies: 10
- Views: 13218
Problem with hanging and reading stdout from python in threads
I just posted about a video corruption problem I'm having on the RPi, but I also have a problem reading the output of a python script. I have some sensors attached to the Raspberry Pi which I'm interfacing with several python scripts. When run on their own they output normally to stdout. When writin...
- Mon Feb 18, 2019 5:22 pm
- Forum: Support and Development
- Topic: Video distortion/corruption on Raspberry Pi 3
- Replies: 6
- Views: 8216
Video distortion/corruption on Raspberry Pi 3
I've created a game for a video art installation that is going to be displayed in a few days. And I'm running into the situation in which eventually the video always gets corrupted. I've attached a screen grab for illustration. I've compiled love from the love-xxx-linux-src.tar.gz files in the bitbu...