From: bugzilla-daemon@freedesktop.org Subject: [Bug 110856] Freesync causes in-game blackscreens when game has low fps. Date: Thu, 13 Jun 2019 18:17:32 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0036247884==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id EDBA689708 for ; Thu, 13 Jun 2019 18:17:31 +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 --===============0036247884== Content-Type: multipart/alternative; boundary="15604498513.F846E.1486" Content-Transfer-Encoding: 7bit --15604498513.F846E.1486 Date: Thu, 13 Jun 2019 18:17:31 +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=3D110856 --- Comment #7 from Ropid --- I saw the same issue when I tried the BenQ EX3203R for a few days. I could = work around the problem by extracting and saving the monitor's EDID in a file, a= nd changing the VRR range in that file from the original 24-144Hz to 48-144Hz.= I then overrode the monitor's EDID on the kernel command line with this param= eter here: drm_kms_helper.edid_firmware=3DDP-1:edid/edid-benq-xr3203r-vrr-48-144.bin My customized EDID file is this: $ base64 /usr/lib/firmware/edid/edid-benq-xr3203r-vrr-48-144.bin=20 AP///////wAJ0WZ/RVQAABkcAQS1Rid4P901rE9FrCYQUFQlSwDR/NHo0cCzAKnAgYCBAIHAVl4A oKCgKVAvIDUAgGghAAAaAAAA/QAwkN7ePAEKICAgICAgAAAA/ABCZW5RIEVYMzIwM1IKAAAAEAAA AAAAAAAAAAAAAAAAAdUCA1VwUVxbWj9AEB8iISAEExIDAWFrIwkHB4MBAADiAMBtAwwAEAA4eCAA YAECA2fYXcQBeAADbRoAAAIDMJAAA2A3CC/jBeMB5A9g/AHmBgcBYF06+OMAoKCgMlAIIJgEgGgh AAAeB4KAUHA4TUAIIPgM4A4RAAAcAAAAAAAAqw=3D=3D If you want to try this custom EDID file I used, run that base64 encoded te= xt I shared here through "base64 --decode > filename.bin" to get the binary file. For the kernel parameter, the output ports are named differently than in Xo= rg. You can get the output port name where the monitor is connected like this: $ grep . /sys/class/drm/card*-*/status /sys/class/drm/card0-DP-1/status:connected /sys/class/drm/card0-DP-2/status:disconnected ... About how I created the EDID file, it was with a Windows tool named "Custom Resolution Utility". It can extract the EDID from the monitor/driver and sa= ve it in a file, and can customize the VRR data structure in there. I only tried 48Hz for minimum VRR range and this worked fine, there were no black screens anymore. I don't know what other values work with the EX3203R. --=20 You are receiving this mail because: You are the assignee for the bug.= --15604498513.F846E.1486 Date: Thu, 13 Jun 2019 18:17:31 +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

Commen= t # 7 on bug 11085= 6 from Ropid
I saw the same issue when I tried the BenQ EX3203R for a few d=
ays. I could work
around the problem by extracting and saving the monitor's EDID in a file, a=
nd
changing the VRR range in that file from the original 24-144Hz to 48-144Hz.=
 I
then overrode the monitor's EDID on the kernel command line with this param=
eter
here:

drm_kms_helper.edid_firmware=3DDP-1:edid/edid-benq-xr3203r-vrr-48-144.bin

My customized EDID file is this:

$ base64 /usr/lib/firmware/edid/edid-benq-xr3203r-vrr-48-144.bin=20
AP///////wAJ0WZ/RVQAABkcAQS1Rid4P901rE9FrCYQUFQlSwDR/NHo0cCzAKnAgYCBAIHAVl4A
oKCgKVAvIDUAgGghAAAaAAAA/QAwkN7ePAEKICAgICAgAAAA/ABCZW5RIEVYMzIwM1IKAAAAEAAA
AAAAAAAAAAAAAAAAAdUCA1VwUVxbWj9AEB8iISAEExIDAWFrIwkHB4MBAADiAMBtAwwAEAA4eCAA
YAECA2fYXcQBeAADbRoAAAIDMJAAA2A3CC/jBeMB5A9g/AHmBgcBYF06+OMAoKCgMlAIIJgEgGgh
AAAeB4KAUHA4TUAIIPgM4A4RAAAcAAAAAAAAqw=3D=3D

If you want to try this custom EDID file I used, run that base64 encoded te=
xt I
shared here through "base64 --decode > filename.bin" to get th=
e binary file.

For the kernel parameter, the output ports are named differently than in Xo=
rg.
You can get the output port name where the monitor is connected like this:

$ grep . /sys/class/drm/card*-*/status
/sys/class/drm/card0-DP-1/status:connected
/sys/class/drm/card0-DP-2/status:disconnected
...

About how I created the EDID file, it was with a Windows tool named "C=
ustom
Resolution Utility". It can extract the EDID from the monitor/driver a=
nd save
it in a file, and can customize the VRR data structure in there.

I only tried 48Hz for minimum VRR range and this worked fine, there were no
black screens anymore. I don't know what other values work with the EX3203R=
.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15604498513.F846E.1486-- --===============0036247884== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0036247884==--