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.
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 » 24 Jan 2012 15:26

Please no. Either you do VLD or you do nothing. iDCT or MoComp is ridiculous, those days...
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.

aznpos531
New Cone
New Cone
Posts: 1
Joined: 27 Jan 2012 10:59

Re: How enable GPU decoding?

Postby aznpos531 » 27 Jan 2012 11:12

I've enabled GPU Decoding however when I play videos using VLC, the program doesn't show up under the GPU activity. I suspect it's still using the integrated graphics and not my dedicated graphics card. Is there any way to force VLC to use the dedicated graphics? I have the nVidia Geforce 460M running on the 290.53 drivers.

Thanks!

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 » 27 Jan 2012 14:29

Nope. The decoding is automatic. It should take the first one.
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.

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

Re: How enable GPU decoding?

Postby VLC_help » 27 Jan 2012 18:56

aznpos531: you can check from Tools -> Messages (set Verbosity to 2) what GPU VLC uses. But DXVA decoding in GPUs doesn't really show up as GPU usage, since it is different part of chip than the one that does 3D calculations.

brahmajivv
New Cone
New Cone
Posts: 3
Joined: 31 Jul 2011 14:05

Re: How enable GPU decoding?

Postby brahmajivv » 19 Feb 2012 18:33

Even in VLC 2.0 too the GPU Encoding Results in Shutdown/black out of laptop while playing HD videos.
This had happened in previous version 1.1(when experimental) too.

I m using ATI Mobility Radeon HD 5650, Windows7 64-bit.

Extra info: Sony VAIO, vpceb36fg

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 » 19 Feb 2012 18:54

Upgrade your video drivers.

And next time, do not buy Sony.
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.

malungu

Re: How enable GPU decoding?

Postby malungu » 20 Feb 2012 14:20

Hi,

there is a strange behaviour since version 2.0.0 on my PC (Windows 7).

If I don't check this option, MOV videos using H.264 recorded with my digital camera (Canon S95) show artefacts and grey holes.

If I do check this option, the MOVs are OK, but the MPG videos recorded with my previous digital camera (Sony W12) are not shown at all. There are only flickering rectangles at the top of the window.

So both settings seem to be right or wrong depending on the video format, but I don't feel like changing it all the time. I did not have this problem with the previous version 1.1.11, nor with Windows Media Player or other players.

Can you help? :cry:

Best regards
malungu

PS: This seems to be the same problem: viewtopic.php?f=14&t=98307
Last edited by malungu on 20 Feb 2012 22:13, edited 3 times in total.

judas black
Blank Cone
Blank Cone
Posts: 73
Joined: 06 Oct 2008 13:06

Re: How enable GPU decoding?

Postby judas black » 20 Feb 2012 19:35

It is called Use GPU acceleration. And it isn't in Video section. It is under Input & Codecs.
in windows 7 works great , under xp no
i guess maybe i should update the xp ati drivers
VLC is the best media player ever made

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 » 21 Feb 2012 13:15

No, we only support GPU decoding on Vista and 7 for technical limitations.
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.

brahmajivv
New Cone
New Cone
Posts: 3
Joined: 31 Jul 2011 14:05

Re: How enable GPU decoding?

Postby brahmajivv » 21 Feb 2012 20:56

Even in VLC 2.0 too the GPU Encoding Results in Shutdown/black out of laptop while playing HD videos.
This had happened in previous version 1.1(when experimental) too.

I m using ATI Mobility Radeon HD 5650, Windows7 64-bit.

Extra info: Sony VAIO, vpceb36fg
Upgrade your video drivers.

And next time, do not buy Sony.
I tried updating catalyst drivers(frm sony`s site aswell as amd site) still Same problem. since changing from sony to other not possible as i already bought,
Is there any option for getting GPU in action for HD videos on VLC.

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 Feb 2012 20:53

If GPU decoding crashes your comp with different driver releases, then you should contact Sony and complain about drivers. Sony can forward the complain to ATI which hopefully fixes the issue.

yardern
Blank Cone
Blank Cone
Posts: 11
Joined: 14 Sep 2008 18:57

Re: How enable GPU decoding?

Postby yardern » 23 Feb 2012 04:24

It is not working in V2.0.0 under Win7 64bit.
I could only hear sound with black screen.

gohanrage
Blank Cone
Blank Cone
Posts: 31
Joined: 11 Jan 2011 03:50
VLC version: 2.1.5
Operating System: Windows

Re: How enable GPU decoding?

Postby gohanrage » 23 Feb 2012 22:22

How do you know if GPU acceleration decoding is actually working? I have an Nvidia GPU a GeForce 9800 GT. I am always checking to see if a new driver is available I have the latest one. Nvidia recommends that I use the Player settings not nvidia control panel settings. everything is set to use player setting.
Windows 10 64bit Home
Intel Core i7 6700HQ
Dell Inspiron 7559
8GB DDR3 1600mhz
GeForce GTX 960M 4GB GDDR5

gohanrage
Blank Cone
Blank Cone
Posts: 31
Joined: 11 Jan 2011 03:50
VLC version: 2.1.5
Operating System: Windows

Re: How enable GPU decoding?

Postby gohanrage » 23 Feb 2012 22:25

ATi has had some very neat post processing effects that are cool. Like taking a totally pixelated video and turning it into an actual decent looking video. this is my first non ATi GPU

But that is during streaming
Windows 10 64bit Home
Intel Core i7 6700HQ
Dell Inspiron 7559
8GB DDR3 1600mhz
GeForce GTX 960M 4GB GDDR5

gohanrage
Blank Cone
Blank Cone
Posts: 31
Joined: 11 Jan 2011 03:50
VLC version: 2.1.5
Operating System: Windows

Re: How enable GPU decoding?

Postby gohanrage » 23 Feb 2012 23:20

when I enable GPU acceleration decoding I get these in my debug Log

main debug: picture might be displayed late (missing 4 ms)
main debug: picture might be displayed late (missing 4 ms)
main debug: picture might be displayed late (missing 0 ms)
main debug: picture might be displayed late (missing 1 ms)
main debug: picture might be displayed late (missing 1 ms)
main debug: picture might be displayed late (missing 0 ms)
main debug: picture might be displayed late (missing 0 ms)
main debug: picture might be displayed late (missing 0 ms)
main debug: picture might be displayed late (missing 1 ms)
main debug: picture might be displayed late (missing 0 ms)
main debug: picture might be displayed late (missing 0 ms)
main debug: picture might be displayed late (missing 0 ms)
main debug: picture might be displayed late (missing 1 ms)
main debug: picture might be displayed late (missing 0 ms)


That doesn't happen when the GPU acceleration decoding is unchecked

The Above Messages are displayed the whole time the video is playing
My log must be Huge by the end of watching a Video
Windows 10 64bit Home
Intel Core i7 6700HQ
Dell Inspiron 7559
8GB DDR3 1600mhz
GeForce GTX 960M 4GB GDDR5

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

Re: How enable GPU decoding?

Postby VLC_help » 24 Feb 2012 19:17

Those are typical desync messages Hopefully the small fixes in VLC 2.0.1 make those better.

FORCE
Blank Cone
Blank Cone
Posts: 84
Joined: 03 Mar 2006 20:23

Re: How enable GPU decoding?

Postby FORCE » 29 Feb 2012 17:20

Someone try this video with GPU decoding enabled and you see that GPU decoding has bugs left... without GPU decoding this video works fine, i do not know maybe it is h264 decoder module do not like multi processing.

http://www.mediafire.com/?h9ue2tbty9u48pp
Tox.im - Alternative to Skype finally
ReactOS.org: no more closed Windows, C and C++ developers needed

Trizep
New Cone
New Cone
Posts: 9
Joined: 04 Mar 2012 14:44

Re: How enable GPU decoding?

Postby Trizep » 04 Mar 2012 23:58

What is with GPU under Win XP?

In the Configs is the box market but grey and you can´t change it.

Did it works or not?

Lotesdelere
Cone Master
Cone Master
Posts: 9962
Joined: 08 Sep 2006 04:39
Location: Europe

Re: How enable GPU decoding?

Postby Lotesdelere » 05 Mar 2012 08:36

What is with GPU under Win XP?
In the Configs is the box market but grey and you can´t change it.
Did it works or not?
VLC is using DXVA2 which is not available on Windows XP.
You need at least Vista or newer.

judas black
Blank Cone
Blank Cone
Posts: 73
Joined: 06 Oct 2008 13:06

Re: How enable GPU decoding?

Postby judas black » 05 Mar 2012 15:51

Preferences->Codecs
it makes vls cumsume lots less of Cpu

but if i may , why only works under w7 and xp

is there a limit of xp sp2 or sp3 about video cards gpu ?

is there a real gain of DXVA 2 vs DXVA 1 (xp)?
thanks
VLC is the best media player ever made

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

Re: How enable GPU decoding?

Postby kimiraikkonen » 06 Mar 2012 18:21

Hello guys,
I know my VLC is quite old but i bet this GPU-acceleration issue is stubborn even in new versions.

Based on my expreriments, if i turn on GPU-acceleration based on the setting shown on first thread page:

- I get green screen with no video, only audio with MPEG-2 videos.
- I get green screen with no video, only audio with standard WMV files.
- I get nice and problem-free video with AVC (H264) videos.
- I get nice video / audo with MJPEG video (AVI container).

If i turn off GPU-acceleration, all the formats almost played fine.

HOWEVER, my Nvidia GTX 460M is a high-end graphics processor along with quad-core Core i7 720QM, so it mustn't be a hardware inadequacy or defect, they're powerful enough! Plus my Nvidia drivers are quite latest. Because WMP can play those fine as it uses built-in system video filter implemented by Microsoft on my Windows 7 SP1.

So, is it VLC's problem or NVIDIA sucks even with a high-end GPU and even it supports all brand-new Nvidia technologies such as PureVideo HD.???

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

Re: How enable GPU decoding?

Postby VLC_help » 06 Mar 2012 19:42

It is most likely a driver issue. It isn't a hardware inadequacy, since video decoder chips in newish display adapters can decode HD video very easily (but they will choke on some videos, since manufacturers can't implement free enough decoders).

Basically VLC asks from drivers which kind of hardware decoding the device supports. If one of those supported formats matches the current video, then the VLC pushes the video stream to device driver via DXVA, and device driver should return decoded video.

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

Re: How enable GPU decoding?

Postby kimiraikkonen » 06 Mar 2012 21:07

It is most likely a driver issue. It isn't a hardware inadequacy, since video decoder chips in newish display adapters can decode HD video very easily (but they will choke on some videos, since manufacturers can't implement free enough decoders).

Basically VLC asks from drivers which kind of hardware decoding the device supports. If one of those supported formats matches the current video, then the VLC pushes the video stream to device driver via DXVA, and device driver should return decoded video.
Thanks for the reply. I don't think it's impossible but it's unlikely due to buggy drivers. Because Windows Media Player 12 supports Nvidia PureVideo feature and plays fine on Win7 with hw-acceleration enabled like stated in this Wiki article:

http://en.wikipedia.org/wiki/Nvidia_PureVideo

If gpu-accelaration is off, no significant probs, or green screens even with Mpeg-2 video and Wmv, using Direct 3d overlay.

And my drivers are up-to-date as Whql release, plus PureVideo is not a new technology. I still doubt an incompatibility or bug in VLC.

How can this be explained?

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

Re: How enable GPU decoding?

Postby VLC_help » 07 Mar 2012 19:34

VLC doesn't use DXVA same way as WMP does.

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

Re: How enable GPU decoding?

Postby kimiraikkonen » 07 Mar 2012 19:48

VLC doesn't use DXVA same way as WMP does.
So, can you explain the difference if possible? Don't they both access Gpu (For Nvidia, PureVideo) through same architecture? Directx?

And though Gpu drivers are up-to-date, why does Vlc produce green display on some videos? Does it differ on video resolution? Because, i had no problem running Full Hd 1080p h.264 mp4 video whereas i got green display when i try to run a tiny 240p h.264 mp4 video if gpu-acceleration is enabled. If disabled, both are played fine.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 44 guests