We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Dedicated GPU not being used, sluggish performance

Home Forums General Questions Dedicated GPU not being used, sluggish performance

Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #46924
    Yorick
    Customer

    Hi,

    I have a dedicated GPU, but even when Verge3D really stresses my integrated GPU (UHD 630), it doesn’t switch to my dedicated GPU (GeForce GTX 1050 Ti) – Windows 10, latest chrome build.

    Colleagues on IOS suffer from the same issue. It really makes the whole browser lag, but never switches to the dedicated GPU.

    When we force the browser in dedicated gpu mode, then it runs smooth.

    This makes our model almost unusable… Any help would be greatly appreciated!

    #46929

    Hi,
    I believe we might need to implement performance preference setting in the init puzzle. It might not work in all cases but still better than nothing. Adding this task to our TODO list.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #46930
    Yorick
    Customer

    Hi Alexander,
    are you refering to powerPreference: 'highPerformance' or to something else?
    Is it something we could manually set in the file at the moment?

    #46934

    Yep, you can insert WebGL context attributes in the main JS file of your application (right before App constructor):

        ctxSettings.powerPreference = 'high-performance';
    
        var app = new v3d.App(CONTAINER_ID, ctxSettings, preloader);
        if (initOptions.useBkgTransp) {
            app.clearBkgOnLoad = true;
            app.renderer.setClearColor(0x000000, 0);
        }

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #46982
    Yorick
    Customer

    some feedback:
    when we set ctxSettings.powerPreference = ‘high-performance’;
    it makes it unusable on different machines with only integrated GPUs available to the browser
    (you can check which GPUs are available to the browser with this code: https://jdashg.github.io/misc/webgl/low-power.html)
    AND it also creates some artifacts
    it’s really unusably slow, even though it works OK without powerPreference = ‘high-performance’;

    So it seems like setting that powerPreference uses a lot more GPU resources (too much for an integrated GPU in our case)

    When the browser has access to a dedicated GPU for high performance (again, you can check like this: https://jdashg.github.io/misc/webgl/low-power.html) then it does work fine

    #46983

    That’s really strange! What is the system that causes freezes and artifacts on ctxSettings.powerPreference = ‘high-performance’?

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #46991
    Yorick
    Customer

    both on my laptop (dell xps 15):
    windows 10 pro
    intel i7 8750H
    16GM RAM
    intel UHD 630
    GeForce GTX 1050 Ti

    and my cellphone (Oneplus Nord):
    Android 11
    Qualcomm SM7250 Snapdragon 765G
    12GB RAM
    Adreno 620

    important fact:
    on my pc the browser doesn’t report the discrete GPU when visiting https://jdashg.github.io/misc/webgl/low-power.html
    but only the integrated one for both “low-power” and “high-performance”

    on my cellphone it mentions the Adreno 620 for both “low-power” and “high-performance”

    #47003

    Looks like this feature is formally supported, but actually ignored in Chrome (and it appears so it does not work in other browsers too). So there are two choices remain:

    1) optimize scene for low-end Intel GPU (for example by using the check performance puzzle)

    2) detect low-end GPU and report to the user along instructions how to switch to discrete graphics.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.