You are not logged in.
When I play any video using mpv or mplayer my laptop heats up and fan maxes out. If I check powertop my GPU is at 100% in Powered On. If I use vlc to play the same video it's in RC6 60% of the time.
My config for mplayer looks like:
#Write your default config options here!
vo=xv
ao=alsa
#Threading
lavdopts=threads=2
softvol=yes
softvol-max=600
#Cache
cache=4096
cache-min=10
cache-seek-min=10
fixed-vo=yes
Offline
Any interesting things in mpv / mplayer terminal output?
How does vlc behave o Arch?
Offline
Outputs of mpv and vlc (mpv and mplayer are identical).
[user@comp ~]$ mpv /mnt/storage/video/Wreck-It.Ralph.2012.720p.WEB-DL.DD5.1.AAC2.0.H.264-YFN/Wreck-It.Ralph.2012.720p.WEB-DL.DD5.1.AAC2.0.H.264-YFN
.mkv
Playing: /mnt/storage/video/Wreck-It.Ralph.2012.720p.WEB-DL.DD5.1.AAC2.0.H.264-YFN/Wreck-It.Ralph.2012.720p.WEB-DL.DD5.1.AAC2.0.H.264-YFN.mkv
Detected file format: Matroska
[stream] Video (+) --vid=1 'H.264' (h264)
[stream] Audio (+) --aid=1 --alang=eng (*) 'DD5.1' (ac3)
[stream] Audio --aid=2 --alang=eng 'AAC2.0' (aac)
[stream] Subs --sid=1 --slang=eng 'CC' (subrip)
Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264]
Selected audio codec: ATSC A/52A (AC-3) [lavc:ac3]
AO: [alsa] 48000Hz stereo 2ch floatle
VO: [xv] 1280x534 => 1280x534 420p
AV: 00:00:17 / 01:41:16 (0%) A-V: -0.000
Exiting... (Quit)
[user@comp ~]$ vlc /mnt/storage/video/Wreck-It.Ralph.2012.720p.WEB-DL.DD5.1.AAC2.0.H.264-YFN/Wreck-It.Ralph.2012.720p.WEB-DL.DD5.1.AAC2.0.H.264-YFN
.mkv
VLC media player 2.1.2 Rincewind (revision 2.1.2-0-ga4c4876)
[0x12c5f48] pulse audio output error: PulseAudio server connection failure: Connection refused
[0x11f71c8] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
No accelerated IMDCT transform found
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
[0x7ff8a4001248] main vout display error: Failed to resize display
[0x7ff8c40009b8] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 300 ms)
[0x7ff8c40009b8] main input error: ES_OUT_RESET_PCR called
Offline
Is there a reason, for using "vo=xv"?
I'd use vo=vaapi or vo=opengl with an intel apu.
i'm sorry for my poor english wirting skills…
Offline
Is there a reason, for using "vo=xv"?
I'd use vo=vaapi or vo=opengl with an intel apu.
+1
I meant is vlc in Arch using 100% of GPU?
Offline
Better yet, remove that entirely. Mplayer is smart enough to select the best one for your hardware. I too have an ivybridge CPU:
cat ~/.mplayer/config
subfont-autoscale=1
font=/usr/share/mplayer/subfont.ttf
osdlevel=3
nosub=1
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I get the same behavior with no mplayer config file. VLC on Arch is fine. I installed an older kernel (3.11.4) and mplayer is back to normal GPU usage.
Offline
What CPU? Mine is an i7-3770k. How again are you reading out the gpu usage? Powertop? I am currently playing a 1080p vid (approx 4000 kbps V_MPEG4/ISO/AVC) looking at powertop>device stats and all I can see for GPU core is ops/s (around 180). Other utils like htop do not offer a GPU read.
EDIT: I found intel_gpu_top in community/intel-gpu-tools. When I run it, I'm seeing render busy of 8-13 % playing the aforementioned clip.
render busy: 13%: ██▋ render space: 7/131072
bitstream busy: 0%: bitstream space: 0/131072
blitter busy: 1%: ▎ blitter space: 0/131072
task percent busy
GAM: 12%: ██▌ vert fetch: 0 (0/sec)
GAFS: 5%: █ prim fetch: 0 (0/sec)
SF: 0%: VS invocations: 431718656 (0/sec)
VS: 0%: GS invocations: 0 (0/sec)
VF: 0%: GS prims: 0 (0/sec)
CL: 0%: CL invocations: 215859306 (0/sec)
CL prims: 215459850 (0/sec)
PS invocations: 1341830240168 (0/sec)
PS depth pass: 1133510361470 (0/sec)
Last edited by graysky (2013-12-15 19:07:05)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline