← Back to team overview

me-tv-development team mailing list archive

[Bug 351510] Re: me-tv unusually slow, often freezes

 

I've just installed Jaunty on 2 computers with 2 different DVB devices
and tried it without issue.  Admittedly there was a spot where the UI
did not respond for 5-10 seconds, but that is to be expected and should
be a one-off.  Now, I would still like to remove this issue because I
think I will solve another 2 outstanding bugs at the same time.

The major database access functions are:

1. EPG Thread (write)
2. EPG UI (read)
3. Scheduled recording (write)
4. Scheduled recording check (read)

I can only assume that the issue is contention between 1 and 2.  Now, I
would like to propose and implement a solution if people are prepared to
build and test it from source, preferably the bzr repository.  Let me
know if you are interested.

Let me explain what I think the issue is, the UI is locking up while it
tries to update the EPG UI because it happens within a GDK lock
(blocking all other UI updates).  The EPG UI is taking a long time to
draw because it's waiting for EPG events to be written, so the whole UI
locks up.

My solution, make the EPG UI DB call fail silently if the database is
busy and let it try again a second later, it's not critical if the
events don't appear immediately when updating the UI.

Thanks,

Michael

-- 
me-tv unusually slow, often freezes
https://bugs.launchpad.net/bugs/351510
You received this bug notification because you are a member of Me TV
Development, which is subscribed to Me TV.

Status in Me TV, it's TV for me computer: In Progress
Status in “me-tv” source package in Ubuntu: Confirmed

Bug description:
Binary package hint: me-tv

Hi,
on Ubuntu 9.04 Beta (Jaunty) me-tv is very slow (compared to previous versions),  the gui often freezes so i have to kill it. If i'm using xine_ui directly i don't have such problems, but channel locking is also slow.
System Specs:
Pentium M 2GHz
1 Gb RAM
WideView WT-220U PenType Receiver