Skip to content

No available video device - Any way to use the library on headless ubuntu server? #9410

@slunak

Description

@slunak

Hello folks.

Is there any way to use the library on a Ubuntu Server without a display?

if err := sdl.Init(sdl.INIT_VIDEO); err != nil {
    println(err.Error())
    return
}

Gives the following error: No available video device, which is expected.

The reason I would like to use the library on headless ubuntu is to only generate graphics with SDL and later simply copy it to LED matrix display, pixel by pixel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions