From owner-freebsd-questions@freebsd.org Sat Jan 5 00:09:12 2019 Return-Path: Delivered-To: freebsd-questions@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 99E23143F6FD for ; Sat, 5 Jan 2019 00:09:12 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out.migadu.com (out.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.migadu.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 50C068B012 for ; Sat, 5 Jan 2019 00:09:10 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Sat, 05 Jan 2019 00:09:09 +0000 Received: from [192.168.1.141] ([62.122.208.146]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id A43279DA-EAF3-4A5A-82D1-9BF93E0F7DB6.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Sat, 05 Jan 2019 00:09:09 +0000 Date: Sat, 05 Jan 2019 03:08:57 +0300 From: Greg V Subject: Re: AMDGPU RX580 OpenCL To: Tomasz CEDRO Cc: Steve O'Hara-Smith , reg@unrelenting.technology, freebsd-x11@freebsd.org, FreeBSD Questions Mailing List Message-Id: <1546646937.2475.3@smtp.migadu.com> In-Reply-To: References: <20190102070113.1e9781fc9ac1c37bba8f1800@sohara.org> X-Mailer: geary/0.12.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed DKIM-Signature: v=1; a=rsa-sha256; bh=yKcL3aQ7869OxZxzQMIOdwXTIM3zxFvaESdDUzjyUtc=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=eHMlSq4Q+pWcKARHZYLbHg0Bs5Cs2pV7cFKMe9MeyjFW0A1UJ8Hz/RgXpJ0mXdQqeuW/ux6mZwnrrj/ke44CqDW0paLFrRC+8Md+Uv+U8mignxDv96b5L6cSqWeQTpU8tCnVGon6YBlCGblU6FNu2rS1SIrYw4frF1kd4mP/syE= X-Rspamd-Queue-Id: 50C068B012 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=default header.b=eHMlSq4Q; dmarc=pass (policy=none) header.from=unrelenting.technology; spf=pass (mx1.freebsd.org: domain of greg@unrelenting.technology designates 91.121.223.63 as permitted sender) smtp.mailfrom=greg@unrelenting.technology X-Spamd-Result: default: False [-6.74 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[unrelenting.technology:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:91.121.223.63]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[unrelenting.technology:+]; MX_GOOD(-0.01)[cached: aspmx1.migadu.com]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; NEURAL_HAM_SHORT(-1.00)[-0.998,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.73)[ip: (-9.88), ipnet: 91.121.0.0/16(-4.21), asn: 16276(0.45), country: FR(-0.02)]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, country:FR]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jan 2019 00:09:12 -0000 On Sat, Jan 5, 2019 at 2:34 AM, Tomasz CEDRO wrote: > On Wed, Jan 2, 2019 at 8:01 AM Steve O'Hara-Smith wrote: >> Do you not get this in Xorg.0.log ? >> >> [ 45.939] (EE) AIGLX error: dlopen of >> /usr/local/lib/dri/amdgpu_dri.so >> failed (Cannot open "/usr/local/lib/dri/amdgpu_dri.so") >> >> If not what did you do to prevent it ? > > Hello Steve! I hope Greg's hints helped you out - its just matter of > installing graphics/amdgpu and proper dri kernel driver - I am > building/using latest ones from port tree. > > Btw - most of the time AMDGPU does not produce the usable workstation > setup - loading amdgpu from boot.loader does not work (cannot load > firmware because / is not yet mounted) and loading it from rc.conf > makes my screen unusable - this is why I am using SCFB for X11 for now > and just play with AMDGPU from shell (also using SSH).. If you're booting with UEFI, you should set hw.syscons.disable=1 in loader.conf. (And of course load from rc.conf, modern kms-drm drivers have never been loadable from the bootloader.) https://github.com/FreeBSDDesktop/DEPRECATED-freebsd-base-graphics/issues/170 It's very usable, I'm running a Wayland compositor (Weston), with VAAPI and Vulkan and whatnot :)