How enable GPU decoding?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How enable GPU decoding?

Postby VLC_help » 08 Mar 2012 21:15

WMP uses it via VMR/EVR, so draw calls are handled via same thing. VLC just calls the decoding part and fetches the video back, so video drawing can be done by any VOUT. (with VLC you can display GPU decoded video with ASCII video output if you want, WMP cannot do that)

Updated drivers don't really guarantee anything in this context, bug free drivers would mean something. (GPU drivers are most buggy software components in Windows)

Resolution is one thing, but more important things are encoding settings like ref-frames, profiles, levels etc. One wrong setting, and usually there are some issues.

jo86V2r
New Cone
New Cone
Posts: 4
Joined: 08 Dec 2011 18:23

Re: How enable GPU decoding?

Postby jo86V2r » 08 Mar 2012 23:13

Hi,

Following this thread a bit. I have Windows 7 64-bit and 9500GT card. I'm trying to maximize GPU usage when running VLC player.

I run MSI AfterBurner and it shows only around 19% GPU usage when playing in VLC Player. VLC Player CPU usage shows 46%, which is a bit high. If I use mpc-hc to play the same video, GPU usage jumps to almost 80% and mpc-hc's CPU usage is at a lower 29-32%.


Anything I can do in the settings to further increase GPU usage and reduce CPU usage when using VLC Player?

Thx.
VLC just calls the decoding part and fetches the video back, so video drawing can be done by any VOUT.

kimiraikkonen
Blank Cone
Blank Cone
Posts: 41
Joined: 06 Mar 2012 18:14

Re: How enable GPU decoding?

Postby kimiraikkonen » 09 Mar 2012 11:05

WMP uses it via VMR/EVR, so draw calls are handled via same thing. VLC just calls the decoding part and fetches the video back, so video drawing can be done by any VOUT. (with VLC you can display GPU decoded video with ASCII video output if you want, WMP cannot do that)

Updated drivers don't really guarantee anything in this context, bug free drivers would mean something. (GPU drivers are most buggy software components in Windows)

Resolution is one thing, but more important things are encoding settings like ref-frames, profiles, levels etc. One wrong setting, and usually there are some issues.
But, both use DXVA which means PureVideo enabled on Nvidia cards, don't they? Actually, what user has as output matters, not the way how it is done. That's why i want VLC to display and use GPU-acceleration like WMP, because it's more than a player.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How enable GPU decoding?

Postby VLC_help » 09 Mar 2012 19:32

That's why i want VLC to display and use GPU-acceleration like WMP, because it's more than a player.
Unfortunately we cannot do VMR/EVR with VLC, since that would require usage of Windows media decoding chain.
Anything I can do in the settings to further increase GPU usage and reduce CPU usage when using VLC Player?
GPU decoding is about only thing that really helps in that. CPU usage should go down, once the audio resampling issue is fixed.

kimiraikkonen
Blank Cone
Blank Cone
Posts: 41
Joined: 06 Mar 2012 18:14

Re: How enable GPU decoding?

Postby kimiraikkonen » 09 Mar 2012 22:35

Well, then it's normal to have green video in some videos using Vlc if gpu-acceleration is enabled, eventhough such videos are natively supported by PureVideo and can be played fine by Wmp?

Can we conclude on this at last?

Btw, forum's subscription notification system seems not working for the last 2 days, because i'm not receiving notification mails eventhough i subscribed to this topic.

Cheers!..

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How enable GPU decoding?

Postby VLC_help » 11 Mar 2012 10:22

This forum has some issues at random times.

It is normal with VLC that GPU decoding shows green screen with some videos, since drivers fails with decoding.

lokinho
New Cone
New Cone
Posts: 1
Joined: 18 Mar 2012 00:01

Re: How enable GPU decoding?

Postby lokinho » 18 Mar 2012 00:20

Hello,

I'm following the thread and have a relevant precautionary question:

My client uses a laptop with four cores to project a 1080p movie. I rendered in various formats and it seems the video quality is best in AVdn codec which has a filesize of around 100GB. I tried h.264 and various ProRes formats, it either didn't work or it was bad quality.
So the AVdn file was playing well the first time, when I tried a 2nd run, it stuttered after 3 minutes of playback und played well and didn't stutter again (didn't watch the whole movie again tho). To prevent that in the projection event, I came here to get some hints on how to prevent stuttering.

