[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: not_what_alacritty_is.webm (2.76 MB, 960x1042)
2.76 MB
2.76 MB WEBM
Tmux inside of alacritty is faster than alacritty. Discuss.
>>
>>108734078
I think i've seen your posts on desktop threads
>>
>>108734078
tmux is probably buffering screen updates. Would cut down on syscall overhead.
>>
File: terminator.webm (1.02 MB, 960x1042)
1.02 MB
1.02 MB WEBM
>>108734078
terminator is also faster than alacritty
>>108734117
yes
>>
>>108734078
alacritty and jeetkitty are both shit just use foot (despite the unfortunate name)
>>
>>108734171
The unfortunate name is precisely why I'll never use it. I'll use any of the xvt's before I use foot.
>>
>>108734171
the name isn't the problem for me, I just find the logo extremely distracting
>>
>>108734177
alias it to something else and you dont have to think about it
>>108734204
I don't see the logo on swaywm
>>
>>108734212
no, I use wezterm. Next choice is tilda, then kitty, the the xvt's.

Not a single terminal yet that doesn't pass the simple test in my OP.
>>
>>108734078
>bloat
use suckless ST
>>
>>108734421
no
>>
>>108734078
any modern computer can render a terminal at 9000 fps
>>
>>108734421
st is unironically the fastest terminal i've ever used, despite using xcb. the 'modern' opengl/vulkan backed terminals: kitty, wezterm, alactritty, are much slower in comparison.

and to make things fair, i was using a very heavily modified st that was feature par with these 'modern' terminals.
>>
>>108734459
Except for alacritty, apparently.
>>
>>108734498
>feature par with these 'modern' terminals
No it wasn't. startup time =/= speed
>>
>>108734501
i didn't measure startup time, but throughput.
it's what really matters, because the heavy job that the terminal does is parsing escape sequences and laying out text for rendering. rendering is already fast enough. wezterm for instance reuses font atlases on multiple terminal instances, leading to faster startup times.
>>
>>108734516
k. Enjoy coompiling, dum dum.
>>
File: x.png (31 KB, 801x573)
31 KB PNG
>>108734525
if you're not compiling all your software, then you don't deserve to have a simd cpu
>>
>>108734539
Somebody else can fry their shit. I actually use my cpu cycles.
>>
>>108734138

I have been using terminator for the last 13 years and I've never thought about changing even a single time
>>
>>108734581
based
>>
>>108734078
Why would I use this over ghostty?
>>
>>108734702
You wouldn't. That's the joke.
>>
>>108734498
>despite using xcb
*because
xcb is low level, using your gpu for tty emulation is retarded beyond measure
>>
>>108735102
i meant that as xcb being kinda slow, at least compared to glfw/glew or sdl. xcb is already gpu accelerated through x11-egl. but the x11 interface is often regarded as old and slow.

i know that wezterm uses a shared gpu context across terminal windows to centralize font atlases, thus reducing vram usage, but you're right that it's retarded design because you don't need to have a full gpu context when even cairo could do the work.
>>
I’m on Fedora KDE now, and I ditched tmux for Konsole with tabs and built-in pane splitting.
>>
Up
>>
>>108734498
Can't run my fonts. They all look like smears.
>>
File: 122-12-14-57-2026.png (393 KB, 1920x1044)
393 KB PNG
>>108738530
>>108734498
>>
>>108738626
it's your distro's fontconfig that's fucked up.
st uses your distro settings, which internally use fontconfig+freetype.
wezterm, alacritty and kitty also use fontconfig+freetype, but they bypass your os's defaults and use their own custom config. if I were you, i'd try changing the hinting settings.
I had to do this on wezterm to get good rendering for semibold:
config.freetype_load_flags = 'FORCE_AUTOHINT|MONOCHROME'
config.freetype_interpreter_version = 40
config.freetype_load_target = "HorizontalLcd"
config.freetype_render_target = "HorizontalLcd"

for st and other apps, you should try to look at https://wiki.archlinux.org/title/Font_configuration
>>
>>108734078
post
% vulkaninfo --summary | grep -E '(device|driver)Name'
>>
>>108739393
I'm not writing xml to make an unfinished product work correctly. The developers should have written that in c, actually.

>>108739498
deviceName = AMD Radeon Graphics (RADV RENOIR)
driverName = radv
>>
>>108739393
Though, tbf, the build I was messing with would be my second choice if wezterm fails in the future, which it likely will due to it's slow development.
>>
>>108739777
sorry. i should have asked for
% glxinfo -B |grep '^OpenGL'

(i thought they would have moved to wgpu or landed a direct vulkan renderer by now, but it's not the case.)
>>
File: 1767843194909788.jpg (35 KB, 558x527)
35 KB JPG
>>108734078
are there really people that use tmux outside of ssh or persistent sessions?
>>
>>108740900
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon Graphics (radeonsi, renoir, ACO, DRM 3.64, 7.0.3-zen1-1-zen)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 26.0.6-arch1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 26.0.6-arch1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 26.0.6-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

>>108741175
Well, I set up that tmux session with the intention of comparing performance between terminals, to have both programs opened in one terminal, neglecting the fact that tmux was, itself, a terminal emulator.
>>
>>108740900
>>108741278
alright. you're setup looks fine. what is the file manager in your video?
>>
>>108734078
do you actually use this file manager application and need the performance or do you just dislike alacritty for being popular
>>
>>108742549
https://codeberg.org/problems_available/zsh_config/src/branch/home/3.fzf.zsh
>>108742590
Nigger I can literally watch a file in nvim be syntax highlighted when I use alacritty.
>>
>>108742549
>>108743413
I'm scrolling down an eza listing of my cache directory in an fzf preview, like figure it out.
>>
>>108742549
Oh, here's https://codeberg.org/problems_available/zsh_config/src/branch/home/scripts/fzf_preview_wrapper
>>
File: t.webm (3.63 MB, 1920x1080)
3.63 MB
3.63 MB WEBM
>>108743505
can't reproduce. and my gpu is an older radeon one than yours. and i'm also an arch user.
this is in X11/awesome for reference.
>>
>>108743413
>Nigger I can literally watch a file in nvim be syntax highlighted when I use alacritty.
btw, this is usually the lsp server kicking in. it's not terminal emulation lag.
>>
File: 123-12-55-00-2026.png (25 KB, 1110x56)
25 KB PNG
>>108743859
Here's your sign.
try
yay -S eza
fzf --preview="eza --no-time --color=always --icons -sextension --group-directories-first -lhgTL3 {}"
>>
>>108743878
No, it's not. It's alacritty bottlenecking.
>>
>>108745028
Oops, this, instead.
fzf --preview="eza --no-time --color=always --icons -sextension --group-directories-first -lhgTL3 ~/.cache"
>>
File: 1499680137262.gif (1.79 MB, 384x216)
1.79 MB GIF
>>108734078
this font is so god damn ugly
>>
>>108745076
It's probably prettier than you, bud.
>>
File: t2.webm (3.67 MB, 1920x1080)
3.67 MB
3.67 MB WEBM
>>108745028
with eza and nvimpager installed, and 1KiB random ascii content in a 1000 file dir with random md5 hashes as names.
>>
>>108745447
1001 lines in the search list vs >80k lines in the preview. run
fzf --preview="eza --no-time --color=always --icons -sextension --group-directories-first -lhgTL3 ~/.cache"

or stop making crap up to protect your precious favorite terminal emulator.
>>
File: t3.webm (3.73 MB, 1920x1080)
3.73 MB
3.73 MB WEBM
>>108745556
with preview-page-down
>>
>>108745981
If it's that picky about hardware then it is still dogshit. Why does it have better support of an older igpu than it does for the one in my x13 gen1 thinkpad? That's pretty retarded.
>>
>>108741175
Why wouldn't I use it? It has too many conveniences to give up. I use foot+tmux.
>>
>>108746010
i would doubt this is the case. make sure it's not something else causing it, like a wayland compositor doing something retarded. always test with x11+wm (e.g. openbox, no DE) and weston, to remove other variables.
>>
>>108746407 (Me)
also, i hope you did test without screen grabbing active. because depending on the grab method, this can have a very adverse effect (i use ffmpeg's kmsgrab).
>>
>>108734078
right now im overclocking a raspberry pi 5 i own over ssh. when i run tmux over the ssh it's smooth. when it's raw ssh it freezes during the stress test

idk tmux is magic and makes everything work better for some reason
>>
>>108746407
Don't use wayland. Did all of that bs before switching to wezterm.
>>
>>108746440
Screen grabbing is not even a contributing factor, as you can see from >>108734138.
>>
>>108746407
It's an issue with some feature of Renoir igpus that no other terminal emulator seems to have, gpu accelerated or otherwise.
>>
>>108747293
i guess the last thing to try is with vsync off
% vblank_mode=0 alacritty
>>
>>108734498
It is so easy to edit too. I made my own "video" format that records everything I type with timestamps to a special file, then I can use the timestamps to merge voice recording with the terminal one. And that is how I can record videos on a low-powered systems
>>
>>108747364
That's not nearly as bad, but there's no dedicated option for it in the .toml file.
>>
>>108747761
it's an env variable from mesa
>>
just use xterm. there's no reason not to, its already installed for you most of the time.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.