Re: New desktop CPU/chipset recommendation

2022-02-14 Thread Andre Smagin
On Sun, 13 Feb 2022 21:46:30 -0700
Thomas Frohwein  wrote:

> On Thu, 3 Feb 2022 19:16:55 -0500
> Andre Smagin  wrote:
> > ...
> > Ryzen 9 5950x on x570 chipset motherboard, should last ten years at
> > least. Everything "just works" - NVMe hard drives, SPDIF audio, video,
> > etc.
> 
> Does the audio work? No audio hangs/wedging anymore on more than just
> a few minutes of usage? I have a machine like this, too, but audio would
> hang with MSI on like previous Ryzen generations. Unlike previous Ryzen
> generations, patching to switch to legacy interrupts didn't work. That
> was about 1.5 years ago; it currently serves as a Windows box ...
> 
> It would be good to know if that issue went away... I wouldn't mind
> putting a better OS on my machine again *cough*.

Thomas,

I play music all day long on the desktop on weekends, going out via
SPDIF (optic fiber) to a receiver. I have not tried direct speakers or
headphones. The only change to configuration I made was setting
outputs.mode=digital in /etc/mixerctl.conf

I play audio with mpd (local network files and internet streams),
and sometimes audacious and vlc for local files, and web audio with
chrome. Had couple strange lock-ups when streaming web-radio with mpd.
In fact, one happened just now - internet radio stream via mpd/Ario
started stattering and stopped as I was typing this email - restarting
sndiod and mpd did not help, had to reboot.

So, overall, little bit less reliable than my old pre-Ryzen desktop,
but not too bad - does not happen very often, may be once a week.
Not sure how to troubleshoot it.

--
Andre



Re: New desktop CPU/chipset recommendation

2022-02-13 Thread Thomas Frohwein
On Thu, 3 Feb 2022 19:16:55 -0500
Andre Smagin  wrote:

> Replying to my own thread from months ago. Took some time to get
> this done, buying one part per paycheck, but I have a new desktop now.
> Ryzen 9 5950x on x570 chipset motherboard, should last ten years at
> least. Everything "just works" - NVMe hard drives, SPDIF audio, video,
> etc.

Does the audio work? No audio hangs/wedging anymore on more than just
a few minutes of usage? I have a machine like this, too, but audio would
hang with MSI on like previous Ryzen generations. Unlike previous Ryzen
generations, patching to switch to legacy interrupts didn't work. That
was about 1.5 years ago; it currently serves as a Windows box ...

It would be good to know if that issue went away... I wouldn't mind
putting a better OS on my machine again *cough*.

> 
> Big thanks to OpenBSD developers! No issues to complain about, fresh
> install, copied my configuration files from old desktop, was up and
> running in 30 minutes. Day 3 to configure Windows 11 on a second hard
> drive (to run 3d CAD software mostly) and now I have to reinstall -
> broke something completely while trying to set it up to be usable...



Re: New desktop CPU/chipset recommendation

2022-02-13 Thread Andre Smagin
On Sun, 13 Feb 2022 20:55:26 +0200
Mihai Popescu  wrote:

> > ... Ryzen 9 5950x on x570 chipset motherboard ...
> 
> Can you post the output of
> sysctl | grep hw.
> please?

Here, with smt disabled and smt enabled:

HAMLET: /home/andre $ sysctl | grep hw
hw.machine=amd64
hw.model=AMD Ryzen 9 5950X 16-Core Processor
hw.ncpu=32
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0:,sd1:2c4f0a976c44c833,cd0:
hw.diskcount=3
hw.sensors.ksmn0.temp0=36.62 degC
hw.cpuspeed=3400
hw.setperf=100
hw.vendor=Micro-Star International Co., Ltd.
hw.product=MS-7C37
hw.version=2.0
hw.uuid=c9bca978-eca9-1a51-aece-2cf05d9a5218
hw.physmem=68596871168
hw.usermem=68596854784
hw.ncpufound=32
hw.allowpowerdown=1
hw.perfpolicy=auto
hw.smt=0
hw.ncpuonline=16
hw.power=1

HAMLET: /home/andre $ doas sysctl hw.smt=1
hw.smt: 0 -> 1

HAMLET: /home/andre $ sysctl | grep hw 
hw.machine=amd64
hw.model=AMD Ryzen 9 5950X 16-Core Processor
hw.ncpu=32
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0:,sd1:2c4f0a976c44c833,cd0:
hw.diskcount=3
hw.sensors.ksmn0.temp0=36.50 degC
hw.cpuspeed=3400
hw.setperf=100
hw.vendor=Micro-Star International Co., Ltd.
hw.product=MS-7C37
hw.version=2.0
hw.uuid=c9bca978-eca9-1a51-aece-2cf05d9a5218
hw.physmem=68596871168
hw.usermem=68596854784
hw.ncpufound=32
hw.allowpowerdown=1
hw.perfpolicy=auto
hw.smt=1
hw.ncpuonline=32
hw.power=1



Re: New desktop CPU/chipset recommendation

2022-02-13 Thread Mihai Popescu
> ... Ryzen 9 5950x on x570 chipset motherboard ...

Can you post the output of
sysctl | grep hw.
please?



Re: New desktop CPU/chipset recommendation

2022-02-03 Thread Andre Smagin
On Mon, 20 Sep 2021 14:56:31 -0400
Andre Smagin  wrote:

> I am looking for a hardware advice.
> I don't upgrade my desktop very often - last one was about ten
> years ago (AMD FX-8350 CPU), which I recently made my home server
> running -current, no issues. Now I am looking for a new desktop that
> will last another ten years, hence the question: if I buy the latest
> available AMD chipset (X570 I think) and Ryzen 9 CPU - are there any
> current issues with using it for OpenBSD desktop? I would like to
> overkill it with the choice of hardware now, so I don't have to worry
> about it for a while.

Replying to my own thread from months ago. Took some time to get
this done, buying one part per paycheck, but I have a new desktop now.
Ryzen 9 5950x on x570 chipset motherboard, should last ten years at
least. Everything "just works" - NVMe hard drives, SPDIF audio, video,
etc.

Big thanks to OpenBSD developers! No issues to complain about, fresh
install, copied my configuration files from old desktop, was up and
running in 30 minutes. Day 3 to configure Windows 11 on a second hard
drive (to run 3d CAD software mostly) and now I have to reinstall -
broke something completely while trying to set it up to be usable...

Dmesg:

