Bug 202449 - vrr_capable not showing up in xrandr with eDP display.
Summary: vrr_capable not showing up in xrandr with eDP display.
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-29 15:16 UTC by Haxk20
Modified: 2019-01-31 18:53 UTC (History)
3 users (show)

See Also:
Kernel Version: 4.20
Subsystem:
Regression: No
Bisected commit-id:


Attachments
xrandr --props (1.91 KB, text/plain)
2019-01-29 15:16 UTC, Haxk20
Details
dmesg (79.85 KB, text/plain)
2019-01-29 15:45 UTC, Haxk20
Details
Xorg log (32.73 KB, text/plain)
2019-01-29 15:46 UTC, Haxk20
Details
0001-drm-amd-display-Attach-VRR-properties-for-eDP-connec.patch (1.23 KB, patch)
2019-01-30 13:59 UTC, Nicholas Kazlauskas
Details | Diff

Description Haxk20 2019-01-29 15:16:05 UTC
Created attachment 280847 [details]
xrandr --props

xrandr doesnt show vrr_capable option for eDP display but the option is there with HDMI.
While its true that my internal display on laptop doesnt report that it supports FreeSync but i know that it works with Freesync because when i edit EDID in windows freesync works.
But im sure the issue isnt that my display doesnt report Freesync since when i connect a monitor that i know isnt freesync capable to HDMI the option is still there.

I attach output of "xranr --props" of my laptop.

Laptop has Ryzen 5 2500U with VEGA8 (Raven Ridge)
and dedicated RX560X.

VEGA 8 is connected directly to internal display (eDP) and RX560X is connected to HDMI port.
Comment 1 Haxk20 2019-01-29 15:31:48 UTC
Sorry after further reading im not sure that dGPU is connected to HDMI directly. Is there a way to see in linux ?
Comment 2 Alex Deucher 2019-01-29 15:33:57 UTC
Please attach your dmesg output and xorg log.
Comment 3 Haxk20 2019-01-29 15:45:35 UTC
Created attachment 280849 [details]
dmesg
Comment 4 Haxk20 2019-01-29 15:46:00 UTC
Created attachment 280851 [details]
Xorg log
Comment 5 Nicholas Kazlauskas 2019-01-30 13:59:07 UTC
Created attachment 280873 [details]
0001-drm-amd-display-Attach-VRR-properties-for-eDP-connec.patch

I'm not sure if this will actually let you use variable refresh rate features but this should attach the properties for your eDP panel at least.
Comment 6 Haxk20 2019-01-30 19:59:13 UTC
(In reply to Nicholas Kazlauskas from comment #5)
> Created attachment 280873 [details]
> 0001-drm-amd-display-Attach-VRR-properties-for-eDP-connec.patch
> 
> I'm not sure if this will actually let you use variable refresh rate
> features but this should attach the properties for your eDP panel at least.

Gonna compile right now. I surely wont be able to use vrr still since i need to edit EDID to report a freesync range but at least eDP now has a way to enable it. Thank you.
Comment 7 Haxk20 2019-01-30 20:12:44 UTC
(In reply to Nicholas Kazlauskas from comment #5)
> Created attachment 280873 [details]
> 0001-drm-amd-display-Attach-VRR-properties-for-eDP-connec.patch
> 
> I'm not sure if this will actually let you use variable refresh rate
> features but this should attach the properties for your eDP panel at least.

This fixes the issue.
I know its too late for this to be sent into 5.0 but can you send this into drm-next-5.1-wip so that this makes it into 5.1 ? 
Thank you.
Comment 8 Haxk20 2019-01-30 20:17:53 UTC
Also is there any way i can test if variable refresh rate is working on linux right now ?
Comment 9 Haxk20 2019-01-31 18:53:20 UTC
As this bug has been solved im marking it as solved. Thank you.

Note You need to log in before you can comment on or make changes to this bug.