Kodi Community Forum

Full Version: Kodi asking to save resolution at every startup
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
All of a sudden my 19.3 installation switches to a strange 2560x1600 video mode on startup, asking me if I want to save the resolution. If I say no, it switches back to the desktop 4K resolution. But it repeats the same question every time I start the program.

If I run it in portable mode, it doesn't do it. If I delete guisettings.xml, it does. Couldn't think of anything else to try. I rebooted the machine and this didn't change. I have a Kodi 17.6 installation (DSPlayer version but for GUI it should be pretty much identical to 17.6 vanilla) and it doesn't do this.

Log here: https://pastebin.com/kjrLfC2U

Edit: updating to 19.4 didn't solve this.
Bit odd, sounds like a windows system request. Might want to set-up your whitelist, excluding 2560x1600 (could this be the native res of your TV?). What happens if you start-up in windowed mode? (windowed mode saved from the last call, should hold for a new launch). The following in the log is a bit dis-concerning.

CWinSystemWin32::ChangeResolution: Using Windows 8+ workaround for refresh rate 60 Hz
ERROR <general>: CWinSystemWin32::ChangeResolution: Unable to retrieve registry settings for Windows 8+ workaround, using fallback
(2022-08-04, 02:28)PatK Wrote: [ -> ]Bit odd, sounds like a windows system request. Might want to set-up your whitelist, excluding 2560x1600 (could this be the native res of your TV?). What happens if you start-up in windowed mode? (windowed mode saved from the last call, should hold for a new launch). The following in the log is a bit dis-concerning.

CWinSystemWin32::ChangeResolution: Using Windows 8+ workaround for refresh rate 60 Hz
ERROR <general>: CWinSystemWin32::ChangeResolution: Unable to retrieve registry settings for Windows 8+ workaround, using fallback
Native resolution of the TV is 3840x2160. It's an LG OLED. I tried whitelisting only the 2160p resolutions, it didn't solve it.

Also, the request I am describing is most definitely a Kodi request, I'm not sure if I was unclear on this point. It comes up with the standard Kodi GUI graphics.
I *think* that I've already tried the windowed thing you suggest, but I'll try and report back.

I suppose the thing that one of you devs could think about is the fact that in portable mode this does not happen. But apart from guisettings.xml I can't think of another "place" where stuff influencing this could be saved.
So, I set it up as windowed, quit Kodi and relaunched.

Kodi started as windowed (long enough for me to see it) and then switched to full screen, asking me if I wanted to "save this resolution" (I think this happens on line 936 in the following log). I answer no and it switches back to fullscreen 3840x2160@60.

Log: https://pastebin.com/Ujg0NzKx
What is [Audio Profiles Service] background monitor version 2.1.1 started ??
Quote:2022-08-03 16:02:41.425 T:7836     INFO <general>: [Audio Profiles Service] background monitor version 2.1.1 started
2022-08-03 16:02:41.425 T:7836     INFO <general>: [Audio Profiles Service] debug logging set to False
2022-08-03 16:02:41.426 T:7836     INFO <general>: [Audio Profiles Service] RESTORING SETTING: Digital
2022-08-03 16:02:41.429 T:7836    DEBUG <CSettingsManager>: requested setting (volume) was not found.
2022-08-03 16:02:41.431 T:7836    DEBUG <general>: CWIN32Util::GetWindowsHDRStatus: Display is HDR capable and current HDR status is OFF
2022-08-03 16:02:41.436 T:7836    ERROR <general>: JSONRPC: Failed to parse '{"jsonrpc": "2.0", "method": "Settings.SetSettingValue", "params": {"setting": "videoscreen.monitor", "value": Generic PnP Monitor #1}, "id": 1}'
2022-08-03 16:02:41.442 T:11944   DEBUG <general>: CWinSystemWin32::SetFullScreen: (windowed fullscreen) with size 2560x1600, refresh 24.000000
2022-08-03 16:02:41.442 T:11944   DEBUG <general>: DX::DeviceResources::ReleaseBackBuffer: release buffers.
2022-08-03 16:02:41.442 T:11944   DEBUG <general>: DX::DeviceResources::SetFullScreen: switching from (3840 x 2160) to (2560 x 1600)
2022-08-03 16:02:41.442 T:11944   DEBUG <general>: DX::DeviceResources::SetFullScreen: switching done.

It is not something that I recognize as being part of Kodi by default.
(2022-08-04, 18:27)jogal Wrote: [ -> ]What is [Audio Profiles Service] background monitor version 2.1.1 started ??
Quote:2022-08-03 16:02:41.425 T:7836     INFO <general>: [Audio Profiles Service] background monitor version 2.1.1 started
2022-08-03 16:02:41.425 T:7836     INFO <general>: [Audio Profiles Service] debug logging set to False
2022-08-03 16:02:41.426 T:7836     INFO <general>: [Audio Profiles Service] RESTORING SETTING: Digital
2022-08-03 16:02:41.429 T:7836    DEBUG <CSettingsManager>: requested setting (volume) was not found.
2022-08-03 16:02:41.431 T:7836    DEBUG <general>: CWIN32Util::GetWindowsHDRStatus: Display is HDR capable and current HDR status is OFF
2022-08-03 16:02:41.436 T:7836    ERROR <general>: JSONRPC: Failed to parse '{"jsonrpc": "2.0", "method": "Settings.SetSettingValue", "params": {"setting": "videoscreen.monitor", "value": Generic PnP Monitor #1}, "id": 1}'
2022-08-03 16:02:41.442 T:11944   DEBUG <general>: CWinSystemWin32::SetFullScreen: (windowed fullscreen) with size 2560x1600, refresh 24.000000
2022-08-03 16:02:41.442 T:11944   DEBUG <general>: DX:Big GrineviceResources::ReleaseBackBuffer: release buffers.
2022-08-03 16:02:41.442 T:11944   DEBUG <general>: DX:Big GrineviceResources::SetFullScreen: switching from (3840 x 2160) to (2560 x 1600)
2022-08-03 16:02:41.442 T:11944   DEBUG <general>: DX:Big GrineviceResources::SetFullScreen: switching done.

It is not something that I recognize as being part of Kodi by default.
It’s this plugin, from official repository: https://forum.kodi.tv/showthread.php?tid=353852
But you can disable it to troubleshoot problem, right?
(2022-08-04, 18:45)jogal Wrote: [ -> ]But you can disable it to troubleshoot problem, right?
I absolutely can and came back here to thank you for pointing me in the right direction. It was set up to transfer into saved profile display settings (and audio settings and player settings, but those were fine). For whatever reason that got messed up with my current dual screen configuration (one displayport/HDMI to AVR, one HDMI direct to TV, as my AVR does not support 4K).

Disabling it solved the problem, which led me to reset the display settings and taking them out of the two profiles I need (one for USB 7.1 headphones, one for HDMI audio to AVR with passthrough).

All is good now. Thank you so much for taking the time to look at my log and pointing me to the origin of the problem.
Thread marked solved.