Does OPNSense support latest AMD Ryzen 7000 series CPU

Started by Vhunter, February 13, 2023, 10:10:10 PM

Previous topic - Next topic
I am looking at upgrading my build and wanted to know if anyone new if OPNsense 23.1, supported the latest AMD or Intel 13th Gen CPU's? Mainly was looking at AMD Ryzen 5 7600 CPU with built in graphics

No problem here with it. I've virtualised it and passing it as host cpu. I'm on version 22.7 however.
[@OPNsense ~]$ sudo dmesg
Password:
Copyright (c) 1992-2021 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 13.1-RELEASE-p5 stable/22.7-n250270-9d1c26e8548 SMP amd64
FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)
VT(efifb): resolution 1280x800
CPU: AMD Ryzen 5 5600U with Radeon Graphics          (2295.66-MHz K8-class CPU)
  Origin="AuthenticAMD"  Id=0xa50f00  Family=0x19  Model=0x50  Stepping=0
  Features=0x1783fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0xfff83203<SSE3,PCLMULQDQ,SSSE3,FMA,CX16,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND,HV>
  AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
  AMD Features2=0x8003f7<LAHF,CMP,SVM,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,PCXC>
  Structured Extended Features=0x219c07ab<FSGSBASE,TSCADJ,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA>
  Structured Extended Features2=0x40060c<UMIP,PKU,VAES,VPCLMULQDQ,RDPID>
  Structured Extended Features3=0xac000010<FSRM,IBPB,STIBP,ARCH_CAP,SSBD>
  XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
  IA32_ARCH_CAPS=0x69<RDCL_NO,SKIP_L1DFL_VME,MDS_NO>
  AMD Extended Feature Extensions ID EBX=0x300d205<CLZERO,XSaveErPtr,WBNOINVD,IBPB,IBRS,STIBP,SSBD,VIRT_SSBD>
  SVM: NP,NRIP,NAsids=16
Hypervisor: Origin = "KVMKVMKVM"

So both virtual and baremetal will work fine at least on 22.7. 23.1 should be fine too.

I see you have the last generation Zen 3-  AMD 5600U CPU

I am hoping that the new Zen 4 based AMD 7600 CPU will work fine. Main concern is that the built in graphics is supported.

How are you finding AMD CPU for OPNSense, as currently I am running on an Intel CPU.

Thanks

Yes, I can also confirm that it works fine on an AMD Ryzen 7 series - I too also had it virtualised (on ESXi) without problems and there should be no reason why it wouldn't work.
Regards


Bill

Quote from: Vhunter on February 13, 2023, 11:02:57 PM
I see you have the last generation Zen 3-  AMD 5600U CPU

I am hoping that the new Zen 4 based AMD 7600 CPU will work fine. Main concern is that the built in graphics is supported.

How are you finding AMD CPU for OPNSense, as currently I am running on an Intel CPU.

Thanks
These are ridiculously good. 2 vcpus given to the VM and barely move above 1% usage. And I have zenarmor, suricata and crowdsec inspecting traffic. As for graphics, I only require console output for the installation. Runs headless.

Quote from: phoenix on February 13, 2023, 11:03:27 PM
Yes, I can also confirm that it works fine on an AMD Ryzen 7 series - I too also had it virtualised (on ESXi) without problems and there should be no reason why it wouldn't work.

What model CPU are you using?

OPNsense 22.7.11_1-amd64
FreeBSD 13.1-RELEASE-p5
ESXi 7.0 Update 3

Hello VHunter,

Since I am new to this distro, I am most likely the last person to make suggestion on hardware compatibility for OPNsense.

You are correct in asking question about the CPU & GPU when you make an installation of software on metal. You have to make sure that all the hardware components are supported for the software that you are installing.

I also run OPNsense on ESXi but regrettably that does not answer you question. When running OPNsense in a vm on any type-1 hypervisor. It is the hypervisor server running on metal not OPNsense.

To come back to your question about AMD Ryzen... When I looked two years ago for a CPU that worked with ESXi. I chose the AMD Ryzen Threadripper 2950X, a CPU that was designed for multithreading not gaming. I believe at the time AMD also made a CPU line that was designed for gaming. Not to say that OPNsense will not work on a hardware gaming configuration. Just a heads-up that CPU and hardware is in general tuned for different purposes.

P.

OK So just got new hardware and cannot get OPNsense 23.1 to install via USB.
Live boot keeps getting stuck at CPU0: ACPI CPU on acpi0 and wont go any further.

So at this stage OPNsense and FreeBSD 13 dont seems to support my hardware setup with lates Ryzen 7 7700 CPU
with an ASrock B650M PG Riptide WiFi board. I have tired many different BIOS settings and am running the latest BIOS version.

For now I have had to install VMware ESXi 8 and then I have been able to install OPNsense 23.1.

Would love to be able to do bare metal install, so if anyone know what I am missing please let me know?

Can you try installing plain freeBSD on it to see if freebsd is supporting it? If yes, then you could bootstrap OPNSense after ie. convert it.

Quote from: cookiemonster on February 26, 2023, 10:00:05 PM
Can you try installing plain freeBSD on it to see if freebsd is supporting it? If yes, then you could bootstrap OPNSense after ie. convert it.

Already tried that and same place it gets stuck wont finish booting off the USB. Will get stuck at CPU0: ACPI CPU on acpi0 and wont go any further.

I'm not sure what to suggest except start seeing if acpi hints could be added or in desperation I would try a different image and different usb ports or from an actual disk drive. Playing with changing the various USB settings for those usb ports (to eliminate the installation media/interface).

Hello,

Please take a look at my solution: https://forums.freebsd.org/threads/amd-ryzen-7000-series-support.88435
Looks like this is the same problem for all new AM5 ASRock motherboards.