From owner-freebsd-x11@freebsd.org Thu Jul 23 09:00:57 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8002A377471 for ; Thu, 23 Jul 2020 09:00:57 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2607:f740:d:20::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BC5sN5YKjz4Hft for ; Thu, 23 Jul 2020 09:00:56 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 4BC5sM5KWpz3mmM; Thu, 23 Jul 2020 09:00:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=daemonic.se; h= content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject:received :received; s=20151023; t=1595494855; bh=gcFBsuNoS0zOKjZ+D68Xpp0f JtxI8uCCz962sZsh/AE=; b=R9L2MATkb39ngUvog8Mx8OEgZbFC/rCKv694kPnG 2Plld1P9QHVQoBHbD7HjsQ7fJ4HuPtBsaqtfqeDAxFFbYF3sJ3vgl2CBoq+JPdae xSTGtr6sAU4PDjAxixMo86KjqwYUrp3YLX8ROLHUL8SHIk41ItAJ68CozzICkIor GVQ= X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([127.0.0.1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [127.0.0.1]) (amavisd-new, port 10587) with ESMTPS id v4mbFwJQlIA6; Thu, 23 Jul 2020 09:00:55 +0000 (UTC) Received: from garnet.daemonic.se (host-95-196-190-163.mobileonline.telia.com [95.196.190.163]) by mail.daemonic.se (Postfix) with ESMTPSA id 4BC5sM0DV7z3lbm; Thu, 23 Jul 2020 09:00:54 +0000 (UTC) Subject: Re: amdgpu on Ryzen 4700 w. Vega10 Renoir Graphics To: Michael Schuster Cc: freebsd-x11@freebsd.org References: <9980e1d7-00c3-5d29-3a9c-a358949fee55@daemonic.se> <22de2d99-fd52-0925-6fda-8f7358e61954@daemonic.se> <288f025b-fba7-cb77-00a7-d9ecf0b2be7c@daemonic.se> <990a6469-dc05-588b-b780-838881fee07a@daemonic.se> From: Niclas Zeising Message-ID: Date: Thu, 23 Jul 2020 11:00:54 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4BC5sN5YKjz4Hft X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=daemonic.se header.s=20151023 header.b=R9L2MATk; dmarc=pass (policy=none) header.from=daemonic.se; spf=pass (mx1.freebsd.org: domain of zeising@daemonic.se designates 2607:f740:d:20::25 as permitted sender) smtp.mailfrom=zeising@daemonic.se X-Spamd-Result: default: False [-3.76 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[daemonic.se:s=20151023]; NEURAL_HAM_MEDIUM(-0.99)[-0.992]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[daemonic.se:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[daemonic.se,none]; NEURAL_HAM_SHORT(-0.77)[-0.768]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:36236, ipnet:2607:f740:d::/48, country:US]; TAGGED_FROM(0.00)[freebsd]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[95.196.190.163:received] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2020 09:00:57 -0000 On 2020-07-23 10:53, Michael Schuster wrote: >=20 >=20 > On Thu, Jul 23, 2020 at 10:51 AM Niclas Zeising=20 > > wr= ote: >=20 > On 2020-07-23 09:43, Michael Schuster wrote: > > > > > > On Fri, Jul 17, 2020 at 8:54 AM Michael Schuster > > > >> wrote: > > > > > > > >=C2=A0 =C2=A0 =C2=A0On Fri, Jul 17, 2020 at 8:35 AM Michael Schus= ter > >=C2=A0 =C2=A0 =C2=A0 > >> wrote: > > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0good morning, > > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0On Thu, Jul 16, 2020 at 8:50 PM= Michael Schuster > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 >> > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0wrote: > > > > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0more - I'm hoping for your guidance :-) > > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0It = would be interesting to see why make install in > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0drm= -devel-kmod failed > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0and= you had to copy the modules yourself. > > > > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0I've already turn= ed off the laptop for the day. If > you like, > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0I'll re-build it = with "script" as soon as I get round > to it, > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0so I don't have t= o guess. > > > > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0after 'make clean deinstall', '= make install' succeeded (I > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0verified the dates on /boot/mod= ules/*ko). I probably had it > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0coming ;-) > > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0anyway, X still doesn't start ;= -( > > > > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0From the output you've pasted, it looks like > amdgpu.ko > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0did= n't load and > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0att= ach properly to the hardware.=C2=A0 What does dmesg say > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0whe= n you load the > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0mod= ule? > > > > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0I'll supply that = too with the make output. > > > > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0this is all I can find related = either to drm or amdgpu: > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[drm] amdgpu kernel mode= setting enabled. > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0are we looking for some specifi= c pattern? > > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Xorg.0.log looks much the same = a I posted last night. > > > > > > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0thx! > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Michael > > > > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Hav= e you done any xorg configuration? > > > > > >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0No. > > > > > >=C2=A0 =C2=A0 =C2=A0actually, I probably=C2=A0need to correct tha= t=C2=A0statement: I didn't do > >=C2=A0 =C2=A0 =C2=A0anything by hand; I *did* run mkdesktop thoug= h right after > installation. > > > > > > While reading Manish's email on mkdesktop, this occurred to me: = do I > > need any of the linux-compatibility packages/kmods/... ? I > declined to > > install either Wine or Linuxulator, was that a mistake? > > ISTR that I have some linux-related items in the kld_list on a > different > > laptop running GhostBSD, but since these two machines are roughl= y 15 > > years apart, age-wise, I hesitate to draw conclusions ... :-) >=20 > Hi! > Apologies if I've missed any e-mails or been slow to answer. > The Linux compat layer, also calle dthe linuxolator or similar, is = only > needed if you want to run Linux binaries on your FreeBSD system.=C2= =A0 It is > different from the Linux KPI that the graphics drivers use. > Likewise, wine is only needed if you want to run Windows > applications in it. >=20 >=20 > no worries ;-) - thx. > so I guess I need the linux KPI Modules - do they have to be put in the= =20 > kld_list in /etc/rc.conf explicitly, or are they somehow implicit? >=20 They are loaded implicitly by the graphics drivers. Regards --=20 Niclas