Closed NicTanghe closed 1 year ago
For bug reports, the following information can help speed up the process. Please describe the bug that you have found and what you would expect to happen instead.
OS: Linus Ububtu Lts Version: alacritty 0.12.1 Linux/BSD: X11 picom leftwm
Crashes: STDERR, STDOUT Font/Terminal size: alacritty -vv
alacritty -vv
❯ `alacritty -vv ∙ weird screen:
~ ❯ alacritty -vv Created log file at "/tmp/Alacritty-82824.log" [0.000000961s] [INFO ] [alacritty] Welcome to Alacritty [0.000080951s] [INFO ] [alacritty] Version 0.12.1 [0.000088104s] [INFO ] [alacritty] Running on X11 [0.000422117s] [INFO ] [alacritty] Configuration files loaded from: "/home/nanghe/.config/alacritty/alacritty.yml" [0.011748586s] [INFO ] [alacritty] Using GLX 1.4 [0.013700910s] [INFO ] [alacritty] Window scale factor: 3.1666666666666665 [0.020403830s] [DEBUG] [alacritty] Loading "CaskaydiaCove Nerd Font Mono" font [0.028008033s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Regular, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 } [0.030097382s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Bold, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 } [0.032177404s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Italic, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 } [0.034272484s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Bold Italic, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 } [0.152345038s] [INFO ] [alacritty] Running on NVIDIA GeForce RTX 3070/PCIe/SSE2 [0.152379853s] [INFO ] [alacritty] Using OpenGL 3.3 renderer [0.154263018s] [DEBUG] [alacritty] Filling glyph cache with common glyphs [0.158773656s] [INFO ] [alacritty] Cell size: 27 x 55 [0.158787953s] [INFO ] [alacritty] Padding: 190 x 142 [0.158796228s] [INFO ] [alacritty] Width: 800, Height: 600 [0.184011438s] [INFO ] [alacritty] PTY dimensions: 5 x 15 [0.187000176s] [INFO ] [alacritty] Initialisation complete [0.220595908s] [DEBUG] [alacritty_terminal] New num_cols is 21 and num_lines is 4 [0.234434355s] [INFO ] [alacritty] Padding: 190 x 142 [0.234460925s] [INFO ] [alacritty] Width: 953, Height: 510
normal screen:
❯ alacritty -vv Created log file at "/tmp/Alacritty-85178.log" [0.000001202s] [INFO ] [alacritty] Welcome to Alacritty [0.000080681s] [INFO ] [alacritty] Version 0.12.1 [0.000087493s] [INFO ] [alacritty] Running on X11 [0.000353029s] [INFO ] [alacritty] Configuration files loaded from: "/home/nanghe/.config/alacritty/alacritty.yml" [0.010967821s] [INFO ] [alacritty] Using GLX 1.4 [0.012754896s] [INFO ] [alacritty] Window scale factor: 1.1666666666666667 [0.019146064s] [DEBUG] [alacritty] Loading "CaskaydiaCove Nerd Font Mono" font [0.026757291s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Regular, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 } [0.028824018s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Bold, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 } [0.030877872s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Italic, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 } [0.033052110s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Bold Italic, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 } [0.163713160s] [INFO ] [alacritty] Running on NVIDIA GeForce RTX 3070/PCIe/SSE2 [0.163752183s] [INFO ] [alacritty] Using OpenGL 3.3 renderer [0.165757205s] [DEBUG] [alacritty] Filling glyph cache with common glyphs [0.168412752s] [INFO ] [alacritty] Cell size: 10 x 21 [0.168429162s] [INFO ] [alacritty] Padding: 70 x 52 [0.168434963s] [INFO ] [alacritty] Width: 800, Height: 600 [0.192190903s] [INFO ] [alacritty] PTY dimensions: 23 x 66 [0.194213929s] [INFO ] [alacritty] Initialisation complete [0.279830416s] [DEBUG] [alacritty_terminal] New num_cols is 113 and num_lines is 11 [0.293115282s] [INFO ] [alacritty] Padding: 70 x 52 [0.293145969s] [INFO ] [alacritty] Width: 1273, Height: 352 [5.261406233s] [INFO ] [alacritty] Goodbye Deleted log file at "/tmp/Alacritty-85178.log"
sceen config
<monitors version="2"> <configuration> <logicalmonitor> <x>0</x> <y>0</y> <scale>1</scale> <primary>yes</primary> <monitor> <monitorspec> <connector>DP-1</connector> <vendor>HPN</vendor> <product>HP Z27x G2</product> <serial>CNK8110VDL</serial> </monitorspec> <mode> <width>1920</width> <height>1080</height> <rate>60</rate> </mode> </monitor> <monitor> <monitorspec> <connector>HDMI-1</connector> <vendor>SAM</vendor> <product>SyncMaster</product> <serial>0x00000000</serial> </monitorspec> <mode> <width>1920</width> <height>1080</height> <rate>60</rate> </mode> </monitor> </logicalmonitor> </configuration> <configuration> <logicalmonitor> <x>2560</x> <y>360</y> <scale>1</scale> <primary>yes</primary> <monitor> <monitorspec> <connector>HDMI-0</connector> <vendor>SAM</vendor> <product>SyncMaster</product> <serial>0x00000000</serial> </monitorspec> <mode> <width>1920</width> <height>1080</height> <rate>60</rate> </mode> </monitor> </logicalmonitor> <logicalmonitor> <x>0</x> <y>0</y> <scale>1</scale> <monitor> <monitorspec> <connector>DP-0</connector>
Keyboard and bindings: alacritty --print-events
alacritty --print-events
Window scale factor: 3.1666666666666665
Try WINIT_X11_SCALE_FACTOR=1 or use Xft.dpi: 96 in .Xresources if you don't want automatic scaling.
WINIT_X11_SCALE_FACTOR=1
Xft.dpi: 96
.Xresources
env: WINIT_X11_SCALE_FACTOR: "1.75"
did the trick thx
For bug reports, the following information can help speed up the process. Please describe the bug that you have found and what you would expect to happen instead.
System
OS: Linus Ububtu Lts Version: alacritty 0.12.1 Linux/BSD: X11 picom leftwm
Logs
Crashes: STDERR, STDOUT Font/Terminal size:
alacritty -vv
❯ `alacritty -vv ∙ weird screen:
normal screen:
sceen config
Keyboard and bindings:
alacritty --print-events