Skip to content

Graceful shutdown with cleanup #1989

@Caiburn

Description

@Caiburn

After generating some images during the day, if I don't reboot my machine before a gaming session, weird errors happen, mostly glitching out the display and hanging the window manager.
I can 100% reproduce this when, after generating images, I close the web frontend and send CTRL+C to the generation process ("Press any key" ends the process) and start older 3D accelerated games like Everquest.

It seems that the model and maybe other data is not cleanly unloaded from the graphics card, leaving it in an unstable state.

I'd like to have a "Graceful Shutdown" button in the web interface that cleans up everything in GPU memory and leaves it in a clean, unbroken state.

So far the only way to avoid a REISUB (Linux Mint, on a freeze I can't even start a new session/console) is to reboot my machine after generating/before gaming.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions