Intel Graphics HD 3000, VLC & hardware acceleration issue.

*nix specific usage questions
firewalker
New Cone
New Cone
Posts: 6
Joined: 28 May 2012 16:14

Intel Graphics HD 3000, VLC & hardware acceleration issue.

Postby firewalker » 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]
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)
vainfo:

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
lspci -vvv:

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
uname -r:

Code: Select all

3.3.7-1-ARCH
ArchLinux 32 bits.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Intel Graphics HD 3000, VLC & hardware acceleration issu

Postby Rémi Denis-Courmont » 28 May 2012 18:28

Don't use hardware acceleration. Your card does not support the VLC rendering model.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

firewalker
New Cone
New Cone
Posts: 6
Joined: 28 May 2012 16:14

Re: Intel Graphics HD 3000, VLC & hardware acceleration issu

Postby firewalker » 28 May 2012 18:37

Thnks you for your answer.

Just for extra infos. It will suopported it the feature, or it will never be supported? Is it an Intel "thing"? Should I fill a feature request?

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Intel Graphics HD 3000, VLC & hardware acceleration issu

Postby Rémi Denis-Courmont » 29 May 2012 08:47

I doubt Intel will care to update the drivers, and it might well be a hardware limitation anyway.

As for VLC, it would require a lot of work, so with a volunteer team, I cannot say.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

bunicutanebuna
New Cone
New Cone
Posts: 1
Joined: 25 Sep 2012 06:25

Re: Intel Graphics HD 3000, VLC & hardware acceleration issu

Postby bunicutanebuna » 25 Sep 2012 06:29

Well im sure its not a video card problem since u have vaapi enable. It's just a problem in VLC. You should try mplayer with vaapi support.
My processor is an ivy bridge with hd 4000 graphic card and ofcourse vlc still not working properly since 1 of my processor stays around 50%+. With mplayer + vaapi i have no problem at all. So i guess the problem is with VLC itself.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Intel Graphics HD 3000, VLC & hardware acceleration issu

Postby Rémi Denis-Courmont » 26 Sep 2012 20:53

VLC and Mplayer do not work the same way, so that just proves my point.

As I said, making VLC work like Mplayer would requires a lot of work. Since the VLC team is currently small and volunteer, I can only say it's not going to be implemented any time soon, if ever.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 3 guests