Solved Kodi doesn't show GUI.ShowNotification while playing a video
#1
Team,

When I send a notification while a Video is playing in something other than 60fps, say I am watching something at 25Hz or 24Hz, it snaps out changes the refresh rate to show the Toast Notification

Code:
:22:50 T:2712857408   DEBUG: CPullupCorrection: detected pattern of length 1: 40000.00, frameduration: 40000.000000
17:22:51 T:2593127232   DEBUG: Thread DelayedMessage 2593127232 terminating (autodelete)
17:22:52 T:2548685632   DEBUG: Thread DelayedMessage 2548685632 terminating (autodelete)
17:22:52 T:3002877760   DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
17:22:52 T:2712857408   DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
17:22:52 T:2701130560   DEBUG: Previous line repeats 1 times.
17:22:52 T:2701130560   DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
17:22:53 T:2548685632   DEBUG: Previous line repeats 1 times.
17:22:53 T:2548685632   DEBUG: webserver: request received for /jsonrpc
17:22:53 T:2548685632   DEBUG: JSONRPC: Value does not match any of the enum values in type
17:22:53 T:3002877760   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
17:22:53 T:2615487296   DEBUG: webserver: request received for /jsonrpc
17:22:53 T:3002877760   DEBUG: Activating window ID: 10000
17:22:53 T:3002877760   DEBUG: ------ Window Deinit (VideoFullScreen.xml) ------
17:22:53 T:2548685632  NOTICE: Thread DelayedMessage start, auto delete: true
17:22:53 T:3002877760  NOTICE: CWinSystemX11::SetFullScreen - calling xrandr
17:22:53 T:3002877760   DEBUG: OnLostDevice - notify display change event
17:22:53 T:3002877760   DEBUG: Flush - flushing renderer
17:22:53 T:3002877760  NOTICE: CVDPAU::OnLostDevice event
17:22:53 T:3002877760  NOTICE:  (VDPAU) FiniVDPAUOutput
17:22:53 T:2623880000  NOTICE: CMixer::OnExit: Output Thread terminated
17:22:53 T:2623880000   DEBUG: Thread Vdpau Mixer 2623880000 terminating
17:22:53 T:2526542656  NOTICE: VDPAU::COutput: vdpau gl interop finished
17:22:53 T:2526542656  NOTICE: COutput::OnExit: Output Thread terminated
17:22:53 T:2526542656   DEBUG: Thread Vdpau Output 2526542656 terminating
17:22:53 T:3002877760  NOTICE: VDPAU::Close - closing decoder context
17:22:53 T:3002877760    INFO: XRANDR: /usr/lib/kodi/kodi-xrandr --screen 0 --output DVI-D-0 --mode 0x24e
17:22:54 T:3002877760    INFO: GL: Maximum texture width: 8192
17:22:54 T:3002877760   DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
17:22:54 T:3002877760   DEBUG: ------ Window Init (Home.xml) ------
17:22:54 T:2557078336   DEBUG: CRecentlyAddedJob::UpdateMusic() - Running RecentlyAdded home screen update
17:22:54 T:3002877760   DEBUG: NotifyXRREvent - notify display reset event
17:22:54 T:2557078336   DEBUG: GetRecentlyAddedAlbumSongs() query: SELECT songview.* FROM (SELECT idAlbum FROM albumview ORDER BY idAlbum DESC LIMIT 10) AS recentalbums JOIN songview ON songview.idAlbum=recentalbums.idAlbum
17:22:54 T:2557078336   DEBUG: GetRecentlyAddedAlbums query: select * from albumview where strAlbum != '' order by idAlbum desc limit 10
17:22:54 T:2712857408  NOTICE: CVDPAU::Check waiting for display reset event
17:22:54 T:3002877760   DEBUG: RecreateWindow - current output: DVI-D-0, mode: 0x24e, refresh: 60.000
17:22:54 T:3002877760   DEBUG: OnLostDevice - notify display change event
17:22:54 T:3002877760   DEBUG: Flush - flushing renderer
17:22:54 T:3002877760  NOTICE: CVDPAU::OnLostDevice event
17:22:54 T:3002877760   DEBUG: CWinSystemX11::RefreshGlxContext: refreshing context
17:22:54 T:3002877760  NOTICE: CVDPAU::OnResetDevice event

Gotham used to show notifications without changing screen refresh rates. This is pain as I have my SIP phone calls that generate these notifications and having my receiver and projector flickering on and off is a real pain!

Log here

http://paste.ubuntu.com/10211351/


Steps to Reproduce

1. Start a video or a movie (confluence skin, also happens w/ transparency)
2. Send a notification using the GUI.ShowNotification (JSON-RPC)
3. See the full menu overlay is show instead of just the Toast notification from the bottom.

Changing the refresh rate setting to start/stop fixes the flickering but still brings up a complete menu overlay instead of the just the dialog.
Reply
#2
set refreshrate adaption to "start/stop" in settings->video->playback

edit:
ops - nevermind - you have stated 2 issues and fixed this one on your own already...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#3
Updated the topic. I have opened a but at http://trac.kodi.tv/ticket/15792
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi doesn't show GUI.ShowNotification while playing a video0