From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 101499] Black screen when detaching HDMI cable (AMD A10-9620P) Date: Wed, 21 Jun 2017 08:14:26 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1868855738==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 41E8F6E3D9 for ; Wed, 21 Jun 2017 08:14:26 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1868855738== Content-Type: multipart/alternative; boundary="14980328661.Ce1d.6829"; charset="UTF-8" --14980328661.Ce1d.6829 Date: Wed, 21 Jun 2017 08:14:26 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D101499 --- Comment #14 from Michel D=C3=A4nzer --- (In reply to Carlo Caione from comment #12) > I just tried the HEAD of xf86-video-amdgpu and now instead of having a bl= ack > screen I have the image corruption as shown in the picture. Without seeing the corresponding Xorg log, I guess that's just a different symptom triggered by the same issue. > Anything I can do to debug / have this fixed? We need to make scanout work with buffers outside of VRAM somehow. I've kic= ked off an internal discussion about this. With an amd-staging-* kernel branch and DC enabled, you can try tweaking dce_v11_0_crtc_do_set_base to pass AMDGPU_GEM_DOMAIN_GTT instead of / in addition to AMDGPU_GEM_DOMAIN_VRAM to amdgpu_bo_pin. The DC code should alr= eady handle this correctly, but we're not sure whether or not there are addition= al constraints on system memory used for scanout. If there are, it probably wo= n't work correctly yet. > Is it something I need to fix with the ODM (acer)? If you can get a BIOS which allows setting up larger VRAM, that might allow= you to move forward faster. --=20 You are receiving this mail because: You are the assignee for the bug.= --14980328661.Ce1d.6829 Date: Wed, 21 Jun 2017 08:14:26 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 14 on bug 10149= 9 from Michel D=C3=A4nzer
(In reply to Carlo Caione from comment #12)
> I just tried the HEAD of xf86-video-amdgpu and n=
ow instead of having a black
> screen I have the image corruption as shown in the picture.

Without seeing the corresponding Xorg log, I guess that's just a different
symptom triggered by the same issue.


> Anything I can do to debug / have this fixed?

We need to make scanout work with buffers outside of VRAM somehow. I've kic=
ked
off an internal discussion about this.

With an amd-staging-* kernel branch and DC enabled, you can try tweaking
dce_v11_0_crtc_do_set_base to pass AMDGPU_GEM_DOMAIN_GTT instead of / in
addition to AMDGPU_GEM_DOMAIN_VRAM to amdgpu_bo_pin. The DC code should alr=
eady
handle this correctly, but we're not sure whether or not there are addition=
al
constraints on system memory used for scanout. If there are, it probably wo=
n't
work correctly yet.


> Is it something I need to fix with the ODM (acer=
)?

If you can get a BIOS which allows setting up larger VRAM, that might allow=
 you
to move forward faster.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14980328661.Ce1d.6829-- --===============1868855738== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1868855738==--