Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WPF - cannot redraw page on Intel 11th Core Iris Xe Integration graphic card #3280

Closed
LMing123 opened this issue Nov 13, 2020 · 3 comments
Closed

Comments

@LMing123
Copy link

LMing123 commented Nov 13, 2020

  • What version of the product are you using?

    • Nuget v85.3.130
  • What architecture x86 or x64?
    x64

  • On what operating system?
    Win10 20H2

  • Are you using WinForms, WPF or OffScreen?
    WPF

  • What steps will reproduce the problem?

    1. use MinimalExample complied CefSharp.MinimalExample.Wpf
    2. open WPF example on 11th Intel Core cpu whit Iris Xe graphics.
    3. the web page don't auto redraw unless manual resize window.
  • What is the expected output? What do you see instead?
    it's not any expected output, just this page doesn't redraw.

  • Please provide any additional information below.
    CefSharp.WinForm dosen't have this problem. just WPF have.
    use this code disable WPF hardware acceleration, everything seem normal.

protected override void OnSourceInitialized(EventArgs e)
        {
            base.OnSourceInitialized(e);
            HwndSource source = PresentationSource.FromVisual(this) as HwndSource;
            if (source != null)
                source.CompositionTarget.RenderMode = RenderMode.SoftwareOnly;
        }
  • Does this problem also occur in the CEF Sample Application
    NO, only occur in CefSharp.WPF.
@LMing123 LMing123 changed the title CefSharp.WPF cannot render page on Intel 11th Core Iris Xe Integration graphic card CefSharp.WPF cannot redraw page on Intel 11th Core Iris Xe Integration graphic card Nov 13, 2020
@amaitland amaitland changed the title CefSharp.WPF cannot redraw page on Intel 11th Core Iris Xe Integration graphic card WPF - cannot redraw page on Intel 11th Core Iris Xe Integration graphic card Nov 13, 2020
@amaitland
Copy link
Member

Thanks for the workaround 👍 Have you reported the issue with the WPF team?

Making this as known-issue.

As this doesn't appear to be anything actionable from a CefSharp point of view I'm going to close this.

@LMing123
Copy link
Author

Thanks for the workaround 👍 Have you reported the issue with the WPF team?

Making this as known-issue.

As this doesn't appear to be anything actionable from a CefSharp point of view I'm going to close this.

okay, thanks for you reply.

I haven't reported this to the WPF Team, now that I'll report the issue to WPF team.

@amaitland
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants