From owner-freebsd-x11@freebsd.org Thu Jan 23 23:39:23 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 3CB7D228C31 for ; Thu, 23 Jan 2020 23:39:23 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 483dyy4QB8z4FZy for ; Thu, 23 Jan 2020 23:39:22 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: by mailman.nyi.freebsd.org (Postfix) id 95CC0228C2D; Thu, 23 Jan 2020 23:39:22 +0000 (UTC) Delivered-To: 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 95926228C2C for ; Thu, 23 Jan 2020 23:39:22 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (ns1.bitblocks.com [173.228.5.8]) by mx1.freebsd.org (Postfix) with ESMTP id 483dyx4QJrz4FZw; Thu, 23 Jan 2020 23:39:21 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 1092E156E448; Thu, 23 Jan 2020 15:38:51 -0800 (PST) To: Greg V cc: x11@freebsd.org, zeising@FreeBSD.org, jmd@freebsd.org Subject: Re: support for the Picasso APU in amdgpu In-reply-to: Your message of "Thu, 23 Jan 2020 11:23:00 +0000." <4a80ff67-71cd-469c-ad42-3058f4aa9e4b@localhost> References: <20200123025813.129F9156E448@mail.bitblocks.com> <4a80ff67-71cd-469c-ad42-3058f4aa9e4b@localhost> Comments: In-reply-to Greg V message dated "Thu, 23 Jan 2020 11:23:00 +0000." From: Bakul Shah MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <57793.1579822731.1@bitblocks.com> Content-Transfer-Encoding: quoted-printable Date: Thu, 23 Jan 2020 15:38:51 -0800 Message-Id: <20200123233859.1092E156E448@mail.bitblocks.com> X-Rspamd-Queue-Id: 483dyx4QJrz4FZw X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bakul@bitblocks.com designates 173.228.5.8 as permitted sender) smtp.mailfrom=bakul@bitblocks.com X-Spamd-Result: default: False [-4.18 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:173.228.5.8/29]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bitblocks.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-1.98)[ip: (-6.21), ipnet: 173.228.0.0/20(-3.10), asn: 46375(-0.53), country: US(-0.05)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:46375, ipnet:173.228.0.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 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 Jan 2020 23:39:23 -0000 On Thu, 23 Jan 2020 11:23:00 +0000 Greg V wr= ote: Greg V writes: > = > > > Jan 23, 2020 5:58:29 AM Bakul Shah : > > > On the wiki.freebsd.org/Graphics I see that updating drm-devel > > to 4.20 is 20% complete but I suspect this page is outdated! > > Looking at drm-deel-kmod/Makefile it seems it is based on > > linux 5.0? Ideally I don't want to upgrade to -current. > > > > Any advice? > > Use -current. Always use -current, especially on desktops. Thnks all. With -current and drm-devel-kmod I see /dev/dri but Xorg still fails. Details below. I haven't touched the FreeBSD kernel in a while but I may be able to help with the missing pieces. [Though I suspect there are other problems as to why Xorg fails] Xorg.0.log: ... [ 1837.611] (EE) open /dev/dri/card0: Operation not supported by de= vice [ 1837.611] (WW) Falling back to old probe method for modesetting [ 1837.612] (EE) open /dev/dri/card0: Operation not supported by de= vice [ 1837.612] (WW) Falling back to old probe method for scfb [ 1837.612] scfb trace: probe start [ 1837.612] (II) scfb(1): using default device [ 1837.612] scfb trace: probe done [ 1837.612] (WW) VGA arbiter: cannot open kernel arbiter, no multi-= card support [ 1837.612] (EE) Screen 0 deleted because of no matching config sec= tion. [ 1837.612] (II) UnloadModule: "modesetting" [ 1837.612] (EE) Fatal server error: [ 1837.612] (EE) Cannot run in framebuffer mode. Please specify bus= IDs for all framebuffer devices /dev/dri/card0 does exist. dmesg reveals messages like ... i_size_write not implemented -- see your local kernel hacker ... get_nr_swap_pages not implemented -- see your local kernel hacker ... sched_setscheduler not implemented -- see your local kernel hacker ... pm_runtime_mark_last_busy not implemented -- see your local kernel hac= ker drmn0: [drm:*ERROR* ] amdgpu_ring_test_helper[drm ERROR :gfx_v9_0_kiq_= kcq_enable] KCQ enable failed [drm ERROR :amdgpu_device_ip_hw_init_phase2] hw_init of IP block failed -60 drmn0: amdgpu_device_ip_init failed drmn0: Fatal error during GPU init unregister_acpi_notifier not implemented -- see your local kernel hack= er [drm] amdgpu: finishing device. Memory manager not clean during takedown. I am not sure why inode size is being written (may be something to do with sysfs in linux?). =