From owner-freebsd-x11@freebsd.org Sat Sep 26 16:09:25 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 A343B422FB8 for ; Sat, 26 Sep 2020 16:09:25 +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 4BzDHm4Vztz3WYK for ; Sat, 26 Sep 2020 16:09:24 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 4BzDHc3sjgz3nDX; Sat, 26 Sep 2020 16:09:16 +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=1601136555; bh=394C7KWrbwk8m4XflaCcpcTy AWsRxVzd7HQTRd7Xj1U=; b=qs9PO/9USRpmTKafdz8v3/VEfUh2sE7wlExfw0ek 7ALWTM1oT4tYOmEb8GJDspkw0O/unp3MiCsiCsG047cDaCwznSO/yOk253q5icOb uOzzDUDgV7+QuV/v1pehk3j+XBKaHuPwdqWzo4lLQeBflXMkTWtsPcRYO+xI+7LO fNA= X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id SbH2dgVlUS76; Sat, 26 Sep 2020 16:09:15 +0000 (UTC) Received: from vivi.daemonic.se (vivi.daemonic.se [IPv6:2001:470:dca9:1200::4]) by mail.daemonic.se (Postfix) with ESMTPSA id 4BzDHb3rWtz3mQw; Sat, 26 Sep 2020 16:09:15 +0000 (UTC) Subject: Re: Ryzen3-3200G - graphics To: Vasilis Papadiamantopoulos , freebsd-x11@freebsd.org References: From: Niclas Zeising Message-ID: <10c49425-ac24-f418-c933-e8a9e0efac85@daemonic.se> Date: Sat, 26 Sep 2020 18:09:14 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.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: 4BzDHm4Vztz3WYK X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=daemonic.se header.s=20151023 header.b=qs9PO/9U; 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.94 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[daemonic.se:s=20151023]; FREEFALL_USER(0.00)[zeising]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-0.996]; 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.96)[-0.958]; NEURAL_HAM_MEDIUM(-0.99)[-0.990]; 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]; MAILMAN_DEST(0.00)[freebsd-x11] 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: Sat, 26 Sep 2020 16:09:25 -0000 On 2020-09-26 17:16, Vasilis Papadiamantopoulos wrote: > Hi all, > I hope yo are all doing well. >=20 > I recently built a system with MSI B450 PRO-VDH MAX with a Ryzen-3 3200= G with Radeon RX Vega 8 (picasso) [APU]. > I am running 12.1-RELEASE-p9 >=20 > I have to tell you that I am a FreeBSD newbie. > I used the handbook and wiki to set up my Xorg and dwm. >=20 > See below my installation steps: >=20 > # pkg install xorg > # pw groupmode video -m > # pkg install drm-kmod > # vi /etc/rc.conf > kld_list =3D =E2=80=9C/boot/modules/amdgpu.ko=E2=80=9D >=20 > % vi /usr/local/etc/X11/xorg.conf.d/xorg.conf > Section =E2=80=9CDevice=E2=80=9D > Identifier =E2=80=9CCard0=E2=80=9D > Driver =E2=80=9Cscfb=E2=80=9D * > EndSection >=20 > # pkg install dwm > # pkg install dbus > # vi /etc/rc.conf > dbus_enable =3D =E2=80=9CYES=E2=80=9D >=20 > % vi .xinitrc > # start dwm > exec dwm >=20 > NOTE: With this setting I am able to launch dwm, serf the web and play = youtube videos. > * I tried Driver =E2=80=9Camdgpu=E2=80=9D > The system gave me an ERROR UNSUPPORTED GPU. > I started up my system with FURYBSD and checked their settings. > This is how I found Driver =E2=80=9Cscfb=E2=80=9D and managed to have g= raphics. >=20 > Before buying the processor I read the forums and it seems that the 220= 0G is supported. > I assume that as the system doesn=E2=80=99t complain about the amdgpu.k= o at boot, after an update I will see my screen flickering while loading = the module. > Now nothing happens when it passes [drm] amdgpu kernel modesetting enab= led. >=20 > Am I doing something wrong? Is it just the chip not supported yet? > If this is the case is there anything that i can do to help with the de= velopment of this support? >=20 > Thank you for your time and effort. > What you do for building and maintaining this high quality software is = amazing. >=20 > Best, >=20 > Vasilis Papadiamantopoulos, PhD Hi! Can you provide the output from dmesg after you've loaded amdgpu.ko, as=20 well as Xorg.log from when X is failing, and `pciconf -lv | grep -A 4 vga= ` . I think you need to upgrade to FreeBSD 13-current to get support for=20 Ryzen-3 3200G, but I know more once you've provided the details I asked f= or. Regards --=20 Niclas