Re: Adaptive Sync enabling in Xorg Modesetting driver

2020-05-25 Thread Michel Dänzer
On 2020-05-25 6:39 p.m., uday kiran pichika wrote: > Thanks for your quick check Michel. I had removed the condition in my local > source in ms_present_check_unflip() method and moved the assignment to > ms_present_check_flip() method. Below is the snippet. > > static Bool ms_present_check_flip(RR

Re: Adaptive Sync enabling in Xorg Modesetting driver

2020-05-25 Thread uday kiran pichika
Thanks for your quick check Michel. I had removed the condition in my local source in ms_present_check_unflip() method and moved the assignment to ms_present_check_flip() method. Below is the snippet. static Bool ms_present_check_flip(RRCrtcPtr crtc, WindowPtr window,

Re: Adaptive Sync enabling in Xorg Modesetting driver

2020-05-25 Thread Michel Dänzer
On 2020-05-25 4:58 p.m., uday kiran pichika wrote: > Thanks Michel.. > > sorry if my description is not clear. > Yes I have used with glxgears in fullscreen mode and also a simple glxapp > which actually opens in fullscreen by default. > > In both the cases, the issue is same. > > Just wanted to

Re: Adaptive Sync enabling in Xorg Modesetting driver

2020-05-25 Thread uday kiran pichika
Hi Daniel, We are trying to enable this feature in the Modesetting driver based on AMD DDX driver as a reference. Do you have any pointers to make this work ? Thanks Uday Kiran On Mon, May 25, 2020 at 8:45 PM Daniel Vetter wrote: > On Mon, May 25, 2020 at 07:01:21PM +0530, uday kiran pichika w

Re: Adaptive Sync enabling in Xorg Modesetting driver

2020-05-25 Thread uday kiran pichika
Thanks for the input simon. Sway Compositor is based on the wayland protocol right !! But we are trying to do it through Xorg modesetting driver.. On Mon, May 25, 2020 at 8:50 PM Simon Ser wrote: > On Monday, May 25, 2020 5:15 PM, Daniel Vetter wrote: > > > On Mon, May 25, 2020 at 07:01:21PM +

Re: Adaptive Sync enabling in Xorg Modesetting driver

2020-05-25 Thread Simon Ser
On Monday, May 25, 2020 5:15 PM, Daniel Vetter wrote: > On Mon, May 25, 2020 at 07:01:21PM +0530, uday kiran pichika wrote: > > > Hello, > > Am working on enabling the Adaptive sync feature as part of the > > Xorg/Modesetting DDX driver by taking the reference of AMD DDX Driver > > (xf86-video-am

Re: Adaptive Sync enabling in Xorg Modesetting driver

2020-05-25 Thread Daniel Vetter
On Mon, May 25, 2020 at 07:01:21PM +0530, uday kiran pichika wrote: > Hello, > > Am working on enabling the Adaptive sync feature as part of the > Xorg/Modesetting DDX driver by taking the reference of AMD DDX Driver > (xf86-video-amdgpu). Below is the commit which i submitted. > https://gitlab.fr

Re: Adaptive Sync enabling in Xorg Modesetting driver

2020-05-25 Thread uday kiran pichika
Thanks Michel.. sorry if my description is not clear. Yes I have used with glxgears in fullscreen mode and also a simple glxapp which actually opens in fullscreen by default. In both the cases, the issue is same. Just wanted to know if AMD has done anything different apart from the configuration

Re: Adaptive Sync enabling in Xorg Modesetting driver

2020-05-25 Thread Michel Dänzer
On 2020-05-25 3:31 p.m., uday kiran pichika wrote: > Hello, > > Am working on enabling the Adaptive sync feature as part of the > Xorg/Modesetting DDX driver by taking the reference of AMD DDX Driver > (xf86-video-amdgpu). Below is the commit which i submitted. > https://gitlab.freedesktop.org/pic

Adaptive Sync enabling in Xorg Modesetting driver

2020-05-25 Thread uday kiran pichika
Hello, Am working on enabling the Adaptive sync feature as part of the Xorg/Modesetting DDX driver by taking the reference of AMD DDX Driver (xf86-video-amdgpu). Below is the commit which i submitted. https://gitlab.freedesktop.org/pichika/xserver/-/commit/682565a645bda7371cc3731ee805cc4a0ace80db