Kodi Community Forum

Full Version: Checking Resolution 146
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am getting a lot of Blank screens since switching to 12.1.

It happens when switching from display #1 to (PC) to Display #2 (TV)., when launching a YouTube trailer while watching Display #2, and everytime when
relaunching on PC after shutting XBMC down from Display #2, and Display #2 is off.

I have logs, some in debug mode, but this " Checking resolution 146" NOTICE is always the last log entry in the latter scenario.
So it is good starting point for me to figure this out.
I can get it to launch on the PC if I disable display#2 in the ATI CCC app.

What is "resolution 146" ?
Other logs that get past that point will say Checking resolution 15, or, Checking resolution 16., but "12:05:06 T:3500 NOTICE: Additional mode: 1920x1080 @ 29.97i - Full Screen #2", is always the last Additional Mode list.
The next line should be NOTICE: Running database version Addons15


12:05:06 T:3500 NOTICE: Additional mode: 1920x1080 @ 25.00i - Full Screen #2
12:05:06 T:3500 NOTICE: Additional mode: 1920x1080 @ 30.00i - Full Screen #2
12:05:06 T:3500 NOTICE: Additional mode: 1920x1080 @ 29.97i - Full Screen #2
12:05:06 T:3500 NOTICE: Checking resolution 146

This is an example of what happens when I tried to switch from display#1 to display#2.
I turned on debug, switched the display and it blanked out. My next step is using the web interface to confirm the display change,
as my displays are in seperate rooms, but both are blanked.

Code:
1:24:58 T:5576  NOTICE: Thread Jobworker start, auto delete: true
22:27:40 T:2168  NOTICE: Previous line repeats 4 times.
22:27:40 T:2168  NOTICE: Thread XBPyThread start, auto delete: false
22:27:40 T:2168  NOTICE: -->Python Interpreter Initialized<--
22:27:41 T:4960  NOTICE: Thread Jobworker start, auto delete: true
22:27:52 T:4548  NOTICE: Previous line repeats 1 times.
22:27:52 T:4548  NOTICE: Log level changed to 2
22:27:52 T:4548  NOTICE: Enabled debug logging due to GUI setting. Level 2.
22:27:52 T:4548   DEBUG: ------ Window Init () ------
22:27:56 T:4548   DEBUG: CApplication::ProcessMouse: trying mouse action leftclick
22:27:56 T:4548   DEBUG: CApplication::ExecuteXBMCAction : Translating SetFocus(800)
22:27:56 T:4548   DEBUG: CApplication::ExecuteXBMCAction : To SetFocus(800)
22:28:03 T:4548   DEBUG: ------ Window Deinit (Pointer.xml) ------
22:28:13 T:4548    INFO: XCURL::DllLibCurlGlobal::CheckIdle - Closing session to http://www.google.com (easy=037B8F50, multi=00000000)
22:28:15 T:5116   DEBUG: Thread Jobworker 5116 terminating (autodelete)
22:28:15 T:2028   DEBUG: Thread Jobworker 2028 terminating (autodelete)
22:28:15 T:4960   DEBUG: Thread Jobworker 4960 terminating (autodelete)
22:28:22 T:4648   DEBUG: webserver: request received for /
22:28:23 T:3280   DEBUG: webserver: request received for /jsonrpc?Playlist.GetPlaylists
22:28:23 T:3280   DEBUG: JSONRPC: Incoming request: {"jsonrpc":"2.0","method":"Playlist.GetPlaylists","id":1}
22:28:23 T:3280   DEBUG: JSONRPC: Calling playlist.getplaylists
22:28:24 T:3280   DEBUG: webserver: request received for /favicon.ico
22:28:24 T:4648   DEBUG: webserver: request received for /jsonrpc?Player.GetActivePlayers
22:28:24 T:4648   DEBUG: JSONRPC: Incoming request: {"jsonrpc":"2.0","method":"Player.GetActivePlayers","id":1}
I finally gave up trying to resolve the black screen problem and went back to 12.0.
All is well once again.
I first tried disabling some video playback settings, match framerate etc. and then re-installing 12.1, since after so many system reboots it was possible the install was corrupted, but that did not help.

The problem appeared to be related to the the screen resize function. And in the 12.0 debug log, sure enough, the next entries after the last "checking resolution" entry" (where it went black screen and hung everytime) were
Code:
DEBUG: CWinSystemWin32::ResizeInternal - resizing due to size change (0,0,1324,740)->(170,125,1510,903)
11:17:03 T:4688   DEBUG: CWinEventsWin32::WndProcWindow is active
11:17:03 T:4688   DEBUG: CWinEventsWin32::WndProc: window move event
11:17:03 T:4688   DEBUG: CWinEventsWin32::WndProc: window resize event
11:17:03 T:4688   DEBUG: CRenderSystemDX::InitRenderSystem - trying D3D9Ex...
11:17:03 T:4688   DEBUG: CRenderSystemDX::InitRenderSystem - using D3D9Ex
11:17:03 T:4688   DEBUG: CRenderSystemDX::CreateDevice on adapter 0
11:17:03 T:4688   DEBUG: CRenderSystemDX::CreateDevice - using hardware vertex processing
11:17:03 T:4688   DEBUG: CRenderSystemDX::CreateDevice - adapter 0: aticfx32.dll, ATI Radeon HD 5700 Series, VendorId 4098, DeviceId 26808
11:17:03 T:4688   DEBUG: CRenderSystemDX::CreateDevice - using D3DCAPS2_DYNAMICTEXTURES
11:17:03 T:4688   DEBUG: CRenderSystemDX::CreateDevice - texture caps: 0x0001EC45
11:17:03 T:4688   DEBUG: CRenderSystemDX::CreateDevice - RENDER_CAPS_DXT
11:17:03 T:4688   DEBUG: CRenderSystemDX::CreateDevice - RENDER_CAPS_NPOT
11:17:03 T:4688   DEBUG: CRenderSystemDX::CreateDevice - RENDER_CAPS_DXT_NPOT
11:17:03 T:4688   DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
11:17:03 T:4688    INFO: load default splash image: C:\Program Files (x86)\XBMC\media\Splash.png
11:17:03 T:4688   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/ImageLib.dll)
11:17:03 T:4688    INFO: load keymapping
11:17:03 T:4688    INFO: Loading special://xbmc/system/keymaps/appcommand.xml

Don't know what had changed in 12.1 at that point, but the only way to get it to load on my PC (Display #1) was to disable Display #2. Then if I re-enabled Display#2
and tried to switch to it...black screen on both displays. Power cycle was only way back, then it switched to Display#2 OK. Switch back to PC and black screen. Reboot, disable Display#2 and XBMC would only then launch to PC. It was a real PINA.

Back to 12.0 and I'm a Happy Camper once again. Image