From owner-freebsd-x11@freebsd.org Thu Nov 1 15:42:58 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 1D76C10F660C for ; Thu, 1 Nov 2018 15:42:58 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AD8A57C0FB for ; Thu, 1 Nov 2018 15:42:57 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io1-xd2a.google.com with SMTP id t81-v6so5384975iod.10 for ; Thu, 01 Nov 2018 08:42:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lj+mCFyMFRKy+iVI/XwmwtS67VDQlyiH5i9hJunmYTk=; b=aF6wgQS4jzeAdGG2teQ43UP7N7L3U/f+8lFE9pE07NygzovzCwV3MfuxH7YAaBzlbn 1Vtub3QEVGH2xNGVqqzrFHoVBzLJBdzySQIoQeK3p3ymfGm9KGS5FgxlZt1++ocs88Yh qLspL7TsSOvx7w0bxKBtEq5OnwVIuNDm9lolPl3uGTHH6o1jhvFQOLEtyLWGXxhdBY1/ RLDpIMGrlBPDReGzPKfLTovGvdPC0TpR6Xjvj9bO3h4SsUwecLY6nDDFqUZRgmQZr2It EMircOI5LYrHfS78OU6arCwPT9oJIWxUQA2e/DuKZtSn/dJg9Zz9Ftktc7AQOkGv/dvY ESgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lj+mCFyMFRKy+iVI/XwmwtS67VDQlyiH5i9hJunmYTk=; b=XKm5oSFBYliHwbkZDRnTWRFcE98BmYddrDO+GFbOg8dWXODMZOyzqdcHD4qjHB2bXE S0HDOcp9+TKaGFbpJTL15EY23Oh2VT+RZhZ8aGYpHya1zhSN+8D1rXeXezBn8vyvG+XW wpl3Ac9uzQ2x+ucxGGEKKOq9+6hBHwPXBQjm/xWQMG/f0z56pM2pHisqH08jLZzyUCyT bF/mzdC2aMBYH6H0Nrc+0RlJvlMyJ9kH/h9DPx496Mcyld5HGDMGv2Kg0luyyeaY9AiC oiMZSW0DVxWnMyv1C3YaPx0sxgu6FrAE43u3MTx8ruGJD50gWiUp8ffjayfex3oKzotR 9QQA== X-Gm-Message-State: AGRZ1gIET/9jz2PZcgNmuZ0ow4RFkOQ0NvzdzW/BdOl28bueGxB/JsFb 2EOSGBnfxRhCoXaR4939Oh5VAnuhi3YgeAEUyFTkTxl2 X-Google-Smtp-Source: AJdET5cF60AbGbld2tj/QRSErjnpPdBTl/IlpuUzVx/6utSCIoK7bX74rvV32yc0zIyg3AQLtraErFHDtNySllDrP6s= X-Received: by 2002:a6b:e710:: with SMTP id b16-v6mr2379213ioh.37.1541086976540; Thu, 01 Nov 2018 08:42:56 -0700 (PDT) MIME-Version: 1.0 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> <40c7a6a7-92a5-688d-d13f-e84680402b1c@freebsd.org> In-Reply-To: <40c7a6a7-92a5-688d-d13f-e84680402b1c@freebsd.org> From: Warner Losh Date: Thu, 1 Nov 2018 09:42:45 -0600 Message-ID: Subject: Re: drm2 again To: Niclas Zeising Cc: Steve Kargl , FreeBSD X11 mailing list Content-Type: text/plain; charset="UTF-8" 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: Thu, 01 Nov 2018 15:42:58 -0000 On Thu, Nov 1, 2018 at 9:10 AM Niclas Zeising wrote: > 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 I'll add this is a fast evolving area. While you might have always used something, you need to make sure it's still the right thing. And the graphics team needs to make sure that we're sending the right messages in the right place for you to find out what that thing is. If that's not happening, please let us know so we can update things appropriately. Warner