Posts: 1,205
Joined: Apr 2010
Reputation:
86
CrystalP
Team-Kodi Developer
Posts: 1,205
They work on both my ATI and nVidia cards, so you need to provide a debug log and more details.
Posts: 1,205
Joined: Apr 2010
Reputation:
86
CrystalP
Team-Kodi Developer
Posts: 1,205
There is nothing in the log but that's not surprising. Maybe the DXVA Checker would yield something interesting. Please upload on pastebin.com the capabilities for the progressive device (second tab).
Posts: 1,205
Joined: Apr 2010
Reputation:
86
CrystalP
Team-Kodi Developer
Posts: 1,205
Thanks. The processor seems capable of brightness/contrast adjustment so I don't know what's happening. Things definitely work for other nvidia cards.
The only way might be to add some debug code to xbmc.
Posts: 52
Joined: Mar 2010
Reputation:
0
I can do that. What should I be looking for? What files, functions, return values?
Posts: 1,205
Joined: Apr 2010
Reputation:
86
CrystalP
Team-Kodi Developer
Posts: 1,205
OK, check in DXVA.cpp, line 949, what values were assigned to m_brightness, m_contrast.
Then check the values assigned on lines 1076 & 1078 to blt.ProcAmpValues.Brightness and blt.ProcAmpValues.Contrast for a few different values of g_settings.m_currentVideoSettings.m_Brightness and g_settings.m_currentVideoSettings.m_Contrast (the GUI settings).
Posts: 13
Joined: Jan 2010
Reputation:
0
Make sure in your video cards settings (Nvidia Control Panel or AMD CCC) that you enable the video color settings to be application controlled, instead of managed by the sliders in those panels for the graphics card.
Posts: 1,205
Joined: Apr 2010
Reputation:
86
CrystalP
Team-Kodi Developer
Posts: 1,205
Good point ricanmeg, though I'm not sure that setting has an effect on the dxva processors.
Zeflash, yes that was on trunk. To make sense of the logged values, we now need to know the content of the m_brightness and m_contrast structures, assigned at the end of CProcessor::Open.
Posts: 52
Joined: Mar 2010
Reputation:
0
ricanmeg, that's an excellent point, it was indeed the problem here.
Gosh I should have thought about that before!
Alright then, case closed, my mistake! Thanks everyone for helping me out.