The Raspberry Pi Compute Module 4 Review
Ғылым және технология
I put the Compute Module 4 through its paces, and compare it to the Raspberry Pi 4 and Compute Module 3+, highlighting some great new features like a PCI Express 1x slot on the IO board and NVMe support.
For even more detail, check out the blog post that goes along with this video:
www.jeffgeerling.com/blog/202...
And check out the CM4 announcement on the Raspberry Pi website: www.raspberrypi.org/blog/rasp...
#RaspberryPi #ComputeModule
Support me on Patreon: / geerlingguy
Sponsor me on GitHub: github.com/sponsors/geerlingguy
Products mentioned in this video (affiliate links):
- Syba USB 3.0 PCIe card: amzn.to/2T3QX35
- XPG SX6000 NVMe: amzn.to/2IBcKgp
- Samsung 970 EVO Plus: amzn.to/37ip3sA
- Samsung EVO Plus microSD: amzn.to/3582XGv
- NGFF NVMe PCIe adapter: amzn.to/348orUs
- MZHOU NVMe PCIe adapter: amzn.to/2Hf9Jlv
- NVMe USB 3.0 adapter: amzn.to/2IK5e3b
- External U.FL antenna: amzn.to/3k7sYfm
Contents:
00:00 - Introduction
03:29 - A Complete Redesign
04:35 - PCIe, USB 3, and NVMe
10:04 - Networking - Wired and Wireless
12:37 - CPU Performance
13:41 - eMMC Performance
14:54 - USB Boot
15:50 - NAS/NFS Performance
17:05 - IO Board Features
19:47 - Summary and Final Thoughts
20:50 - Bloopers
Пікірлер: 782
your red t-shirt clone always gives me heart attack, he almost hack sawed the pi's i/o
@JeffGeerling
3 жыл бұрын
You gotta watch out for that guy.
@MarcoGPUtuber
2 жыл бұрын
@@JeffGeerling I came all the way back here to like his comment for starting all this.
Awesome video, Jeff. Thank you. We're glad you like the Compute Module 4 as much as we do!
@JeffGeerling
3 жыл бұрын
You knocked it out of the park on this one, you didn't under-promise, but you did over-deliver (I thought the price was going to have to go up, but it didn't!).
@user-rx1hv7jo3e
3 жыл бұрын
Is the cm4 still intended for industrial applications?
@grmasdfII
3 жыл бұрын
@John Chrysostom Rev 3:9 There weren't any computers in your collection of 2-3000 year old folklore, get off the net.
@photonicpizza1466
3 жыл бұрын
@John Chrysostom Rev 3:9 Your attitude is gross, homophobe
@AarshParashar
3 жыл бұрын
You guys have any plan for official Chrome OS image for Raspberry Pi 4?
Fantastic edited video, great fast code cuts. And the bloopers are priceless. Oh yeah, great technical info on the new board. Thanks.
Love these bloopers! :D you should include them in every video haha
This is the first video of yours I've watched. Very good job! Thorough and informative, not just a hyped dictation of the spec. sheets, like a lot of others' videos.
@JeffGeerling
3 жыл бұрын
Thanks, I try to put a lot of effort into giving relevant information and not just rehashing a blog post or a spec sheet. Glad some people appreciate that :)
glad i found this channel as i jump into the raspberry pi world. bloopers at the end are great!
Thank you for the deep dive in to it. Really looking forward to the new Turing PI Board V2
By far one of the best review I watched. Awesome explanations
Thanks for this Jeff. Very professional presentation (like always) and useful info. It shows you are a hard working pro !
U just earned a subscriber, very nice explanation/review👌🏻
Awesome video Jeff. Very informative and (at the end) humorous. Thanks.
The change in form factor was very well justified with a bunch of new features. Being parallel to the IO board will make your cluster wider, though.
@joelg1318
3 жыл бұрын
So true the dimm is expensive when designing a board.
@AndrewPerry1
3 жыл бұрын
Yeah, I didn’t get what he meant at the end when saying it takes up less space, it seems it will take up more at least in the horizontal plane.
@stale2665
3 жыл бұрын
Couldn't a custom cluster IO board be designed in a way that lets you mount the CM4s at a 90 degree angle? perhaps by using a sort of riser cable for the outermost connector.
@LucasHartmann
3 жыл бұрын
I believe you would be better off simply populating both sides of the mainboard with CM4. Cooling would be easy too.
@stale2665
3 жыл бұрын
I was having that in mind too.
This was awesome. Well done, Jeff.
Fantastic overview Jeff. We gave this video and your channel a shoutout in this weeks episode of The Electromaker Show :)
Quality content, just subbed!
Great content as usual - thanks for the hard work
Great video and excellent presentation. In depth analysis and very informative!
I'm so excited for this
Wow! What a great video Jeff!! This is really fascinating what the Pi gurus came out with, and all the possibilities for connecting up all the accessrories you can now hookup! Just the PCiE alone is really really interesting, and opens up a whole new world of fast connectivity! Thanks again for this great video!!
Oh this is awesome... So glad to hear about these upgrades.
When I saw this a few days ago the first thing I thought about was , lets go see what Jeff plans on doing with these things... So much potential, I knew clusters would be at the top of the list ! Happy to hear it
The bloopers are awesome! 😂 :)
As a person who will be buying one of these for integration in an actual device it's way more important to have every i/o possible than for the board to be smaller.
@maurofoti526
3 жыл бұрын
Indeed that's a development board intended to better develop the more integrated solution the compute module is meant to be used in. Kinda weird that there's no usb3 though
PCIe access - called it. Next prediction - they shift the eMMC memory into a slot and cut down on production models and more flexibility.
@DanielPinel
3 жыл бұрын
eMMC on a board, a la Pine64? YES
Use a modern AMD GPU card with a 1x to 16x pcie riser often used for mining. You should then be able to get a modern gpu running on the raspberry pi 4 CM.
@BrunodeSouzaLino
3 жыл бұрын
That works with almost any GPU. PCIe is backwards and downwards compatible and latency tolerant.
@charles2000wang
3 жыл бұрын
@@BrunodeSouzaLinoI specifically said AMD GPU because of the opensource drivers in the Linux kernel which should work on ARM ISA not just x86.
@Peter_Gamerrr
3 жыл бұрын
or just open up the back of the 1x slot with a hacksaw also works
@red13emerald
3 жыл бұрын
@@Peter_Gamerrr I mean a hacksaw is pretty extreme but some flush-trim snips would do the job. I’d be concerned about stability, though. Using a mining riser allows to lay down the GPU so it can’t damage the breakout board.
@kdb424
3 жыл бұрын
@@Peter_Gamerrr You would need the riser anyways as the PCIE sot is expected to supply power, where risers can be powered with a molex/sata power cable for that power. GPU's don't only pull power through the 6/8 pin power cables as the PCIE slot is normally rated at 75 watts.
6:50 Modprobe loads kernel modules dynamically, so doing a modprobe and reboot completly cancels each other out.
@misternobody6798
3 жыл бұрын
That's what I was thinking but since I am not really an expert in this department I thought he definitely would know better, let's see if someone (or Jeff) could get it to work.
Awesome news. I need to start paying more attention to the Raspberry Pi foundation website. Thanks Jeff.
I didn't know that jason statham was the brain of raspberry pi... Me: Hey you, where are the USB 3.0? Eben: SMASH, PUMM, CRACK!!, ...BOOOM! Me: aaaaarghh!
@BenjaminEggerstedt
3 жыл бұрын
I was about to make this comment, glad I‘m not alone ... :)
@buggerlugz6753
3 жыл бұрын
Wish he'd crank up the PI to the level he does in that film. A decent vidcore would be nice.
Love this review, so powerful
So hyped for that compute board!
GREAT VIDEO Jeff!!!!
Very well made video, subbed :)
Wow, I'm glad I didn't work on my project expecting the Pi4 compute module to be in a sodimm factor.
Liking your videos, mate. Keep it up
You had me at PCIE, I've got to buy this!
Thanks! Already bought mine.
6:50 that’s your issue! Modprobe is only temporary
@hackmiester1337
3 жыл бұрын
Yes, modprobe hot-loads kernel modules. Rebooting undoes this process.
So i’ve been using this CM4 for a couple of weeks now.. 👌🏼
Hi, regarding the graphics cards, you can plug in a graphics card designed for "longer" PCI Express slots into a PCIe 1x slot. I did that a while ago with an external GPU solution. The card will not use it's full potential, but that affected mainly loading times, like texture loading. Basically anytime the GPU requests data from the rest of the system. Regarding drivers, have a look at AMD cards, they are open source and are included in mesa and should work.
@syndaquil4838
3 жыл бұрын
You're right, but in this case it doesn't look like the PCI-e slot was manufactured with the back open to support that. He could open it up with a rotary tool, but it isn't something most people would be willing to do.
I think it's also worth mentioning that the new IO board is about 1/3 the price of the old one while having pretty much the same features, and that most of the power regulation is moved to the CM so rolling your own interface board should be a lot easier now.
You call that food? 😋 Excellent, comprehensive review. Thanks!
Imagine what you could do with this. You can make a super compact computing cluster, or attach it to a custom PCB and make a cheap arm laptop that actually does something (or you could just buy the pinebook but you get the point right). The possibilities are endless!
@TonySesek
3 жыл бұрын
If they keep the same connector, you could just swap out the module and keep the screen/keyboard/etc
HI Jeff, very informative video as I find all of yours. Did you ever put out the video around how to boot off the eMMC from the Compute 4 IO board?
Great video!! BTW the bloopers are the end are priceless!!! more bloopers! I wish everybody included their mistakes.
@JeffGeerling
3 жыл бұрын
I'm glad you enjoy them. It takes a bit more time to add them on, but I find it's best to be able to laugh at myself too :)
Great update Thanks for sharing :-)
Great vid Jeff. Turing are going to have their work cut out making that 2x100 connector work.
Thanks Jeff!
Finally...It arrives.
@stephensu4371
3 жыл бұрын
finally they got pcie and emmc
you're a legend, geerling!
What I like about this is that you can take a mini ATX case, drill some mounting holes, and fit the IO board in. In fact, I wouldn't be surprised if someone makes an adapter to mount the IO board in place of an Intel board.
Just FYI, you may be able to get an PCIe x4, x8 or x16 card to work in an x1 slot using an adapter. This will of course only achieve x1 speeds but the other lanes will just remain unused, if following the PCIe spec properly. Some PCIe x1 slots even have "open back ends" to accommodate cards with more lanes. And some modders create the open back of the slot manually using a saw, file or similar :)
Just came here after ETA Prime's video!
@JeffGeerling
3 жыл бұрын
Tell ETA hello! 👋
@RoyalKnightinarms
3 жыл бұрын
Haha I will be doing the opposite and going to ETA Prime after this video 😂
@nelsonr.9450
3 жыл бұрын
@@JeffGeerling will do ;)
@nelsonr.9450
3 жыл бұрын
@@RoyalKnightinarms lol
@vaibhav2831
3 жыл бұрын
Me to
I love that new Pi computer module and motherboard! I'd love to build an ARM based PC around it! Looking forward to one with 16x PCIe!
BTW, awesome video, VERY WELL DONE!
When you want to plug in a video card you can use a pcie x1 to x16 Riser and also use basicly any other pcie device
@Draknem
3 жыл бұрын
Yes, pci devices are usually able to run with less lanes. Would really like to see it tested.
@dv7533
3 жыл бұрын
You are correct, I've tried both PCI-E 16x and 8x graphics card in 1x and 4x slots with risers and it works just fine, just at the lower bandwidth of the slot.
@hardwarelabor1631
3 жыл бұрын
@@dv7533 yes beacause pcie is dowardcompatible
@detroxx56784
3 жыл бұрын
I haven't watched the video yet, but I'm pretty sure the Pi can't handle PCIe GPUs. I've had a look into this topic a while ago for the RK3399. Basically those small CPUs lack some sort of cache/memory that would allow them to operate a dedicated GPU. More precisely: This cache is too small.
@BrunodeSouzaLino
3 жыл бұрын
PCIe is not only backwards compatible, it's also latency tolerant, as demonstrated by the guys that hacked the PS4 by making use of the the PCIe bus connected to a serial port and it worked.
How much power? Any videos on how to make this a motion sensing and recording webcam? What software would I use? hardware? Never used this board before, only a pi...
Awesome video, Jeff. I wonder if it’s possible to make a board, which utilizes this, to make a DIY Linux phone.
Excellent write up.
Awesome stuff, man missed the Fact that the Compute Module 4 Had PCIE!!! WOHOO!
Why not try running the x86 linux drivers through box86 or using an AMD card with the open source MESA drivers?
Drooling over a new Touring Pi solution!
Absolutely fantastic! A preview of Pi 4C or 5B, I predict! Great computing days ahead! ♥️👍
@JeffGeerling
3 жыл бұрын
My hope is for a Pi 5, there might be more bandwidth available for PCIe, and maybe built-in USB 3.0 instead of 2.0 (in the Soc). I don't know enough about the Broadcom lineup to know if any of their SoCs already support it, but that would be pretty cool and let us devote all the extra IO to things like NVMe!
@donporter8432
3 жыл бұрын
@@JeffGeerling You don't predict a new CPU in the 5B? That would arguably follow the 1,2,3,4 pattern. BTW, Greetings from Thailand, Mr. Jeff!
Very awesome!
This video is cool and you're doing crazy stuff which is awesome. The Raspberry Pi is a single-board computer that you can plug into other boards and then plug other boards into that at some point it's just going to be a CPU
very good, Excellent Narration.
You can use a 3080 in a 1x slot but expect around 1/16th the speed if the cpu can keep up. First you will need to cut the stopper at the end so the rest of the pcie slot can go through. But also good luck powering it unless you have a spare power supply and a way to jump the connection on boot. This also will apply to any pcie device like a 1x card in a 16x port or 4x card into a 1x port you just loose the bandwidth witch will slow down the device you plug in
Interesting video I wonder if external antenna for CM4 module can have also positive effect on Bluetooth signal?
I love that we are back to full-size HDMI. I would have been fine with the RPi4 having a single full-size HDMI in place of two micro HDMI(perhaps with an additional connector for an expansion board to break out the second), but this is because my RPi uses are for servers. I have gotten my hands on the CM4 and have been using it with the raspberry pad 5 from BTT and have been loving it!
thanks for this review Jeff.. have you tried using a drop-in replacement for the RPI CM4 (Radxa CM3) using the same IO board? it seems the RPI CM4 are out of stock everywhere.. replacement needed. thanks!
The DIMM slots look better for making a cluster, with those new connectors you would need to attach each module to a daughter board that then slots into something like a DIMM to get them into a tighter form factor.
Go ahead on the cluster project, I'm very interested in it!
Now I'm stoked for Pi 5. Hopefully with all that good stuff, M.2 on the board and NVMe boot support. 🤞
It's time to run discrete gpus on the Pi. You can find 30$ pcie 1x to 4 1x ports switch, usually used for crypto mining rigs, with that you can connect multiple pcie cards.
@ethanlai1044
3 жыл бұрын
People can run a mining rig on these new compute modules. How nice, it lowers cost so much.
@SalvatorePellitteri
3 жыл бұрын
@@ethanlai1044 Don't know but maybe is possibile to use more powerfull gpu for better desktop and browser performance also kodi and plex hardware video encoding and decoding + more usb ports, nics, raid controllers, ecc...
You got me. I ordered mine.
You really got me excited for compute module with motherboard! As for nvme - maybe you could put /boot on emmc and rest on nvme. For nvidia drivers - you could use open source nouveau driver, should work for ARM too? I was wondering what is the max speed for over locked compute module with radiator and fan on it?
Interesting... sounds like the best option for storage would be a small-ish EMMC for OS and then an NVMe for massive fast stuff.
saw the pcie end barrier to put x16 gpu like madlads
Just use a 1x to 16x riser, you can buy one of the standard "extension" ones for $10 on amazon and use a hack saw to cut off the other 15 lanes on the male part (and desolder the ribbon)
The support for parallel/serial cards that work off PCIE is significant for hobbyists, although I suspect that they were already hand-wiring the 40pin connector on the regular pi already.
@JeffGeerling
3 жыл бұрын
Ha, quite true. Hobbyist is just another name for someone who loves torturing themselves by soldering dozens of pins and wiring up hundreds of breakout boards :)
This looks like a good candidate for a potential RPi-based handheld, although the hardest part would be sourcing a MIPI-DSI capable display. The only thing I'm missing is to have the Ethernet as an option, so instead we could have two PCI-E lanes.
I keep thinking how cool it is that we have the same USB drives, then I remember I just bought every USB drive you listed in the video you made about fast USB drives
@JeffGeerling
2 жыл бұрын
Haha, nice.
Is there a 1x AMD GPU? there drivers are sepost to be open sorce so might be able to be compiled for ARM
you're good. no time-wasting, lots of research
You are truly in a class all your own. I always come here to get the cutting edge info on all things pi. I hope your wife will go a little easy on you food really is over rated but ( pi-e) is everything. clips at the end show a more human side. Keep up the great work gift is on the way.
First I like and comment your videos before watching it. I know it would be awesome.
I love the information provided in your videos, the speed of your speech is a bit too rush for me.
Hi, thanks for the review. Is there something like a GPIO+USB-Shield for the Compute Module 4?
9:30 For the GPUs, you can use literally any GPU you want (even if it has an x16 slot) by just notching out the back of the PCIe x1 slot and sticking it in, or the cleaner solution is to get a pcie 1x riser card (e.g. www.amazon.com/dp/B076KLJR2Y/ ). Nearly any x16 card will run absolutely fine at reduced speeds if you just install it in a x1 slot, no problem. You can them use an arm build of noveau for an nvidia gpu, or an arm build of AMDGPU for an amd/radeon gpu; you can probably even find pre-compiled packages of those drivers, but those are both open-source so even if not you can compile them yourself for arm.
The problem is that since they changed the form factor there is not longer a confidence in a suitable upgrade path. Previously you could be designing a platform that uses the RPi3+ with the intention to use the latest compute model once you enter production (or as a later model/upgrade path), however, by changing the form factor they have alienated anyone who was using their earlier platform.
You'd need an ATi/AMD graphics card since those have open source drivers and they compile on other architectures than x86. Raptor Computing confirmed them working on PPC64 a few years ago.
Jey Jeff!!... Fantastic video btw! I've a Zotac GT710 pcie-1X i could lend to you for your tests as you mention on the video. Cheers!
@juri14111996
3 жыл бұрын
he can use any gpu, no need for an pcie x1 gpu.
@JeffGeerling
3 жыл бұрын
I just ordered one, thanks so much for the offer though! And while I could use another GPU I'd need a riser or to cut into the 1x connector on the IO board, and I'd rather avoid that for now :)
@miguelangelriveiro
3 жыл бұрын
@@JeffGeerling waiting impatiently for your results!!!! 👏🏻👏🏻👏🏻
@Peter_Gamerrr
3 жыл бұрын
if you rip out the back of the pcie slot you can fit in a pcie 16x card and pcie will still work perfectly
Please always include your outtakes.
use WoR and windows drivers, because it has most chance in my opinion, as i tried installing many x86 apps and they do work.
hi lord geerling, what did you format nvme in,reason today its getting too be a pain to know what to do with the patent or licences getting out hand and anti client sorry for the winjing. ,to change ssd usb keys between os's. i'm thinking of going full ubuntu. when will you do more on the IO boards for cm 4. thankyou for your channel and the help you offer. andrew from france.(your giving us value, thanks)
Really nice. I wish a smaller IO board, less wide. I can see a lot of empty space there that could be reduced. So it could be used on more compact projects.
@alexrawson8492
3 жыл бұрын
The IO board is for testing, mostly. Practical usage here expects you to build your own board.
are there ways to connect multiple of these compute modules to one IO board?
thank you very much!
I say get one of the mining adapters that includes a PCI-e mux so you can put in more than one card.
As for graphic cards, remember that PCIe 1x is just the same as PCIe 16x, just with one lane. A friend of mine needed to plugin a SAS controller on his old machine and had no PCIe 8x slots, so I asked him if he had a dremel. He had - just cut out the plastic covering the end and plugged in the SAS controller and it worked well. Not as ast as with PCIe 8x, though, but hell, it was temporary ;)
@JeffGeerling
3 жыл бұрын
Haha, well I am more likely to be okay dremel'ing my board now than I was before I finished this video!
@roysigurdkarlsbakk3842
3 жыл бұрын
@@JeffGeerling something like this en.wikipedia.org/wiki/PCI_Express#/media/File:PCIe_J1900_SoC_ITX_Mainboard_IMG_1820.JPG
9:14 If you compile Mesa yourself on the Pi, you theoretically get an ARM build of the nouveau and open source AMD drivers. I don't know whether they work though.