Skip to content

headless-gl on linux with Nvidia GPU #297

@jjh42

Description

@jjh42

Hi,

I'm trying to use headless-gl on a linux (cloud) machine with an Nvidia GPU to improve rendering speed.

If I use xvfb with no gpu and no glx suppot (e.g. glxgears won't work) then I can create a context.

However, if I use the x11 library with nvidia driver, then glxgears works (so the display is working fine) but headless-gl can't seem to use the display.

> var gl = require('gl')(64, 64)
failed to create drawable
undefined

This is Ubuntu 24.04 and headless-gl 8.0.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions