Announcement

Collapse
No announcement yet.

AMDGPU Fixes For Linux 5.0 Include FreeSync/VRR Properties For eDP Displays

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • AMDGPU Fixes For Linux 5.0 Include FreeSync/VRR Properties For eDP Displays

    Phoronix: AMDGPU Fixes For Linux 5.0 Include FreeSync/VRR Properties For eDP Displays

    The latest batch of AMDGPU graphics driver fixes were sent out on Tuesday for the Linux 5.0 kernel, including a fix for the FreeSync/VRR support that was merged at the start of this cycle...

    http://www.phoronix.com/scan.php?pag...es-5.0-eDP-VRR

  • danger89
    replied
    What about the multi monitor support with FreeSync & AMDGPU?

    Leave a comment:


  • Haxk20
    replied
    Originally posted by debianxfce View Post

    The mainline kernel do have partially implemented and buggy amdgpu code (see the diff column at kernel.org), so use the AMD wip kernel. that has latest bug fixes and features.
    Yes i know. Its just that AMD wip branch is on rc1. Also this isnt a bug. This is a feature only in 5.1

    Leave a comment:


  • Haxk20
    replied
    Originally posted by debianxfce View Post

    There are these ways:
    - use your monitor built-in refresh rate counter
    - to see the freesync range: sudo cat /sys/kernel/debug/dri/0/DP-1/vrr_range´╗┐
    - You can enable debug messages with the kernel command line, drm.debug=0x04. Then you have the following dmesg message if freesync is active: drm:update_freesync_state_on_stream.isra.32 [amdgpu]] VRR packet update: crtc=44 enabled=1 state=3

    The game must use OpenGL and vsync. Only the displayport protocol is supported at the moment. Enable variable refresh rate in your xorg.conf file, see man amdgpu.
    Also that /sys/kernel/debug/dri/0/DP-1/vrr_range is only existent with latest AMD patches from 5.1 WIP branch.

    Leave a comment:


  • Haxk20
    replied
    After 2 days i finally managed to get Freesync working on eDP display in Acer Nitro 5. Even tho i had to edit existing freesync EDID since idk of any way to add extension block to EDID it even with this works.
    If anybody knows of way to add extension blocks to EDID without windows CRU please let me know
    Last edited by Haxk20; 02-11-2019, 05:00 PM. Reason: question

    Leave a comment:


  • Haxk20
    replied
    Do you know of any way to test if freesync is enabled ?

    Leave a comment:


  • agd5f
    replied
    Originally posted by finalzone View Post
    Still missing the auto rotate screen function for mobile Raven Ridge
    Generally this is handled by the desktop environment, not the driver. E.g., the desktop environment listens to the accelerometer and when it sees rotation, it calls into the display server to rotate the display.

    Leave a comment:


  • davidbepo
    replied
    Originally posted by chithanh View Post
    The code does account for HDMI, DisplayPort and eDP connectors:
    Code:
    diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
    index f4fa40c..0b392bf 100644
    --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
    +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
    @@ -4082,7 +4082,8 @@ void amdgpu_dm_connector_init_helper(struct amdgpu_display_manager *dm,
    }
    
    if (connector_type == DRM_MODE_CONNECTOR_HDMIA ||
    - connector_type == DRM_MODE_CONNECTOR_DisplayPort) {
    + connector_type == DRM_MODE_CONNECTOR_DisplayPort ||
    + connector_type == DRM_MODE_CONNECTOR_eDP) {
    drm_connector_attach_vrr_capable_property(
    &aconnector->base);
    }
    --
    https://cgit.freedesktop.org/~agd5f/...620f71eb2ab983


    That Adaptive-Sync is part of the spec doesn't mean that every monitor needs to support a nontrivial range.
    soo... freesync might work with hdmi after all

    Leave a comment:


  • finalzone
    replied
    Still missing the auto rotate screen function for mobile Raven Ridge

    Leave a comment:


  • chithanh
    replied
    "by accident" = unintended by manufacturer, lucky customers

    I mean that with some panels, the EDID trick will not work because they genuinely do not support Adaptive-Sync.
    While with others, it seems that the manufacturer had Adaptive-Sync capable panels which they did not intend to sell with Adaptive-Sync functionality, however overriding the EDID makes Adaptive-Sync work.

    Leave a comment:

Working...
X