- Could it be the RAM was full from first caching the whole movie, maybe a restart of the laptop would have fixed this issue with 2nd playback?
- Is it possible to raise the cache-size to a max, because I have all the time I want to cache and do not need to ff or rwd the movie while playing?
- I already activated GPU-acc,
- DX3D-Video mode
- and use ffmpeg, I do not remember the graphic card tho. I will come back when I got that info.
- Oh yeah and I deactivated/closed every background program that was running, guess that helps, too.

Would be sweet if you guys could make me feel less nervous by giving me a hint on how to project that big a** file. I have no clue why the h264 had such a bad quality with that projector :/

Cheers,
loki

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How enable GPU decoding?

Postby VLC_help » 18 Mar 2012 13:35

By default VLC doesn't cache whole file. Only few seconds. And you can increase the cache, but it is still limited to few seconds.

AVdn isn't a codec that supports hardware decoding in VLC so GPU decoding doesn't matter. If you want good quality H.264 encoding, use x264.

kimiraikkonen
Blank Cone
Blank Cone
Posts: 41
Joined: 06 Mar 2012 18:14

Re: How enable GPU decoding?

Postby kimiraikkonen » 20 Mar 2012 14:01

By the way, how do we know if GPU-acceleration has taken place during decoding? Messages window? How? I'm asking it because, as i get green video in some videos with my high-end GTX460 with VLC whereas i don't get any green video on an ATI-Based (x1200) very old notebook eventhough both have GPU-acceleration setting enabled in GUI, but i'm suspicious that ATI-based old notebook doesn't have any GPU acceleration feature by hardware, thus it's not used. I need to confirm the usage of GPU-acceleration feature somewhere in VLC, how and is it possible?

Thanks!

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How enable GPU decoding?

Postby VLC_help » 20 Mar 2012 18:48

By the way, how do we know if GPU-acceleration has taken place during decoding?
Open Tools -> Messages (set Verbosity to 2) before you start playback. It will say once you open the file if DXVA is used.
but i'm suspicious that ATI-based old notebook doesn't have any GPU acceleration feature by hardware, thus it's not used
DXVA in VLC only works if you have 4000 series Radeon or newer. It doesn't work with x1200.

kimiraikkonen
Blank Cone
Blank Cone
Posts: 41
Joined: 06 Mar 2012 18:14

Re: How enable GPU decoding?

Postby kimiraikkonen » 20 Mar 2012 19:35

Thank you, i set verbosity to 2 and here is the log of one of my 240p AVC (MP4) file that is generated when i enable GPU-acceleration:

Code: Select all

main warning: resampling stopped after 12790000 usec (drift: -21197) main debug: adding item `nevertoolate.mp4' ( file:///C:/Users/onur/Desktop/nevertoolate.mp4 ) main debug: control type=0 main debug: control: stopping input qt4 debug: Adding a new MRL to recent ones: C:\Users\onur\Desktop\nevertoolate.mp4 main debug: Creating an input for 'nevertoolate.mp4' main debug: dying input main debug: no fetch required for (null) (art currently (null)) main debug: dying input main debug: thread times: real 0m15.105864s, kernel 0m0.000000s, user 0m0.015600s avcodec debug: ffmpeg codec (Windows Media Audio 2) stopped main debug: removing module "avcodec" main debug: killing decoder fourcc `WMA2', 0 PES in FIFO main debug: removing module "audio_format" main debug: removing module "scaletempo" main debug: removing module "ugly_resampler" aout_directx debug: closing audio device aout_directx debug: DirectSoundThread exiting main debug: thread ended main debug: thread times: real 0m14.682839s, kernel 0m0.000000s, user 0m0.046800s main debug: removing module "aout_directx" main debug: removing module "audio_format" main debug: removing module "float32_mixer" main debug: releasing aout main warning: can't get output picture main debug: thread times: real 0m15.139865s, kernel 0m0.015600s, user 0m0.015600s avcodec debug: ffmpeg codec (Windows Media Video 9) stopped main debug: removing module "avcodec" main debug: killing decoder fourcc `WMV3', 1 PES in FIFO main debug: [0] 2 0 main debug: [1] 4 0 main debug: [2] 4 0 main debug: [3] 4 0 main debug: [4] 4 0 main debug: [5] 4 0 main debug: [6] 2 0 main debug: [7] 2 0 main debug: [8] 2 0 main debug: [9] 2 0 main debug: [10] 2 0 main debug: [11] 2 0 main debug: [12] 2 0 main debug: [13] 2 0 main debug: [14] 2 0 main debug: [15] 2 0 main debug: [16] 2 0 main debug: [17] 2 0 main debug: [18] 2 0 main debug: [19] 2 0 main debug: [20] 2 0 main debug: [21] 2 0 main debug: [22] 2 0 main debug: [23] 2 0 main debug: saving a free vout asf debug: free asf object 0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 asf debug: free asf object 0x7c4346a9-0xefe0-0x4bfc-0xb229393ede415c85 asf warning: unknown asf object 0x26f18b5d-0x4584-0x47ec-0x9f5f0e651f0452c9 asf debug: free asf object 0xc5f8cbea-0x5baf-0x4877-0x8467aa8c44fa4cca asf warning: unknown asf object 0x1806d474-0xcadf-0x4509-0xa4ba9aabcb96aae8 asf debug: free asf object 0x14e6a5cb-0xc672-0x4332-0x8399a96952065b5a asf debug: free asf object 0x14e6a5cb-0xc672-0x4332-0x8399a96952065b5a asf warning: unknown asf object 0xd9aade20-0x7c17-0x4f9c-0xbc288555dd98e2a2 asf debug: free asf object 0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 asf debug: free asf object 0xd2d0a440-0xe307-0x11d2-0x97f000a0c95ea850 asf debug: free asf object 0x86d15240-0x311d-0x11d0-0xa3a400a0c90348f6 asf debug: free asf object 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 asf debug: free asf object 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 asf debug: free asf object 0x7bf875ce-0x468d-0x11d1-0x8d82006097c9a2b2 asf debug: free asf object 0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c asf debug: free asf object 0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c asf debug: free asf object 0x33000890-0xe5b1-0x11cf-0x89f400a0c90349cb main debug: Program doesn't contain anymore ES main debug: removing module "asf" main debug: removing module "stream_filter_record" main debug: removing module "filesystem" main debug: thread ended main debug: dead input main debug: thread times: real 0m15.405881s, kernel 0m0.140400s, user 0m0.109200s main debug: processing request item nevertoolate.mp4 node null skip 0 main debug: rebuilding array of current - root Playlist main debug: rebuild done - 8 items, index 7 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'nevertoolate.mp4' main debug: thread started main debug: thread (input) created at priority 1 (../.././src/input/input.c:220) main debug: using timeshift granularity of 50 MiB main debug: using timeshift path 'C:\Users\onur\AppData\Local\Temp' main debug: `file:///C:/Users/onur/Desktop/nevertoolate.mp4' gives access `file' demux `' path `C:\Users\onur\Desktop\nevertoolate.mp4' main debug: creating demux: access='file' demux='' path='C:\Users\onur\Desktop\nevertoolate.mp4' main debug: looking for access_demux module: 2 candidates main debug: no access_demux module matching "file" could be loaded main debug: TIMER module_need() : 5.000 ms - Total 5.000 ms / 1 intvls (Avg 5.000 ms) main debug: creating access 'file' path='C:\Users\onur\Desktop\nevertoolate.mp4' main debug: looking for access module: 2 candidates filesystem debug: opening file `C:\Users\onur\Desktop\nevertoolate.mp4' main debug: using access module "filesystem" main debug: TIMER module_need() : 5.000 ms - Total 5.000 ms / 1 intvls (Avg 5.000 ms) main debug: Using AStream*Stream main debug: pre buffering main debug: received first data after 0 ms main debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s main debug: looking for stream_filter module: 2 candidates main debug: no stream_filter module matching "any" could be loaded main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: looking for stream_filter module: 1 candidate main debug: using stream_filter module "stream_filter_record" main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) main debug: creating demux: access='file' demux='' path='C:\Users\onur\Desktop\nevertoolate.mp4' main debug: looking for demux module: 52 candidates mp4 debug: found Box: ftyp size 28 mp4 debug: found Box: moov size 65648 mp4 debug: found Box: mvhd size 108 mp4 debug: read box: "mvhd" creation 732975d-14h:40m:49s modification 732975d-14h:40m:49s time scale 600 duration 694977d-48h:00m:01s rate 1.000000 volume 1.000000 next track id 3 mp4 debug: found Box: iods size 21 mp4 warning: unknown box type iods (incompletely loaded) mp4 debug: found Box: trak size 37609 mp4 debug: found Box: tkhd size 92 mp4 debug: read box: "tkhd" creation 732975d-14h:40m:49s modification 732975d-14h:40m:49s duration 694978d-22h:17m:31s track ID 1 layer 0 volume 1.000000 width 0.000000 height 0.000000 mp4 debug: found Box: mdia size 37509 mp4 debug: found Box: mdhd size 32 mp4 debug: read box: "mdhd" creation 732975d-14h:40m:49s modification 732975d-14h:40m:49s time scale 44100 duration 695082d-48h:27m:44s language und mp4 debug: found Box: hdlr size 66 mp4 debug: read box: "hdlr" handler type soun name (C) 2007 Google Inc. v06.24.2007. mp4 debug: found Box: minf size 37403 mp4 debug: found Box: smhd size 16 mp4 debug: read box: "smhd" balance 0.000000 mp4 debug: found Box: dinf size 36 mp4 debug: found Box: dref size 28 mp4 debug: found Box: url size 12 mp4 debug: read box: "url" url: (null) mp4 debug: read box: "dref" entry-count 1 mp4 debug: found Box: stbl size 37343 mp4 debug: found Box: stsd size 91 mp4 debug: found Box: mp4a size 75 mp4 debug: read box: "soun" mp4 or qt1/2 (rest=39) mp4 debug: found Box: esds size 39 mp4 debug: found esds MPEG4ESDescr (25Bytes) mp4 debug: found esds MP4DecConfigDescr (17Bytes) mp4 debug: found esds MP4DecSpecificDescr (2Bytes) mp4 debug: read box: "soun" in stsd channel 2 sample size 16 sample rate 44100.000000 mp4 debug: read box: "stsd" entry-count 1 mp4 debug: found Box: stts size 24 mp4 debug: read box: "stts" entry-count 1 mp4 debug: found Box: stsc size 52 mp4 debug: read box: "stsc" entry-count 3 mp4 debug: found Box: stsz size 35464 mp4 debug: read box: "stsz" sample-size 0 sample-count 8861 mp4 debug: found Box: stco size 1704 mp4 debug: read box: "co64" entry-count 422 mp4 debug: found Box: trak size 27902 mp4 debug: found Box: tkhd size 92 mp4 debug: read box: "tkhd" creation 732975d-14h:40m:49s modification 732975d-14h:40m:49s duration 694978d-22h:23m:42s track ID 2 layer 0 volume 0.000000 width 320.000000 height 240.000000 mp4 debug: found Box: mdia size 27802 mp4 debug: found Box: mdhd size 32 mp4 debug: read box: "mdhd" creation 732975d-14h:40m:49s modification 732975d-14h:40m:49s time scale 29917 duration 695048d-23h:00m:00s language und mp4 debug: found Box: hdlr size 66 mp4 debug: read box: "hdlr" handler type vide name (C) 2007 Google Inc. v06.24.2007. mp4 debug: found Box: minf size 27696 mp4 debug: found Box: vmhd size 20 mp4 debug: read box: "vmhd" graphics-mode 0 opcolor (0, 0, 0) mp4 debug: found Box: dinf size 36 mp4 debug: found Box: dref size 28 mp4 debug: found Box: url size 12 mp4 debug: read box: "url" url: (null) mp4 debug: read box: "dref" entry-count 1 mp4 debug: found Box: stbl size 27632 mp4 debug: found Box: stsd size 160 mp4 debug: found Box: avc1 size 144 mp4 debug: found Box: avcC size 38 mp4 debug: read box: "avcC" version=1 profile=0x42 level=0xb length size=2 sps=1 pps=1 mp4 debug: - sps[0] length=14 mp4 debug: - pps[0] length=5 mp4 debug: found Box: btrt size 20 mp4 warning: unknown box type btrt (incompletely loaded) mp4 debug: read box: "vide" in stsd 320x240 depth 24 mp4 debug: read box: "stsd" entry-count 1 mp4 debug: found Box: stts size 24 mp4 debug: read box: "stts" entry-count 1 mp4 debug: found Box: stss size 892 mp4 debug: read box: "stss" entry-count 219 mp4 debug: found Box: stsc size 52 mp4 debug: read box: "stsc" entry-count 3 mp4 debug: found Box: stsz size 24716 mp4 debug: read box: "stsz" sample-size 0 sample-count 6174 mp4 debug: found Box: stco size 1780 mp4 debug: read box: "co64" entry-count 441 mp4 debug: found Box: mdat size 7859572 mp4 debug: skip box: "mdat" mp4 debug: dumping root Box "root" mp4 debug: | + ftyp size 28 mp4 debug: | + moov size 65648 mp4 debug: | | + mvhd size 108 mp4 debug: | | + iods size 21 mp4 debug: | | + trak size 37609 mp4 debug: | | | + tkhd size 92 mp4 debug: | | | + mdia size 37509 mp4 debug: | | | | + mdhd size 32 mp4 debug: | | | | + hdlr size 66 mp4 debug: | | | | + minf size 37403 mp4 debug: | | | | | + smhd size 16 mp4 debug: | | | | | + dinf size 36 mp4 debug: | | | | | | + dref size 28 mp4 debug: | | | | | | | + url size 12 mp4 debug: | | | | | + stbl size 37343 mp4 debug: | | | | | | + stsd size 91 mp4 debug: | | | | | | | + mp4a size 75 mp4 debug: | | | | | | | | + esds size 39 mp4 debug: | | | | | | + stts size 24 mp4 debug: | | | | | | + stsc size 52 mp4 debug: | | | | | | + stsz size 35464 mp4 debug: | | | | | | + stco size 1704 mp4 debug: | | + trak size 27902 mp4 debug: | | | + tkhd size 92 mp4 debug: | | | + mdia size 27802 mp4 debug: | | | | + mdhd size 32 mp4 debug: | | | | + hdlr size 66 mp4 debug: | | | | + minf size 27696 mp4 debug: | | | | | + vmhd size 20 mp4 debug: | | | | | + dinf size 36 mp4 debug: | | | | | | + dref size 28 mp4 debug: | | | | | | | + url size 12 mp4 debug: | | | | | + stbl size 27632 mp4 debug: | | | | | | + stsd size 160 mp4 debug: | | | | | | | + avc1 size 144 mp4 debug: | | | | | | | | + avcC size 38 mp4 debug: | | | | | | | | + btrt size 20 mp4 debug: | | | | | | + stts size 24 mp4 debug: | | | | | | + stss size 892 mp4 debug: | | | | | | + stsc size 52 mp4 debug: | | | | | | + stsz size 24716 mp4 debug: | | | | | | + stco size 1780 mp4 debug: | + mdat size 7859572 mp4 debug: unrecognized major file specification (mp42). mp4 debug: found 2 tracks mp4 debug: track[Id 0x1] read 422 chunk mp4 debug: track[Id 0x1] read 8861 samples length:205s main debug: selecting program id=0 mp4 debug: adding track[Id 0x1] audio (enable) language undef mp4 debug: track[Id 0x2] read 441 chunk mp4 debug: track[Id 0x2] read 6174 samples length:206s mp4 debug: adding track[Id 0x2] video (enable) language undef main debug: using demux module "mp4" main debug: TIMER module_need() : 3.000 ms - Total 3.000 ms / 1 intvls (Avg 3.000 ms) mp4 warning: control query 14 unimplemented main debug: looking for a subtitle file in C:\Users\onur\Desktop\ main debug: looking for decoder module: 34 candidates main debug: using decoder module "faad" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: thread started main debug: thread (decoder) created at priority 2 (../.././src/input/decoder.c:301) main debug: looking for decoder module: 34 candidates avcodec debug: libavcodec already initialized avcodec debug: trying to use direct rendering avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) started main debug: using decoder module "avcodec" main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) main debug: thread started main debug: thread (decoder) created at priority 0 (../.././src/input/decoder.c:301) main debug: looking for meta reader module: 2 candidates lua debug: Trying Lua scripts in C:\Users\onur\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.lua main debug: no meta reader module matching "any" could be loaded main debug: TIMER module_need() : 16.000 ms - Total 16.000 ms / 1 intvls (Avg 16.000 ms) main debug: `file:///C:/Users/onur/Desktop/nevertoolate.mp4' successfully opened mp4 debug: track[Id 0x1] does not provide Sync Sample Box (stss) mp4 debug: track[Id 0x2] using Sync Sample Box (stss) mp4 debug: stts gives 0 --> 0 (sample number) main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 33% main debug: Buffering 66% main debug: Buffering 100% main debug: Stream buffering done (400 ms in 0 ms) faad warning: decoded zero sample avcodec debug: Available decoder output format 61 (PIX_FMT_DXVA2_VLD) avcodec debug: Trying DXVA2 main debug: reusing aout main debug: looking for audio output module: 4 candidates aout_directx debug: Opening DirectSound Audio Output avcodec debug: DLLs loaded aout_directx debug: found device: Primary Sound Driver aout_directx debug: found device: Speakers (Realtek High Definition Audio) aout_directx debug: found device: Realtek Digital Output (Realtek High Definition Audio) qt4 debug: IM: Deleting the input aout_directx debug: device supports 2 channels (DEFAULT!) main debug: TIMER input launching for 'erim-CsharpMVI_1302.wmv' : 169.000 ms - Total 169.000 ms / 1 intvls (Avg 169.000 ms) aout_directx debug: device supports 1 channel aout_directx debug: Windows says your SpeakerConfig is stereo aout_directx debug: creating DirectSoundThread main debug: thread (DirectSound Notification Thread) created at priority 15 (../../.././modules/audio_output/directx.c:321) main debug: thread started avcodec debug: D3dCreateDevice succeed main debug: using audio output module "aout_directx" aout_directx debug: DirectSoundThread ready avcodec debug: OurDirect3DCreateDeviceManager9 Success! main debug: TIMER module_need() : 39.000 ms - Total 39.000 ms / 1 intvls (Avg 39.000 ms) avcodec info: obtained IDirect3DDeviceManager9 avcodec info: DXVA2CreateVideoService Success! main debug: output 's16l' 44100 Hz Stereo frame=1 samples/4 bytes main debug: mixer 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes main debug: filter(s) 'f32l'->'s16l' 44100 Hz->44100 Hz Stereo->Stereo main debug: looking for audio filter module: 13 candidates audio_format debug: f32l->s16l, bits per sample: 32->16 main debug: using audio filter module "audio_format" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: found a filter for the whole conversion main debug: looking for audio mixer module: 3 candidates main debug: using audio mixer module "float32_mixer" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: input 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes main debug: looking for audio filter module: 1 candidate scaletempo debug: format: 44100 rate, 2 nch, 4 bps, fl32 scaletempo debug: params: 30 stride, 0.200 overlap, 14 search scaletempo debug: 1.000 scale, 1323.000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode main debug: using audio filter module "scaletempo" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: filter(s) 'f32l'->'f32l' 48510 Hz->44100 Hz Stereo->Stereo main debug: looking for audio filter module: 13 candidates main debug: using audio filter module "ugly_resampler" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: found a filter for the whole conversion main debug: End of audio preroll avcodec debug: - 'DXVA2_ModeMPEG2_IDCT' is supported by hardware avcodec warning: - Unknown GUID = 86695F12-340e-4f04-XXXX avcodec debug: - 'DXVA2_ModeMPEG2_VLD' is supported by hardware avcodec warning: - Unknown GUID = 6F3EC719-3735-42cc-XXXX avcodec debug: - 'VC-1 VLD' is supported by hardware avcodec warning: - Unknown GUID = 1B81BEA4-a0c7-11d3-XXXX avcodec debug: - 'VC-1 IDCT' is supported by hardware avcodec debug: - 'Windows Media Video 9 IDCT' is supported by hardware avcodec warning: - Unknown GUID = 32FCFE3F-de46-4a49-XXXX avcodec debug: - 'H.264 VLD, no FGT' is supported by hardware avcodec warning: - Unknown GUID = EFD64D74-c9e8-41d7-XXXX avcodec warning: - Unknown GUID = ED418A9F-010d-4eda-XXXX avcodec warning: - Unknown GUID = 9947EC6F-689b-11dc-XXXX avcodec warning: - Unknown GUID = B194EB52-19a0-41f0-XXXX avcodec debug: Trying to use 'H.264 VLD, no FGT' as input avcodec debug: NV12 is supported for output avcodec debug: Using 'H.264 VLD, no FGT' to decode to 'NV12' avcodec debug: DxCreateVideoDecoder id 28 320x240 qt4 debug: IM: Setting an input avcodec debug: IDirectXVideoAccelerationService_CreateSurface succeed with 17 surfaces (320x240) avcodec debug: we got 2 decoder configurations avcodec debug: configuration[0] ConfigBitstreamRaw 1 avcodec debug: configuration[1] ConfigBitstreamRaw 2 avcodec debug: IDirectXVideoDecoderService_CreateVideoDecoder succeed avcodec info: Using DXVA2 (NVIDIA GeForce GTX 460M , vendor 4318(NVIDIA), device 3537, revision 161) for hardware decoding. main debug: trying to reuse free vout main debug: reusing provided vout main debug: End of video preroll main debug: Received first picture freetype debug: using fontsize: 15 main debug: Decoder buffering done in 137 ms main warning: PTS is out of range (-32219), dropping buffer main warning: late picture skipped (67149 > -7163) main warning: late picture skipped (33723 > -7163) main warning: late picture skipped (297 > -7163) main debug: auto hidding mouse
Can you interpret what thing is wrong? I see the line "Using DXVA2 (NVIDIA GeForce GTX 460M , vendor 4318(NVIDIA), device 3537, revision 161) for hardware decoding.
main debug: trying to reuse free vout"
, but I can play Full HD 1080p video fine with the same GPU / computer even GPU-acceleration is enabled.

Really wonder, thanks a lot!

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How enable GPU decoding?

Postby VLC_help » 21 Mar 2012 18:59

It is normal that some files won't playback correctly with GPU decoding when played back with VLC. And with VLC it will be like that in future also, since there are always buggy drivers or videos that DXVA cannot decode with certain devices.

kimiraikkonen
Blank Cone
Blank Cone
Posts: 41
Joined: 06 Mar 2012 18:14

Re: How enable GPU decoding?

Postby kimiraikkonen » 21 Mar 2012 20:29

It is normal that some files won't playback correctly with GPU decoding when played back with VLC. And with VLC it will be like that in future also, since there are always buggy drivers or videos that DXVA cannot decode with certain devices.
Still it's not acceptable since GPU-acceleration (aka PureVideo in Nvidia) and my GTX 460 are NOT new technologies and getting green video with "some" videos with a up-to-date WHQL driver release sound unlikely that green video caused by "buggy" driver in year 2012. Plus using WMP 12 no green video appears with same GPU, same PC even it uses DXVA, too.

I asked Nvidia and they did not confirm the issue caused by a buggy driver, they usually blame the application (in this case VLC) for the problem.

That's why i'm suspicous why it doesn't work even with little videos such as 240p ones.

Also, it would be REALLY nice to have such feature in VLC that would allow itself to auto switch to non-GPU accelerated mode if opening video causes such problem like green display in GPU-accelerated mode, instead of forcing us going back to settings and manually deselect / disable it then reopen the same video. Can it be?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How enable GPU decoding?

Postby VLC_help » 22 Mar 2012 18:31

Also, it would be REALLY nice to have such feature in VLC that would allow itself to auto switch to non-GPU accelerated mode if opening video causes such problem like green display in GPU-accelerated mode, instead of forcing us going back to settings and manually deselect / disable it then reopen the same video. Can it be?
It would have to be disable it then reopen the same video style of automation, since AFAIK libav cannot change from GPU -> CPU decoding on fly.

Meda31
New Cone
New Cone
Posts: 5
Joined: 23 Mar 2012 22:58

Re: How enable GPU decoding?

Postby Meda31 » 29 Mar 2012 14:59

Hello.
What is this feature?
Encoding/decoding GPU or using GPU acceleration is useful to do what precisely?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How enable GPU decoding?

Postby VLC_help » 29 Mar 2012 18:48

GPU decoding uses DXVA API to decode certain video formats. When GPU decoding works correctly, VLC uses less CPU time (saves battery, and/or allows better multitasking).

kimiraikkonen
Blank Cone
Blank Cone
Posts: 41
Joined: 06 Mar 2012 18:14

Re: How enable GPU decoding?

Postby kimiraikkonen » 31 Mar 2012 11:22

GPU decoding uses DXVA API to decode certain video formats.
Are these "certain" formats and resolutions documented somewhere? Or is it hit and miss?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How enable GPU decoding?

Postby VLC_help » 01 Apr 2012 11:25

It is hit and miss. Drivers do report the formats they should support to DVXA, but unfortunately there isn't guarantee that they can decode those videos properly.

shak
Blank Cone
Blank Cone
Posts: 11
Joined: 04 Feb 2012 17:22

Re: How enable GPU decoding?

Postby shak » 02 Apr 2012 13:10

I have an issue that i do not if it is normal .

When i enable gpu decoding (i have an ati radeon hd 5650) i can notice lower cpu usage but the subs when watching anime which are soft subs , look blurry . Is this an effect from using the gpu ?

And another question does vlc 2.0 support 10bit video ? (hi10)

Shakama
Blank Cone
Blank Cone
Posts: 53
Joined: 05 Aug 2008 02:18

Re: How enable GPU decoding?

Postby Shakama » 17 Apr 2012 10:02

I have an issue that i do not if it is normal .

When i enable gpu decoding (i have an ati radeon hd 5650) i can notice lower cpu usage but the subs when watching anime which are soft subs , look blurry . Is this an effect from using the gpu ?

And another question does vlc 2.0 support 10bit video ? (hi10)

i would like to know as well about the 10bit video, I know MPC has it.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How enable GPU decoding?

Postby Jean-Baptiste Kempf » 17 Apr 2012 11:56

