Skip to content

Cannot generate videos with Google Colab (was previously working): RuntimeError: Could not import backend "EGL": Could not initialize #163

Open
@oca112

Description

@oca112

Discussed in #162

Originally posted by oca112 April 7, 2023
I've setup a google colab with fast_stable_diffusion here: https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb

When trying to generate a video from the inpainted mesh, I get the following error - any ideas on how to troubleshoot this?

Error completing request Arguments: ('batch/batch_outputs/02_01-0000.ply', '375', '30', 0, '-0.037, +0.037, -0.05', '0.03, 0.03, 0.05, 0.03', False, 0, 2) {} Traceback (most recent call last): File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/call_queue.py", line 56, in f res = list(func(*args, **kwargs)) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/call_queue.py", line 37, in f res = func(*args, **kwargs) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/stable-diffusion-webui-depthmap-script/scripts/depthmap.py", line 851, in run_makevideo fn_saved = run_3dphoto_videos(fn_mesh, basename, outpath, num_frames, num_fps, crop_border, vid_traj, x_shift_range, y_shift_range, z_shift_range, [''], dolly, fnExt, vid_ssaa) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/stable-diffusion-webui-depthmap-script/scripts/depthmap.py", line 739, in run_3dphoto_videos vispy.use(app='egl') File "/usr/local/lib/python3.9/dist-packages/vispy/util/wrappers.py", line 93, in use use_app(app) File "/usr/local/lib/python3.9/dist-packages/vispy/app/_default_app.py", line 47, in use_app default_app = Application(backend_name) File "/usr/local/lib/python3.9/dist-packages/vispy/app/application.py", line 47, in __init__ self._use(backend_name) File "/usr/local/lib/python3.9/dist-packages/vispy/app/application.py", line 240, in _use raise RuntimeError(msg) RuntimeError: Could not import backend "EGL": Could not initialize

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions