Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Related Rants
!rant // more like a warning
If you use tty (no X or graphic env) and use tmux as terminal multiplexer -> avoid using mpv in it.
.
When you use -> mpv --vo=drm "video name" in tmux session and want to pause video -> cpu usage will climb up to 100% on single core.
(can make laptop warm)
(I don't know what exactly cause this but my theory is, tmux cant redraw after video is pause and it keep trying forever and end up using cpu 100% on single core)
.
Solution
- use mpv on another tty which you didn't run tmux.
- example : tty1: all stuff, tty2: mpv.
And cpu usage will be normal after video is pause.
undefined
no-x
tty
mpv
tmux
mps-youtube