alacritty: Crashes immediately because vsync could not be set up
Alacritty crashes without starting and complains about not being able to set up vsync (see logs below).
Reading other issues in this repo I can see that the vsync error is not a common one. If I manually start vsync using export vblank_mode=1
alacritty can be started. However, I don’t know what I’m dealing with and I do not want to mess up with that variable permanently (i.e. in more than one shell) unless I know it is safe to do.
System
OS:Ubuntu 20.04.4 LTS, running X11, GNOME Shell Version: alacritty 0.10.1
Logs
$ alacritty -vvv
Created log file at “/tmp/Alacritty-8481.log”
[0.000004826s] [INFO ] [alacritty] Welcome to Alacritty
[0.000235965s] [INFO ] [alacritty] Version 0.10.1 ()
[0.000314752s] [INFO ] [alacritty] Running on X11
[0.001876793s] [INFO ] [alacritty] Configuration files loaded from:
“/home/user/.config/alacritty/alacritty.yml”
[0.078776655s] [TRACE] [crossfont] Number of fonts is 202
[0.078870701s] [TRACE] [crossfont] Got font path=“/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf”, index=0
[0.078962138s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Book, load_flags: TARGET_LIGHT, render_mode: “Normal”, lcd_filter: 1 }
[0.084424862s] [DEBUG] [alacritty] Estimated DPR: 1
[0.084445932s] [DEBUG] [alacritty] Estimated window size: None
[0.084456111s] [DEBUG] [alacritty] Estimated cell size: 9 x 18
Deleted log file at “/tmp/Alacritty-8481.log”
Error: Error creating GL context; Received multiple errors. Errors: [NoAvailablePixelFormat, OsError("Couldn't setup vsync: expected interval
1but got
0")]
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 23 (9 by maintainers)
same issue here with x11+amdgpu after I turned off EnablePageFlip in my xorg.conf
@rodrigolece if you move that window can you see prompt or something like that? Could also try empty config.