alacritty: Immediate exit without error on latest 0.11.0-dev with llvmpipe

For bug reports, the following information can help speed up the process. Please describe the bug that you have found and what you would expect to happen instead.

System

OS: Linux Version: alacritty 0.11.0-dev (9bbb296d) Linux/BSD: Raspberry Pi OS

Logs

Crashes: STDERR, STDOUT Font/Terminal size: alacritty -vv

[0.000030759s] [INFO ] [alacritty] Welcome to Alacritty
[0.000342942s] [INFO ] [alacritty] Version 0.11.0-dev (9bbb296d)
[0.000421923s] [INFO ] [alacritty] Running on X11
[0.003498737s] [INFO ] [alacritty] Configuration files loaded from:
                                     "/home/pi/.config/alacritty/alacritty.yml"
[0.006133184s] [DEBUG] [alacritty] Loading "LucidaSans NF" font
[0.028872356s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Regular, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 }
[0.031386396s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Bold, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 }
[0.034198841s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Regular, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 }
[0.036662011s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Regular, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 }
[0.038153817s] [DEBUG] [alacritty] Estimated scaling factor: 1
[0.038218983s] [DEBUG] [alacritty] Estimated window size: Some(PhysicalSize { width: 765, height: 456 })
[0.038262668s] [DEBUG] [alacritty] Estimated cell size: 9 x 19
[0.274777300s] [INFO ] [alacritty] Running on llvmpipe (LLVM 9.0.1, 128 bits)
[0.274880114s] [INFO ] [alacritty] Using OpenGL 3.3 renderer
[0.334836073s] [INFO ] [alacritty] Display scale factor: 1
[0.334950720s] [DEBUG] [alacritty] Filling glyph cache with common glyphs
[0.347628252s] [INFO ] [alacritty] Cell size: 9 x 19
[0.347741677s] [INFO ] [alacritty] Padding: 0 x 0
[0.347782788s] [INFO ] [alacritty] Width: 765, Height: 456
[0.360505190s] [INFO ] [alacritty] PTY dimensions: 24 x 85
[0.373230444s] [INFO ] [alacritty] Initialisation complete
[0.444211981s] [DEBUG] [alacritty_terminal] Term::resize dimensions unchanged
[0.444390202s] [INFO ] [alacritty] Padding: 0 x 0
[0.444445721s] [INFO ] [alacritty] Width: 765, Height: 456

Keyboard and bindings: alacritty --print-events

[0.000021111s] [INFO ] [alacritty] Welcome to Alacritty
[0.000282627s] [INFO ] [alacritty] Version 0.11.0-dev (9bbb296d)
[0.000336385s] [INFO ] [alacritty] Running on X11
[0.002384009s] [INFO ] [alacritty] Configuration files loaded from:
                                     "/home/pi/.config/alacritty/alacritty.yml"
[0.275851512s] [INFO ] [alacritty] Running on llvmpipe (LLVM 9.0.1, 128 bits)
[0.275954529s] [INFO ] [alacritty] Using OpenGL 3.3 renderer
[0.337851451s] [INFO ] [alacritty] Display scale factor: 1
[0.350623500s] [INFO ] [alacritty] Cell size: 9 x 19
[0.350732055s] [INFO ] [alacritty] Padding: 0 x 0
[0.350772499s] [INFO ] [alacritty] Width: 765, Height: 456
[0.364301095s] [INFO ] [alacritty] PTY dimensions: 24 x 85
[0.379873797s] [INFO ] [alacritty] Initialisation complete
[0.522059918s] [INFO ] [alacritty] glutin event: NewEvents(Init)
[0.522269249s] [INFO ] [alacritty] glutin event: WindowEvent { window_id: WindowId(X(WindowId(39845890))), event: Destroyed }
[0.528353916s] [INFO ] [alacritty] glutin event: WindowEvent { window_id: WindowId(X(WindowId(39845901))), event: Resized(PhysicalSize { width: 765, height: 456 }) }
[0.528502174s] [INFO ] [alacritty] glutin event: WindowEvent { window_id: WindowId(X(WindowId(39845901))), event: Moved(PhysicalPosition { x: 0, y: 36 }) }
[0.530075877s] [INFO ] [alacritty] glutin event: WindowEvent { window_id: WindowId(X(WindowId(39845901))), event: Focused(true) }
[0.530163395s] [INFO ] [alacritty] glutin event: WindowEvent { window_id: WindowId(X(WindowId(39845901))), event: CursorMoved { device_id: DeviceId(X(DeviceId(2))), position: PhysicalPosition { x: 1374.0, y: 418.0 }, modifiers: (empty) } }
[0.530548205s] [INFO ] [alacritty] glutin event: MainEventsCleared
[0.530730592s] [INFO ] [alacritty] glutin event: RedrawRequested(WindowId(X(WindowId(39845901))))
[0.530797276s] [INFO ] [alacritty] glutin event: RedrawRequested(WindowId(X(WindowId(39845890))))
[0.530965496s] [INFO ] [alacritty] glutin event: RedrawEventsCleared
[0.531563711s] [INFO ] [alacritty] Padding: 0 x 0
[0.531680302s] [INFO ] [alacritty] Width: 765, Height: 456

version 10.1 works without issue (although it was installed using cargo install alacritty) Also cargo build --release builds 0.11.0-dev instead of 0.10.1, is that exptected behavior?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 19 (11 by maintainers)

Most upvoted comments

Try running LIBGL_ALWAYS_SOFTWARE=0 alacritty or trying to figure out what is setting LIBGL_ALWAYS_SOFTWARE setting.

I remember setting that to 1 when I first installed alacritty to make it work. Setting it to 0 gives me the error:

Error: There was an error initializing the shaders: Failed compiling shader: 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.00 ES, and 3.00 ES

which is the goes back to the fix I implemented from #128. I will try later a version that includes #5902 and report back.


Though, what PI is that, does it have gles2?

Just the regular Pi 4 or “4B” with 4 GB of ram. I searched around and the one thing was able to gather is that the Pi 4 uses different gpu architecture/drivers from the previous pi.

@darg2012 or not the latest master, but the version you’ve used when reporting the issue, I think it should work without llvmpipe just fine. Unless it’s some old pi?