Opened 12 years ago

Closed 12 years ago

#6461 closed defect (fixed)

MythUI Program Guide unresponsive

Reported by: bradley.kite@… Owned by: stuartm
Priority: minor Milestone: unknown
Component: MythTV - General Version: head
Severity: low Keywords:
Cc: Ticket locked: no



I've just tested the new MythUI guide grid, and found it really unresponsive.

When first loading the program guide, it fetches the channel icons for each channel that is displayed within the guide - which takes around 5 seconds:

2009-04-16 13:23:50.677 Loading window theme from /usr/local/share/mythtv/themes/default-wide/schedule-ui.xml
2009-04-16 13:23:51.535 RemoteFile(myth://
2009-04-16 13:23:52.340 RemoteFile(myth://
2009-04-16 13:23:53.145 RemoteFile(myth://
2009-04-16 13:23:53.958 RemoteFile(myth://
2009-04-16 13:23:54.771 RemoteFile(myth://
2009-04-16 13:23:55.635 RemoteFile(myth://

The time-stamps on these logs provide a good illustration of how long I have to wait for the GUI to respond to each button press.

When scrolling up/down, each channel icon that is displayed on-screen is re-fetched, causing approx 4-5 second delay.

When going left/right, it tries to re-fetch the channel icon just for the currently selected channel, causing about a 1.5 second delay.

There is very little CPU time consumed while waiting for the GUI to respond.

I'm running separate front-end and backends - I dont know if the same performance issue occurs when on a combined front-end/back-end system.

I'm happy to debug/test further if required.

Change History (8)

comment:1 Changed 12 years ago by danielk

Milestone: unknown0.22
Priority: minorblocker
Severity: mediumlow

comment:2 Changed 12 years ago by stuartm

Owner: changed from Isaac Richards to stuartm
Status: newaccepted

comment:3 Changed 12 years ago by stuartm

Status: acceptedstarted

comment:4 Changed 12 years ago by stuartm

(In [20446]) Add local caching of channel icons retrieved from remote backends. This has multiple benefits, chiefly future visits to the program guide will be faster but it also allows themers to apply complex effects to icons without impacting rendering speed.

Refs #6461 - I'd like to put remotefile in it's own thread to eliminate the delay caused during the remote fetching, so the ticket will remain open until then.

comment:5 Changed 12 years ago by stuartm

Priority: blockerminor

comment:6 Changed 12 years ago by stuartm

Milestone: 0.22unknown
Status: startedassigned

comment:7 Changed 12 years ago by stuartm

Status: assignedaccepted

comment:8 Changed 12 years ago by stuartm

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.