OpenBSD 7.0-current (GENERIC.MP) #303: Wed Feb  2 13:26:47 MST 2022
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 68596871168 (65419MB)
avail mem = 66500714496 (63420MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xe6cf0 (60 entries)
bios0: vendor American Megatrends International, LLC. version "A.F0" date 
12/16/2021
bios0: Micro-Star International Co., Ltd. MS-7C37
acpi0 at bios0: ACPI 6.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT SSDT SSDT FIDT MCFG HPET SSDT IVRS TPM2 PCCT SSDT 
CRAT CDIT SSDT SSDT SSDT SSDT WSMT APIC SSDT FPDT
acpi0: wakeup devices GPP0(S4) GPP2(S4) GPP3(S4) GPP4(S4) GPP5(S4) GPP6(S4) 
GPP7(S4) GPP8(S4) GPP9(S4) GPPA(S4) GPPB(S4) GPPC(S4) GPPD(S4) GPPE(S4) 
GPPF(S4) GP10(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimcfg0 at acpi0
acpimcfg0: addr 0xf000, bus 0-127
acpihpet0 at acpi0: 14318180 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Ryzen 9 5950X 16-Core Processor, 3400.48 MHz, 19-21-00
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,PKU,IBPB,IBRS,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 32KB 64b/line 8-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 
8-way L2 cache
cpu0: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 100MHz
cpu0: mwait min=64, max=64, C-substates=1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: AMD Ryzen 9 5950X 16-Core Processor, 3400.02 MHz, 19-21-00
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,PKU,IBPB,IBRS,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu1: 32KB 64b/line 8-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 
8-way L2 cache
cpu1: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: AMD Ryzen 9 5950X 16-Core Processor, 3400.02 MHz, 19-21-00
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,PKU,IBPB,IBRS,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu2: 32KB 64b/line 8-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 
8-way L2 cache
cpu2: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu2: DTLB 64 4KB entries 

Re: New desktop CPU/chipset recommendation

2021-09-21 Thread Andre Smagin
On Mon, 20 Sep 2021 18:59:11 -0400
Daniel Wilkins  wrote:

> On Mon, Sep 20, 2021 at 02:56:31PM -0400, Andre Smagin wrote:
> > Good day.
> >
> > I am looking for a hardware advice.
> > I don't upgrade my desktop very often - last one was about ten
> > years ago (AMD FX-8350 CPU), which I recently made my home server
> > running -current, no issues. Now I am looking for a new desktop that
> > will last another ten years, hence the question: if I buy the latest
> > available AMD chipset (X570 I think) and Ryzen 9 CPU - are there any
> > current issues with using it for OpenBSD desktop? I would like to
> > overkill it with the choice of hardware now, so I don't have to worry
> > about it for a while.
> >
> > I am ten years out of touch with hardware development progress, so will
> > appreciate any input you may have.
> >
> > --
> > Andre
> >
> You got me curious, so I went ahead and installed OpenBSD on the desktop
> I rebuilt this year.
> I've got a Ryzen R9 3900X with an MSI MAG B550 TOMAHAWK for the motherboard,
> and an R9 380 for the graphics card.
> 
> Works totally fine from my initial impressions. Sound works, USB works,
> plays full HD videos fine over DP, drives the 1440p display with no issues, 
> etc.
> 
> The only thing "wrong" is that I don't think Audio-over-HDMI works.
> 
> Hope this might help a bit,
> Danny
> 

Thank you very much for the test! I feel more comfortable now, will
probably get the B550 chipset motherboard and CPU like yours.

And if there are issues with sound as others mentioned, I can always
use an external USB card, have one somewhere I think.
Only need SPDIF output going to a receiver on my desk.

Thank you all for the replies!
--
Andre



Re: New desktop CPU/chipset recommendation

2021-09-21 Thread Stuart Henderson
On 2021-09-20, srfsh  wrote:
> Thomas Frohwein  wrote:
>> On Mon, Sep 20, 2021 at 02:56:31PM -0400, Andre Smagin wrote:
>> > Good day.
>> > 
>> > I am looking for a hardware advice.
>> > I don't upgrade my desktop very often - last one was about ten
>> > years ago (AMD FX-8350 CPU), which I recently made my home server
>> > running -current, no issues. Now I am looking for a new desktop that
>> > will last another ten years, hence the question: if I buy the latest
>> > available AMD chipset (X570 I think) and Ryzen 9 CPU - are there any
>> > current issues with using it for OpenBSD desktop? I would like to
>> > overkill it with the choice of hardware now, so I don't have to worry
>> > about it for a while.
>> 
>> If you need audio, that might be a barrier to recent AMD CPUs:
>> 
>> https://marc.info/?l=openbsd-bugs=161221378203609=2
>> https://marc.info/?l=openbsd-bugs=160112047222899=2
>> 
>> Earlier Ryzen CPUs worked after disabling MSI for azalia(4), but it
>> seems to not be a solution anymore with later models.
>> 
>> For desktop, Ryzen 2xxx CPUs seem to be the last ones without the audio
>> limitations. I ran a Ryzen 7-2700 for a while.
>> 
> As a side note, I learned that one can also use an external USB audio
> card to get audio working smoothly.

Or Creative BT-W2 / BT-W3 if you want Bluetooth audio.




Re: New desktop CPU/chipset recommendation

2021-09-20 Thread srfsh
Thomas Frohwein  wrote:
> On Mon, Sep 20, 2021 at 02:56:31PM -0400, Andre Smagin wrote:
> > Good day.
> > 
> > I am looking for a hardware advice.
> > I don't upgrade my desktop very often - last one was about ten
> > years ago (AMD FX-8350 CPU), which I recently made my home server
> > running -current, no issues. Now I am looking for a new desktop that
> > will last another ten years, hence the question: if I buy the latest
> > available AMD chipset (X570 I think) and Ryzen 9 CPU - are there any
> > current issues with using it for OpenBSD desktop? I would like to
> > overkill it with the choice of hardware now, so I don't have to worry
> > about it for a while.
> 
> If you need audio, that might be a barrier to recent AMD CPUs:
> 
> https://marc.info/?l=openbsd-bugs=161221378203609=2
> https://marc.info/?l=openbsd-bugs=160112047222899=2
> 
> Earlier Ryzen CPUs worked after disabling MSI for azalia(4), but it
> seems to not be a solution anymore with later models.
> 
> For desktop, Ryzen 2xxx CPUs seem to be the last ones without the audio
> limitations. I ran a Ryzen 7-2700 for a while.
> 
As a side note, I learned that one can also use an external USB audio
card to get audio working smoothly.

> If you plan to use GPU acceleration, amdgpu(4) still seems to run into
> poorly predictable "freezes" where the screen stops updating. I most
> recently experienced this a week or two ago on the Thinkpad X395. This
> is probably still an issue with dedicated GPUs, too. Using an AMD
> Radeon card type Northern Island or older would be the only solution I
> can think of, but that is > 10 year old hardware and doesn't support
> newer OpenGL or Vulkan.
> 
> These issues together are the reason why I personally ended up back on
> Intel hardware. If your goal of "overkill with choice of hardware now"
> includes using audio and GPU acceleration including newer APIs, a 10th
> or 11th gen Intel CPU may be the best option.
> 
> Of course, if you don't use audio and don't need GPU acceleration, then
> all these points are moot and you could just get the most powerful
> Ryzen 9 you can afford. (Note you may not get a lot of return on
> investment for core counts > 8.)
> > 
> > I am ten years out of touch with hardware development progress, so will
> > appreciate any input you may have.
> > 
> > --
> > Andre
> > 
> 



Re: New desktop CPU/chipset recommendation

2021-09-20 Thread Daniel Wilkins
On Mon, Sep 20, 2021 at 02:56:31PM -0400, Andre Smagin wrote:
> Good day.
>
> I am looking for a hardware advice.
> I don't upgrade my desktop very often - last one was about ten
> years ago (AMD FX-8350 CPU), which I recently made my home server
> running -current, no issues. Now I am looking for a new desktop that
> will last another ten years, hence the question: if I buy the latest
> available AMD chipset (X570 I think) and Ryzen 9 CPU - are there any
> current issues with using it for OpenBSD desktop? I would like to
> overkill it with the choice of hardware now, so I don't have to worry
> about it for a while.
>
> I am ten years out of touch with hardware development progress, so will
> appreciate any input you may have.
>
> --
> Andre
>
You got me curious, so I went ahead and installed OpenBSD on the desktop
I rebuilt this year.
I've got a Ryzen R9 3900X with an MSI MAG B550 TOMAHAWK for the motherboard,
and an R9 380 for the graphics card.

Works totally fine from my initial impressions. Sound works, USB works,
plays full HD videos fine over DP, drives the 1440p display with no issues, etc.

The only thing "wrong" is that I don't think Audio-over-HDMI works.

Hope this might help a bit,
Danny



Re: New desktop CPU/chipset recommendation

2021-09-20 Thread Thomas Frohwein
On Mon, Sep 20, 2021 at 02:56:31PM -0400, Andre Smagin wrote:
> Good day.
> 
> I am looking for a hardware advice.
> I don't upgrade my desktop very often - last one was about ten
> years ago (AMD FX-8350 CPU), which I recently made my home server
> running -current, no issues. Now I am looking for a new desktop that
> will last another ten years, hence the question: if I buy the latest
> available AMD chipset (X570 I think) and Ryzen 9 CPU - are there any
> current issues with using it for OpenBSD desktop? I would like to
> overkill it with the choice of hardware now, so I don't have to worry
> about it for a while.

If you need audio, that might be a barrier to recent AMD CPUs:

https://marc.info/?l=openbsd-bugs=161221378203609=2
https://marc.info/?l=openbsd-bugs=160112047222899=2

Earlier Ryzen CPUs worked after disabling MSI for azalia(4), but it
seems to not be a solution anymore with later models.

For desktop, Ryzen 2xxx CPUs seem to be the last ones without the audio
limitations. I ran a Ryzen 7-2700 for a while.

If you plan to use GPU acceleration, amdgpu(4) still seems to run into
poorly predictable "freezes" where the screen stops updating. I most
recently experienced this a week or two ago on the Thinkpad X395. This
is probably still an issue with dedicated GPUs, too. Using an AMD
Radeon card type Northern Island or older would be the only solution I
can think of, but that is > 10 year old hardware and doesn't support
newer OpenGL or Vulkan.

These issues together are the reason why I personally ended up back on
Intel hardware. If your goal of "overkill with choice of hardware now"
includes using audio and GPU acceleration including newer APIs, a 10th
or 11th gen Intel CPU may be the best option.

Of course, if you don't use audio and don't need GPU acceleration, then
all these points are moot and you could just get the most powerful
Ryzen 9 you can afford. (Note you may not get a lot of return on
investment for core counts > 8.)
> 
> I am ten years out of touch with hardware development progress, so will
> appreciate any input you may have.
> 
> --
> Andre
> 



New desktop CPU/chipset recommendation

2021-09-20 Thread Andre Smagin
Good day.

I am looking for a hardware advice.
I don't upgrade my desktop very often - last one was about ten
years ago (AMD FX-8350 CPU), which I recently made my home server
running -current, no issues. Now I am looking for a new desktop that
will last another ten years, hence the question: if I buy the latest
available AMD chipset (X570 I think) and Ryzen 9 CPU - are there any
current issues with using it for OpenBSD desktop? I would like to
overkill it with the choice of hardware now, so I don't have to worry
about it for a while.

I am ten years out of touch with hardware development progress, so will
appreciate any input you may have.

--
Andre