Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window not updating on linux X11 #6943

Closed
Alizter opened this issue May 22, 2023 · 8 comments
Closed

Window not updating on linux X11 #6943

Alizter opened this issue May 22, 2023 · 8 comments
Labels

Comments

@Alizter
Copy link

Alizter commented May 22, 2023

There appears to be some delay in the rendering of the frame. On a new alacritty terminal simply press enter into the prompt and the cursor will appear at the beginning of the new line and the terminal prompt won't render until the window is updated. Pressing another key or clicking the window will update it causing the prompt to be rendered again.
;
The same issue does not arise in other terminals. This worked before version 0.12.

In this video I am pressing enter, and the cursor goes to the next line as described earlier. Afterwards, I press on the window with my mouse causing it to rerender.

Screencast.from.2023-05-22.20-14-02.webm

I should also note that it will not rerender until I do something to force it to be redrawn.

System

OS: Linux
Version: alacritty --version output

alacritty 0.12.1

Linux: Wayland (Gnome 44) (NixOS)

Logs

Keyboard and bindings: alacritty --print-events

Example of above situation in log
[ali@allosaurus:~]$ alacritty --print-events
Created log file at "/tmp/Alacritty-4079602.log"
[0.000005852s] [INFO ] [alacritty] Welcome to Alacritty
[0.014796370s] [INFO ] [alacritty] Version 0.12.1
[0.014961114s] [INFO ] [alacritty] Running on X11
[0.015205326s] [INFO ] [alacritty] Configuration files loaded from:
                                     "/home/ali/.config/alacritty/alacritty.yml"
