alacritty / alacritty

A cross-platform, OpenGL terminal emulator.
https://alacritty.org
Apache License 2.0
53.72k stars 2.94k forks source link

Opactiy not working #7944

Closed jonesy-b-dev closed 4 weeks ago

jonesy-b-dev commented 4 weeks ago

Im trying to get an transparent terminal with alacritty but i cant get it to work. I have this in my alacritty.toml The padding does work so the config file is being loaded. I'm new to all of this.

 [window]
 opacity = 0.8

 [window.padding]
 x = 6
 y = 6

System

OS: Arch Linux Version: 0.13.2 Linux/BSD: Arch i3wm

Logs

Font/Terminal size:

Created log file at "/tmp/Alacritty-1488.log"
[0.000004820s] [INFO ] [alacritty] Welcome to Alacritty
[0.000035681s] [INFO ] [alacritty] Version 0.13.2 (bb8ea18e)
[0.000040981s] [INFO ] [alacritty] Running on X11
[0.000132653s] [INFO ] [alacritty] Configuration files loaded from:
                                     "/home/jonesy/.config/alacritty/alacritty.toml"
[0.006277068s] [INFO ] [alacritty] Using GLX 1.4
MESA: error: ZINK: vkEnumeratePhysicalDevices failed (VK_ERROR_INITIALIZATION_FAILED)
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
[0.043554014s] [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.045553769s] [INFO ] [alacritty] Window scale factor: 1
[0.056956859s] [DEBUG] [alacritty] Loading "monospace" font
[0.061423237s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Regular, load_flags: TARGET_LIGHT, render_mode: "Lcd", lcd_filter: 1 }
[0.061745554s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Bold, load_flags: TARGET_LIGHT, render_mode: "Lcd", lcd_filter: 1 }
[0.062030350s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Oblique, load_flags: TARGET_LIGHT, render_mode: "Lcd", lcd_filter: 1 }
[0.062342937s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Bold Oblique, load_flags: TARGET_LIGHT, render_mode: "Lcd", lcd_filter: 1 }
[0.063508143s] [INFO ] [alacritty] Running on llvmpipe (LLVM 17.0.6, 256 bits)
[0.063522264s] [INFO ] [alacritty] OpenGL version 4.5 (Core Profile) Mesa 24.0.6-arch1.2, shader_version 4.50
[0.063528784s] [INFO ] [alacritty] Using OpenGL 3.3 renderer
[0.071521559s] [DEBUG] [alacritty] Enabled debug logging for OpenGL
[0.071566230s] [DEBUG] [alacritty] Filling glyph cache with common glyphs
[0.074603477s] [INFO ] [alacritty] Cell size: 9 x 15
[0.074626998s] [INFO ] [alacritty] Padding: 6 x 6
[0.074633628s] [INFO ] [alacritty] Width: 800, Height: 600
[0.077848029s] [INFO ] [alacritty] PTY dimensions: 39 x 87
[0.081565741s] [INFO ] [alacritty] Initialisation complete
[0.088548094s] [DEBUG] [alacritty_terminal] New num_cols is 93 and num_lines is 67
[0.091133101s] [INFO ] [alacritty] Padding: 6 x 6
[0.091154182s] [INFO ] [alacritty] Width: 849, Height: 1020
Keyboard and bindings: `alacritty --print-events`
kchibisov commented 4 weeks ago

You need something like picom with wm like i3.