From owner-freebsd-x11@freebsd.org Fri Mar 1 20:03:37 2019 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 A86BF1523125 for ; Fri, 1 Mar 2019 20:03:37 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8DAE78F70D for ; Fri, 1 Mar 2019 20:03:36 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4B8A21523124; Fri, 1 Mar 2019 20:03:36 +0000 (UTC) Delivered-To: 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 276AC1523123 for ; Fri, 1 Mar 2019 20:03:36 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A63828F70C for ; Fri, 1 Mar 2019 20:03:35 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from duke.gem.co (cpe-76-175-75-27.socal.res.rr.com [76.175.75.27]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id a35eeada TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Fri, 1 Mar 2019 12:03:27 -0800 (PST) Subject: Re: X crashes system? To: Robert Huff , graphics@freebsd.org Cc: x11@freebsd.org References: <23673.35834.929340.584331@jerusalem.litteratus.org> From: Pete Wright Message-ID: <6dc560ae-80f7-734d-c14c-5bf8805bb6e9@nomadlogic.org> Date: Fri, 1 Mar 2019 12:03:26 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.5.2 MIME-Version: 1.0 In-Reply-To: <23673.35834.929340.584331@jerusalem.litteratus.org> Content-Language: en-US X-Rspamd-Queue-Id: A63828F70C X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.96 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.96)[-0.963,0] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 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, 01 Mar 2019 20:03:37 -0000 On 3/1/19 11:46 AM, Robert Huff wrote: > [I'm including both graphics and x11 becasue I haven't been able > to narrow it down, and because extra brains might see something.] > > Hello: > 1) I have an older and64 system with a Radeon HD 3300/RS780 gpu. > 2) I recently upgraded it from 11-RC2 to > > FreeBSD 13.0-CURRENT r344507 amd64 > > and recompiled (from source) _all_ installed ports. > 3) When I originally booted the new system, it was not using any > of the new drm system ... and everything worked fine using the vesa > driver. (Slowly, but fine.) > With the oft-tested patience of Niclas Zeising > (zeising+freebsd@daemonic.se) I got drm-legacy-kmod and gpu-firmware-kmod > working. > Sort of. > 4) With: > > kld_list="/boot/modules/radeonkms.ko" > > in rc.conf, the system boots, recognizes the gpu, comes > successfully to the console with vtys 1-11 enabled. Every that needs > text mode runs correctly and the system is stable. > 5) If I start xdm, the login screen appears and accepts input. > If I don't actually log in, this is also stable (for 24 hours and > counting). > 6) If I _do_ log in, .xsession is processed correctly and the > display accepts input. However: the system will then panic after a > time ranging from 60 seconds to 30 minutes. This happens even if the > only two programs running are the window manager (fvwm) and xmessage > (used to end the X session) and there's no activity on mouse or > keyboard. > And: while the system is up, moving/resizing a window will - > sometimes - leave visual artifacts on the screen. > 7) Superficial examination of the crash dumps appears to show a > variety of memory errors; analysis beyond that is why I'm here. > 8) The last three crash dumps, along with dmesg.boot, xorg.conf > and Xorg.0.log, can be found at: > > http://209.6.230.48:8888/~huff/crash/ > > 9) If this is something I caused - /mea maxima culpa/. I just > want to find out what's happening and fix it (if possible). Hi Robert, Taking at look at your supplied Xorg.0.log I notice this bit: [ 58663.322] (EE) AIGLX error: dlopen of /usr/local/lib/dri/r600_dri.so failed (Shared object "libLLVM-6.0.so" not found, required by "r600_dri.so") [ 58663.322] (EE) AIGLX: reverting to software rendering [ 58663.322] (EE) AIGLX error: dlopen of /usr/local/lib/dri/swrast_dri.so failed (Shared object "libLLVM-6.0.so" not found, required by "swrast_dri.so") This would seem to imply to me that the port or package of llvm60 is not installed (or incorrectly installed) on your system.  On my end it looks like so: $ pkg which /usr/local/llvm60/lib/libLLVM-6.0.so /usr/local/llvm60/lib/libLLVM-6.0.so was installed by package llvm60-6.0.1_6 $ I am not sure if that will fix your issues, but it is one thing I spotted. cheers, -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA