mtytel / vital

Spectral warping wavetable synth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to fix high CPU/GPU usage on NVIDIA Card.

KottV opened this issue · comments

Hi,

It looks like the Vital try to draw UI with very high FPS.
I've made a profile with nvidia-settings in ~/.nv :

{
    "rules": [
        {
            "pattern": {
                "feature": "procname",
                "matches": "vial"
            },
            "profile": "profile_327b23c6"
        }
    ],
    "profiles": [
        {
            "name": "profile_327b23c6",
            "settings": [
                {
                    "key": "GLShowGraphicsOSD",
                    "value": true
                },
                {
                    "key": "GLSyncToVblank",
                    "value": true
                }
            ]
        }
    ]
}

If "GLSyncToVblank" is set to false then Vital window shows ~600-700 fps, this is too much I think. Setting it to true brings drawing to normal 60 fps (my display frame rate) and CPU usage to ~19% per one core.

PS this obviously works for Standalone version only.