From owner-freebsd-stable@freebsd.org Thu Jan 31 17:10:29 2019 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4CC8D14B08F3 for ; Thu, 31 Jan 2019 17:10:29 +0000 (UTC) (envelope-from philnorm@gmail.com) Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C9CC397790 for ; Thu, 31 Jan 2019 17:10:27 +0000 (UTC) (envelope-from philnorm@gmail.com) Received: by mail-wr1-x433.google.com with SMTP id u4so4175293wrp.3 for ; Thu, 31 Jan 2019 09:10:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6/imCN7JHHPqh/5ytb/o7DA+pqLfgzWDc91eIrASLSQ=; b=W/iJGm80d8oO8zVcCVdztJuIq9QuYxW9bkxlNp54Di/lJDsm1lM4Z4EPqpqZaNq+Ej 5a6N6XLVr8AkgrJ/wyw8x1gYr/JHrv9yIpADkhprd1D2grmdI+W1qc+bndHguhI5WC8E 7gO80WrX48cIhsysKCaRkti7Btba9fqkACBhxL2t7KXxHbXytR39kIxBJ/vFxYoS+I5M vEatOQjfPxjfkIbfMpNVcYOu6mfMYZ6s/WyE13fNcfoauMTI0n1OQO5mn3YBYEnpEy8W 3w7y4MSrzpXS3KtvH2hPSvHQT29ub0+/vLCJj4VFvrhLNh0CEjvgW2RiN7zhpwJCCrXU YMqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6/imCN7JHHPqh/5ytb/o7DA+pqLfgzWDc91eIrASLSQ=; b=KRu61ACIIH3HEG/+gdUTU2VNg+E1DMcnTm4mnU+JlUmvBk5cXVCQFhhwkIfR/grVRr PLKChQc30w5w6uz0VonKP2yfBPnMW6Pe36Sf1L21eJ48imOKNGv258RCYGf7ZAZbMxjY ATWmCCZrW4g/TeDsNmyDqWjuxQBH5dNUp78MBfsZMVk7zJMjPjVqRg8N4z2224S3HQ0g 9dcYBjkgayydfq3TC8qUlKvp9N3W8VRdjxtVy0LQtoodlQiXKPOCfsJPVRsPZUHeqJhd kC5S40a8FOHdoBC9iAm5Fk1RaxV9hGB+tmDpeq+5DyIAEyoysZkMEoRIJEFubqhGz9Mz ZL6A== X-Gm-Message-State: AJcUukerkeKoDMDb5BnGY7YjJOmyxyTExQd9yrYcQCMC5ToB1rD+xrd6 BioA6Hz0DhiTsgTtPJlkLPLeuj7kSk0+G2+QmffPgg== X-Google-Smtp-Source: ALg8bN5wEgGLa3zpQs3ieEwqGSm1p9Jkl85WC3KAKXkt0NHgBB9NYuq5DZUBCPbEF+2npamaWoeu2p0v4fumQCECj50= X-Received: by 2002:adf:f4c2:: with SMTP id h2mr34369844wrp.21.1548954626573; Thu, 31 Jan 2019 09:10:26 -0800 (PST) MIME-Version: 1.0 References: <844971e0-1def-ce56-4c9c-369f3b0c6f3b@nomadlogic.org> <17f607b8-82bb-ba53-91c0-b347a2b72ec6@nomadlogic.org> In-Reply-To: <17f607b8-82bb-ba53-91c0-b347a2b72ec6@nomadlogic.org> From: Phil Norman Date: Thu, 31 Jan 2019 18:10:15 +0100 Message-ID: Subject: Re: X11 on Ryzen 2400G? To: Pete Wright Cc: freebsd-stable@freebsd.org X-Rspamd-Queue-Id: C9CC397790 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=W/iJGm80; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of philnorm@gmail.com designates 2a00:1450:4864:20::433 as permitted sender) smtp.mailfrom=philnorm@gmail.com X-Spamd-Result: default: False [-5.44 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.65)[-0.651,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-2.78)[ip: (-9.56), ipnet: 2a00:1450::/32(-2.29), asn: 15169(-1.97), country: US(-0.07)]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.3.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; SUBJECT_ENDS_QUESTION(1.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jan 2019 17:10:30 -0000 On Wed, 30 Jan 2019 at 22:24, Pete Wright wrote: > > > On 1/30/19 12:10 PM, Phil Norman wrote: > [snip] > >> - after you have configured the amdgpu.ko to load on boot verify it is >> able to load the kernel module and your console display looks good. if >> you have issues loading the kernel module let us know, there are some >> things you can try to setup to get a useful backtrace that will help us >> debug this. >> > > This is where I get to. I've removed amdgpu from /etc/rc.conf, so I don't > have to boot single-user mode; when I run kldload amdgpu, the following > happens: > > 1: the 'kldload amdgpu' process doesn't return immediately, yet the > terminal is responsive; I can hit return, and have the cursor move. The > mouse pointer also moves. > 2: something around 5s later, the screen turns off, the keyboard goes > unresponsive (caps lock light doesn't toggle), and the machine no longer > responds to pings. > > > interesting, it looks like the kernel module and firmware modules do > load. one thing you may want to test is setting the > "debug.debugger_on_panic=0" sysctl knob before loading the amdgpu.ko. > hopefully this will allow you to get into a debugger before the system > locks up. > I just tried 'sysctl debug.debugger_on_panic=0' from the command line - it printed out that it was being switched from 1 -> 0. Then tried kldload amdgpu, and unfortunately it behaved exactly the same as previously reported. So no debugger for me. Should I be reporting this in freebsd-x11? Or some other forum? I remember there being a somewhat heated discussion about the drm kernel module not always being 100% stable, back in the Summer I believe. I suppose one further question: is anyone else successfully using the in-built graphics from a Ryzen G chip with X11? And if so, any advice on versions of things, or flags to set? Thanks again for the advice. Phil