From owner-freebsd-x11@freebsd.org Wed Aug 1 14:12:15 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 29A02105DC4A; Wed, 1 Aug 2018 14:12:15 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from mail.anongoth.pl (mail.anongoth.pl [46.248.190.61]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "anongoth.pl", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A77A775E43; Wed, 1 Aug 2018 14:12:14 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from anongoth.pl (unknown [10.8.0.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: pkubaj@anongoth.pl) by mail.anongoth.pl (Postfix) with ESMTPSA id ED6CF42225; Wed, 1 Aug 2018 16:12:06 +0200 (CEST) Date: Wed, 1 Aug 2018 16:12:07 +0200 From: Piotr Kubaj To: CL Moonriver Cc: freebsd-stable@freebsd.org, freebsd-x11@freebsd.org Subject: Re: X11 not working on 11-STABLE with AMDGPU Message-ID: <20180801141207.GA5202@smtp.iq.pl> Mail-Followup-To: CL Moonriver , freebsd-stable@freebsd.org, freebsd-x11@freebsd.org References: <20180801092849.GA75303@KGPE-D16> <95b8cfa0-0908-3321-5155-ef49b1bb0a64@equinedreams.art> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline In-Reply-To: <95b8cfa0-0908-3321-5155-ef49b1bb0a64@equinedreams.art> User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2018 14:12:15 -0000 --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hm, ok, I may have not been clear with my problem. Xorg DID work before. It certainly won't accept radeon driver - it's RX560.= I certainly had working Xorg about two weeks ago. Then after a reboot, boo= m, no more graphics. So my configuration is right. Even though I don't need the whole xorg.conf, I need xorg.conf.d directory = with a snippet that forces GPU to use to use amdgpu X11 driver - otherwise = it tries to use modesetting. On 18-08-01 08:46:05, CL Moonriver wrote: >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=C2=A0 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 unabl= e to start X11 (Xorg.0.log is attached). I have rebuilt drm-next-kmod and X= org-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? >> >> > >--=20 >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. > --=20 _______________________=20 < You do not have mail. > -----------------------=20 \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJkBAABCgBOFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAlthv7cwFIAAAAAAFQAS cGthLWFkZHJlc3NAZ251cGcub3JncGt1YmFqQGFub25nb3RoLnBsAAoJEHpZm4Ug g5ydDtkQAKJu1Uh3AfWJuOmTAY4OtWfQ2aOQ1egY/gW+0O64iIsSUyqCtuSJRc+E 8KnThjjh9m2X93q0vrlywvJajjGJVf6wd9FhzIG3gm5tXkKtVPHmOQkMNIRG186p 4ljJd1xzzip52HiSHCt9pj4VhLDMFiGrt8fb+0btDRdLIfBo2mMN9iM0/n72fsWC S7rRBdapQWWmmCmWe9u5budbZxz4Y5FFFbrO44nm6IkozTKQchHIUjLL3s+FWldq 3FsJt9fk0A1onB880TvsFCP5RwmzDLC6PEElSrSESY/VKOP62zGRJTYeSWDu0rKh DmZe1z0MmbWwYLy+s70nzaxioNZ7rja9K1hrcWiBCOSWflzxHpoY5az1CIeDl8/P gvfa8uzBQh8a9Ae0BSo8ssShMaqpdyDEiJkpYCSFW1PY0flpMoL8WwKo5phTfvz3 duAeI2jYIWrPAFWrB/D0Zme7ZKUc5n2+6Fm+Hu2Wu07QX8t1n35pApBxVTattdfK v1LNOxeaMs3jRcsXtxDbFn3OLzNc7dfAfIg5q9npwRcErvB4KrePNSZ6ciFXapzf r6cPii17TScXQKDqY/S5khLK5H84uDKBcMshT6QU9Fv2JEAxrsbfO5loS+WzohM9 EhnMxdTlcCroaWM50gJnA7JExO+jODoLRWxU0KWmhnjxooBgCfUO =CV3p -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3--