From owner-freebsd-x11@freebsd.org Thu Nov 1 15:09:56 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 2241310F5404 for ; Thu, 1 Nov 2018 15:09:56 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (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 B73E47A142 for ; Thu, 1 Nov 2018 15:09:55 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 42m7sm3BWgzDj1b; Thu, 1 Nov 2018 15:09:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id AOsvfkZSH7JP; Thu, 1 Nov 2018 15:09:47 +0000 (UTC) Received: from garnet.daemonic.se (host-90-235-24-148.mobileonline.telia.com [90.235.24.148]) by mail.daemonic.se (Postfix) with ESMTPSA id 42m7sl3tCxzDhFd; Thu, 1 Nov 2018 15:09:47 +0000 (UTC) Subject: Re: drm2 again To: sgk@troutmask.apl.washington.edu Cc: x11-list freebsd References: <20181031172832.GA28293@troutmask.apl.washington.edu> <20181031194726.GA957@troutmask.apl.washington.edu> <20181031201319.GA896@troutmask.apl.washington.edu> <20181031223253.GA915@troutmask.apl.washington.edu> <3192fe24-488d-87ab-2b50-348cbedf1484@freebsd.org> <20181101145542.GA6969@troutmask.apl.washington.edu> From: Niclas Zeising Message-ID: <40c7a6a7-92a5-688d-d13f-e84680402b1c@freebsd.org> Date: Thu, 1 Nov 2018 16:09:46 +0100 User-Agent: Mutt/1.5.21 MIME-Version: 1.0 In-Reply-To: <20181101145542.GA6969@troutmask.apl.washington.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Thu, 01 Nov 2018 15:09:56 -0000 On 11/1/18 3:55 PM, Steve Kargl wrote: > On Thu, Nov 01, 2018 at 09:12:32AM +0100, Niclas Zeising wrote: >> On 10/31/18 11:32 PM, Steve Kargl wrote: >>> If I compare Xorg.0.log for drm-legacy-kmod to drm-stable-kmod, >>> the black screen of death seems to be related to this failure in legacy >>> >>> (II) RADEON(0): Setting screen physical size to 508 x 285 >>> failed to add FB for modeset >>> (WW) RADEON(0): Failed to set mode on CRTC 0 >>> (EE) RADEON(0): Failed to enable any CRTC >>> >>> The only other difference in the Xorg.log file are >>> >>> legacy contains >>> >>> (II) RADEON(0): mem size init: gart size :1fdef000 vram size: s:40000000 >>> visible:3f7d7000 >>> (II) RADEON(0): VRAM usage limit set to 928850K >>> >>> while stable has >>> >>> (II) RADEON(0): mem size init: gart size :3fdde000 vram size: s:40000000 >>> visible:3f4b4000 >>> (II) RADEON(0): VRAM usage limit set to 925959K >>> >>> Note, the system does not have an /etc/X11/Xorg.org file. >>> >> >> Hi! >> When using drm-legacy-kmod with drm-legacy-kmod you might need to >> install xf86-video-ati-legacy instead of xf86-video-ati, because of >> changes in how the kernel drivers work between versions. >> Regards > > I'll try xf86-video-ati-legacy later today. This suggests that > drm-legacy-kmod is not a direct move/replacement of the in-tree > drm2 into the ports infrastructure as I've always used > xf86-video-ati. > xf86-video-ati was recently updated, together with xf86-video-amdgpu, to provide better support for more modern graphics cards utilizing the new drm-kmod drivers. Unfortunately there were some regressions when using the old base driver or drm-legacy-kmod, which prompted us to create xf86-video-ati-legacy which is at the version xf86-video-ati was before the update. There's more information about this issue here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231884 Regards -- Niclas Zeising