[0.016550710s] [INFO ] [alacritty] winit event: NewEvents(Init)
[0.016576509s] [INFO ] [alacritty] winit event: Resumed
[0.021911919s] [INFO ] [alacritty] Using GLX 1.4
[0.047520589s] [INFO ] [alacritty] Window scale factor: 1
[0.063603557s] [INFO ] [alacritty] Running on llvmpipe (LLVM 15.0.7, 256 bits)
[0.063638345s] [INFO ] [alacritty] Using OpenGL 3.3 renderer
[0.075338320s] [INFO ] [alacritty] Cell size: 9 x 18
[0.075376318s] [INFO ] [alacritty] Padding: 0 x 0
[0.075381532s] [INFO ] [alacritty] Width: 800, Height: 600
[0.076761738s] [INFO ] [alacritty] PTY dimensions: 33 x 88
[0.080129800s] [INFO ] [alacritty] Initialisation complete
[0.080267520s] [INFO ] [alacritty] winit event: DeviceEvent { device_id: DeviceId(X(DeviceId(11))), event: Key(KeyboardInput { scancode: 28, state: Released, virtual_keycode: Some(Return), modifiers: (empty) }) }
[0.080365843s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: Ime(Disabled) }
[0.080381526s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.080388475s] [INFO ] [alacritty] winit event: RedrawRequested(WindowId(WindowId(117440514)))
[0.080394836s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.086616524s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 507807287 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.086763257s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: Ime(Enabled) }
[0.086862692s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: Resized(PhysicalSize { width: 800, height: 600 }) }
[0.086891187s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: Focused(false) }
[0.086896852s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: Occluded(false) }
[0.086905704s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.086910189s] [INFO ] [alacritty] winit event: RedrawRequested(WindowId(WindowId(117440514)))
[0.086915497s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.086929945s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 508119852 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.086936491s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.086939997s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.091270333s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 508137510 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.091307191s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: Resized(PhysicalSize { width: 2256, height: 1435 }) }
[0.091315560s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.091319354s] [INFO ] [alacritty] winit event: RedrawRequested(WindowId(WindowId(117440514)))
[0.091323289s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.093122389s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 514308817 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.093149243s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: Focused(true) }
[0.093155686s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: CursorMoved { device_id: DeviceId(X(DeviceId(2))), position: PhysicalPosition { x: 648.0, y: 201.0 }, modifiers: (empty) } }
[0.093530167s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.093534545s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.097306047s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 518489446 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.097334180s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.097338860s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.102264612s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 518671615 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.102332570s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: Resized(PhysicalSize { width: 800, height: 600 }) }
[0.102347587s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.102352463s] [INFO ] [alacritty] winit event: RedrawRequested(WindowId(WindowId(117440514)))
[0.102357610s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.102506411s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 523697665 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.102515146s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.102520863s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.102547948s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 523740914 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.102553215s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.102557220s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.102584269s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 523777306 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.102589180s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.102593161s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.102619954s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 523812999 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.102624602s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.102628450s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.102654630s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 523847639 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.102659452s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.102663689s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.102697018s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 523890017 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.102702275s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.102706356s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.102733202s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 523926205 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.102737400s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.102740141s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.102763668s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 523956740 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.102767718s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.102770405s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.102795846s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 523988923 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.102800521s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.102803379s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.102828226s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 524021301 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.102842327s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.102845745s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.102870145s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 524063254 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.102874642s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.102877846s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.102903671s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 524096782 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.102908186s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.102911344s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.102936596s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 524129632 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.102941160s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.102944263s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.102976254s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 524169283 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.102980716s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.102983774s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.103009809s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 524202907 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.103014260s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.103017323s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.103042485s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 524235588 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.103046860s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.103049888s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.103075439s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 524268553 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.103080390s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.103083501s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.103109423s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 524302547 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.103113910s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.103116992s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.103140711s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 524333819 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.103145150s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.103148311s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.103172791s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 524365911 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.103177136s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.103180274s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.103205516s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 524398620 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.103209970s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.103213012s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.103238424s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 524431515 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.103245625s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.103249903s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.103276119s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 524469201 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 524471117 }) })
[0.103280433s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.103283569s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.103311674s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 524504714 }, requested_resume: None })
[0.103317565s] [INFO ] [alacritty] winit event: UserEvent(Event { window_id: Some(WindowId(WindowId(117440514))), payload: Frame })
[0.103323471s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.103328121s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.103369437s] [INFO ] [alacritty] Padding: 0 x 0
[0.103374378s] [INFO ] [alacritty] Width: 800, Height: 600
[0.105014911s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 526204092 }, requested_resume: None })
[0.105044662s] [INFO ] [alacritty] winit event: UserEvent(Event { window_id: Some(WindowId(WindowId(117440514))), payload: Frame })
[0.105058330s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.105064039s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.113971232s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 526265032 }, requested_resume: None })
[0.114024514s] [INFO ] [alacritty] winit event: UserEvent(Event { window_id: Some(WindowId(WindowId(117440514))), payload: Terminal(Title(ali@allosaurus: ~)) })
[0.114034918s] [INFO ] [alacritty] winit event: UserEvent(Event { window_id: Some(WindowId(WindowId(117440514))), payload: Terminal(Wakeup) })
[0.114039389s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.114043877s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.115553966s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 536745895 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 541138641 }) })
[0.115660703s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: CursorEntered { device_id: DeviceId(X(DeviceId(2))) } }
[0.116685309s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: CursorMoved { device_id: DeviceId(X(DeviceId(2))), position: PhysicalPosition { x: 562.0, y: 115.0 }, modifiers: (empty) } }
[0.116719542s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.116727473s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.116780626s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 537969576 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 541138641 }) })
[0.116830649s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.116835434s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.119906222s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 538033606 }, requested_resume: Some(Instant { tv_sec: 1057528, tv_nsec: 541138641 }) })
[0.119997310s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.120008999s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.120024596s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 541216337 }, requested_resume: None })
[0.120037881s] [INFO ] [alacritty] winit event: UserEvent(Event { window_id: Some(WindowId(WindowId(117440514))), payload: Frame })
[0.120052584s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.120062175s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.128994023s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 541268645 }, requested_resume: None })
[0.129089198s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.129096039s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[2.146162903s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057528, tv_nsec: 550296272 }, requested_resume: None })
[2.146220631s] [INFO ] [alacritty] winit event: DeviceEvent { device_id: DeviceId(X(DeviceId(11))), event: Key(KeyboardInput { scancode: 28, state: Pressed, virtual_keycode: Some(Return), modifiers: (empty) }) }
[2.146266789s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: KeyboardInput { device_id: DeviceId(X(DeviceId(3))), input: KeyboardInput { scancode: 28, state: Pressed, virtual_keycode: Some(Return), modifiers: (empty) }, is_synthetic: false } }
[2.146277549s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: ReceivedCharacter('\r') }
[2.146282543s] [INFO ] [alacritty] winit event: MainEventsCleared
[2.146285150s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[2.146663493s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057530, tv_nsec: 567491696 }, requested_resume: None })
[2.146706000s] [INFO ] [alacritty] winit event: UserEvent(Event { window_id: Some(WindowId(WindowId(117440514))), payload: Terminal(Wakeup) })
[2.146716567s] [INFO ] [alacritty] winit event: MainEventsCleared
[2.146723636s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[2.147808556s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057530, tv_nsec: 569000301 }, requested_resume: None })
[2.147827174s] [INFO ] [alacritty] winit event: UserEvent(Event { window_id: Some(WindowId(WindowId(117440514))), payload: Frame })
[2.147833950s] [INFO ] [alacritty] winit event: MainEventsCleared
[2.147838699s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[2.148800446s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057530, tv_nsec: 569037726 }, requested_resume: None })
[2.148827682s] [INFO ] [alacritty] winit event: UserEvent(Event { window_id: Some(WindowId(WindowId(117440514))), payload: Terminal(Title(ali@allosaurus: ~)) })
[2.148837671s] [INFO ] [alacritty] winit event: UserEvent(Event { window_id: Some(WindowId(WindowId(117440514))), payload: Terminal(Wakeup) })
[2.148844451s] [INFO ] [alacritty] winit event: MainEventsCleared
[2.148850368s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[2.150031063s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057530, tv_nsec: 571221636 }, requested_resume: Some(Instant { tv_sec: 1057530, tv_nsec: 574512037 }) })
[2.150048137s] [INFO ] [alacritty] winit event: MainEventsCleared
[2.150052643s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[2.153117684s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057530, tv_nsec: 571250032 }, requested_resume: Some(Instant { tv_sec: 1057530, tv_nsec: 574512037 }) })
[2.153163092s] [INFO ] [alacritty] winit event: MainEventsCleared
[2.153171208s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[2.153179822s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057530, tv_nsec: 574371295 }, requested_resume: Some(Instant { tv_sec: 1057530, tv_nsec: 574512037 }) })
[2.153188607s] [INFO ] [alacritty] winit event: MainEventsCleared
[2.153193867s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[2.153200601s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057530, tv_nsec: 574393054 }, requested_resume: Some(Instant { tv_sec: 1057530, tv_nsec: 574512037 }) })
[2.153208578s] [INFO ] [alacritty] winit event: MainEventsCleared
[2.153213409s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[2.153219529s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057530, tv_nsec: 574411990 }, requested_resume: Some(Instant { tv_sec: 1057530, tv_nsec: 574512037 }) })
[2.153246537s] [INFO ] [alacritty] winit event: MainEventsCleared
[2.153266715s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[2.153289949s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057530, tv_nsec: 574482368 }, requested_resume: Some(Instant { tv_sec: 1057530, tv_nsec: 574512037 }) })
[2.153315566s] [INFO ] [alacritty] winit event: MainEventsCleared
[2.153336690s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[2.153360071s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057530, tv_nsec: 574552347 }, requested_resume: None })
[2.153385842s] [INFO ] [alacritty] winit event: UserEvent(Event { window_id: Some(WindowId(WindowId(117440514))), payload: Frame })
[2.153439654s] [INFO ] [alacritty] winit event: MainEventsCleared
[2.153460104s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[2.193123042s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057530, tv_nsec: 574675734 }, requested_resume: None })
[2.193179062s] [INFO ] [alacritty] winit event: DeviceEvent { device_id: DeviceId(X(DeviceId(11))), event: Key(KeyboardInput { scancode: 28, state: Released, virtual_keycode: Some(Return), modifiers: (empty) }) }
[2.193199384s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: KeyboardInput { device_id: DeviceId(X(DeviceId(3))), input: KeyboardInput { scancode: 28, state: Released, virtual_keycode: Some(Return), modifiers: (empty) }, is_synthetic: false } }
[2.193213806s] [INFO ] [alacritty] winit event: MainEventsCleared
[2.193217485s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[3.564190001s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057530, tv_nsec: 614415790 }, requested_resume: None })
[3.564239225s] [INFO ] [alacritty] winit event: DeviceEvent { device_id: DeviceId(X(DeviceId(2))), event: Button { button: 1, state: Pressed } }
[3.564249234s] [INFO ] [alacritty] winit event: MainEventsCleared
[3.564252387s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[3.564440496s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057531, tv_nsec: 985449407 }, requested_resume: None })
[3.564461126s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: MouseInput { device_id: DeviceId(X(DeviceId(2))), state: Pressed, button: Left, modifiers: (empty) } }
[3.564474880s] [INFO ] [alacritty] winit event: MainEventsCleared
[3.564478241s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[3.565450099s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057531, tv_nsec: 986638957 }, requested_resume: None })
[3.565494274s] [INFO ] [alacritty] winit event: UserEvent(Event { window_id: Some(WindowId(WindowId(117440514))), payload: Frame })
[3.565504167s] [INFO ] [alacritty] winit event: MainEventsCleared
[3.565509837s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[3.635183017s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057531, tv_nsec: 986709117 }, requested_resume: None })
[3.635241407s] [INFO ] [alacritty] winit event: DeviceEvent { device_id: DeviceId(X(DeviceId(2))), event: Button { button: 1, state: Released } }
[3.635252420s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: MouseInput { device_id: DeviceId(X(DeviceId(2))), state: Released, button: Left, modifiers: (empty) } }
[3.635267363s] [INFO ] [alacritty] winit event: MainEventsCleared
[3.635280751s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[10.264791257s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057532, tv_nsec: 56483776 }, requested_resume: None })
[10.264839756s] [INFO ] [alacritty] winit event: DeviceEvent { device_id: DeviceId(X(DeviceId(11))), event: Key(KeyboardInput { scancode: 127, state: Pressed, virtual_keycode: None, modifiers: (empty) }) }
[10.264856762s] [INFO ] [alacritty] winit event: MainEventsCleared
[10.264873496s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[10.264891963s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057538, tv_nsec: 686074462 }, requested_resume: None })
[10.264906302s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: KeyboardInput { device_id: DeviceId(X(DeviceId(3))), input: KeyboardInput { scancode: 127, state: Pressed, virtual_keycode: None, modifiers: (empty) }, is_synthetic: false } }
[10.264927304s] [INFO ] [alacritty] winit event: MainEventsCleared
[10.264932513s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[10.265791418s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057538, tv_nsec: 686134144 }, requested_resume: None })
[10.265833483s] [INFO ] [alacritty] winit event: DeviceEvent { device_id: DeviceId(X(DeviceId(11))), event: Key(KeyboardInput { scancode: 15, state: Pressed, virtual_keycode: Some(Tab), modifiers: (empty) }) }
[10.265850867s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: KeyboardInput { device_id: DeviceId(X(DeviceId(3))), input: KeyboardInput { scancode: 15, state: Pressed, virtual_keycode: Some(Tab), modifiers: (empty) }, is_synthetic: false } }
[10.265861629s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: ReceivedCharacter('\t') }
[10.265870734s] [INFO ] [alacritty] winit event: MainEventsCleared
[10.265876540s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[10.266723881s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057538, tv_nsec: 687085647 }, requested_resume: None })
[10.266748581s] [INFO ] [alacritty] winit event: DeviceEvent { device_id: DeviceId(X(DeviceId(11))), event: Key(KeyboardInput { scancode: 15, state: Released, virtual_keycode: Some(Tab), modifiers: (empty) }) }
[10.266772238s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: KeyboardInput { device_id: DeviceId(X(DeviceId(3))), input: KeyboardInput { scancode: 15, state: Released, virtual_keycode: Some(Tab), modifiers: (empty) }, is_synthetic: false } }
[10.266793643s] [INFO ] [alacritty] winit event: MainEventsCleared
[10.266808134s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[10.267519287s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057538, tv_nsec: 688015636 }, requested_resume: None })
[10.267545488s] [INFO ] [alacritty] winit event: DeviceEvent { device_id: DeviceId(X(DeviceId(11))), event: Key(KeyboardInput { scancode: 127, state: Released, virtual_keycode: None, modifiers: (empty) }) }
[10.267559461s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: KeyboardInput { device_id: DeviceId(X(DeviceId(3))), input: KeyboardInput { scancode: 127, state: Released, virtual_keycode: None, modifiers: (empty) }, is_synthetic: false } }
[10.267575706s] [INFO ] [alacritty] winit event: MainEventsCleared
[10.267583526s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[11.985942191s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057538, tv_nsec: 688892847 }, requested_resume: None })
[11.986000909s] [INFO ] [alacritty] winit event: DeviceEvent { device_id: DeviceId(X(DeviceId(11))), event: Key(KeyboardInput { scancode: 56, state: Pressed, virtual_keycode: Some(LAlt), modifiers: (empty) }) }
[11.986013869s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: ModifiersChanged(ALT) }
[11.986025535s] [INFO ] [alacritty] winit event: MainEventsCleared
[11.986031462s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[11.986082440s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057540, tv_nsec: 407272245 }, requested_resume: None })
[11.986096349s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: KeyboardInput { device_id: DeviceId(X(DeviceId(3))), input: KeyboardInput { scancode: 56, state: Pressed, virtual_keycode: Some(LAlt), modifiers: ALT }, is_synthetic: false } }
[11.986151178s] [INFO ] [alacritty] winit event: MainEventsCleared
[11.986158260s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[11.986540629s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057540, tv_nsec: 407366231 }, requested_resume: None })
[11.986560561s] [INFO ] [alacritty] winit event: DeviceEvent { device_id: DeviceId(X(DeviceId(11))), event: Key(KeyboardInput { scancode: 15, state: Pressed, virtual_keycode: Some(Tab), modifiers: ALT }) }
[11.986957638s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: KeyboardInput { device_id: DeviceId(X(DeviceId(3))), input: KeyboardInput { scancode: 15, state: Released, virtual_keycode: Some(Tab), modifiers: ALT }, is_synthetic: true } }
[11.987004629s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: KeyboardInput { device_id: DeviceId(X(DeviceId(3))), input: KeyboardInput { scancode: 56, state: Released, virtual_keycode: Some(LAlt), modifiers: ALT }, is_synthetic: true } }
[11.987013102s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: ModifiersChanged((empty)) }
[11.987019818s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: Focused(false) }
[11.987042372s] [INFO ] [alacritty] winit event: MainEventsCleared
[11.987047558s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[11.991224498s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057540, tv_nsec: 412414719 }, requested_resume: None })
[11.991302560s] [INFO ] [alacritty] winit event: UserEvent(Event { window_id: Some(WindowId(WindowId(117440514))), payload: Frame })
[11.991330280s] [INFO ] [alacritty] winit event: MainEventsCleared
[11.991352713s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[11.991837759s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057540, tv_nsec: 412568109 }, requested_resume: None })
[11.991879299s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(117440514)), event: CursorLeft { device_id: DeviceId(X(DeviceId(2))) } }
[11.991900038s] [INFO ] [alacritty] winit event: MainEventsCleared
[11.991907826s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[11.992909691s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057540, tv_nsec: 413108074 }, requested_resume: None })
[11.992936567s] [INFO ] [alacritty] winit event: MainEventsCleared
[11.992940848s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[11.993105071s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057540, tv_nsec: 414137993 }, requested_resume: None })
[11.993110607s] [INFO ] [alacritty] winit event: MainEventsCleared
[11.993113412s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[12.009693011s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057540, tv_nsec: 414309763 }, requested_resume: None })
[12.009744431s] [INFO ] [alacritty] winit event: DeviceEvent { device_id: DeviceId(X(DeviceId(11))), event: Key(KeyboardInput { scancode: 15, state: Released, virtual_keycode: Some(Tab), modifiers: ALT }) }
[12.009756580s] [INFO ] [alacritty] winit event: MainEventsCleared
[12.009761470s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[12.061830433s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057540, tv_nsec: 430959791 }, requested_resume: None })
[12.061984823s] [INFO ] [alacritty] winit event: DeviceEvent { device_id: DeviceId(X(DeviceId(11))), event: Key(KeyboardInput { scancode: 56, state: Released, virtual_keycode: Some(LAlt), modifiers: ALT }) }
[12.062006764s] [INFO ] [alacritty] winit event: MainEventsCleared
[12.062014049s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[15.673915057s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057540, tv_nsec: 483239320 }, requested_resume: None })
[15.673966289s] [INFO ] [alacritty] winit event: DeviceEvent { device_id: DeviceId(X(DeviceId(11))), event: Key(KeyboardInput { scancode: 29, state: Pressed, virtual_keycode: Some(LControl), modifiers: (empty) }) }
[15.673976681s] [INFO ] [alacritty] winit event: MainEventsCleared
[15.673980090s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[15.674595615s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 1057544, tv_nsec: 95177402 }, requested_resume: None })
[15.674639815s] [INFO ] [alacritty] winit event: DeviceEvent { device_id: DeviceId(X(DeviceId(11))), event: Key(KeyboardInput { scancode: 46, state: Pressed, virtual_keycode: Some(C), modifiers: CTRL }) }
[15.674662323s] [INFO ] [alacritty] winit event: MainEventsCleared
[15.674665852s] [INFO ] [alacritty] winit event: RedrawEventsCleared
@kchibisov
Copy link
Member

You're using X11(XWayland) for alacritty, try using Wayland natively instead. Also, you're using llvmpipe, so I'd assume you're in some VM setup.

@kchibisov
Copy link
Member

I think I've seen something like that on X11 with llvmpipe in a vm. Could you try maybe #6846 branch?

@kchibisov kchibisov changed the title Window not updating on linux wayland Window not updating on linux X11 May 22, 2023
@Alizter
Copy link
Author

Alizter commented May 22, 2023

@kchibisov Not a VM but NixOS.

@kchibisov
Copy link
Member

But nixOS shouldn't prevent you from doing any GPU acceleration. In any case, if you want to use Wayland, then you're using X11 instead or force alacritty to run under XWayland. Try native Wayland instead.

@Alizter
Copy link
Author

Alizter commented May 23, 2023

When I have some more time, I will try to run on native wayland (once I workout how to do it). I'll also try bisecting to see what changed that introduced this issue, since previous versions were working perfectly.

@kchibisov
Copy link
Member

it's an old issue with llvmpipe, you won't be able to bisect it, unfortunately.

@Alizter
Copy link
Author

Alizter commented May 31, 2023

After updating my nixos configuration, the issue appears to have disappeared. I am not sure if that was due to a change in alacritty or a dependency however. Feel free to close this issue since I don't think there is anything actionable to do here.

@chrisduerr
Copy link
Member

Very possible that this was an issue in a driver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants