From nobody Sat Aug 7 15:43:43 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E268E10F8CEE for ; Sat, 7 Aug 2021 15:43:53 +0000 (UTC) (envelope-from nc@FreeBSD.org) Received: from rainpuddle.neelc.org (locks.neelc.org [IPv6:2602:fed2:7106:25ff::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ghmpx4MkQz3rBq for ; Sat, 7 Aug 2021 15:43:53 +0000 (UTC) (envelope-from nc@FreeBSD.org) Received: from mail.neelc.org (locks.neelc.org [IPv6:2602:fed2:7106:25ff::1]) by rainpuddle.neelc.org (Postfix) with ESMTPSA id 1CE6D8924B; Sat, 7 Aug 2021 08:43:45 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Date: Sat, 07 Aug 2021 11:43:43 -0400 From: Neel Chauhan To: Hans Petter Selasky Cc: freebsd-current Subject: Re: AMD Ryzen 5 3400G with Radeon Vega Graphics In-Reply-To: References: User-Agent: Roundcube Webmail/1.4.11 Message-ID: <9abc7d238b4c9898fdc56c0d97197f3e@FreeBSD.org> X-Sender: nc@FreeBSD.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Ghmpx4MkQz3rBq X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; ASN(0.00)[asn:23470, ipnet:2602:fed2:7106::/48, country:US] X-ThisMailContainsUnwantedMimeParts: N On 2021-08-05 09:42, Hans Petter Selasky wrote: > Hi, > > I was lucky to get the hands on a mini-ITX containing a > "AMD Ryzen 5 3400G with Radeon Vega Graphics". > > FreeBSD-13 installed just fine and 4K HDMI output works too with > AMDGPU. However I noticed some problems with a webcamd DVB-T receiver, > that it had lots of dropouts I couldn't understand. When I looked > closer at this it turns out that something was blocking the threads > for longer amounts of time, up to 100 ms at random. After some > debugging I eventually found: > > sysctl machdep.idle > > machdep.idle: acpi > machdep.idle_available: spin, mwait, hlt, acpi > > And when I set it to: > > sysctl machdep.idle=spin > > The problems I saw vanished. > > Anyone else having such experiences with Ryzen? I have an Ryzen 5800X-based HP Omen 30L desktop, and don't have any issues, but the Omen has a Nvidia GPU and not a Radeon. I don't do live TV at all, haven't done so in a while. Two other PCs I had, both with Ryzen 3700Xs, my former Omen Obelisk and a homebuilt ASRockRack X470D4U server had no issues either. The server obviously doesn't have a GPU but both the 30L and Obelisk could play Toontown Rewritten under Wine without a hitch. I don't know which brand of PC or motherboard you have, but HP and ASRockRack both have no issues whatsoever. Not sure about regular ASRock (or HPE) though. Intel TigerLake/"Evo" was way more buggy for me than Ryzen ever was (not just drm-kmod). I ended up selling my TGL laptop and am in fact getting an Ryzen-based laptop to replace it. > --HPS -Neel (nc@)