From owner-freebsd-x11@freebsd.org Fri Feb 16 17:15:36 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 B87F3F01234 for ; Fri, 16 Feb 2018 17:15:36 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from vps-mail.nomadlogic.org (mail.nomadlogic.org [IPv6:2607:f2f8:a098::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3828586AA0 for ; Fri, 16 Feb 2018 17:15:36 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [172.24.42.2] (ec2-34-214-251-129.us-west-2.compute.amazonaws.com [34.214.251.129]) by vps-mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 48431bec TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Fri, 16 Feb 2018 09:14:52 -0800 (PST) Subject: Re: Hardware assisted video decoding on Radeon KMS driver? To: ralph , freebsd-x11@freebsd.org References: <20180216001242.0ee00dc2@rebel> From: Pete Wright Message-ID: <036dbe8b-0366-9b28-076c-40c21645b313@nomadlogic.org> Date: Fri, 16 Feb 2018 09:15:27 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180216001242.0ee00dc2@rebel> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.25 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, 16 Feb 2018 17:15:36 -0000 On 02/15/2018 18:12, ralph wrote: > I have an AMD C-70 APU with a Radeon HD 7290 GPU, which seems to be a > 6290 clone with an UVD3 video decoding chip. It's been years and this > feature has yet to be implemented. Or is it supposed to work with the > KMS driver? Everything else seems to work perfectly for me (most of the > time, sometimes starting X just hangs and sometimes it's not > accelerated until I reboot). > > If it still hasn't been implemented, then why? Is anyone working on it? > Any hope for the near future? I'd love to help with whatever I can. I'm not %100 about that specific feature, but there is quite a bit of work happening with the drm-next-kmod port/pkg.  currently it only works on CURRENT systems, but it is pretty closely in sync with the Linux's Intel GPU support.  There is also work happening on the radeonGPU front in this package to bring it more closely in sync with what Linux already supports but we need more testers on that end so I can't speak specifically if it addresses the issue you are running into. so, if you are OK running CURRENT on your system you can simply install this package: $ sudo pkg install drm-next-kmod And after installing X and so forth this hopefully will just work. On my Intel systems I allow Xorg to autodetect its configuration which results in the "modesetting" graphics driver being used which has support for hardware acceleration. I know this doesn't answer your specific question but hopefully it's helpful. -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA