alacritty: window.opacity doesn't seem to work

I have set the opacity to 0.9, via window.opacity. But the opacity doesn’t seem to change. What’s the case? Screenshot_20221018_102857

Things I’ve tried/verified:

  1. The indentation is correct. (2 spaces per tab)
  2. I have only 1 instance of window.opcacity
  3. My compositor (picom) is working, I’ve tried it with no configs, too
  4. The opacity value is detected, verified by increasing the opacity to over 1, which causes the screen to go white
  5. Tried upgrading and restarting the system, tried with different, kernels, still didn’t work

System

OS: Linux Version: alacritty 0.11.0 (8dbaa0bb) Linux/BSD: Xfce4, XmonadWM, picom

Logs

Crashes: STDERR, STDOUT Font/Terminal size:

[0.000004505s] [INFO ] [alacritty] Welcome to Alacritty
[0.000060405s] [INFO ] [alacritty] Version 0.11.0 (8dbaa0bb)
[0.000083152s] [INFO ] [alacritty] Running on X11
[0.001915620s] [INFO ] [alacritty] Configuration files loaded from:
                                     "/home/neon/.config/alacritty/alacritty.yml"
[0.004130360s] [DEBUG] [alacritty] Loading "JetBrainsMono Nerd Font" font
[0.025659638s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Regular, load_flags: FORCE_AUTOHINT | TARGET_LIGHT, render_mode: "Lcd", lcd_filter: 1 }
[0.034609391s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Bold, load_flags: FORCE_AUTOHINT | TARGET_LIGHT, render_mode: "Lcd", lcd_filter: 1 }
[0.041978529s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Italic, load_flags: FORCE_AUTOHINT | TARGET_LIGHT, render_mode: "Lcd", lcd_filter: 1 }
[0.048536930s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Bold Italic, load_flags: FORCE_AUTOHINT | TARGET_LIGHT, render_mode: "Lcd", lcd_filter: 1 }
[0.053499795s] [DEBUG] [alacritty] Estimated scaling factor: 1
[0.053533235s] [DEBUG] [alacritty] Estimated window size: None
[0.053544242s] [DEBUG] [alacritty] Estimated cell size: 10 x 24
[0.101468452s] [INFO ] [alacritty] Running on ATI RV370
[0.101495625s] [INFO ] [alacritty] Using OpenGL ES 2.0 renderer
r300 FP: Compiler Error:
../mesa-22.2.1/src/gallium/drivers/r300/compiler/r300_fragprog_emit.c::emit_alu(): Too many ALU instructions
Using a dummy shader instead.
[0.112322776s] [INFO ] [alacritty] Display scale factor: 1
[0.112357788s] [DEBUG] [alacritty] Filling glyph cache with common glyphs
[0.144081698s] [INFO ] [alacritty] Cell size: 10 x 24
[0.144121131s] [INFO ] [alacritty] Padding: 6 x 6
[0.144135483s] [INFO ] [alacritty] Width: 800, Height: 600
[0.162261385s] [INFO ] [alacritty] PTY dimensions: 24 x 78
[0.165560924s] [INFO ] [alacritty] Initialisation complete
[0.173079478s] [DEBUG] [alacritty_terminal] New num_cols is 68 and num_lines is 34
[0.185709769s] [INFO ] [alacritty] Padding: 6 x 6
[0.185817183s] [INFO ] [alacritty] Width: 696, Height: 841

Keyboard and bindings:

[0.000003921s] [INFO ] [alacritty] Welcome to Alacritty
[0.000051590s] [INFO ] [alacritty] Version 0.11.0 (8dbaa0bb)
[0.000069302s] [INFO ] [alacritty] Running on X11
[0.001339339s] [INFO ] [alacritty] Configuration files loaded from:
                                     "/home/neon/.config/alacritty/alacritty.yml"
[0.003189432s] [INFO ] [alacritty] glutin event: NewEvents(Init)
[0.003211350s] [INFO ] [alacritty] glutin event: Resumed
[0.088049425s] [INFO ] [alacritty] Running on ATI RV370
[0.088078132s] [INFO ] [alacritty] Using OpenGL ES 2.0 renderer
r300 FP: Compiler Error:
../mesa-22.2.1/src/gallium/drivers/r300/compiler/r300_fragprog_emit.c::emit_alu(): Too many ALU instructions
Using a dummy shader instead.
[0.099367922s] [INFO ] [alacritty] Display scale factor: 1
[0.125363374s] [INFO ] [alacritty] Cell size: 10 x 24
[0.125397972s] [INFO ] [alacritty] Padding: 6 x 6
[0.125405985s] [INFO ] [alacritty] Width: 800, Height: 600
[0.136467640s] [INFO ] [alacritty] PTY dimensions: 24 x 78
[0.139950106s] [INFO ] [alacritty] Initialisation complete
[0.144519012s] [INFO ] [alacritty] glutin event: DeviceEvent { device_id: DeviceId(X(DeviceId(9))), event: Key(KeyboardInput { scancode: 28, state: Released, virtual_keycode: Some(Return), modifiers: (empty) }) }
[0.144735838s] [INFO ] [alacritty] glutin event: WindowEvent { window_id: WindowId(WindowId(56623106)), event: Ime(Disabled) }
[0.144878706s] [INFO ] [alacritty] glutin event: WindowEvent { window_id: WindowId(WindowId(56623106)), event: Resized(PhysicalSize { width: 800, height: 600 }) }
[0.144907486s] [INFO ] [alacritty] glutin event: WindowEvent { window_id: WindowId(WindowId(56623106)), event: Ime(Enabled) }
[0.144924405s] [INFO ] [alacritty] glutin event: WindowEvent { window_id: WindowId(WindowId(56623106)), event: Resized(PhysicalSize { width: 1430, height: 860 }) }
[0.144940663s] [INFO ] [alacritty] glutin event: WindowEvent { window_id: WindowId(WindowId(56623106)), event: Occluded(false) }
[0.145049278s] [INFO ] [alacritty] glutin event: WindowEvent { window_id: WindowId(WindowId(56623106)), event: CursorEntered { device_id: DeviceId(X(DeviceId(2))) } }
[0.145129511s] [INFO ] [alacritty] glutin event: WindowEvent { window_id: WindowId(WindowId(56623106)), event: CursorMoved { device_id: DeviceId(X(DeviceId(2))), position: PhysicalPosition { x: 938.0, y: 761.0 }, modifiers: (empty) } }
[0.145156255s] [INFO ] [alacritty] glutin event: WindowEvent { window_id: WindowId(WindowId(56623106)), event: Focused(true) }
[0.145173572s] [INFO ] [alacritty] glutin event: WindowEvent { window_id: WindowId(WindowId(56623106)), event: CursorMoved { device_id: DeviceId(X(DeviceId(2))), position: PhysicalPosition { x: 938.0, y: 761.0 }, modifiers: (empty) } }
[0.145389162s] [INFO ] [alacritty] glutin event: MainEventsCleared
[0.145410269s] [INFO ] [alacritty] glutin event: RedrawRequested(WindowId(WindowId(56623106)))
[0.145426190s] [INFO ] [alacritty] glutin event: RedrawEventsCleared
[0.147447475s] [INFO ] [alacritty] Padding: 6 x 6
[0.147484375s] [INFO ] [alacritty] Width: 1430, Height: 860
[0.213175301s] [INFO ] [alacritty] glutin event: NewEvents(WaitCancelled { start: Instant { tv_sec: 7509, tv_nsec: 163938787 }, requested_resume: None })
[0.213220370s] [INFO ] [alacritty] glutin event: UserEvent(Event { window_id: Some(WindowId(WindowId(56623106))), payload: Terminal(Wakeup) })
[0.213243040s] [INFO ] [alacritty] glutin event: MainEventsCleared
[0.213258598s] [INFO ] [alacritty] glutin event: RedrawEventsCleared
[0.222745314s] [INFO ] [alacritty] glutin event: NewEvents(WaitCancelled { start: Instant { tv_sec: 7509, tv_nsec: 206909249 }, requested_resume: None })
[0.222798370s] [INFO ] [alacritty] glutin event: UserEvent(Event { window_id: Some(WindowId(WindowId(56623106))), payload: Terminal(Wakeup) })
[0.222816521s] [INFO ] [alacritty] glutin event: UserEvent(Event { window_id: Some(WindowId(WindowId(56623106))), payload: Terminal(Wakeup) })
[0.222829001s] [INFO ] [alacritty] glutin event: UserEvent(Event { window_id: Some(WindowId(WindowId(56623106))), payload: Terminal(Wakeup) })
[0.222842165s] [INFO ] [alacritty] glutin event: UserEvent(Event { window_id: Some(WindowId(WindowId(56623106))), payload: Terminal(Wakeup) })
[0.222853479s] [INFO ] [alacritty] glutin event: UserEvent(Event { window_id: Some(WindowId(WindowId(56623106))), payload: Terminal(Wakeup) })
[0.222872600s] [INFO ] [alacritty] glutin event: MainEventsCleared
[0.222885124s] [INFO ] [alacritty] glutin event: RedrawEventsCleared
[0.263532644s] [INFO ] [alacritty] glutin event: NewEvents(WaitCancelled { start: Instant { tv_sec: 7509, tv_nsec: 247693142 }, requested_resume: None })
[0.263576069s] [INFO ] [alacritty] glutin event: UserEvent(Event { window_id: Some(WindowId(WindowId(56623106))), payload: Terminal(Wakeup) })
[0.263594953s] [INFO ] [alacritty] glutin event: UserEvent(Event { window_id: Some(WindowId(WindowId(56623106))), payload: Terminal(Wakeup) })
[0.263606313s] [INFO ] [alacritty] glutin event: MainEventsCleared
[0.263617877s] [INFO ] [alacritty] glutin event: RedrawEventsCleared
[0.370338494s] [INFO ] [alacritty] glutin event: NewEvents(WaitCancelled { start: Instant { tv_sec: 7509, tv_nsec: 287831902 }, requested_resume: None })
[0.370375612s] [INFO ] [alacritty] glutin event: UserEvent(Event { window_id: Some(WindowId(WindowId(56623106))), payload: Terminal(Wakeup) })
[0.370394348s] [INFO ] [alacritty] glutin event: MainEventsCleared
[0.370406052s] [INFO ] [alacritty] glutin event: RedrawEventsCleared
[0.399486934s] [INFO ] [alacritty] glutin event: NewEvents(WaitCancelled { start: Instant { tv_sec: 7509, tv_nsec: 383654546 }, requested_resume: None })
[0.399530612s] [INFO ] [alacritty] glutin event: UserEvent(Event { window_id: Some(WindowId(WindowId(56623106))), payload: Terminal(Wakeup) })
[0.399555619s] [INFO ] [alacritty] glutin event: UserEvent(Event { window_id: Some(WindowId(WindowId(56623106))), payload: Terminal(Wakeup) })
[0.399572610s] [INFO ] [alacritty] glutin event: UserEvent(Event { window_id: Some(WindowId(WindowId(56623106))), payload: Terminal(Wakeup) })
[0.399587166s] [INFO ] [alacritty] glutin event: UserEvent(Event { window_id: Some(WindowId(WindowId(56623106))), payload: Terminal(Wakeup) })
[0.399599348s] [INFO ] [alacritty] glutin event: UserEvent(Event { window_id: Some(WindowId(WindowId(56623106))), payload: Terminal(Wakeup) })
[0.399607508s] [INFO ] [alacritty] glutin event: UserEvent(Event { window_id: Some(WindowId(WindowId(56623106))), payload: Terminal(Wakeup) })
[0.399615294s] [INFO ] [alacritty] glutin event: UserEvent(Event { window_id: Some(WindowId(WindowId(56623106))), payload: Terminal(Wakeup) })
[0.399622739s] [INFO ] [alacritty] glutin event: MainEventsCleared
[0.399631882s] [INFO ] [alacritty] glutin event: RedrawEventsCleared
[0.438543720s] [INFO ] [alacritty] glutin event: NewEvents(WaitCancelled { start: Instant { tv_sec: 7509, tv_nsec: 422699677 }, requested_resume: None })
[0.438603627s] [INFO ] [alacritty] glutin event: UserEvent(Event { window_id: Some(WindowId(WindowId(56623106))), payload: Terminal(Wakeup) })
[0.438621495s] [INFO ] [alacritty] glutin event: UserEvent(Event { window_id: Some(WindowId(WindowId(56623106))), payload: Terminal(Title(~)) })
[0.438633356s] [INFO ] [alacritty] glutin event: UserEvent(Event { window_id: Some(WindowId(WindowId(56623106))), payload: Terminal(Wakeup) })
[0.438645034s] [INFO ] [alacritty] glutin event: UserEvent(Event { window_id: Some(WindowId(WindowId(56623106))), payload: Terminal(Wakeup) })
[0.438656809s] [INFO ] [alacritty] glutin event: MainEventsCleared
[0.438667166s] [INFO ] [alacritty] glutin event: RedrawEventsCleared
[0.490114820s] [INFO ] [alacritty] glutin event: NewEvents(WaitCancelled { start: Instant { tv_sec: 7509, tv_nsec: 461761973 }, requested_resume: None })
[0.490163858s] [INFO ] [alacritty] glutin event: DeviceEvent { device_id: DeviceId(X(DeviceId(9))), event: Key(KeyboardInput { scancode: 125, state: Pressed, virtual_keycode: None, modifiers: (empty) }) }
[0.490185324s] [INFO ] [alacritty] glutin event: WindowEvent { window_id: WindowId(WindowId(56623106)), event: ModifiersChanged(LOGO) }
[0.490246656s] [INFO ] [alacritty] glutin event: WindowEvent { window_id: WindowId(WindowId(56623106)), event: KeyboardInput { device_id: DeviceId(X(DeviceId(3))), input: KeyboardInput { scancode: 125, state: Pressed, virtual_keycode: None, modifiers: LOGO }, is_synthetic: false } }
[0.490285623s] [INFO ] [alacritty] glutin event: MainEventsCleared
[0.490299861s] [INFO ] [alacritty] glutin event: RedrawEventsCleared
[0.578151983s] [INFO ] [alacritty] glutin event: NewEvents(WaitCancelled { start: Instant { tv_sec: 7509, tv_nsec: 474507771 }, requested_resume: None })
[0.578203486s] [INFO ] [alacritty] glutin event: DeviceEvent { device_id: DeviceId(X(DeviceId(9))), event: Key(KeyboardInput { scancode: 16, state: Pressed, virtual_keycode: Some(Q), modifiers: LOGO }) }
[0.578245409s] [INFO ] [alacritty] glutin event: MainEventsCleared
[0.578262874s] [INFO ] [alacritty] glutin event: RedrawEventsCleared
[0.578280304s] [INFO ] [alacritty] glutin event: NewEvents(WaitCancelled { start: Instant { tv_sec: 7509, tv_nsec: 562458768 }, requested_resume: None })
[0.578758456s] [INFO ] [alacritty] glutin event: WindowEvent { window_id: WindowId(WindowId(56623106)), event: KeyboardInput { device_id: DeviceId(X(DeviceId(3))), input: KeyboardInput { scancode: 16, state: Released, virtual_keycode: Some(Q), modifiers: LOGO }, is_synthetic: true } }
[0.578822849s] [INFO ] [alacritty] glutin event: WindowEvent { window_id: WindowId(WindowId(56623106)), event: KeyboardInput { device_id: DeviceId(X(DeviceId(3))), input: KeyboardInput { scancode: 125, state: Released, virtual_keycode: None, modifiers: LOGO }, is_synthetic: true } }
[0.578838316s] [INFO ] [alacritty] glutin event: WindowEvent { window_id: WindowId(WindowId(56623106)), event: ModifiersChanged((empty)) }
[0.578849393s] [INFO ] [alacritty] glutin event: WindowEvent { window_id: WindowId(WindowId(56623106)), event: Focused(false) }
[0.578867575s] [INFO ] [alacritty] glutin event: WindowEvent { window_id: WindowId(WindowId(56623106)), event: CloseRequested }
[0.578886753s] [INFO ] [alacritty] glutin event: MainEventsCleared
[0.578896955s] [INFO ] [alacritty] glutin event: RedrawEventsCleared
[0.611317780s] [INFO ] [alacritty] glutin event: NewEvents(WaitCancelled { start: Instant { tv_sec: 7509, tv_nsec: 595470464 }, requested_resume: None })

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 25 (10 by maintainers)

Most upvoted comments

You should do

window:
  opacity: 0.9

I think the only way for now to detect this is via strace, but you should ensure that you’re not using EGL here first. Though, I guess you should be on GLX…