[PATCH 3/5] rdp: fix presentation for the RDP compositor
Hardening
rdp.effort at gmail.com
Fri Apr 22 15:12:21 UTC 2016
Le 22/04/2016 15:55, Pekka Paalanen a écrit :
> On Fri, 22 Apr 2016 15:19:04 +0200
> David Fort <rdp.effort at gmail.com> wrote:
>
>> Set an update delay that is a multiple of the output frequency, or we may do
>> incorrect weston_output_finish_frame calls.
>> ---
>> src/compositor-rdp.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/src/compositor-rdp.c b/src/compositor-rdp.c
>> index 9274674..4cbc1c3 100644
>> --- a/src/compositor-rdp.c
>> +++ b/src/compositor-rdp.c
>> @@ -378,7 +378,7 @@ rdp_output_repaint(struct weston_output *output_base, pixman_region32_t *damage)
>> pixman_region32_subtract(&ec->primary_plane.damage,
>> &ec->primary_plane.damage, damage);
>>
>> - wl_event_source_timer_update(output->finish_frame_timer, 16);
>> + wl_event_source_timer_update(output->finish_frame_timer, 10);
>> return 0;
>> }
>>
>
> Hi,
>
> I'm worried that there are more things wrong. This does not look like a
> fix, it just improves the odds of not failing if any.
>
> So, you have a 100 Hz output update frequency on RDP?
>
I think you're right, the frequency is supposed to be 60Hz (as announced
in the output settings), unfortunately 60000 is a multiple of both 10
and 16 so that's how you said, it just hides the real bug. I'll have a
deeper look.
Best regards
--
David FORT
website: http://www.hardening-consulting.com/
More information about the wayland-devel
mailing list