Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Weird slowness with LIRC ...

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


jyavenard at gmail

Sep 6, 2008, 8:05 AM

Post #1 of 22 (4257 views)
Permalink
Weird slowness with LIRC ...

Hi

I'm facing something very weird with LIRC ..

I have it perfectly working with mythfrontend.

If I press the down arrow on my remote it scroll the cursor down as it should...
That if I use a completely new database profile.

After I change the option for playback however, not watching TV, just
in the main menu, using the remote will scroll down however, it will
only refresh the screen only every 2 seconds or so.
So say you cursor is on the first line, you press down arrow on the
remote (which send the command "Down" via LIRC) and hold the key, the
cursor will only appear after a few seconds to like the 5th items.

Keep holding it and it's now on the 10th etc.. You don't see the
cursor going down on every single option.

Mind you, if it's the first time I start mythfrontend, then it works fine ...

any ideas?
It's very frustrating when you want to go down the list of all the
recordings , maks it difficult to control the menu.

Thanks
JY
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


linux at finalfiler

Sep 6, 2008, 2:09 PM

Post #2 of 22 (4155 views)
Permalink
Re: Weird slowness with LIRC ... [In reply to]

Jean-Yves Avenard wrote:

> After I change the option for playback however, not watching TV, just
> in the main menu, using the remote will scroll down however, it will
> only refresh the screen only every 2 seconds or so.
> So say you cursor is on the first line, you press down arrow on the
> remote (which send the command "Down" via LIRC) and hold the key, the
> cursor will only appear after a few seconds to like the 5th items.
>
> Keep holding it and it's now on the 10th etc.. You don't see the
> cursor going down on every single option.

Sounds similar to my problem in the thread "Can HDMI Make EPG Navigation
Sluggish?"

regards

GuiGuy
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jyavenard at gmail

Sep 7, 2008, 5:13 AM

Post #3 of 22 (4149 views)
Permalink
Re: Weird slowness with LIRC ... [In reply to]

Hi

2008/9/7 The GUIGuy <linux [at] finalfiler>:
> Sounds similar to my problem in the thread "Can HDMI Make EPG Navigation
> Sluggish?"

Except that using the keyboard gives me perfectly fast browsing.
It's only over LIRC that it happens
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


James.Skimming at portraitsoftware

Sep 7, 2008, 12:34 PM

Post #4 of 22 (4126 views)
Permalink
Re: Weird slowness with LIRC ... [In reply to]

I'm not sure if it's in any way related, but I have noticed that the
response to commands from the remote are far slower than from the
keyboard.

The other day when I was checking CPU usage during playback (using top),
I noticed that the "gnome-screensaver" process was taking some CPU time.
After digging deeper, I found that this wasn't just during playback, but
whenever the remote control was used.

From main menu of the frontend, just hold the down button on your
remote. I find that "gnome-screensaver" can take up to 35% CPU time and
"Xorg" takes up to 50%. When using the keyboard, "Xorg" takes about %5,
and "gnome-screensaver" takes nothing.

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jyavenard at gmail

Sep 8, 2008, 1:17 AM

Post #5 of 22 (4097 views)
Permalink
Re: Weird slowness with LIRC ... [In reply to]

hi

2008/9/8 James Skimming <James.Skimming [at] portraitsoftware>:
>
> From main menu of the frontend, just hold the down button on your
> remote. I find that "gnome-screensaver" can take up to 35% CPU time and
> "Xorg" takes up to 50%. When using the keyboard, "Xorg" takes about %5,
> and "gnome-screensaver" takes nothing.

Just checked and it's exactly what is happening on my system !

gnome-screensaver starts to take around 30% of the CPU time and Xorg 33%

Any ideas what could be happening there?
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


James.Skimming at portraitsoftware

Sep 8, 2008, 2:24 AM

Post #6 of 22 (4111 views)
Permalink
Re: Weird slowness with LIRC ... [In reply to]

> Any ideas what could be happening there?

Sorry, not a clue, I don't know the code at all.

I'm going to try the same with the LIRC test client IRW
(http://www.lirc.org/html/irw.html) and see if it's the same. If IRW
does not cause the same strange CPU usage, then I would assume it's
somewhere in the Myth code, but I wouldn't know where to start looking.

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jyavenard at gmail

Sep 8, 2008, 2:38 AM

Post #7 of 22 (4102 views)
Permalink
Re: Weird slowness with LIRC ... [In reply to]

Hi

2008/9/8 James Skimming <James.Skimming [at] portraitsoftware>:
>> Any ideas what could be happening there?
>
> Sorry, not a clue, I don't know the code at all.
>
> I'm going to try the same with the LIRC test client IRW
> (http://www.lirc.org/html/irw.html) and see if it's the same. If IRW
> does not cause the same strange CPU usage, then I would assume it's
> somewhere in the Myth code, but I wouldn't know where to start looking.

Just tried that.

gnome-xscreensaver only appears when myth is running.

It doesn't show up if you close mythfrontend...

lirw or xine is the same..

the problem only occurs when mythfrontend is started
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jyavenard at gmail

Sep 8, 2008, 3:54 AM

Post #8 of 22 (4110 views)
Permalink
Re: Weird slowness with LIRC ... [In reply to]

Hi

2008/9/8 Jean-Yves Avenard <jyavenard [at] gmail>:
> gnome-xscreensaver only appears when myth is running.
>
> It doesn't show up if you close mythfrontend...
>
> lirw or xine is the same..

I switched to KDE in order to remove gnome specific issues.

When pressing the down arrow key X uses around 35% of CPU still, but
no more gnome-screensaver .

However it is still just as slow to refresh the screen...

Definitely an issue with mythfrontrend provided by mythbuntu :(
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jyavenard at gmail

Sep 8, 2008, 7:19 AM

Post #9 of 22 (4090 views)
Permalink
Re: Weird slowness with LIRC ... [In reply to]

Hi

2008/9/8 Jean-Yves Avenard <jyavenard [at] gmail>:
>
> However it is still just as slow to refresh the screen...
>
> Definitely an issue with mythfrontrend provided by mythbuntu :(
>

Allright, this issue doesn't happen if you use the GANT theme. Was
using mythbuntu theme before ...
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jyavenard at gmail

Sep 8, 2008, 8:07 AM

Post #10 of 22 (4088 views)
Permalink
Re: Weird slowness with LIRC ... [In reply to]

Hi

2008/9/9 Jean-Yves Avenard <jyavenard [at] gmail>:
> Allright, this issue doesn't happen if you use the GANT theme. Was
> using mythbuntu theme before ...
>

Forget that.. Don't know what I've changed but it's slow again :(
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


linux at finalfiler

Sep 8, 2008, 3:10 PM

Post #11 of 22 (4069 views)
Permalink
Re: Weird slowness with LIRC ... [In reply to]

Jean-Yves Avenard wrote:
> Hi
>
> 2008/9/7 The GUIGuy <linux [at] finalfiler>:
>> Sounds similar to my problem in the thread "Can HDMI Make EPG Navigation
>> Sluggish?"
>
> Except that using the keyboard gives me perfectly fast browsing.
> It's only over LIRC that it happens

Yes, I see. My hassles were regardless of input.

BTW, the issues I had were resolved once I sorted out the display
resolution and rendering.



> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jyavenard at gmail

Sep 8, 2008, 7:30 PM

Post #12 of 22 (4056 views)
Permalink
Re: Weird slowness with LIRC ... [In reply to]

Hi

2008/9/9 The GUIGuy <linux [at] finalfiler>:
> Yes, I see. My hassles were regardless of input.
>
> BTW, the issues I had were resolved once I sorted out the display
> resolution and rendering.

This is purely a LIRC issue for me ...
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


James.Skimming at portraitsoftware

Sep 9, 2008, 2:51 AM

Post #13 of 22 (4037 views)
Permalink
Re: Weird slowness with LIRC ... [In reply to]

> > Yes, I see. My hassles were regardless of input.
> >
> > BTW, the issues I had were resolved once I sorted out the display
> > resolution and rendering.
>
> This is purely a LIRC issue for me ...

It's purely a LIRC issue for me also.

Incidentally, I've been running my display with 1980 X 1200 @ 50Hz over
HDMI forever (12 months). The EPG guide isn't lightning fast, but it's
not unacceptable. Though it is considerably slower using the remote when
compared to the keyboard, again with all the symptoms described on this
thread of high CPU usage.

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jyavenard at gmail

Sep 9, 2008, 3:03 AM

Post #14 of 22 (4028 views)
Permalink
Re: Weird slowness with LIRC ... [In reply to]

Hi

2008/9/9 James Skimming <James.Skimming [at] portraitsoftware>:
> Incidentally, I've been running my display with 1980 X 1200 @ 50Hz over
> HDMI forever (12 months). The EPG guide isn't lightning fast, but it's
> not unacceptable. Though it is considerably slower using the remote when
> compared to the keyboard, again with all the symptoms described on this
> thread of high CPU usage.

To add to the weirdness.

Today I rebooted the frontend, and the remote was working perfectly,
with the cursor scrolling quickly etc...

I then quitted mythfrontend and restarted it and the issue reappeared...

Go wonder ..
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


harford at gmail

Sep 9, 2008, 8:36 AM

Post #15 of 22 (4024 views)
Permalink
Re: Weird slowness with LIRC ... [In reply to]

On Tue, Sep 9, 2008 at 2:51 AM, James Skimming
<James.Skimming [at] portraitsoftware> wrote:
>
> It's purely a LIRC issue for me also.
>

I'm having some occasional slowness with LIRC as well. Running top
and sorting by time (press T) shows lirc using up a lot of cpu time:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
9455 mythtv 20 0 333m 143m 25m S 0 7.1 1142:52 mythfrontend
2386 root 20 0 231m 34m 9528 S 0 1.7 515:26.60 mythbackend
1446 root 15 -5 0 0 0 S 0 0.0 145:16.20 lirc_dev
9263 root 20 0 133m 85m 4884 S 0 4.2 113:41.80 X
10808 mythtv 20 0 32324 14m 11m S 5 0.7 95:06.14 ksysguard
2314 mysql 20 0 163m 39m 4860 S 0 1.9 66:14.03 mysqld
10809 mythtv 20 0 2592 1300 804 S 3 0.1 59:51.33 ksysguardd
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jyavenard at gmail

Sep 9, 2008, 8:41 AM

Post #16 of 22 (4027 views)
Permalink
Re: Weird slowness with LIRC ... [In reply to]

Hi

2008/9/10 Alex Harford <harford [at] gmail>:
>
> I'm having some occasional slowness with LIRC as well. Running top
> and sorting by time (press T) shows lirc using up a lot of cpu time:
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 1446 root 15 -5 0 0 0 S 0 0.0 145:16.20 lirc_dev

Lot ?
0% ??
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


harford at gmail

Sep 9, 2008, 4:13 PM

Post #17 of 22 (4006 views)
Permalink
Re: Weird slowness with LIRC ... [In reply to]

On Tue, Sep 9, 2008 at 8:41 AM, Jean-Yves Avenard <jyavenard [at] gmail> wrote:
> Hi
>
> 2008/9/10 Alex Harford <harford [at] gmail>:
>>
>> I'm having some occasional slowness with LIRC as well. Running top
>> and sorting by time (press T) shows lirc using up a lot of cpu time:
>>
>> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
>> 1446 root 15 -5 0 0 0 S 0 0.0 145:16.20 lirc_dev
>
> Lot ?
> 0% ??
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

Right, but look at the total time spent in CPU... 1142 minutes for
mythfrontend, 515 for mythbackend, but 145 for lirc_dev. That doesn't
look right to me, but I don't have any baseline to compare.

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
9455 mythtv 20 0 333m 143m 25m S 0 7.1 1142:52 mythfrontend
2386 root 20 0 231m 34m 9528 S 0 1.7 515:26.60 mythbackend
1446 root 15 -5 0 0 0 S 0 0.0 145:16.20 lirc_dev
9263 root 20 0 133m 85m 4884 S 0 4.2 113:41.80 X
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jyavenard at gmail

Sep 9, 2008, 5:39 PM

Post #18 of 22 (3990 views)
Permalink
Re: Weird slowness with LIRC ... [In reply to]

Hi

2008/9/10 Alex Harford <harford [at] gmail>:
> Right, but look at the total time spent in CPU... 1142 minutes for
> mythfrontend, 515 for mythbackend, but 145 for lirc_dev. That doesn't
> look right to me, but I don't have any baseline to compare.

Well, I don't know how long your PC has been up and that just shows
how long this process has been running
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


harford at gmail

Sep 10, 2008, 1:25 PM

Post #19 of 22 (3951 views)
Permalink
Re: Weird slowness with LIRC ... [In reply to]

On Tue, Sep 9, 2008 at 5:39 PM, Jean-Yves Avenard <jyavenard [at] gmail> wrote:
> Hi
>
> 2008/9/10 Alex Harford <harford [at] gmail>:
>> Right, but look at the total time spent in CPU... 1142 minutes for
>> mythfrontend, 515 for mythbackend, but 145 for lirc_dev. That doesn't
>> look right to me, but I don't have any baseline to compare.
>
> Well, I don't know how long your PC has been up and that just shows
> how long this process has been running

The man page indicates that is how much time is spent in CPU, not time
elapsed. Makes sense to me, otherwise all of the daemons that run at
boot would have the same time +/- a few seconds.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


thomas at boerkel

Sep 11, 2008, 5:48 AM

Post #20 of 22 (3925 views)
Permalink
Re: Weird slowness with LIRC ... [In reply to]

HI!

Jean-Yves Avenard wrote:

> After I change the option for playback however, not watching TV, just
> in the main menu, using the remote will scroll down however, it will
> only refresh the screen only every 2 seconds or so.
> So say you cursor is on the first line, you press down arrow on the
> remote (which send the command "Down" via LIRC) and hold the key, the
> cursor will only appear after a few seconds to like the 5th items.
>
> Keep holding it and it's now on the 10th etc.. You don't see the
> cursor going down on every single option.
>
> Mind you, if it's the first time I start mythfrontend, then it works fine ...

I have a similar issue. When I press the remote, it takes 100% CPU for 2
seconds and then it goes to the next item.

When I press fast 3 times, then it takes 2 seconds and then jumps 3
items at once.

It only happens with high resolution (1920x1080), so I did not think
it's a LIRC issue.

Then I updated from X server 1.3 to 1.4 and now navigating is very fast
again, but every 8-10 items, it pauses again for a few seconds and takes
100% CPU, before it continues.

So, it's better, but not solved.

Using the QT painter, it's always slow.

Now I am thinking, it's an X server or OpenGL issue.

Thomas

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


James.Skimming at portraitsoftware

Sep 11, 2008, 6:40 AM

Post #21 of 22 (3926 views)
Permalink
Re: Weird slowness with LIRC ... [In reply to]

> It only happens with high resolution (1920x1080), so I did not think
> it's a LIRC issue.

Hi Thomas

Do you get it when using the keyboard or just the remote?

Regards,

Jim.

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


thomas at boerkel

Oct 3, 2008, 9:53 AM

Post #22 of 22 (3609 views)
Permalink
Re: Weird slowness with LIRC ... [In reply to]

HI!

James Skimming wrote:
>> It only happens with high resolution (1920x1080), so I did not think
>> it's a LIRC issue.
>
> Do you get it when using the keyboard or just the remote?

Sorry for the late answer. I get it with both. And as I said: It got
better when I upgraded xorg-server from 1.3.x to 1.4.x.

Thomas
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.