Initial native support for DXVA2 in SVN - Time to say goodbye to your firstborns - Printable Version
+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Kodi General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Windows support (/forumdisplay.php?fid=59)
+---- Thread: Initial native support for DXVA2 in SVN - Time to say goodbye to your firstborns (/showthread.php?tid=69306)
- elupus - 2010-04-24 17:17
No idea what that can be. Haven't hard of any such problems.
Never tried to turn on dx debugging. But sound weird that it would work with mpc but not xbmc. GetDecoderDeviceGuids() is quite early in the chain aswell.
- SlaveUnit - 2010-04-24 17:35
Trying Build r29466 I cannot reroduce FattyMcDirty's issue either.
Nvidia 9400 GT
Intel 9300 quad core 2.5gha
- oldpainless - 2010-04-24 17:52
Elupus - I have the same issue as FattyMcDirty has.
Could be anything from ref frames to who knows what - Let me know if you want system specs and a sample file.
- SlaveUnit - 2010-04-24 17:57
Could I get a sample? I only tried a few of my files but I run through all my files I use for testing as well here in a min.
- oldpainless - 2010-04-24 17:59
Yeah of course - I'll post a link - but won't be untill tomorrow morning tho.
Sorry, should add for clarity - very low cpu overhead, but stutters, as if it's playing a random frame several times (and we all know there is no such thing as random..lol)..for me - H.264 with either DTS or AC3 in an MKV, or TS wrapper.
Win7 32 bit, Ion rig.
- SlaveUnit - 2010-04-24 18:03
Can you tell me any info on the file? m2ts or mkv etc? VC1 or 264?
- oldpainless - 2010-04-24 18:26
SlaveUnit Wrote:Can you tell me any info on the file? m2ts or mkv etc? VC1 or 264?
Sorry - looks like we were both typing at the same time...
Complete name : G:\blah!.mkv
Format : Matroska
File size : 6.50 GiB
Duration : 2h 23mn
Overall bit rate : 6 474 Kbps
Movie name : Blah!.x264-ESiR
Encoded date : UTC 2007-11-19 23:16:02
Writing application : mkvmerge v2.0.2 ('You're My Flame') built on Feb 21 2007 23:40:55
Writing library : libebml v0.7.7 + libmatroska v0.8.1
Cover : Yes / Yes / Yes
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 9 frames
Muxing mode : Container profile=Unknown@5.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 23mn
Bit rate : 5 705 Kbps
Nominal bit rate : 5 830 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.258
Stream size : 5.73 GiB (88%)
Title : Blah!
Writing library : x264 core 56 svn-680
Encoding settings : cabac=1 / ref=6 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=7 / brdo=1 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=2 / deadzone=6,6 / chroma_qp_offset=0 / threads=6 / nr=0 / decimate=0 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=5830 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:0.6:15.0
Language : English
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 2h 23mn
Bit rate mode : Constant
Bit rate : 640 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Stream size : 658 MiB (10%)
Title : AC3 5.1 @ 640 kbps
Language : English
ID : 3
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Language : English
And before anyone says...ah, 5.1 profile (hence ref frames)....they are working fine on the build pre-merge.
- Rand Al Thor - 2010-04-24 19:10
Just checking in to see what the latest on "auto adjust refresh" is? I know you had mentioned that a newer version of FFmpeg might resolve the issue. I just grabbed build 29466, and I am still seeing the issue. If I set the refresh rate to 60hz on my desktop, the UI is smooth and things work for a bit. Swtiching back and forth between 24 and 30 hz content causes all sorts of screen artifacts and eventually I hear audio for a second, then a black screen and a screeching sound. I have to kill XBMC at that point. Setting the UI display to 24hz seems to cut down on the amount of crashes, but the UI isn't very smooth.
Last time I reported this issue, you said you didn't need a debug log. I'm always happy to provide one if it will help
- elupus - 2010-04-24 20:18
auto refreshrate is still funky, has nothing todo with fixes upstream. it's our code that has the problem. I've not looked at it since initialy addition of dxva, found it less important than getting it to work on more cards.
The artifacts I actually thought would have been fixed before r29466.. then again there is no r29466 of trunk repo, so you must be using something else (possibly pvr).
- Rand Al Thor - 2010-04-24 23:53
I'm using the DX build from xbmc nightly at sshcs. I definitely understand what you are saying about spending your time on support for more cards. The refresh thing is a very mild inconvenience. It is all about the greater good I just wanted to make sure I wasn't missing something or had broken something on my end.
- SlaveUnit - 2010-04-25 01:01
Yeah anything Ive tried...even my "The Shining" rip..nothing stutters at all. Ill jsut wait for a sample.
- oldpainless - 2010-04-25 11:19
SlaveUnit Wrote:Yeah anything Ive tried...even my "The Shining" rip..nothing stutters at all. Ill jsut wait for a sample.
Ok..as promised...sample file here:
Overview of the issue - low cpu (7-15%), on-screen menu shows fps as rock solid, but, the video jerks/judders every few seconds, as if playing a frame several times - that is important to understand, because it is not skipping frames, if that makes sense. All files streamed via SMB - not tested local files, as all media is on a central server.
I'm not sure a debug will showing anything, but let me know if one will help.
OS Name Microsoft Windows 7 Ultimate
Version 6.1.7600 Build 7600
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Manufacturer Acer
System Model Aspire R3600
System Type X86-based PC
Processor Intel® Atom CPU 230 @ 1.60GHz, 1600 Mhz, 1 Core(s), 2 Logical Processor(s)
BIOS Version/Date American Megatrends Inc. P01-A2, 30/04/2009
SMBIOS Version 2.6
Windows Directory C:\Windows
System Directory C:\Windows\system32
Boot Device \Device\HarddiskVolume1
Hardware Abstraction Layer Version = "6.1.7600.16385"
Time Zone GMT Daylight Time
Installed Physical Memory (RAM) 2.00 GB
Total Physical Memory 1.75 GB
Available Physical Memory 892 MB
Total Virtual Memory 3.50 GB
Available Virtual Memory 2.21 GB
Page File Space 1.75 GB
Page File C:\pagefile.sys
GFX details (using 196.21, as later versions have the evr bug):
NVIDIA System Information report
Processor: Intel® Atom CPU 230 @ 1.60GHz (1600 MHz)
Operating System: Windows 7 Ultimate, 32-bit
DirectX version: 11.0
GPU processor: ION
Driver version: 196.21
CUDA Cores: 16
Memory interface: 128-bit
Total available graphics memory: 895 MB
Dedicated video memory: 256 MB
System video memory: 64 MB
Shared system memory: 575 MB
Video BIOS version: 62.79.63.00.01
nvCplUIR.dll 2.7.120.04 NVIDIA Control Panel
nvCplUI.exe 2.8.290.13 NVIDIA Control Panel
nvWSS.dll 184.108.40.20621 NVIDIA Workstation Server
nvViTvS.dll 220.127.116.1121 NVIDIA Video Server
nvMoblS.dll 18.104.22.16821 NVIDIA Mobile Server
NVSTVIEW.EXE 22.214.171.12421 NVIDIA GeForce 3D Vision
NVSTTEST.EXE 126.96.36.19921 NVIDIA 3D Vision Test Application
NVSTRES.DLL 188.8.131.5221 NVIDIA 3D Vision Module (0)
NVMCTRAY.DLL 184.108.40.20621 NVIDIA Media Center Library
nvDispS.dll 220.127.116.1121 NVIDIA Display Server
NVCPL.DLL 18.104.22.16821 NVIDIA Compatible Windows7 Display driver, Version 196.21
PhysX 00.07.0913 NVIDIA PhysX
NVCUDA.DLL 22.214.171.12421 NVIDIA CUDA 3.0.1 driver
nvGameS.dll 126.96.36.19921 NVIDIA 3D Settings Server
- steelman1991 - 2010-04-25 12:15
oldpainless Wrote:Ok..as promised...sample file here:
Downloaded your clip mate - but nothing notiecable - smooth as silk playback (low fps) - this is running off a local drive - Win7x86, Nvidia GT240.
Could this be a server issue?
- oldpainless - 2010-04-25 12:20
steelman1991 Wrote:Downloaded your clip mate - but nothing notiecable - smooth as silk playback (low fps) - this is running off a local drive - Win7x86, Nvidia GT240.
Cheers buddy - nah, just installed a portable version of the latest svn and copied the sample to the local hard drive - same issue.....lol
Like I said, pre-merge (using XBMCSetup-Rev28622-dx), dvdplayer plays flawless.
- FattyMcDirty - 2010-04-25 13:03
jup, same issue here.. file not streamed via smb, it's on the local pc...
not skipping frames, cpu-load is ok, too.. but it's jerking around like hell
ONLY with DXVA enabled.. if you disable it, video plays ok!