From owner-freebsd-x11@freebsd.org Tue Apr 23 10:13:35 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7CAA1159548A for ; Tue, 23 Apr 2019 10:13:35 +0000 (UTC) (envelope-from andreas@drewke.net) Received: from mailrelay3-3.pub.mailoutpod1-cph3.one.com (mailrelay3-3.pub.mailoutpod1-cph3.one.com [46.30.212.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B8ACC6AB6E for ; Tue, 23 Apr 2019 10:13:33 +0000 (UTC) (envelope-from andreas@drewke.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=drewke.net; s=20140924; h=content-transfer-encoding:content-type:in-reply-to:mime-version:date: message-id:references:to:from:subject:from; bh=M0bBk3JLPVQqAYLIpriqVZIubRchPr6tekrm6zk7Skw=; b=L8iBoAbL+hltZVUfsLhayKVziZohL+vzcFOB1QMtIbmCTvfj/d5/sYnlxRLp3PGLmZ+nWLu4yjVJs cZaPx2vqEo4I5vdw2oN3fzyP4OxF9FSPsy+SAzzBKxsR31kPvtmRXSFsS2Vo0RHsfNEAU/0Gzm5ldO xL1J+a+2z98pnnG4= X-HalOne-Cookie: b7d6e1130a70ab9bc3be1f08b71a31919ea019d8 X-HalOne-ID: 300ca7d3-65ae-11e9-9a3c-d0431ea8bb03 Received: from [IPv6:2001:16b8:48bb:ed00:7285:c2ff:fe43:64aa] (unknown [2001:16b8:48bb:ed00:7285:c2ff:fe43:64aa]) by mailrelay3.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id 300ca7d3-65ae-11e9-9a3c-d0431ea8bb03; Tue, 23 Apr 2019 09:57:22 +0000 (UTC) Subject: Re: Working AMD VEGA 56 based graphics card From: Andreas Drewke To: freebsd-x11@freebsd.org References: Message-ID: <7a6ae187-f16c-e2e3-f01b-b18e03420d81@drewke.net> Date: Tue, 23 Apr 2019 11:57:15 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: B8ACC6AB6E X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=drewke.net header.s=20140924 header.b=L8iBoAbL X-Spamd-Result: default: False [-1.60 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[drewke.net:s=20140924]; NEURAL_HAM_MEDIUM(-0.84)[-0.838,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.89)[-0.890,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[drewke.net]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(0.17)[0.167,0]; DKIM_TRACE(0.00)[drewke.net:+]; MX_GOOD(-0.01)[mx1.pub.mailpod3-cph3.one.com,mx2.pub.mailpod3-cph3.one.com,mx3.pub.mailpod3-cph3.one.com]; RCVD_IN_DNSWL_NONE(0.00)[12.212.30.46.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.28)[ipnet: 46.30.208.0/21(0.81), asn: 51468(0.60), country: DK(-0.03)]; ASN(0.00)[asn:51468, ipnet:46.30.208.0/21, country:DK]; 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: Tue, 23 Apr 2019 10:13:35 -0000 Hi, I had a first kind of error. In console where I started X I get the following message in a endless loop: "amdgpu: The CS has been cancelled because the context is lost.". This would leave X11 in a unusable state(no HID input, no graphics output). Killing X11 and restarting works. Many thanx and Best regards Andreas On 2019-04-23 11:36, Andreas Drewke wrote: > Hi, > > I am the author of a 3D engine and am currently working on a game > title. I use FreeBSD as main operating system for that. > > Please see here if interested: https://github.com/andreasdr/tdme2 > > I started with a NVIDIA 1060 graphics card using the binary driver > from NVIDIA. This worked great but did not include a working vulkan API. > > So I bought a AMD VEGA 56 based graphics card for that. A nice side > effect is that I can use now a open source graphics driver (amdgpu). > > I can confirm that hardware accelerated OpenGL and Vulkan does work > with FreeBSD using AMDGPU. (My Vulkan renderer is not complete yet, > but shows content as expected in comparision to NVIDIA on XUbuntu) > > Please see attached the required text files. > > I am writing this because I was hinted to do so in #freebsd IRC > channel. If you want me to do some further tests just tell me. > > Best regards > Andreas > > Please see attached configuration and log files and > such:https://pastebin.com/pBmSwQBW > > _______________________________________________ > freebsd-x11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org"