From owner-freebsd-x11@freebsd.org Fri May 25 16:03:39 2018 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 38F62EEB815 for ; Fri, 25 May 2018 16:03:39 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from hraggstad.unrelenting.technology (hraggstad.unrelenting.technology [71.19.146.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hraggstad.unrelenting.technology", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8E516875A2 for ; Fri, 25 May 2018 16:03:38 +0000 (UTC) (envelope-from greg@unrelenting.technology) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=unrelenting.technology; h=date:from:subject:to:message-id; s=default; bh=iXWpvwx+4JzDXOjlIMyeZ5paIesMfUSr7X/aP930CP0=; b=Bubm6ockj5h7ZQ81SyhoFoN0zcbpUNOlMGImAjnYtrrcGb/L6uo6pCNOLVqYNi6D8OK9cX8dZoUIMiE1SsZdGLNWToEebtOPAQvolFRYhwnaJZ7wLD1FrpgYerYobgJORpXFUyFhIcHqO0nWjaGE3Bh0hUzkT0Cy0Naqx9KBm44= Received: by hraggstad.unrelenting.technology (OpenSMTPD) with ESMTPSA id 8563edde TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Fri, 25 May 2018 15:56:53 +0000 (UTC) Date: Fri, 25 May 2018 18:56:48 +0300 From: Greg V Subject: Re: Radeon R2/R3/R4/R5 Graphics card fails: open /dev/dri/card0: No such file or directory To: Yuri Cc: freebsd-x11@freebsd.org Message-Id: <1527263808.69839.0@hraggstad.unrelenting.technology> In-Reply-To: <4fe27b64-9837-8ca6-1678-d140388db8a8@rawbw.com> References: <4fe27b64-9837-8ca6-1678-d140388db8a8@rawbw.com> X-Mailer: geary/0.12.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2018 16:03:39 -0000 On Fri, May 25, 2018 at 6:42 PM, Yuri wrote: > xf86-video-ati-7.9.0_1,1 is installed. > > Wiki also doesn't mention if this card is supported or not: > https://wiki.freebsd.org/Graphics > > > This card identifies as: > > # pciconf -lv | grep -A 4 vga > vgapci0@pci0:0:1:0: class=0x030000 card=0x39f917aa chip=0x98e41002 > rev=0xda hdr=0x00 > vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]' > device = 'Stoney [Radeon R2/R3/R4/R5 Graphics]' Hi, you need to install the drm-next-kmod package and load either the "radeonkms" or the "amdgpu" kernel module. (Stoney is GCN 1.2, should be supported by both I think.) The installation message will tell you how to set up loading the module at boot. Forget about xf86-video-ati, that's ancient stuff. You don't have to configure anything in xorg, it should use modesetting/glamor automatically. Note that if you use UEFI boot, you need to disable the EFI framebuffer (hw.syscons.disable=1) for now: https://github.com/FreeBSDDesktop/freebsd-base-graphics/issues/170 With that, you won't see the console before the module is loaded. You can use SSH to test loading the kernel module if it doesn't auto load.