Raspberry Pi 4 is out

Update to this:

Now I hope I find the time to give it a test soon :see_no_evil:

2 Likes

So, first verdict: Boots up, wifi config works (though it does prefer 2.4GHz for some reason here :woman_shrugging:), OctoPrint works, all well in that department.

Even with that heatsink there though the thing gets hot. Measuring 55°C on the sink in idle, actually feels hot to the touch. For comparison, the 3+ (that's also been running for a couple of weeks now) sits at ~25°C. Feels a bit ridiculous to be honest, especially since htop shows the system to be more or less twiddling its thumbs (load 0.00).

I read somewhere this morning that a new firmware is in the works that should reduce idle temp by 5°C, but even then it'll still run really hot. Not sure I'd want something that produces that much unnecessary heat in idle to run 24/7 as a print server to be honest.

Measured current draw in full idle (using a Power-Z) and came out at 0.6A @ 5.2V, rising to 0.8A on page load. Note that this is without a webcam or a printer connected!

ETA

Pi 4 with heatsink:

Pi 3+:

Pi 2 (with a wifi and a keyboard dongle, the brightest bit is the wifi dongle):

All idle.

2 Likes

Wow. That's just too hot. It's bound to run throttled all the time like that. This thing also wants a mondo fan to cool it down.

That looks like a decent heat sink as well. Is it connected with thermal compound or tape, or is it installed by the mfg? Also, what was the ambient temp when you took those readings?

In any case, it looks like active cooling is in order for this board, unless they can drop idle temps by at lest 10 degrees or so. 35C is really impressive for the Pi3, but I think 40-45C would probably be OK too depending on ambient. 50C+ is really pushing it at idle!

This image was from the latest issue of MagPi. Note that theirs doesn't include a heatsink on top. I note that from one of the water-cooled Pi videos/articles, the author indicated that adding a heatsink (without a fan) to a 3B made it run slightly hotter versus the expected cooler outcome.

1 Like

I tested with a Raspberry Pi 4 with 1 GB RAM and a Raspberry Pi v2 Camera attached and so far so good. I've confirmed the Octoprint instance can send commands to a Prusa MK3S just fine, including the remote control and prints and can view camera feed through Octoprint UI just fine. I bought a few Pi 4s, so I'm going to leave this one on the printer for a while to keep testing it. It does run hot, but that's the Pi 4 in general it seems. I have a hot sink on it (no fan). I have a lot of OctoPrint plugins installed and so far haven't noticed any hiccups. According to "top" the 1GB Pi 4 has 512 MB of RAM free and CPU was about 98% idle (see below), so as mentioned by others, probably overkill for a print server.

I'm going to reattach a small 320x480 display I have and setup Octoprint-TFT on this image and see how that goes.

That was already provided by Pimoroni. Haven't plied it off and looked.

checks her home monitoring Ambient in the office was 26°C at that time (AC already running).

I fully agree with that.

@OutsourcedGuru

I also did a quick load test with stress (2min calculating squareroots) and the temperature measured by the Flir went up to 65°C. Haven't yet found the time to play a bit more with it and do some measurements by the system itself via vcgencmd but I'd expect those numbers to be higher.

It feels to me like a big problem, to be honest. Is OctoPrint displaying the overheat indicator in the status bar?

According to the datasheet: https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2711/rpi_DATA_2711_1p0_preliminary.pdf

The thermal throttling is designed to keep the chip below 85°C. It sadly doesn't specify the throttling limits, though I would guess the throttling would kick in around 65-70.

I just received my 1GB model today. Has anybody tried disabling the HDMI out to see if it cools down a bit? Hopefully the default video mode doesn't involve invoking dual 4K displays into memory.

This article suggests that it's higher for the Pi3 at 80C. There's some great analysis there but it's suggesting that your Pi often performs at 75% or so of it's rated speed (assuming that you're not running a big CPU fan).

As an aside, I run an Ethereum mining rig and the GeForce GTX 850 GPU really generates amazing amounts of heat. I'm now on my third system fan and it's perhaps a year and a half old. If you can keep things cool enough to let the system perform at its maximum in a case like this, you make more money.

I dunno, though. The Pi4 seems performant enough even if it's throttling, to be honest.

So, I'm totally new to Pi. Was looking into getting one to run Octoprint/Octopi and then the 4 came out so I got it, figuring newest is best. I'm beginning to think I was wrong after reading this post! Ugh.

1 Like

Just to add some comparisons...

I've got a 3B+ on one printer (which I screwed up and it's INSIDE the printer enclosure, but was too lazy to move it once I had the thing built) running at idle at 34.9C (w/active cooling, yea, inside the enclosure)

A 3B w/active cooling on another printer at 33.2C

A 3B in a case (as a samba server, so it's never quite idle) w/active cooling at 41.9C

A 3B running snips w/ active cooling (but it's also got a seeed hat) at 42.9C

A 0W inside a case (well, it's a tic-tac box) with a fan at 39C

There's a few more that are off right now, so I guess they'd be at about 26C

And I just installed a monitor on the jetson nano which is running ROS (in low power mode, so, only 2 cores are running) which is at 33C

Then there's the Atomic Pi which I haven't even put power to, and honestly, I'm kinda afraid to

Been playing with it for a few days now- so far it works fine on the provided build; however I'm not using a camera with my Octopi instance. Addons seem to be working well, all of the normal functionality I would expect is there.

Thanks for cranking out an image so fast!

1 Like

I found this article in my feed this morning which references this article, during which his 7zip test never finished

I like to use a USB thumb drive as swap space for big compiles, I'm sure that has a net effect on ultimate performance, but, it does allow programs to finish

The article says that the firmware upgrade only buys you 3-5C, which seems almost negligible

I found a vid in my feed some months ago where the guy spent over $100 on water cooling parts. Brought the temp down to just slightly higher than room temp, but, it was a crazy rig

Looks like this is where he got the parts

1 Like

Is it possible to underclock the Pi4 so it doesn’t get as hot? You would still have the other benefits of the Pi4, and surely OctoPrint does not need the full speed...

You can edit the /boot/config.txt with something like...

arm_freq=1200
arm_freq_min=900
2 Likes

they r not selling 5v 3a adapters in my country, yet. im using 2a charger, no under voltage error, cooling with 3010 otherwise its pretty hot(pi 4 2gb). however it seems 2a is not enough. random pausings while printing. and when i unplug printer and plug again i have to restart octopi otherwise it doesnt connect.

Just a little feedback :smiley:
I got a pi 4 4gb and put a mini copper ram cooler on the cpu and ram. Also I got a 40mm 12v fan running at 5v blowing at it.
Even after hours of full load the temperature never reaches 60°C.
When printing with octoprint, 2 webcams attached, desktop mode with chromium and octoprint webinterface loaded while a matrix falling letters screensaver is active it's 45°-50°C.

if anyone wants to test the new firmware - here you go
I'm not testing it right now because it could mess with usb3 drives.

I'm pretty happy with the little guy :slight_smile:

Have you pressed the refresh button in the connection window? Otherwise it doesn't show me my printer if I replug it

Thanks for the test build @foosel - I have been running it on my Pi 4 1Gb model for about a week with no issues. I just decided to try out the timelapse feature and I am getting an error when Rendering my timelapse due what looks like the path to ffmpeg being wrong.

The path was set to:
/usr/bin/avconv

I did restore a backup from my ancient Raspberry Pi B+ which may explain the path being set to avconv. I thought I would mention it anyway in case this is meant to be installed by default. I updated the path to ffmpeg and that seemed to work.

2 Likes

I have RPI4 4GB and I installed the 0.17.0 version of OctoPi. Everything seems to be working except my webcam. I have tried both the USB 2.0 and the USB 3.0.
This is the output of webcamd.log


pi@OctoPrint:~ $ cat /var/log/webcamd.log
Starting up webcamDaemon...

--- Configuration: ----------------------------
camera:        auto
usb options:   -r 640x480 -f 10
raspi options: -fps 10
http options:  -w ./www-octopi -n
-----------------------------------------------

Found video devices:
/dev/video0
/dev/video1
/dev/video10
/dev/video11
/dev/video12
USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
<13>Jun 20 18:00:11 pi: Starting USB webcam
Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n -i input_uvc.so -r 640x480 -f 10 -d /dev/video0
MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 640 x 480
 i: Frames Per Second.: 10
 i: Format............: JPEG
 i: TV-Norm...........: DEFAULT
UVCIOC_CTRL_ADD - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Mode: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Frequency: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Disable video processing: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Raw bits per pixel: Inappropriate ioctl for device (25)
 o: www-folder-path......: ./www-octopi/
 o: HTTP TCP port........: 8080
 o: HTTP Listen Address..: (null)
 o: username:password....: disabled
 o: commands.............: disabled

Goodbye...

Starting up webcamDaemon...

--- Configuration: ----------------------------
camera:        usb
usb options:   -r 1920x1080 -f 10
raspi options: -fps 10
http options:  -w ./www-octopi -n
-----------------------------------------------

Found video devices:
/dev/video0
/dev/video1
/dev/video10
/dev/video11
/dev/video12
USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
<13>Jul  7 01:10:18 pi: Starting USB webcam
Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n -i input_uvc.so -r 1920x1080 -f 10 -d /dev/video0
MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 1920 x 1080
 i: Frames Per Second.: 10
 i: Format............: JPEG
 i: TV-Norm...........: DEFAULT
UVCIOC_CTRL_ADD - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Mode: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Frequency: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Disable video processing: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Raw bits per pixel: Inappropriate ioctl for device (25)
 o: www-folder-path......: ./www-octopi/
 o: HTTP TCP port........: 8080
 o: HTTP Listen Address..: (null)
 o: username:password....: disabled
 o: commands.............: disabled

Goodbye...

Starting up webcamDaemon...

--- Configuration: ----------------------------
camera:        usb
usb options:   -r 1280x720 -f 10
raspi options: -fps 10
http options:  -w ./www-octopi -n
-----------------------------------------------

Found video devices:
/dev/video0
/dev/video1
/dev/video10
/dev/video11
/dev/video12
USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
<13>Jul  7 01:25:07 pi: Starting USB webcam
Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n -i input_uvc.so -r 1280x720 -f 10 -d /dev/video0
MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 1280 x 720
 i: Frames Per Second.: 10
 i: Format............: JPEG
 i: TV-Norm...........: DEFAULT
UVCIOC_CTRL_ADD - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Mode: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Frequency: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Disable video processing: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Raw bits per pixel: Inappropriate ioctl for device (25)
 o: www-folder-path......: ./www-octopi/
 o: HTTP TCP port........: 8080
 o: HTTP Listen Address..: (null)
 o: username:password....: disabled
 o: commands.............: disabled
Unable to dequeue buffer: No such device
 i: Error grabbing frames
 i: cleaning up resources allocated by input thread
Unable to stop capture: No such device

Goodbye...

Starting up webcamDaemon...

--- Configuration: ----------------------------
camera:        usb
usb options:   -r 1280x720 -f 10
raspi options: -fps 10
http options:  -w ./www-octopi -n
-----------------------------------------------

Found video devices:
/dev/video0
/dev/video1
/dev/video10
/dev/video11
/dev/video12
USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
<13>Jul  7 01:59:22 pi: Starting USB webcam
Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n -i input_uvc.so -r 1280x720 -f 10 -d /dev/video0
MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 1280 x 720
 i: Frames Per Second.: 10
 i: Format............: JPEG
 i: TV-Norm...........: DEFAULT
UVCIOC_CTRL_ADD - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Mode: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Frequency: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Disable video processing: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Raw bits per pixel: Inappropriate ioctl for device (25)
 o: www-folder-path......: ./www-octopi/
 o: HTTP TCP port........: 8080
 o: HTTP Listen Address..: (null)
 o: username:password....: disabled
 o: commands.............: disabled
Starting up webcamDaemon...

--- Configuration: ----------------------------
camera:        usb
usb options:   -r 1280x720 -f 10
raspi options: -fps 10
http options:  -w ./www-octopi -n
-----------------------------------------------

Found video devices:
/dev/video0
/dev/video1
/dev/video10
/dev/video11
/dev/video12
USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
<13>Jul  7 02:17:05 pi: Starting USB webcam
Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n -i input_uvc.so -r 1280x720 -f 10 -d /dev/video0
MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 1280 x 720
 i: Frames Per Second.: 10
 i: Format............: JPEG
 i: TV-Norm...........: DEFAULT
UVCIOC_CTRL_ADD - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Mode: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Frequency: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Disable video processing: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Raw bits per pixel: Inappropriate ioctl for device (25)
 o: www-folder-path......: ./www-octopi/
 o: HTTP TCP port........: 8080
 o: HTTP Listen Address..: (null)
 o: username:password....: disabled
 o: commands.............: disabled

What am I doing wrong?