Intel Graphics HD 3000, VLC & hardware acceleration issue.
Posted: 28 May 2012 16:51
Hello every one. I have a laptop with a SandyBridge architecture Core i3-2350M + HD 3000 (shared memory).
When I enable hardware acceleration for video playback I have 85~100% cpu usage on Core-0 and a frame rate of about 0.3~3 frames/s (depends form the video resolution).
I tried to increase File Caching.
I tried latest versions (git) of vlc, libva, libva-driver-intel.
I tried hardware acceleration with mplayer and it works.
Any ideas?
Vlc, Tools > Preferences > Inputs & Codes > Use GPU accelerated decoding.
vlc -v xxxx.mp4 (xxxx.mp4 an h.264 file):[/b]
lspci -vvv:
uname -r:
ArchLinux 32 bits.
When I enable hardware acceleration for video playback I have 85~100% cpu usage on Core-0 and a frame rate of about 0.3~3 frames/s (depends form the video resolution).
I tried to increase File Caching.
I tried latest versions (git) of vlc, libva, libva-driver-intel.
I tried hardware acceleration with mplayer and it works.
Any ideas?
Vlc, Tools > Preferences > Inputs & Codes > Use GPU accelerated decoding.
vlc -v xxxx.mp4 (xxxx.mp4 an h.264 file):[/b]
vainfo:VLC media player 2.0.1 Twoflower (revision 2.0.1-0-gf432547)
[0x8b7a8f0] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libaccess_gnomevfs_plugin.so' (libgnomevfs-2.so.0: cannot open shared object file: No such file or directory)
[0x8b7a8f0] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/visualization/libprojectm_plugin.so' (libprojectM.so.2: cannot open shared object file: No such file or directory)
[0x8b7a8f0] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/visualization/libgoom_plugin.so' (libgoom2.so.0: cannot open shared object file: No such file or directory)
[0x8b7a8f0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0xb6401620] mp4 stream warning: unknown box type btrt (incompletely loaded)
[0xb64030d0] mp4 demux warning: elst box found
[0xb64030d0] mp4 demux warning: CTTS table
[0xb5298408] avcodec decoder warning: threaded frame decoding is not compatible with ffmpeg-hw, disabled
[0xb52adb38] faad decoder warning: decoded zero sample
libva: VA-API version 0.33.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/i965_drv_video.so
libva: Found init function __vaDriverInit_0_32
libva: va_openDriver() returns 0
[0xb5298408] avcodec decoder: Using VA API version 0.33 for hardware decoding.
[0xaee06558] alsa audio output warning: device cannot be paused
[h264 @ 0xb529ff60] Cannot parallelize deblocking type 1, decoding such frames in sequential order
[0xaee06558] main audio output warning: PTS is out of range (-31232), dropping buffer
[0xaeaaf8c8] main video output warning: picture is too late to be displayed (missing 36 ms)
[0xaeaaf8c8] main video output warning: picture is too late to be displayed (missing 55 ms)
[0xaeaaf8c8] main video output warning: picture is too late to be displayed (missing 74 ms)
[0xaeaaf8c8] main video output warning: picture is too late to be displayed (missing 93 ms)
[0xaeaaf8c8] main video output warning: picture is too late to be displayed (missing 112 ms)
[0xaeaaf8c8] main video output warning: picture is too late to be displayed (missing 131 ms)
[0xaeaaf8c8] main video output warning: picture is too late to be displayed (missing 151 ms)
[0xaeaaf8c8] main video output warning: picture is too late to be displayed (missing 109 ms)
[0xaeaaf8c8] main video output warning: picture is too late to be displayed (missing 129 ms)
[0xaeaaf8c8] main video output warning: picture is too late to be displayed (missing 24 ms)
[0xaeaaf8c8] main video output warning: picture is too late to be displayed (missing 44 ms)
[0xaeaaf8c8] main video output warning: picture is too late to be displayed (missing 64 ms)
[0xaeaaf8c8] main video output warning: picture is too late to be displayed (missing 84 ms)
[0xaeaaf8c8] main video output warning: picture is too late to be displayed (missing 105 ms)
[0xaeaaf8c8] main video output warning: picture is too late to be displayed (missing 126 ms)
[0xaeaaf8c8] main video output warning: picture is too late to be displayed (missing 147 ms)
[0xaeaaf8c8] main video output warning: picture is too late to be displayed (missing 168 ms)
[0xaeaaf8c8] main video output warning: picture is too late to be displayed (missing 23 ms)
[0xaeaaf8c8] main video output warning: picture is too late to be displayed (missing 21 ms)
[0xaeaaf8c8] main video output warning: picture is too late to be displayed (missing 43 ms)
[0xaeaaf8c8] main video output warning: picture is too late to be displayed (missing 65 ms)
[0xaeaaf8c8] main video output warning: picture is too late to be displayed (missing 87 ms)
Code: Select all
libva: VA-API version 0.33.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/i965_drv_video.so
libva: Found init function __vaDriverInit_0_32
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.33 (libva 1.1.0.pre1)
vainfo: Driver version: Intel i965 driver - 1.0.16.pre1
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264Baseline : VAEntrypointVLD
VAProfileH264Baseline : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
Code: Select all
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Subsystem: Dell Device 051b
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 40
Region 0: Memory at f0000000 (64-bit, non-prefetchable) [size=4M]
Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at 3000 [size=64]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915
Code: Select all
3.3.7-1-ARCH