Can't see a cursor when I launch alacritty via Linux making it unusable via a fresh install...
Am running a virtualized Ubuntu 24.04 Linux through UTM on my Apple M2 Macbook Pro.
Everything (individual apps, window resizing, etc) running through Kubuntu is rendering correctly, by the way.
Installed alacritty 0.13.2 using apt: sudo apt install alacritty
~/.config/alacritty/alacritty.toml:
live_config_reload = true[window]decorations = "full"dynamic_padding = falsedynamic_title = truestartup_mode = "Windowed"[env]TERM = "xterm-256color"[scrolling]history = 10000multiplier = 3[mouse]hide_when_typing = true[cursor]style = "Block"unfocused_hollow = true[shell]program = "/usr/bin/bash"[font]size = 14[font.normal]family = "MesloLGS NF"style = "Regular"When I launch Alacritty from the command line, I just get the window without any cursor or controls (seems like dead window)?
That vertical bar is my mouse cursor...
Tried to see that's happening behind-the-scenes:
alacritty --print-eventsHere's the output:
Created log file at "/tmp/Alacritty-2309.log"[0.000001834s] [INFO ] [alacritty] Welcome to Alacritty[0.000172748s] [INFO ] [alacritty] Version 0.13.2[0.000191956s] [INFO ] [alacritty] Running on X11[0.000452036s] [INFO ] [alacritty] Configuration files loaded from:"/home/sidious/.config/alacritty/alacritty.toml"[0.008933875s] [INFO ] [alacritty] winit event: NewEvents(Init)[0.008991666s] [INFO ] [alacritty] winit event: Resumed[0.011603837s] [INFO ] [alacritty] Using GLX 1.4[0.045270698s] [INFO ] [alacritty] Window scale factor: 1.0833333333333333[0.067428553s] [INFO ] [alacritty] Running on virgl (ANGLE (Apple, Apple M2 Max, OpenGL 4.1 Metal - 88.1))[0.067466469s] [INFO ] [alacritty] OpenGL version OpenGL ES 3.0 Mesa 24.0.9-0ubuntu0.1, shader_version OpenGL ES GLSL ES 3.00[0.067478219s] [INFO ] [alacritty] Using OpenGL ES 2.0 renderer[0.067645550s] [INFO ] [alacritty] Running on OpenGL ES context[0.067655800s] [INFO ] [alacritty] Using dual source blending[0.074342539s] [INFO ] [alacritty] Cell size: 10 x 23[0.074361456s] [INFO ] [alacritty] Padding: 0 x 0[0.074365914s] [INFO ] [alacritty] Width: 800, Height: 600[0.086731699s] [INFO ] [alacritty] PTY dimensions: 26 x 80[0.088529090s] [INFO ] [alacritty] Initialisation complete[0.088927251s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(50331651)), event: Ime(Disabled) }[0.088949376s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(50331651)), event: Ime(Enabled) }[0.089846363s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(50331651)), event: Focused(false) }[0.090031236s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(50331651)), event: Occluded(false) }[0.090045277s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(50331651)), event: RedrawRequested }[0.095090581s] [INFO ] [alacritty] winit event: AboutToWait[0.095151289s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 663, tv_nsec: 301912112 }, requested_resume: Some(Instant { tv_sec: 663, tv_nsec: 315194321 }) })[0.095166747s] [INFO ] [alacritty] winit event: AboutToWait[0.097448340s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 663, tv_nsec: 301943778 }, requested_resume: Some(Instant { tv_sec: 663, tv_nsec: 315194321 }) })[0.097534714s] [INFO ] [alacritty] winit event: AboutToWait[0.098212996s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 663, tv_nsec: 304313370 }, requested_resume: Some(Instant { tv_sec: 663, tv_nsec: 315194321 }) })[0.098517492s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(50331651)), event: Focused(true) }[0.099616268s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(50331651)), event: KeyboardInput { device_id: DeviceId(X(DeviceId(3))), event: KeyEvent { physical_key: Code(Enter), logical_key: Named(Enter), text: Some("\r"), location: Standard, state: Pressed, repeat: false, platform_specific: KeyEventExtra { key_without_modifiers: Named(Enter), text_with_all_modifiers: Some("\r") } }, is_synthetic: true } }[0.100077886s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(50331651)), event: ModifiersChanged(Modifiers { state: ModifiersState(0x0), pressed_mods: ModifiersKeys(0x0) }) }[0.100087469s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(50331651)), event: CursorMoved { device_id: DeviceId(X(DeviceId(2))), position: PhysicalPosition { x: 644.0, y: 272.0 } } }[0.100093886s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(50331651)), event: Occluded(false) }[0.102078983s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(50331651)), event: Moved(PhysicalPosition { x: 460, y: 310 }) }[0.102164565s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(50331651)), event: Resized(PhysicalSize { width: 800, height: 600 }) }[0.102180982s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(50331651)), event: RedrawRequested }[0.104156121s] [INFO ] [alacritty] winit event: AboutToWait[0.104454241s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 663, tv_nsec: 311218731 }, requested_resume: Some(Instant { tv_sec: 663, tv_nsec: 315194280 }) })[0.104469116s] [INFO ] [alacritty] winit event: UserEvent(Event { window_id: Some(WindowId(WindowId(50331651))), payload: Terminal(Title(sidious@exegol: ~)) })[0.104475324s] [INFO ] [alacritty] winit event: UserEvent(Event { window_id: Some(WindowId(WindowId(50331651))), payload: Terminal(Wakeup) })[0.104479533s] [INFO ] [alacritty] winit event: AboutToWait[0.104821736s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 663, tv_nsec: 311385312 }, requested_resume: Some(Instant { tv_sec: 663, tv_nsec: 315194280 }) })[0.104843944s] [INFO ] [alacritty] winit event: AboutToWait[0.106776084s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 663, tv_nsec: 311621476 }, requested_resume: Some(Instant { tv_sec: 663, tv_nsec: 315194280 }) })[0.106801667s] [INFO ] [alacritty] winit event: AboutToWait[0.108527059s] [INFO ] [alacritty] winit event: NewEvents(ResumeTimeReached { start: Instant { tv_sec: 663, tv_nsec: 313579448 }, requested_resume: Instant { tv_sec: 663, tv_nsec: 315194280 } })[0.108590558s] [INFO ] [alacritty] winit event: AboutToWait[0.108606016s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 663, tv_nsec: 315373923 }, requested_resume: None })[0.108613058s] [INFO ] [alacritty] winit event: UserEvent(Event { window_id: Some(WindowId(WindowId(50331651))), payload: Frame })[0.108617350s] [INFO ] [alacritty] winit event: UserEvent(Event { window_id: Some(WindowId(WindowId(50331651))), payload: Frame })[0.108620600s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(50331651)), event: RedrawRequested }[0.109541170s] [INFO ] [alacritty] winit event: AboutToWait[0.122131118s] [INFO ] [alacritty] winit event: NewEvents(ResumeTimeReached { start: Instant { tv_sec: 663, tv_nsec: 316345534 }, requested_resume: Instant { tv_sec: 663, tv_nsec: 328527280 } })[0.122163618s] [INFO ] [alacritty] winit event: AboutToWait[0.122173618s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 663, tv_nsec: 328942816 }, requested_resume: None })[0.122177951s] [INFO ] [alacritty] winit event: UserEvent(Event { window_id: Some(WindowId(WindowId(50331651))), payload: Frame })[0.122181534s] [INFO ] [alacritty] winit event: AboutToWaitUsing -vv flag:
alacritty -vvOutputs:
Created log file at "/tmp/Alacritty-2379.log"[0.000000917s] [INFO ] [alacritty] Welcome to Alacritty[0.000266170s] [INFO ] [alacritty] Version 0.13.2[0.000277212s] [INFO ] [alacritty] Running on X11[0.000381505s] [INFO ] [alacritty] Configuration files loaded from:"/home/sidious/.config/alacritty/alacritty.toml"[0.008554684s] [INFO ] [alacritty] Using GLX 1.4[0.041893949s] [DEBUG] [alacritty] Picked GL Config: buffer_type: Some(Rgb { r_size: 8, g_size: 8, b_size: 8 }) alpha_size: 8 num_samples: 0 hardware_accelerated: true supports_transparency: Some(true) config_api: Api(OPENGL | GLES1 | GLES2) srgb_capable: false[0.056191283s] [INFO ] [alacritty] Window scale factor: 1.0833333333333333[0.056839166s] [DEBUG] [alacritty] Loading "monospace" font[0.065800604s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Regular, load_flags: TARGET_LIGHT, render_mode: "Lcd", lcd_filter: 1 }[0.068727805s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Bold, load_flags: TARGET_LIGHT, render_mode: "Lcd", lcd_filter: 1 }[0.071515296s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Regular, load_flags: NO_BITMAP | TARGET_LIGHT, render_mode: "Lcd", lcd_filter: 1 }[0.074151952s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Bold, load_flags: NO_BITMAP | TARGET_LIGHT, render_mode: "Lcd", lcd_filter: 1 }[0.077765328s] [INFO ] [alacritty] Running on virgl (ANGLE (Apple, Apple M2 Max, OpenGL 4.1 Metal - 88.1))[0.077785495s] [INFO ] [alacritty] OpenGL version OpenGL ES 3.0 Mesa 24.0.9-0ubuntu0.1, shader_version OpenGL ES GLSL ES 3.00[0.077790286s] [INFO ] [alacritty] Using OpenGL ES 2.0 renderer[0.077963330s] [INFO ] [alacritty] Running on OpenGL ES context[0.077987872s] [INFO ] [alacritty] Using dual source blending[0.084759451s] [DEBUG] [alacritty] Enabled debug logging for OpenGL[0.084778410s] [DEBUG] [alacritty] Filling glyph cache with common glyphs[0.087095770s] [INFO ] [alacritty] Cell size: 10 x 23[0.087128312s] [INFO ] [alacritty] Padding: 0 x 0[0.087131979s] [INFO ] [alacritty] Width: 800, Height: 600[0.100193882s] [INFO ] [alacritty] PTY dimensions: 26 x 80[0.101397271s] [INFO ] [alacritty] Initialisation completeAlacritty works fine on the host OS which is macOS but not on the guest OS which is Ubuntu.
