Page 4 of 11

Re: How enable GPU decoding?

Posted: 24 Jan 2012 15:26
by Jean-Baptiste Kempf
Please no. Either you do VLD or you do nothing. iDCT or MoComp is ridiculous, those days...

Re: How enable GPU decoding?

Posted: 27 Jan 2012 11:12
by aznpos531
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!

Re: How enable GPU decoding?

Posted: 27 Jan 2012 14:29
by Jean-Baptiste Kempf
Nope. The decoding is automatic. It should take the first one.

Re: How enable GPU decoding?

Posted: 27 Jan 2012 18:56
by VLC_help
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.

Re: How enable GPU decoding?

Posted: 19 Feb 2012 18:33
by brahmajivv
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

Re: How enable GPU decoding?

Posted: 19 Feb 2012 18:54
by Jean-Baptiste Kempf
Upgrade your video drivers.

And next time, do not buy Sony.

Re: How enable GPU decoding?

Posted: 20 Feb 2012 14:20
by malungu
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

Re: How enable GPU decoding?

Posted: 20 Feb 2012 19:35
by judas black
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

Re: How enable GPU decoding?

Posted: 21 Feb 2012 13:15
by Jean-Baptiste Kempf
No, we only support GPU decoding on Vista and 7 for technical limitations.

Re: How enable GPU decoding?

Posted: 21 Feb 2012 20:56
by brahmajivv
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.

Re: How enable GPU decoding?

Posted: 22 Feb 2012 20:53
by VLC_help
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.

Re: How enable GPU decoding?

Posted: 23 Feb 2012 04:24
by yardern
It is not working in V2.0.0 under Win7 64bit.
I could only hear sound with black screen.

Re: How enable GPU decoding?

Posted: 23 Feb 2012 22:22
by gohanrage
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.

Re: How enable GPU decoding?

Posted: 23 Feb 2012 22:25
by gohanrage
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

Re: How enable GPU decoding?

Posted: 23 Feb 2012 23:20
by gohanrage
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

Re: How enable GPU decoding?

Posted: 24 Feb 2012 19:17
by VLC_help
Those are typical desync messages Hopefully the small fixes in VLC 2.0.1 make those better.

Re: How enable GPU decoding?

Posted: 29 Feb 2012 17:20
by FORCE
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

Re: How enable GPU decoding?

Posted: 04 Mar 2012 23:58
by Trizep
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?

Re: How enable GPU decoding?

Posted: 05 Mar 2012 08:36
by Lotesdelere
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.

Re: How enable GPU decoding?

Posted: 05 Mar 2012 15:51
by judas black
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

Re: How enable GPU decoding?

Posted: 06 Mar 2012 18:21
by kimiraikkonen
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.???

Re: How enable GPU decoding?

Posted: 06 Mar 2012 19:42
by VLC_help
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.

Re: How enable GPU decoding?

Posted: 06 Mar 2012 21:07
by kimiraikkonen
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?

Re: How enable GPU decoding?

Posted: 07 Mar 2012 19:34
by VLC_help
VLC doesn't use DXVA same way as WMP does.

Re: How enable GPU decoding?

Posted: 07 Mar 2012 19:48
by kimiraikkonen
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.