From owner-freebsd-x11@freebsd.org Sun Sep 27 22:22:50 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 864EC373FAC for ; Sun, 27 Sep 2020 22:22:50 +0000 (UTC) (envelope-from vp@varchs.com) Received: from srv.inconcept.gr (srv.inconcept.gr [77.235.58.202]) (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 4C00X86S2yz4VRb for ; Sun, 27 Sep 2020 22:22:48 +0000 (UTC) (envelope-from vp@varchs.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=varchs.com; s=default; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date: In-Reply-To:From:Subject:Mime-Version:Content-Type:Sender:Reply-To:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe :List-Post:List-Owner:List-Archive; bh=ATvCv+R4Dsqn+xNZ1qCoS0QGEovhVoL90L1anlY7DHU=; b=ZfS6fw7I39xpiZ1Cg/ur8bMtSV 3qG0TEkgshm38N55QNg5mv1/qr2csjsyugpmV90gQmMEpaZ7YPKq1pKCwP+F78ddkegdP5WfSPw8w I1OtIbmImNt9ki6SneH9xrNm37jrfHA7kHCEIOnsoj1lrDuZmlxcO0Q/4Y41Nd06vMTs=; Received: from dhcp-108-170-134-252.cable.user.start.ca ([108.170.134.252]:53076 helo=[192.168.50.212]) by srv.inconcept.gr with esmtpsa (TLS1) tls TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (Exim 4.93) (envelope-from ) id 1kMf44-0003IQ-VZ; Mon, 28 Sep 2020 01:22:41 +0300 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Ryzen3-3200G - graphics From: Vasilis Papadiamantopoulos In-Reply-To: <20200927094557.GA19345@server.rulingia.com> Date: Sun, 27 Sep 2020 18:22:39 -0400 Cc: freebsd-x11@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <33A29A7C-20AA-422E-ABC5-C8C04373B921@varchs.com> References: <20200927094557.GA19345@server.rulingia.com> To: Peter Jeremy X-Mailer: Apple Mail (2.3124) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - srv.inconcept.gr X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - varchs.com X-Get-Message-Sender-Via: srv.inconcept.gr: authenticated_id: vp@varchs.com X-Authenticated-Sender: srv.inconcept.gr: vp@varchs.com X-Source: X-Source-Args: X-Source-Dir: X-Rspamd-Queue-Id: 4C00X86S2yz4VRb X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=varchs.com header.s=default header.b=ZfS6fw7I; dmarc=none; spf=pass (mx1.freebsd.org: domain of vp@varchs.com designates 77.235.58.202 as permitted sender) smtp.mailfrom=vp@varchs.com X-Spamd-Result: default: False [6.69 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GREYLIST(0.00)[pass,meta]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_X_SOURCE(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:77.235.58.202]; DKIM_TRACE(0.00)[varchs.com:+]; RCPT_COUNT_TWO(0.00)[2]; HAS_X_ANTIABUSE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:60781, ipnet:77.235.32.0/19, country:NL]; MID_RHS_MATCH_FROM(0.00)[]; HAS_X_AS(0.00)[vp@varchs.com]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[108.170.134.252:received]; R_DKIM_ALLOW(0.00)[varchs.com:s=default]; NEURAL_HAM_MEDIUM(-0.76)[-0.760]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.0:email]; NEURAL_SPAM_SHORT(1.16)[1.159]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[varchs.com]; BAD_REP_POLICIES(0.10)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DBL_PROHIBIT(0.00)[0.0.0.0:email]; NEURAL_SPAM_LONG(0.79)[0.794]; HAS_X_GMSV(0.00)[vp@varchs.com]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-x11] X-Spam: Yes 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: Sun, 27 Sep 2020 22:22:50 -0000 Hi Peter, thank you so much for your time and effort. > On Sep 27, 2020, at 5:45 AM, Peter Jeremy wrote: >=20 > On 2020-Sep-26 11:16:57 -0400, Vasilis Papadiamantopoulos = wrote: >> I recently built a system with MSI B450 PRO-VDH MAX with a Ryzen-3 = 3200G with Radeon RX Vega 8 (picasso) [APU]. >> I am running 12.1-RELEASE-p9 >=20 > I've just finished setting up a laptop with a Ryzen 7-3700U (RX Vego = 10) > and it's working (though I'm running 13-current and drm-current-kmod). > Possibly you need to use drm-devel-kmod, rather than drm-kmod. Following your message I tried # pkg install drm-devel-kmod but pkg: No package available to install matching 'drm-devel-kmod' have been = found in the repositories So I left drm-kmod=E2=80=A6 (drm-kmod-g20190719) There is one other package called drm-fbsd12.0-kmod-4.16.g20200221 Shall = I try this one? It is newer... >> % vi /usr/local/etc/X11/xorg.conf.d/xorg.conf >=20 > This should be unnecessary. I suggest you delete the xorg.conf. I deleted xorg.conf See Xorg.0.log for the EE after startx >> * I tried Driver =E2=80=9Camdgpu=E2=80=9D >=20 > By default, xorg doesn't include the amdgpu driver. Since you are > loading the amdgpu kernel module, you should have KMS enabled and > xorg should default to using the xorg modesetting driver. >=20 >> The system gave me an ERROR UNSUPPORTED GPU. >=20 > I don't see this message anywhere in the followup you posted. I do = see > "Warning, couldn't open module amdgpu" - which is what I'd expect. >=20 >> I assume that as the system doesn=E2=80=99t complain about the = amdgpu.ko 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 = enabled. >=20 > That [drm] line is expected and should be followed by another ~100 = lines > of drm-related output. This information will be in the output from = the > "dmesg" command as well as on the console. >=20 > What do you mean by "nothing happens=E2=80=9D? As you said, nothing appears under this line. And there is no flickering in my screen as I expected. > If X still doesn't work after you delete xorg.conf, could you please > post your Xorg.0.log and the dmesg output starting with the line: > [drm] amdgpu kernel modesetting enabled. > Xorg.0.log " " =E2=80=9C [ 207.403]=20 X.Org X Server 1.20.8 X Protocol Version 11, Revision 0 [ 207.403] Build Operating System: FreeBSD 12.1-RELEASE-p8 amd64=20 [ 207.403] Current Operating System: FreeBSD rainbow.mydomain.com = 12.1-RELEASE-p9 FreeBSD 12.1-RELEASE-p9 GENERIC amd64 [ 207.403] Build Date: 30 August 2020 05:54:13AM [ 207.403] =20 [ 207.403] Current version of pixman: 0.40.0 [ 207.403] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 207.403] Markers: (--) probed, (**) from config file, (=3D=3D) = default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 207.403] (=3D=3D) Log file: "/var/log/Xorg.0.log", Time: Sun Sep 27 = 17:57:35 2020 [ 207.404] (=3D=3D) Using system config directory = "/usr/local/share/X11/xorg.conf.d" [ 207.405] (=3D=3D) No Layout section. Using the first Screen = section. [ 207.405] (=3D=3D) No screen section available. Using defaults. [ 207.405] (**) |-->Screen "Default Screen Section" (0) [ 207.405] (**) | |-->Monitor "" [ 207.405] (=3D=3D) No monitor specified for screen "Default Screen = Section". Using a default monitor configuration. [ 207.405] (=3D=3D) Automatically adding devices [ 207.405] (=3D=3D) Automatically enabling devices [ 207.405] (=3D=3D) Not automatically adding GPU devices [ 207.405] (=3D=3D) Max clients allowed: 256, resource mask: 0x1fffff [ 207.408] (=3D=3D) FontPath set to: /usr/local/share/fonts/misc/, /usr/local/share/fonts/TTF/, /usr/local/share/fonts/OTF/, /usr/local/share/fonts/Type1/, /usr/local/share/fonts/100dpi/, /usr/local/share/fonts/75dpi/, catalogue:/usr/local/etc/X11/fontpath.d [ 207.408] (=3D=3D) ModulePath set to "/usr/local/lib/xorg/modules" [ 207.408] (II) The server relies on udev to provide the list of input = devices. If no devices become available, reconfigure udev or disable = AutoAddDevices. [ 207.408] (II) Loader magic: 0x42e020 [ 207.408] (II) Module ABI versions: [ 207.408] X.Org ANSI C Emulation: 0.4 [ 207.408] X.Org Video Driver: 24.1 [ 207.408] X.Org XInput driver : 24.1 [ 207.408] X.Org Server Extension : 10.0 [ 207.408] (--) PCI:*(41@0:0:0) 1002:15d8:1462:7a38 rev 201, Mem @ = 0xe0000000/268435456, 0xf0000000/2097152, 0xfcc00000/524288, I/O @ = 0x0000e000/256, BIOS @ 0x????????/65536 [ 207.408] (II) LoadModule: "glx" [ 207.408] (II) Loading = /usr/local/lib/xorg/modules/extensions/libglx.so [ 207.416] (II) Module glx: vendor=3D"X.Org Foundation" [ 207.416] compiled for 1.20.8, module version =3D 1.0.0 [ 207.416] ABI class: X.Org Server Extension, version 10.0 [ 207.416] (=3D=3D) Matched ati as autoconfigured driver 0 [ 207.416] (=3D=3D) Matched modesetting as autoconfigured driver 1 [ 207.416] (=3D=3D) Matched scfb as autoconfigured driver 2 [ 207.416] (=3D=3D) Matched vesa as autoconfigured driver 3 [ 207.416] (=3D=3D) Assigned the driver to the xf86ConfigLayout [ 207.416] (II) LoadModule: "ati" [ 207.416] (WW) Warning, couldn't open module ati [ 207.416] (EE) Failed to load module "ati" (module does not exist, 0) [ 207.416] (II) LoadModule: "modesetting" [ 207.416] (II) Loading = /usr/local/lib/xorg/modules/drivers/modesetting_drv.so [ 207.417] (II) Module modesetting: vendor=3D"X.Org Foundation" [ 207.417] compiled for 1.20.8, module version =3D 1.20.8 [ 207.417] Module class: X.Org Video Driver [ 207.417] ABI class: X.Org Video Driver, version 24.1 [ 207.417] (II) LoadModule: "scfb" [ 207.417] (II) Loading = /usr/local/lib/xorg/modules/drivers/scfb_drv.so [ 207.417] (II) Module scfb: vendor=3D"X.Org Foundation" [ 207.417] compiled for 1.20.8, module version =3D 0.0.5 [ 207.417] ABI class: X.Org Video Driver, version 24.1 [ 207.417] (II) LoadModule: "vesa" [ 207.417] (II) Loading = /usr/local/lib/xorg/modules/drivers/vesa_drv.so [ 207.418] (II) Module vesa: vendor=3D"X.Org Foundation" [ 207.418] compiled for 1.20.8, module version =3D 2.4.0 [ 207.418] Module class: X.Org Video Driver [ 207.418] ABI class: X.Org Video Driver, version 24.1 [ 207.418] (II) modesetting: Driver for Modesetting Kernel Drivers: = kms [ 207.418] (II) scfb: driver for wsdisplay framebuffer: scfb [ 207.418] (II) VESA: driver for VESA chipsets: vesa [ 207.418] (--) Using syscons driver with X support (version 2.0) [ 207.418] (--) using VT number 9 [ 207.418] (EE) open /dev/dri/card0: No such file or directory [ 207.418] (WW) Falling back to old probe method for modesetting [ 207.418] (EE) open /dev/dri/card0: No such file or directory [ 207.418] (WW) Falling back to old probe method for scfb [ 207.418] scfb trace: probe start [ 207.418] (II) scfb(1): using default device [ 207.418] scfb trace: probe done [ 207.418] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card = support [ 207.418] (EE) Screen 0 deleted because of no matching config = section. [ 207.418] (II) UnloadModule: "modesetting" [ 207.418] (EE)=20 Fatal server error: [ 207.418] (EE) Cannot run in framebuffer mode. Please specify busIDs = for all framebuffer devices [ 207.418] (EE)=20 [ 207.418] (EE)=20 Please consult the The X.Org Foundation support=20 at http://wiki.x.org for help.=20 [ 207.418] (EE) Please also check the log file at = "/var/log/Xorg.0.log" for additional information. [ 207.418] (EE)=20 [ 207.418] (EE) Server terminated with error (1). Closing log file. " =E2=80=9C " > dmesg " " =E2=80=9C [drm] amdgpu kernel modesetting enabled. lo0: link state changed to UP re0: link state changed to DOWN re0: link state changed to UP intsmb0: at device 20.0 on pci0 smbus0: on intsmb0 ums0 on uhub3 ums0: on usbus0 ums0: 4 buttons and [XYZW] coordinates ID=3D0 uhid0 on uhub3 uhid0: on usbus0 " =E2=80=9C =E2=80=9C Thank you again for your help. Best, Vasilis Papadiamantopoulos, PhD=