Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2018 09:42:45 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Niclas Zeising <zeising@freebsd.org>
Cc:        Steve Kargl <sgk@troutmask.apl.washington.edu>,  FreeBSD X11 mailing list <freebsd-x11@freebsd.org>
Subject:   Re: drm2 again
Message-ID:  <CANCZdfoxXLiZBV-WTXeSc0gjBdHDMgnF0Q1NEW%2BrwKjyn74P7Q@mail.gmail.com>
In-Reply-To: <40c7a6a7-92a5-688d-d13f-e84680402b1c@freebsd.org>
References:  <20181031172832.GA28293@troutmask.apl.washington.edu> <CAECmPwu3ndCzQa0S2hQHmyOoXQaZRAwaUjGGcApPEX3dZXH%2Byw@mail.gmail.com> <20181031194726.GA957@troutmask.apl.washington.edu> <CAECmPwsPzF-bhF0AR9PjLUJoMD7xNF=usJEa3cpnFCSvuEJkuA@mail.gmail.com> <20181031201319.GA896@troutmask.apl.washington.edu> <CAECmPwusuHsEqPArj0uYh%2B4kiEKzsFXDaiZzgcv4pmvE0WhVSw@mail.gmail.com> <f28a9824-c263-4d10-107c-5ec7983dae4d@freebsd.org> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 1, 2018 at 9:10 AM Niclas Zeising <zeising@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoxXLiZBV-WTXeSc0gjBdHDMgnF0Q1NEW%2BrwKjyn74P7Q>