2015-01-02, 16:19
Hey, folks -- I'm having an odd issue with Framerate matching using Gotham 13.2 on an Asus Chromebox (via OpenELEC 4.2.1) I can't really upgrade to KODI because the skin I rely on isn't yet available.
What happens is that it works perfectly well until I shut my TV and AVR down (I don't power down the Chromebox -- I just leave it up and running so I can access it and do backups and whatnot.)
When using it the next time, Framerate matching doesn't work -- the TV always stays at 60p regardless of source material -- until I reboot the chromebox.
When looking at the logs, XBMC *thinks* it's matching framerates:
...but according to "xrandr" and the TV, the frame rate doesn't change:
When I reboot the box and play the same video, the XBMC log is identical, but xrandr and the tv both show 24p output:
The above indicates it's not apparently an HDMI RESYNC problem with the AVR comes back on, because xrandr shows all the correct available modes & rates.
When it's shut down, it looks like this:
I've tried manually switching resolution from the command line while video is playing, such as
xrandr --output HDMI1 --mode 1920x1080 --rate 23.98
...and that does work (indicating that the HDMI connection and xrandr agree) -- but XBMC doesn't switch back to 60p when I STOP the movie -- it stays at 24p forever -- until I reboot.
I've also done a force resync with xrandr turning HDMI1 OFF and then back ON after a few seconds -- no change.
I have the Frame Rate matching mode set to START/STOP
Does anyone have a clue what might be wrong?
What happens is that it works perfectly well until I shut my TV and AVR down (I don't power down the Chromebox -- I just leave it up and running so I can access it and do backups and whatnot.)
When using it the next time, Framerate matching doesn't work -- the TV always stays at 60p regardless of source material -- until I reboot the chromebox.
When looking at the logs, XBMC *thinks* it's matching framerates:
Code:
21:31:55 T:2508372800 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
21:31:55 T:2508372800 NOTICE: Creating video thread
21:31:55 T:2426579776 NOTICE: Thread DVDPlayerVideo start, auto delete: false
21:31:55 T:2426579776 NOTICE: running thread: video_thread
21:31:55 T:2508372800 NOTICE: Opening audio stream: 1 source: 256
21:31:55 T:2508372800 NOTICE: Finding audio codec for: 86019
21:31:55 T:2508372800 NOTICE: Creating audio thread
21:31:55 T:2418187072 NOTICE: Thread DVDPlayerAudio start, auto delete: false
21:31:55 T:2418187072 NOTICE: running thread: CDVDPlayerAudio::Process()
21:31:55 T:2508372800 NOTICE: Opening Subtitle stream: 2 source: 256
21:31:55 T:2426579776 NOTICE: fps: 23.976024, pwidth: 720, pheight: 480, dwidth: 719, dheight: 405
21:31:55 T:2426579776 NOTICE: Display resolution ADJUST : HDMI1: 1920x1080 @ 23.98Hz (24) (weight: 0.000)
21:31:55 T:2418187072 NOTICE: Creating audio stream (codec id: 86019, channels: 2, sample rate: 48000, pass-through)
21:31:55 T:3063097088 NOTICE: CWinSystemX11::SetFullScreen - calling xrandr
21:31:55 T:2608843584 NOTICE: Thread DelayedMessage start, auto delete: true
21:31:55 T:3063097088 NOTICE: Using GL_TEXTURE_2D
21:31:55 T:3063097088 NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
21:31:55 T:3063097088 NOTICE: GL: NPOT texture support detected
21:31:55 T:3063097088 NOTICE: GL: Using GL_ARB_pixel_buffer_object
21:33:55 T:2617236288 NOTICE: Thread JobWorker start, auto delete: true
...but according to "xrandr" and the TV, the frame rate doesn't change:
Code:
OpenELEC:~ # xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
HDMI1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 887mm x 500mm
1920x1080 60.00*+ 50.00 59.94 30.00 25.00 24.00 29.97 23.98
1920x1080i 60.00 50.00 59.94
1680x1050 59.88
1600x900 59.98
1280x1024 75.02 60.02
1440x900 59.90
1366x768 59.79
1280x800 59.91
1152x864 75.00
1280x720 59.97 60.00 50.00 59.94
1440x576i 50.00
1024x768 75.08 70.07 60.00
1440x480i 60.00 59.94
832x624 74.55
800x600 72.19 75.00 60.32
720x576 50.00
720x480 60.00 59.94
640x480 75.00 72.81 66.67 60.00 59.94
720x400 70.08
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
When I reboot the box and play the same video, the XBMC log is identical, but xrandr and the tv both show 24p output:
Code:
OpenELEC:~ # xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
HDMI1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 887mm x 500mm
1920x1080 60.00+ 50.00 59.94 30.00 25.00 24.00 29.97 23.98*
1920x1080i 60.00 50.00 59.94
1680x1050 59.88
1600x900 59.98
1280x1024 75.02 60.02
1440x900 59.90
1366x768 59.79
1280x800 59.91
1152x864 75.00
1280x720 59.97 60.00 50.00 59.94
1440x576i 50.00
1024x768 75.08 70.07 60.00
1440x480i 60.00 59.94
832x624 74.55
800x600 72.19 75.00 60.32
720x576 50.00
720x480 60.00 59.94
640x480 75.00 72.81 66.67 60.00 59.94
720x400 70.08
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
The above indicates it's not apparently an HDMI RESYNC problem with the AVR comes back on, because xrandr shows all the correct available modes & rates.
When it's shut down, it looks like this:
Code:
OpenELEC:~ # xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
HDMI1 disconnected 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
1920x1080 (0x48) 148.500MHz
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.50KHz
v: height 1080 start 1084 end 1089 total 1125 clock 60.00Hz
I've tried manually switching resolution from the command line while video is playing, such as
xrandr --output HDMI1 --mode 1920x1080 --rate 23.98
...and that does work (indicating that the HDMI connection and xrandr agree) -- but XBMC doesn't switch back to 60p when I STOP the movie -- it stays at 24p forever -- until I reboot.
I've also done a force resync with xrandr turning HDMI1 OFF and then back ON after a few seconds -- no change.
I have the Frame Rate matching mode set to START/STOP
Does anyone have a clue what might be wrong?