From owner-freebsd-x11@freebsd.org Sat Aug 3 15:50:29 2019 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 2E00DB42F4 for ; Sat, 3 Aug 2019 15:50:29 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4617ll67Dcz4Q59 for ; Sat, 3 Aug 2019 15:50:27 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id x73FoPva037816 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sat, 3 Aug 2019 15:50:25 GMT (envelope-from list1@gjunka.com) Subject: Re: FreeBSD xog on AMDGPU To: andrew glaeser , freebsd-x11@freebsd.org References: <20190803163939.673d4edd@a68n.lokal> From: Grzegorz Junka Message-ID: Date: Sat, 3 Aug 2019 15:50:25 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190803163939.673d4edd@a68n.lokal> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB-large X-Rspamd-Queue-Id: 4617ll67Dcz4Q59 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of list1@gjunka.com designates 88.98.225.149 as permitted sender) smtp.mailfrom=list1@gjunka.com X-Spamd-Result: default: False [-4.87 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:88.98.225.149:c]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[gjunka.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.96)[-0.957,0]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-3.61)[ip: (-9.46), ipnet: 88.98.192.0/18(-4.73), asn: 56478(-3.78), country: GB(-0.08)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:56478, ipnet:88.98.192.0/18, country:GB]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; 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: Sat, 03 Aug 2019 15:50:29 -0000 On 03/08/2019 14:39, andrew glaeser wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Since I have no experience with X on FreeBSD, I was surprised to find > > True-OS (based on FreeBSD13) installs and starts up without any graphics, in > > text-mode, but, well, at east I have ZFS root now with fbsd v 13, see > > attachments. > > I have looked at this first: > > https://www.freebsd.org/doc/handbook/x-config.html > > Then I found, that the AMDGPU driver is not included in xorg-drivers package, > but one has to compile it from the ports-tree, which was quick. > > Then, next I looked at this: > > https://wiki.freebsd.org/Graphics > > and found some more hints, but as you can see this is still not workable, > dmesg includes kms modesetting should work, but Xorg.0.log issues, that it > does not. > > What now ?? > > Strangely I see the mouse-pointer on the console, but startx always fails, I > > have copied the auto-generated configuration to /etc/X11/xorg.conf already, > > since I don't know if X runs only with user-privileges, and without any manual > > configuration, and X automatically always tries the ATI-driver first, which is > > also not included in the xorg-drivers package... > For AMD Gpu drivers please have a look here: https://freebsddesktop.github.io/2018/12/08/drm-kmod-primer.html This is a work in progress but the information given there will work with FreeBSD 12 & up. What's your aim? What are you trying to achieve? Is the aim to run TrueOS? Or FreeBSD 13? Or the current version 12? Why have you started with TrueOS? FreeBSD root on ZFS has been available for ages (9x if I recall correctly) GrzegorzJ