none
WPF window flickers rendering the frames.

    Question

  • Hi,

    I have a C# application which has a DirectShow layer beneath. I pass on the WPF window handle, X, Y coordinates, Desired width, and height while initializing the filter graph. Using these values, I draw the frames on the WPF window from the DirectShow layer.

    In certain desktops, I am facing an issue. I am unable to render the video properly. The screen seems to be flickering (This issue is not recreated in all the desktops).  Please find the screenshot in the following dropbox link.,

    Link: https://www.dropbox.com/s/hdetstp9mov3ytb/FlickeringIssueScreenShot.jpg?dl=0

    The details of one such desktop is.,

    1. Windows 7 professional 64bit OS.
    2. Intel HD graphics 10.18.10.4276.

    While researching on this issue, the input from certain forums was to update the display driver. But, even after updating, I am facing this issue. Though, the flickering rate has gone down(minor change).

    What could be the reason behind this issue? Please share your thoughts to get through this.

    Thanks in advance.

    Wednesday, January 25, 2017 2:08 PM

All replies

  • Have you checked this is not happening whent there is no dedicated graphic memory (the graphic processor uses part of the CPU memory)?

    Michel Roujansky, http://www.roujansky.com

    Thursday, January 26, 2017 1:23 PM
    Moderator
  • Yes, this is not happening when there is no dedicated graphic memory. This issue is consistently found when I resize the window. 
    Tuesday, January 31, 2017 9:54 AM