Re: Reg. Adaptive Sync feature in xf86-video-amdgpu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020-04-20 6:45 p.m., uday kiran pichika wrote:
> On Mon, Apr 20, 2020 at 9:45 PM Michel Dänzer <michel@xxxxxxxxxxx> wrote:
>> On 2020-04-20 6:04 p.m., uday kiran pichika wrote:
>>>
>>> Even in amdgpu_present_flip(), there is a check
>>> for amdgpu_window_has_variable_refresh() which actually checks whether
>>> window has a variable_refresh property set from the MESA or not ? this
>>> check is failing in my case and never calls
>> amdgpu_present_set_screen_vrr.
>>
>> This should be set by
>>
>>         get_window_priv(window)->variable_refresh = variable_refresh;
>>
>> in amdgpu_vrr_property_update.
>>
> 
> I amdgpu_vrr_property_update method gets called from amdgpu_change_property
> when the property is being added to the window. though variable_refresh
> property is updating from the below call, this window is not same as the
> one(info->flip_window) in amdgpu_present_flip.
> *get_window_priv(window)*->variable_refresh = variable_refresh;

Then it's probably not the application's window which is page flipping,
but e.g. the compositor's. Make sure your compositor supports
unredirecting fullscreen windows.


> Could you please let me know you IRC ID to have a chat in that for more
> information.

I'm MrCooper on IRC.


-- 
Earthling Michel Dänzer               |               https://redhat.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux