Go to advanced search

by Schuitz
Mon Apr 01, 2013 4:02 pm
Forum: Python
Topic: Threading, queues and priority
Replies: 16
Views: 4149

Re: Threading, queues and priority

Thanks, I'll hop on over there once I'm approved for the group. As you say, it's probably a combination of factors. It is my uninformed opinion that doing basic manipulations on 2d textures is probably a kinder way to 'get in the door' with the daunting OpenGL paradigms. So I think your efforts here...
by Schuitz
Mon Apr 01, 2013 5:01 am
Forum: Python
Topic: Threading, queues and priority
Replies: 16
Views: 4149

Re: Threading, queues and priority

I take it all back. Just when I thought I had the right combo of alpha values and draw order figured out, I shuffled my code around and now I can't replicate it. Basically, I stick this at the end of while DISPLAY.loop_running(): else: if fadedir==1: front_alpha += alpha_step if front_alpha >= 1.0: ...
by Schuitz
Mon Apr 01, 2013 3:55 am
Forum: Python
Topic: Threading, queues and priority
Replies: 16
Views: 4149

Re: Threading, queues and priority

I've got some very nice alpha fades going on with the development branch, not without a few issues, but I've got a bit of homework to do. I ran into some troubles because I haven't the slightest clue what I'm doing, but I think I've got it sorted. I got a little confused by this language for the can...
by Schuitz
Sun Mar 31, 2013 6:24 pm
Forum: Python
Topic: Threading, queues and priority
Replies: 16
Views: 4149

Re: Threading, queues and priority

Wow, a lot of things happening here. My main reason for bailing on easy-to-understand pygame for this simple application of mine is because the alpha transitions were too painful. Now I have no choice but to integrate your code. Can't wait to check out the demo.
by Schuitz
Thu Mar 28, 2013 9:22 pm
Forum: Other projects
Topic: Motion sensitive photo frames
Replies: 10
Views: 12791

Re: Motion sensitive photo frames

Also, I am curious about the rationale behind using a fifth Pi to run the motion sensing. Why not just run a long 3-wire and do the task on one of the four Pis?
by Schuitz
Thu Mar 28, 2013 9:07 pm
Forum: Other projects
Topic: Motion sensitive photo frames
Replies: 10
Views: 12791

Re: Motion sensitive photo frames

Brilliant! It seems so many of us are trying to put frames together, sooner or later we are going to have to band together to make a truly awesome app that has some custom capabilities beyond qiv and fbi. I have mounted an LCD similarly, but also have all the parts in hand to make a simple arduino-b...
by Schuitz
Thu Mar 28, 2013 8:46 pm
Forum: Python
Topic: Threading, queues and priority
Replies: 16
Views: 4149

Re: Threading, queues and priority

...or miles behind, considering I've been a bit derailed by other hobbies and only hack at this on the occasional evening :).

I will check out your additions, they sound pretty relevant. I will also review my forum notification settings...
thanks.
by Schuitz
Wed Mar 27, 2013 11:02 pm
Forum: General discussion
Topic: Photo Frame-LCD Monitor Won't Display Images After Sleeping
Replies: 5
Views: 1499

Re: Photo Frame-LCD Monitor Won't Display Images After Sleep

Replies to self; resetting the framebuffer by setting the depth twice seems to do the job, without X running. The confusion arose because you've got to put something new in the framebuffer, eg by refreshing X, executing fbi, etc. I am also slightly ashamed it took me more than five minutes to figure...
by Schuitz
Tue Mar 26, 2013 8:41 am
Forum: General discussion
Topic: Photo Frame-LCD Monitor Won't Display Images After Sleeping
Replies: 5
Views: 1499

Re: Photo Frame-LCD Monitor Won't Display Images After Sleep

I am attempting exactly this. So swendl, do you have X running or not? Like many others I cannot bring things back with tvservice -p, but I am also not running X, so there is no desktop manager to refresh. Developing over ssh also poses some additional challenges. I started to work on this wall fram...
by Schuitz
Mon Feb 25, 2013 10:44 pm
Forum: Python
Topic: Threading, queues and priority
Replies: 16
Views: 4149

Re: Threading, queues and priority

It is relevant, yes, because I had my eye on your pi3d discussion about most of it needing to live in the main thread, though I haven't done the work to cut the actual graphics handling stuff over to pi3d yet. But that is the plan. So thanks for the response. From what I understand the current incar...
by Schuitz
Thu Feb 21, 2013 4:48 pm
Forum: Python
Topic: Threading, queues and priority
Replies: 16
Views: 4149

Threading, queues and priority

I've been reading up on threading and queues and I'm excited to try some things out. My current incarnation of my fancy photo frame project seems to be a good candidate for python threading, since presently execution is totally sequential, walking through a list of images mounted from a cifs share, ...
by Schuitz
Thu Feb 14, 2013 3:46 pm
Forum: Python
Topic: General inter-process communication in python
Replies: 7
Views: 7106

Re: General inter-process communication in python

Thanks for the responses so far, these are very helpful suggestions. Correct, the slideshow is written in python/pygame. Since I've discovered the consequences of no OpenGL ES integration there I plan to do a rewrite for pi3d, or maybe stephanh's recently announced rpigl code. I'm doing some basic i...
by Schuitz
Wed Feb 13, 2013 10:15 pm
Forum: Python
Topic: General inter-process communication in python
Replies: 7
Views: 7106

General inter-process communication in python

I have seen a few threads with folks asking how to make things happen (eg. twiddling GPIOs) via a web server interface, but what I would like to do is to have some basic interaction through the web with a python process that is already running on the pi. The context is a pretty simple standalone pic...
by Schuitz
Sun Jan 27, 2013 3:44 pm
Forum: Advanced users
Topic: Safe Mode
Replies: 49
Views: 94683

Re: Safe Mode

...aaaand a guy should read to the end of the thread before posting. However, if you're like me and get stuck before you have updated to the latest and greatest, you still have to pull a move on S5. Or, if you're like me and tack-soldered some wires onto P1 pin 6 for an IR receiver, no jumper for yo...
by Schuitz
Sun Jan 27, 2013 1:30 pm
Forum: Advanced users
Topic: Safe Mode
Replies: 49
Views: 94683

Re: Safe Mode

I just wanted to add that I got into trouble and needed the emergency kernel as described. I also have the incorrect OTP as described. With a set of sharp tweezers and good eyesight, you can, with care, pull s5 pin 13 to ground by using tweezers to short it to pin 10. A third hand is useful to power...

Go to advanced search