Raspberry Pi 4 is out

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?

Hello,

I'm a newbie at this, actually I just bought my printer and I'm considering which pi board to buy, just heard of the pi 4.
I saw peoople discussing about being overkill to use pi 4 to run octoprint, but since its the same price with way more resources, why would I buy the older one?

@jwlacorrea If you had a 3D printer farm and wanted to conserve power, using a Raspi 3B for each should conserve power across your business (over the Raspi 4).

Honestly, though, vendors who stockpiled the Raspi 3B, for example, may consider slightly lowering the price for these now that the Raspi 4 is out. It's difficult to say what the long-term price and availability of the 3B's will be over time.

@Homan Also note this thread in which someone has indicated the same.

1 Like

I’m a newbie too. And right now the release for Octopi the Pi 4 isn’t finalized.

I don’t know if it difference enough that following a tutorial for previous pi would still be valid.

I installed BOINC to run Seti@Home and the chip of the Pi runs hot as has been mentioned here.

1 Like

Just FYI, I've been running the Pi 4 on this build and haven't had any issues so far. I have attached a 3.5" inch screen to the Raspberry Pi 4 and a Raspberry Pi Camera. The Pi 4 is running OctoPrint-TFT on the display. No issues printing or any abnormalities that I've been able to detect.

I'm not using the official power-supply so OctoPrint is giving me the low voltage alert. I run "vcgencmd get_throttled" and get back a 0x50005, which I understand means it is under-voltage and the CPU is throttled down. Even with this setup, the CPU utilization looks really good on the Pi 4. See attached for CPU usage during an active printing session with the camera and external display active.

What display are you running? That’s my next step. New SD card coming tomorrow and a fan then I’ll try to install Octopi.

This is the display I'm using. It fits nicely with a new cover I found for my printer on Thingiverse.

Display

Cover

Nice setup. I have the anycubic Mega S. How are you connecting the display to the Pi? Most screens I've seen have a little full HDMI jumper to connect the Pi and the screen (older model Pis). With the 4 having Micro HDMI, I haven't found a similar setup.

On this display I'm using the 40pin GPIO. The Pi 4 is literal right behind the display (at least on my set up it is) you could also use a 40pin cable and have the Pi elsewhere. If you look at the amazon site, it is the sixth picture.

1 Like

Nice. Thanks. This is all new to me! Is there room for a fan under there? I don't know how hot the 4 is running in your set up but using it for Seti@Home and I'm up to 81C in seconds with the heatsink on. Now, that's more intensive than Octoprint from what I gather. But I still worry about heat especially if it's enclosed.

1 Like

When I go to octopi.local on my Safari it just hangs. I put my wifi info in the octopi-wpa-supplicant.txt and uncommented the lines and change my country.

Am I missing something?

Edit: also tried from Terminal sudo ssh pi@octopi.local

If it were me, I'd log into my wifi router and see what devices are connected. I'd look to see if the Raspberry Pi has connected and been issued an IP address and—especially in the case of the Raspberry 4—I'd look to see which zone (2.4Ghz/5Ghz) that it was connected to. Some have suggested that Raspbian Buster is having troubles in the 5Ghz wifi side of things.

Thanks. I got it up and running late last night. I had uncomment a line too many that caused me hours of headache!

1 Like