From owner-freebsd-stable@freebsd.org Wed Aug 1 13:46:16 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 A651E105CC2D for ; Wed, 1 Aug 2018 13:46:16 +0000 (UTC) (envelope-from clmoonriver@equinedreams.art) Received: from NEW-01.privateemail.com (new-01.privateemail.com [68.65.122.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "privateemail.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45C7774ABA for ; Wed, 1 Aug 2018 13:46:15 +0000 (UTC) (envelope-from clmoonriver@equinedreams.art) Received: from MTA-07.privateemail.com (unknown [10.20.147.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by NEW-01.privateemail.com (Postfix) with ESMTPS id DD1CF60A2C; Wed, 1 Aug 2018 13:46:06 +0000 (UTC) Received: from MTA-07.privateemail.com (localhost [127.0.0.1]) by MTA-07.privateemail.com (Postfix) with ESMTP id B8DF86006F; Wed, 1 Aug 2018 09:46:06 -0400 (EDT) Received: from wildfire.equinedreams.art (unknown [10.20.151.237]) by MTA-07.privateemail.com (Postfix) with ESMTPA id 644C860054; Wed, 1 Aug 2018 13:46:06 +0000 (UTC) Subject: Re: X11 not working on 11-STABLE with AMDGPU To: freebsd-stable@freebsd.org, pkubaj@anongoth.pl References: <20180801092849.GA75303@KGPE-D16> From: CL Moonriver Message-ID: <95b8cfa0-0908-3321-5155-ef49b1bb0a64@equinedreams.art> Date: Wed, 1 Aug 2018 08:46:05 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20180801092849.GA75303@KGPE-D16> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Virus-Scanned: ClamAV using ClamSMTP 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, 01 Aug 2018 13:46:16 -0000 Hi, I had some trouble getting X to work with my AMD GPU, but I finally did get it working. Here is what ultimately worked for me: * Make sure you are loading the driver in /etc/rc.conf, not in /boot/loader.conf. The driver won't work if loaded from loader.conf * Depending on how old your AMD GPU is, you might need the radeon driver instead of the amdgpu driver. When the amdgpu driver didn't work for me, I tried radeonkms.ko and it does work. * You shouldn't need an xorg.conf fileĀ  or anything in xorg.conf.d at all. Everything should just work if you load the correct kernel module. In fact, if you have xorg configuration files that are trying to load display drivers or screens, that might be causing problems. I'm not using any xorg.conf or xorg.conf.d files at all. When I was using them, X would not start. Hopefully, these tips help with your problem. On 8/1/18 4:28 AM, Piotr Kubaj via freebsd-stable wrote: > Hi, > > I use FreeBSD 11.2-STABLE (from 23.07). After recent updates, I am unable to start X11 (Xorg.0.log is attached). I have rebuilt drm-next-kmod and Xorg-related ports. Xorg fails to start both with amdgpu kernel driver with amdgpu Xorg driver and without amdgpu kerner driver (vesa is then used). > > When using amdgpu, the X process starts (even though there's no display), but it looks like zombie - only reboot is able to kill it. > > Was there some regression recently? > >