Hi there,
not actually new here, but I couldn't recover my old account after the server wipe, so here goes:
Got a new PC (from i7-7700K/RTX2080 to 7800X3D7RTX 4090 GPU), still on the same Windows 10 Pro though and G2 OLED with Denon 4300 AVR. Same HDMI cables.
Since upgrading Kodi isn't able to display HDR content anymore as long as the signal has to run through the AVR. Sometimes even the audio crashes.
Direct connection PC-TV works or just using my Alienware 3423DW monitor.
Sound setup is basically this one posted in an other thread:
https://imgur.com/sY0AohI
Here's my debug log:
https://paste.kodi.tv/huyanuwuti.kodi
Any idea what went wrong?
Thanks!
Hello, Kodi is not able to open the audio output in Wasapi exclusive mode.
Maybe the option allowing exclusive is not checked in Windows, maybe you have another application already using the audio in exclusive mode (there can only be one at a time), maybe you checked support for a format that's not actually supported by the AVR, maybe you have in your config a trace of the old setup and should re-select the audio output.
A workaround could be to use Directsound output but Wasapi is preferred.
Current versions of everything are recommended so you could consider upgrading Windows from 21H2 to 22H2 but it's unlikely to help with this particular problem.
"Traces of the old setup" sounds like a good reason for these issues.
Just now SDR stuff was without sound as well, so it's not only HDR files, why does this only happen when going through my Denon 4300 though. Can't have anything to do with the fact that it only supports HDMI 2.0 while the HDMI port of the RTX 4090 GPU supports HDMI 2.1?
Anyways, guess I'll finally install Windows 11 on my spare SSD to see if that fixes it...
Maybe. Your message reads like audio and video are supposed to go to the AVR via hdmi, but this is not your config in Kodi audio setup (trying a USB spdif audio interface instead)
Select the correct output in Kodi, or if using default interface, change default audio output of Windows.
If the USB spdif is right, then maybe that USB device doesn't support passthrough or the format or frequency you're trying to use (configuration of sound in Windows and in Kodi)
Also got to wonder about stability of Ada Lovelace drivers.
scott s.
.
(2023-08-10, 17:50)Yappa Wrote: [ -> ]but I couldn't recover my old account after the server wipe, so here goes:
All you have to do is email us.
Try to Login. Use a dummy password for now.
An error page will pop up. In the blue section at the top, click on "Contact Us" to send an email explaining what the problem is.
Also add your username and the email address attached to the account.
Maybe it said "USB spdif audio interface" (my PC speakers) because I tried different audio output devices after my default one didn't work. Which is "WASAPI: HDMI - DENON-AVRHD (NVIDIA Hight Definition Audio).
Completely uninstalling/reinstalling the Nvidia drivers didn't help, unfortunately.
So I'll try to brute force it by doing a (new obviously) install of Windows 11. If that doesn't change anything, then I'd consider the RTX 4090 being the reason for the issues.
@Karellen: Will do
Since you mean to use hdmi to the AVR try increasing the Settings > System > Display > Delay after change of refresh rate.
Yeah, already tried that. Sadly, no luck.
I'm back, this time with a fresh Win 11 install and the result is...disappointing.
Audio issues seem to be fixed, but the Kodi HDR toggle still doesn't work and I all I get is a blank screen with audio.
debug log, this time with a fresh Win 11 install:
https://paste.kodi.tv/xoyetitiqu.kodi
Should be these lines?
Code:
2023-08-12 06:51:56.048 T:18240 debug <general>: CWIN32Util::GetWindowsHDRStatus: Display is HDR capable and current HDR status is OFF
2023-08-12 06:51:56.057 T:18240 info <general>: CWIN32Util::ToggleWindowsHDR: Toggle Windows HDR On (OFF => ON).
2023-08-12 06:51:56.790 T:17552 warning <general>: CRenderManager::Configure - timeout waiting for configure
2023-08-12 06:51:58.372 T:18240 debug <general>: CWIN32Util::ToggleWindowsHDR: Previous graphics mode restored OK
2023-08-12 06:51:58.372 T:18240 debug <general>: DX::DeviceResources::ToggleHDR: Re-create swapchain due HDR <-> SDR switch
2023-08-12 06:51:58.372 T:18240 debug <general>: DX::DeviceResources::ReleaseBackBuffer: release buffers.
2023-08-12 06:51:58.395 T:18240 debug <general>: DX::DeviceResources::ResizeBuffers: resize buffers.
2023-08-12 06:51:58.395 T:18240 debug <general>: CWIN32Util::GetWindowsHDRStatus: Display is HDR capable and current HDR status is ON
"HDR status" might say "on", but all I see is a black screen that failed the switch from SDR to HDR until I exit back to the kodi menu.
What does work though, is turning on HDR myself in the windows display settings. The HDR files I tested play fine, then. This trick doesn't work under Win 10 btw.
Sorry for the double post, this is the debug log after enabling the windows HDR toggle:
https://paste.kodi.tv/oyubuzudoh.kodi
Code:
2023-08-12 07:10:16.092 T:8408 debug <general>: CWIN32Util::GetWindowsHDRStatus: Display is HDR capable and current HDR status is ON
2023-08-12 07:10:16.093 T:8408 debug <general>: DXVA::CProcessorHD::InitProcessor: initing video enumerator with params: 3840x2076.
2023-08-12 07:10:16.093 T:8408 debug <general>: DXVA::CProcessorHD::InitProcessor: video processor has 1 rate conversion.
2023-08-12 07:10:16.093 T:8408 debug <general>: DXVA::CProcessorHD::InitProcessor: video processor has 0x1ef feature caps.
2023-08-12 07:10:16.093 T:8408 debug <general>: DXVA::CProcessorHD::InitProcessor: video processor has 0x1d device caps.
2023-08-12 07:10:16.093 T:8408 debug <general>: DXVA::CProcessorHD::InitProcessor: video processor has 0x4 input format caps.
2023-08-12 07:10:16.093 T:8408 debug <general>: DXVA::CProcessorHD::InitProcessor: video processor has 5 max input streams.
2023-08-12 07:10:16.093 T:8408 debug <general>: DXVA::CProcessorHD::InitProcessor: video processor has 5 max stream states.
2023-08-12 07:10:16.093 T:8408 debug <general>: DXVA::CProcessorHD::InitProcessor: selected video processor index: 0.
2023-08-12 07:10:16.093 T:8408 info <general>: DXVA::CProcessorHD::InitProcessor: supported deinterlace methods: blend:yes, bob:yes, adaptive:yes, mocomp:no.
2023-08-12 07:10:16.093 T:8408 debug <general>: DXVA::CProcessorHD::InitProcessor: selected video processor allows 1 future frames and 2 past frames.
2023-08-12 07:10:16.093 T:8408 debug <general>: DXVA::CProcessorHD::InitProcessor: filter 0 has following params - max: 101, min: -101, default: 0
2023-08-12 07:10:16.093 T:8408 debug <general>: DXVA::CProcessorHD::InitProcessor: filter 1 has following params - max: 160, min: 40, default: 100
2023-08-12 07:10:16.093 T:8408 debug <general>: DXVA::CProcessorHD::InitProcessor: filter 2 has following params - max: 180, min: -180, default: 0
2023-08-12 07:10:16.093 T:8408 debug <general>: DXVA::CProcessorHD::InitProcessor: filter 3 has following params - max: 187, min: 13, default: 100
2023-08-12 07:10:16.093 T:8408 debug <general>: DXVA::CProcessorHD::InitProcessor: HLG color space conversion is NOT supported.
2023-08-12 07:10:16.093 T:8408 debug <general>: DXVA::CProcessorHD::InitProcessor: HDR10 RGB limited range output is NOT supported.
2023-08-12 07:10:16.093 T:8408 debug <general>: DXVA::CProcessorHD::OpenProcessor: creating processor.
2023-08-12 07:10:16.094 T:8408 debug <general>: CRenderManager::Configure - 6
2023-08-12 07:10:16.094 T:8408 debug <general>: DX::DeviceResources::SetHdrMetaData: (raw) RP 34000 16000 | GP 13250 34500 | BP 7500 3000 | WP 15635 16450 | Max ML 10000000 | min ML 1 | Max CLL 0 | Max FALL 0
2023-08-12 07:10:16.094 T:8408 info <general>: DX::DeviceResources::SetHdrMetaData: RP 0.680 0.320 | GP 0.265 0.690 | BP 0.150 0.060 | WP 0.313 0.329 | Max ML 1000 | min ML 0.0001 | Max CLL 0 | Max FALL 0
2023-08-12 07:10:16.094 T:8408 info <general>: CRendererBase::ProcessHDR: Switching to HDR rendering
2023-08-12 07:10:16.094 T:8408 debug <general>: DX::DeviceResources::ReleaseBackBuffer: release buffers.
2023-08-12 07:10:16.095 T:8408 debug <general>: DX::DeviceResources::ResizeBuffers: resize buffers.
(2023-08-12, 07:06)Yappa Wrote: [ -> ]What does work though, is turning on HDR myself in the windows display settings
In case you don't know you can toggle HDR on/off from Kodi GUI with F11 key
e.g. manually toggle HDR on with F11 before start a movie.
Thanks @
kodi team for fixing my account.
Thanks @
jogal for the nightly and F11 toggle suggestions.
So I tried this in both Win 10 and the new Win 11 install. Installing the latest nightly didn't help.
The HDR toggle works on both and the TV turns on HDR. Kodi finally plays the HDR file just fine in Win 11. Still a blank screen in Win 10 though.
Win 10 F11 HDR toggle debug log:
https://paste.kodi.tv/agiyoboval.kodi
Other band aid fix that I found is disabling "use fullscreen window" which results in successful HDR playback in
both Windows versions. But since I have a multi monitor/TV setup, I'd like to avoid disabling it.
Just to repeat that these issues exist mostly while connecting the new PC to the TV through my old Denon 4300 AVR. Direct connections PC-TV seem to work fine.
Anyways, for now I have a found a way to play my HDR files again, even though it's not a perfect solution.
Thanks for the help, so far!
EDIT:
Or not, even with "use fullscreen window" off I can't play HDR files anymore under Win 10 lol. Oh well, there's something seriously wrong with that old Windows...
Got a Denon 3800 that fully supports HDMI 2.1 and that fixed it. All HDR files play without any issues. With "fullscreen window" option enabled.
Small issue left is that under Windows 11, Kodi switches from 120 Hz to 60 Hz as soon as I launch it. Weird. Doesn't happen with Windows 10.
I'll open a new thread with a new log if I can't figure it out myself.