VLC has it. But 10bits is not GPU decoded.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Aeneas
Cone that earned his stripes
Cone that earned his stripes
Posts: 196
Joined: 09 Oct 2006 08:39

Re: How enable GPU decoding?

Postby Aeneas » 08 May 2012 10:10

Why is the enable switch for GPU_accelerated_decoding only visible in the Tools/Preferences/Simple settings mode ?
I find that it reduces CPU consumption from around 38% to around 9% on .M2TS 1080P.
//Windows 7 64//Q6600 2.4GHz//12 GByte Sdram//Nvidia GTX 570//

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How enable GPU decoding?

Postby VLC_help » 08 May 2012 20:26

It is somewhat hidden because it doesn't work correctly with all files and setups.

Aeneas
Cone that earned his stripes
Cone that earned his stripes
Posts: 196
Joined: 09 Oct 2006 08:39

Re: How enable GPU decoding?

Postby Aeneas » 08 May 2012 23:47

You mean that the VLC developers want the more inexperienced users of the program
to deal with whatever VLC GPU_decoder instability which might arise ?
Interesting policy.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How enable GPU decoding?

Postby Jean-Baptiste Kempf » 09 May 2012 01:07

You mean that the VLC developers want the more inexperienced users of the program
to deal with whatever VLC GPU_decoder instability which might arise ?
Interesting policy.
What? GPU decoding is present in both simple and advanced preferenced. It is off by default, because it does not work all the time.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Rémi Denis-Courmont and 79 guests