martyr-deepin / deepin-movie

Old deepin media player, see deepin-movie-reborn for the new one.
https://github.com/linuxdeepin/deepin-movie-reborn
GNU General Public License v3.0
146 stars 65 forks source link

High CPU usage #36

Closed SiamSami closed 5 years ago

SiamSami commented 6 years ago

Deepin Movie uses a lot of CPU.

Please fix it as soon as possible.

My specs: Distro: Arch Linux Graphics: Intel Haswell CPU: Intel Core i5 4th generation

michael-lagotin commented 6 years ago

I use deepin os with i7 6500 u which is a dual core cpu and i have around 3-4 precent usage when using the deepin movie the problem is most certinaly is the arch linux itself and not the app.

abijahm commented 5 years ago

i have a i7 4600u on deepin os and the cpu usage is around 25 percent compared to mpv and vlc less than 4 percent probably hardware acceleration is not enabled

abijahm commented 5 years ago

passing the location of mpv config with hwdec=vaapi solves the issue deepin-movie -o ~/.config/mpv/mpv.conf