All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 203325] New: 5.1 amdgpu on polaris11: broken text-fb multihead, works in X
Date: Mon, 15 Apr 2019 09:50:37 +0000	[thread overview]
Message-ID: <bug-203325-2300@https.bugzilla.kernel.org/> (raw)

https://bugzilla.kernel.org/show_bug.cgi?id=203325

            Bug ID: 203325
           Summary: 5.1 amdgpu on polaris11: broken text-fb multihead,
                    works in X
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.1
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: 1i5t5.duncan@cox.net
        Regression: Yes

Created attachment 282339
  --> https://bugzilla.kernel.org/attachment.cgi?id=282339&action=edit
kernel config

From 5.1-rc1, my multi-head amdgpu polaris11 system will often only display on
one head in (non-X) text frame-buffer mode.  The not-working head stays on, but
blank.  It worked fine in 5.0, and is broken at least thru 5.1-rc5.

The initial DRI display will come up on both heads if both TV/monitors are on
at kernel load, but even then, if I start X (with KDE/Plasma), where it
displays correctly on both monitors regardless of what it does outside X, and
ctrl-alt-Fn back to a different VT still in text-fb mode, or quit X, it'll
often (always?) only display the text-fb mode on one instead of both.  Which
one seems somewhat random tho it might be consistent with which one, or both,
were on at amdgpu driver load, as it seems (mostly? entirely?) consistent for a
single boot.

At a guess it might be trying to use the same clock rate and etc settings for
both outputs at the same resolution, but one needs slightly different settings.
 X presumably programs the different outputs correctly, so it works there, and
as I said it worked correctly in text-fb mode in 5.0.

dmesg reports:
[drm] initializing kernel modesetting (POLARIS11 0x1002:0x67EF 0x1458:0x22DD
0xCF).
...
[drm] Display Core initialized with v3.2.17!
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] Driver supports precise vblank timestamp query.
...
fbcon: amdgpudrmfb (fb0) is primary device
Console: switching to colour frame buffer device 320x108
amdgpu 0000:01:00.0: fb0: amdgpudrmfb frame buffer device
[drm] Initialized amdgpu 3.30.0 20150101 for 0000:01:00.0 on minor 0


Xorg's log reports:
AMDGPU(0): Chipset: "AMD Radeon (TM) RX 460 Graphics" (ChipID = 0x67ef)
...
AMDGPU(0): glamor X acceleration enabled on AMD Radeon (TM) RX 460 Graphics
(POLARIS11, DRM 3.30.0, 5.1.0-rc5-dirty, LLVM 8.0.0)


I have the following CONFIG_CMDLINE:

CONFIG_CMDLINE="rootwait net.ifnames=0 video=HDMI-A-1:1920x1080
video=DVI-D-1:1920x1080 video=DisplayPort-1:1920x1080"

But only two of the three video ports are actually connected, HDMI-A-1 (kernel,
X says 0 not 1) and DisplayPort-1.

HDMI-A-1 is actually connected to a 4k TV and runs at its native 3840x2160 in
X, but as you can see it's set for 1920x1080 in the text-framebuffer. 
DisplayPort-1 is a full-HD TV, thus native 1920x1080.

Of note, the cable for the full-HD TV is HDMI/DVI-D single-link, TV-side HDMI,
with a DVI-D/DisplayPort adaptor, so I can connect it via DVI-D or DisplayPort.
 As noted, it's currently connected via DisplayPort.

I'm attaching kernel config.  I'll add boot dmesg.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2019-04-15  9:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-15  9:50 bugzilla-daemon [this message]
2019-04-15  9:54 ` [Bug 203325] 5.1 amdgpu on polaris11: broken text-fb multihead, works in X bugzilla-daemon
2019-04-15  9:56 ` bugzilla-daemon
2019-04-15 10:06 ` bugzilla-daemon
2019-04-15 14:15 ` bugzilla-daemon
2019-04-19  5:06 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-203325-2300@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.