From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 102985] HDMI 2.0 4k EDIDs not available (Radeon RX Vega 56)
Date: Mon, 25 Sep 2017 21:16:33 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0109792370=="
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 A2A5F88DF6
for ; Mon, 25 Sep 2017 21:16:33 +0000 (UTC)
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
--===============0109792370==
Content-Type: multipart/alternative; boundary="15063741930.1CdE95c6a.12832";
charset="UTF-8"
--15063741930.1CdE95c6a.12832
Date: Mon, 25 Sep 2017 21:16:33 +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=3D102985
Bug ID: 102985
Summary: HDMI 2.0 4k EDIDs not available (Radeon RX Vega 56)
Product: DRI
Version: DRI git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: dri-devel@lists.freedesktop.org
Reporter: bicom@invergo.net
Created attachment 134476
--> https://bugs.freedesktop.org/attachment.cgi?id=3D134476&action=3Dedit
DRM/AMDGPU logs (journalctl)
I have a Radeon RX Vega 56 connected to a Sony 4K TV (kd-49x8305c) via a
"Premium" (certified) HDMI 2.0 cable. The TV's HDMI input is set to "Enhanc=
ed
Format". Thus, on the hardware side, everything's ready to go for 4k@60Hz. =
On
the software side, I'm running Arch Linux with mesa-git (rev. 066d1dc951),
llvm-svn (rev. 313470), and Linux branch amd-staging-drm-next (4.13 rev.
dcae401d1113). I'm running Gnome and I've tested both Wayland and Xorg.
While other functionality such as rendering and acceleration work with this
setup, I have been unable to access any 4k resolutions.
As you'll see in the attached logs, the maximum resolution detected from the
TV's EDID is 1920x1080. However, using the program edid-decode (output
attached), one can see that the EDID clearly advertises 4k modes, however,
they're in the Extension block at VIC indexes higher than 64.
Until recently, 64 was the highest supported by drivers/gpu/drm/drm_edid.c =
in
the kernel. However, that has been fixed:
https://github.com/torvalds/linux/commit/8ec6e0755565192b328059b64f982adabb=
ecda78#diff-f1b0089a97dd0195eb24305ab63a79e3
That commit has been merged into the amd-staging-drm-next kernel (but not
amd-staging), and the revision that I have built and installed includes that
code. Nevertheless, I haven't had any luck in getting the computer to
recognize any of those extended modes.
I have tried adding the mode manually via xrandr, however when I try to swi=
tch
to that mode, I get the error "xrandr: Configure crtc 0 failed". Trying to =
set
it in a conf file in /etc/X11/xorg.conf.d also didn't work (I no longer hav=
e a
configuration file in there). I've also tried forcing it from the kernel
command line (video=3D3840x2160@60) to no avail. Still, all of those seem =
like
workarounds when I think the problem is pretty clearly that the VIC 65+ mod=
es
are not detected.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15063741930.1CdE95c6a.12832
Date: Mon, 25 Sep 2017 21:16:33 +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
| Bug ID |
102985
|
| Summary |
HDMI 2.0 4k EDIDs not available (Radeon RX Vega 56)
|
| Product |
DRI
|
| Version |
DRI git
|
| Hardware |
x86-64 (AMD64)
|
| OS |
Linux (All)
|
| Status |
NEW
|
| Severity |
normal
|
| Priority |
medium
|
| Component |
DRM/AMDgpu
|
| Assignee |
dri-devel@lists.freedesktop.org
|
| Reporter |
bicom@invergo.net
|
Created attachment =
134476 [details]
DRM/AMDGPU logs (journalctl)
I have a Radeon RX Vega 56 connected to a Sony 4K TV (kd-49x8305c) via a
"Premium" (certified) HDMI 2.0 cable. The TV's HDMI input is set =
to "Enhanced
Format". Thus, on the hardware side, everything's ready to go for 4k=
64;60Hz. On
the software side, I'm running Arch Linux with mesa-git (rev. 066d1dc951),
llvm-svn (rev. 313470), and Linux branch amd-staging-drm-next (4.13 rev.
dcae401d1113). I'm running Gnome and I've tested both Wayland and Xorg.
While other functionality such as rendering and acceleration work with this
setup, I have been unable to access any 4k resolutions.
As you'll see in the attached logs, the maximum resolution detected from the
TV's EDID is 1920x1080. However, using the program edid-decode (output
attached), one can see that the EDID clearly advertises 4k modes, however,
they're in the Extension block at VIC indexes higher than 64.
Until recently, 64 was the highest supported by drivers/gpu/drm/drm_edid.c =
in
the kernel. However, that has been fixed:
https://github.com=
/torvalds/linux/commit/8ec6e0755565192b328059b64f982adabbecda78#diff-f1b008=
9a97dd0195eb24305ab63a79e3
That commit has been merged into the amd-staging-drm-next kernel (but not
amd-staging), and the revision that I have built and installed includes that
code. Nevertheless, I haven't had any luck in getting the computer to
recognize any of those extended modes.
I have tried adding the mode manually via xrandr, however when I try to swi=
tch
to that mode, I get the error "xrandr: Configure crtc 0 failed". =
Trying to set
it in a conf file in /etc/X11/xorg.conf.d also didn't work (I no longer hav=
e a
configuration file in there). I've also tried forcing it from the kernel
command line (video=3D3840x2160@60) to no avail. Still, all of those s=
eem like
workarounds when I think the problem is pretty clearly that the VIC 65+ mod=
es
are not detected.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15063741930.1CdE95c6a.12832--
--===============0109792370==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0109792370==--