From owner-freebsd-stable@freebsd.org Wed Sep 12 18:13:55 2018 Return-Path: Delivered-To: freebsd-stable@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 1169D1099A79 for ; Wed, 12 Sep 2018 18:13:55 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [140.82.23.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.nomadlogic.org", Issuer "mail.nomadlogic.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 86E268CD65 for ; Wed, 12 Sep 2018 18:13:54 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.203] (cpe-76-175-75-27.socal.res.rr.com [76.175.75.27]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id a9f2f18e TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Wed, 12 Sep 2018 11:13:52 -0700 (PDT) Subject: Re: Using drm-next in 11.2 To: Pete French , freebsd-stable@freebsd.org References: <4e71d1a8-ff74-c1c0-9369-826b2a054802@ingresso.co.uk> <039a719c-8706-fb76-8866-662379430683@nomadlogic.org> From: Pete Wright Message-ID: Date: Wed, 12 Sep 2018 11:13:51 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Sep 2018 18:13:55 -0000 On 9/12/18 1:49 AM, Pete French wrote: >> can you post your dmesg output from when you've set >> kld_list="/boot/modules/amdgpu.ko"?  also, please verify that your >> user is in the "video" group.  but from what you've described it >> sounds like a conflict is popping up between the base amdgpu.ko and >> the one available in the ports tree. >> >> also, please ensure you are booting in "classic" BIOS mode and not >> UEFI, IIRC there are some issues surrounding amdgpu with UEFI - i >> don't have that hardware tho so can't elaborate. > > Hi,thanks for the reply - am not in front of the machine today so I > cant really test unfortunately, but will get you the information > as soon as I can. The user is indeed in the 'video' group and > the machine is booting using normal BIOS not UEFI though, so all > things are "as the should be" regarding setup I think. > > What drivers should I be using in Xorg for this by the way ? Thats > something I cant seem to find anywhere. 'amdgpu' sonds like the right > one possibly ? I believe your best bet is to let Xorg probe your devices automatically - i.e. don't have an xorg.conf in place when starting X. On my end this will result in the "modesetting" driver being used, which is the suggested driver to use for intel and i believe amdgpu systems.  it provides full acceleration, and is under active development upstream.  it should also be part of the xorg-server pkg, so you don't need to install any additional video drivers to use the modesetting driver. cheers, -p -- Pete Wright pete@nomadlogic.org @nomadlogicLA