Mystery - rpOS - Browsers Will NOT Display Web iframe Content

Oct 24, 2023 Last reply: 2 years ago 45 Replies

Well. "potential" is always good ... so long as the price isn't too high. Think I'm gonna wait for the 5s.

From what I can gather so far, the p5's double the performance, but at about the p4 power consumption. That's worth it.

Alas Pi's were NEVER good for embedded, esp for "field" use where solar charging was part of the equation unless you wanted a BIG panel and battery. Last things I did like that used Arduino's - with cellular modems. You could cut the power consumption back to nearly zero between data samples. Tiny panels/batts worked.

Used correctly, you can do a LOT with a Pi ... they are really impressive tech. Just have to be smart about your code and such. I've been using P3s as 'motion' servers for security webcams for years.

A p3 can handle about three or four cams at a few FPS no problem. P4's are better if you need to format/resize said images for display. Have a big monitor that shows successive and sometimes multiple, in-motion, frames (what I'm trying to emulate at home) where the pix ARE resized/tweaked. Works great. P4-4gb.

Gotta go to lengths to keep the damned monitor from going to sleep though ... xfce4-power-manger and "caffeine" run in autostart seems to do it. "Power-saving" is an obsession these days, you have to go to lengths to defeat it. There's a "move-mouse" thing in TKinter (and Lazarus) that can be employed too - "move" the mouse one pixel every 5 minutes. Emulating a mouse move in 'c' is actually quite complicated, deep 'device' stuff.

HAVE had a few issues with the P3's though. After a couple of years the WiFi tends to fail. Had three do that. So far no such issues with P4s. Have one 'original' P1b+, the kind with fewer pins, that's been doing it's ONE thing since forever. Not net connected though and doesn't have WiFi. Recently updated the ANCIENT Raspbian to Bullseye basic version and new SD though ... should be good for another decade.

Just write it smart and you can go much further with a Pi than you initially expected.

Gotta look into how you can force Linux to run stuff on alternate cores ..... too much tends to run on ONE core, leaving the others with little to do. Got 'em, USE 'em.

OK ... found a Different Way. I'm running 'motion' directly on the Pi and made a really simple Python/OpenCV program that can directly read/resize/display the streams. No browser required. You just start reading a different mjpeg stream port every x-seconds. Added scaling/cropping options in just a couple of lines.

DID try a hundred FFMPEG examples for restreaming rtsp and/or sequential cam frames to mjpeg and NONE of them worked worth a damn. Either the video quality was HORRIBLE or the current ffmpeg would not over-write a saved file (no, the -y option is NOT working as advertised - USED to, but not now). OpenCV can also read files and display them as rapidly-changing still frames.

OpenCV is NOT super happy trying to keep several rtsp streams going alas - I'd been opening them and storing the handles in a list. RE-starting an rtsp feed seems to take 8-10 seconds, so that's not a real solution. 'Motion' IS happy to open and keep alive rtsp feeds.

IF you don't need a really high frame rate then 'motion' on a Pi 3/4 can handle quite a number of cams without bogging down. For 'security' purposes even one or two FPS is more than enough.

Unfortunately, power consumption is much higher and you need a much stronger PSU. I'm not getting one since I do not need this kind of performance on a Pi.

-jw-

CRAP !!!

What's next for Pi's ... a big-ass genuine desktop PC power supply ????????? May as well buy a big-ass desktop PC ...........

Pi's are SUPPOSED to fit a "niche".

I'm tired of buying ever-bigger power supplies, usually with novel connectors, just for Pi's. IMHO, "improvement" means more performance at the SAME power consumption.

Anyway, solved MY problem with a 3B+

Low power, doesn't even NEED a fan.

Might do better with *walking* ......

Or just giving Cambridge the shaft entirely ...

Sorry. but 'Woke' really should = BROKE.

They MAY be destroying their own 'niche'.

If 'PC' performance/power-consumption is required I'll just buy a PC board.

I'll consider the 4 the pinnacle of Pi. When they stop making them, I won't buy any of their other stuff.

I think rPi4 jumped the shark in terms of cost and power ... moving from the mindset of a handy SBC, to a small PC.

All 25 miles?

Mostly, I do.

Cambridge now lives in a bubble of progressive liberal ideologies that are strangling it commercially: Everyone I know who doesn't tolerate that s*it, leaves.

That shortly may feature an ARM processor, anyway.

*shrug*, Too much ideology. If I can buy a PC equivalent mobo for under $150 I dont care what processor it uses. As long as it runs Linux

On 30/10/2023 08:32, The Natural Philosopher wrote: > Cambridge now lives in a bubble of progressive liberal ideologies that > are strangling it commercially: Everyone I know who doesn't tolerate > that s*it, leaves.

Yes I loved Cambridge, but in the end had to leave, and I certainly don't miss my commute from St Neots 20 miles away.

The easiest way was by car during the school holidays, 30 minutes in 40 minutes back, add another 15 minutes in term time. But that was before the company moved offices to one without car parking, and the new traffic restrictions in the centre. Using the park and Ride at Maddeningly Road would add two bus journeys and over half an hour more each way.

The best way was actually by train, as the office was on Station Road, but I would have to drive to 20 miles south to the nearest train station to get a reasonable fair, as the prices on the east coast mainline from St Neots stations were ridiculous. Luckily Baldock station was on the way to my wife's work so she was able to drop me off, until we had kids and then that meant leaving too early to get them to nursery.

So I ended up for the last few nightmare years dropping the kids off at nursery at 8am and getting the 8:06 bus from 50 yards down the road, which should get in at 8:46 and a short walk to work. Only it never did,

9:30 if I was lucky, 10:30 a lot of the time, and another hour and a quarter to get home in the evening. The main problem being cyclists in the bus lane - no point in having a bus lane if the bus is continuously having to have to pull out in to general traffic to go around cyclists.

---druck

Don't confuse the power supply with power usage. The large supply is to be able to deliver more power to the USB ports and the new PCIe port. If you don't need that, you can use the Pi 4 supply.

---druck

Yup. Unless you live in Cambridge getting to work there is murder. When I had a business in the business park. it was quicker to drive 22 miles to my house in Suffolk than to the train station.

They (the council) wanted a carless cyclist's paradise with no industry and that is exactly what they are getting.

I figured that out - the USB ports are much beefier, and a Pi5 is my fallback if I cant run all my USB drives on a pi 4...

That's not the council that's the university - bear in mind that the Guildhall is built on university land.

To put a counter example, albeit not going to work, I today went into Cambridge. I left home (Comberton) 13:15, drove 5 miles to Madingley P&R, parked easily (170 spaces), and caught the 13:30 PR1 bus. Arrived Round Church at 13:40. Did half a dozen bits of shopping (Cotswold, M&S, WH Smith, Raspberry Pi, John Lewis) in next 30 mins. Caught the return P&R waiting on St Andrews St. 15 minutes to P&R. 10 minutes home.

All fast, easy. Total in/out travel time less than 50 mins.

I am afraid the University's purlieu does not extend to every residential street in the town...

That's during the day! Try coming in at 0800 and leaving at 1700.

---druck

Jetpack to Marshalls and helicopter home nothing else will be quick or even remotely direct.

"All" ? :-)

I do have a Pi3 that has a 3tb magnetic USB drive plugged in, all power from the port ... and it works great, for years, even with the "tiny" Pi3 power supply. Actually it runs off one of those phone-charger thingies you buy at 7-11 .... I've just ignored the "low voltage" warning for years :-)

It's nice if the P5 will be ABLE to push a lot of power thru the USBs - potential is always good. But for MOST uses .......

I've been more worried about whether the new & improved processor is gonna suck a lot more power unto itself.

Still none on Amazon - but P4s can be had for about $65 again. Yea, still a big mark-up over the "official" price, which I've never seen outside UK outlets. Still a BIG disappointment - Vilnos and CanaKits bundles ... Pi + power + case ... are still very high. Cheaper to buy the individual components.

DID find a goodie however - the "SmartiCase" which holds a P4 + 7" Official Touchscreen - and can work without a power splitter. Two variants - the 'fat' case (which is what the instructions cover) and the 'thin' case. DID have to snip just a little plastic off the inside of the 'thin' case, otherwise the board wouldn't go QUITE far enough over. But, strong and stylish and has a few options. The 'fat' case has a spot for the Pi cam while the 'thin' has an optional hole for some other (very small) cam. Anyway, for the 'thin' case, just reason out the assembly.

Oh, for minimal use, Amazon had a brand-x "ABS PLASTIC CASE" for like $1.75 (plus $6 shipping from who the hell knows where - claims to be a pacific island). Put a Pi2b in there, perfect fit, 4 screws to secure everything. A Pi2b with 'Motion' works quite well as a webcam/MJPEG server. Bookworm/32 Lite does work fine on a 2b ... and a 1b too so long as you don't have an 'intensive' use in mind ........

There IS a funky ARM version of Win .... but you'd better buy a LARGE SD card :-)

And then PAY Bill Gates .. over and over ...

Just enough PRACTICAL ..... :-)

I've seen sources for older laptop MoBos ... many will run Linux fer-sure. When the screens crack or KBs get balky, people DUMP the laptops. However the core MBs are often still perfectly good.

But they're a lot bigger than a PI, use a lot more power too.

When on Amazon, I'll buy a Pi-5 for eval purposes. We'll see ........

There are a lot of "Pi-Like" boards out there as well. Alas the Orange/Bananna ones you can easily find still have no WiFi on the board - and I got HORRIBLE performance trying USB WiFi dongles. For some apps, a BBB might still be the better choice.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required