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

Mailing List Archive: MythTV: Users

0.22 on a Via SP13000 anyone?

 

 

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


g8ecj at gilks

Nov 19, 2009, 3:23 AM

Post #1 of 5 (505 views)
Permalink
0.22 on a Via SP13000 anyone?

I thought I'd dig out my old Via Epia SP13000 mini-ITX board as a spare
frontend for guests etc. It was retired about 3 months ago having run
really well for 4 years. With 0.22 loaded, I get very very slow video & TV
playback - something like 3-4 frames in a burst and then nothing for 2
seconds, then another 3-4 frames.

This is a typical log from the 0.22 frontend.

2009-11-19 23:58:03.416 TV: Attempting to change from None to Watching
WatchingPreRecorded
2009-11-19 23:58:03.531 TV: StartPlayer(0, Watching WatchingPreRecorded,
main) -- begin
2009-11-19 23:58:03.844 AFD: Opened codec 0x9aaea10, id(MPEG2VIDEO)
type(Video)
2009-11-19 23:58:03.845 AFD: codec MP2 has 2 channels
2009-11-19 23:58:03.845 AFD: Opened codec 0x87ad530, id(MP2) type(Audio)
2009-11-19 23:58:03.856 Opening audio device 'default'. ch 2(2) sr 48000
2009-11-19 23:58:03.857 Opening ALSA audio device 'default'.
2009-11-19 23:58:03.866 mixer unable to find control Master 1
2009-11-19 23:58:04.004 VideoOutputXv: XVideo Adaptor Name: 'XV_SWOV'
2009-11-19 23:58:04.148 OSD Theme Dimensions W: 640 H: 480
2009-11-19 23:58:05.099 TV: StartPlayer(0, Watching WatchingPreRecorded,
main) -- end ok
2009-11-19 23:58:05.101 TV: Changing from None to Watching
WatchingPreRecorded
2009-11-19 23:58:05.104 Realtime priority would require SUID as root.
2009-11-19 23:58:05.108 Couldn't load deinterlace filter none
2009-11-19 23:58:05.132 ScreenSaverX11Private: DPMS Deactivated 1
2009-11-19 23:58:05.175 Video timing method: DRM
2009-11-19 23:58:09.003 NVP(3): Timed out waiting for free video buffers.
2009-11-19 23:58:09.591 WriteAudio: buffer underrun
2009-11-19 23:58:09.739 NVP(3): prebuffering pause
2009-11-19 23:58:12.842 NVP(3): Timed out waiting for free video buffers.
2009-11-19 23:58:13.340 NVP(3): prebuffering pause
2009-11-19 23:58:13.343 WriteAudio: buffer underrun
2009-11-19 23:58:16.442 NVP(3): Timed out waiting for free video buffers.
2009-11-19 23:58:17.028 NVP(3): prebuffering pause
2009-11-19 23:58:17.031 WriteAudio: buffer underrun
2009-11-19 23:58:20.755 WriteAudio: buffer underrun
2009-11-19 23:58:23.918 NVP(3): Timed out waiting for free video buffers.
2009-11-19 23:58:24.543 WriteAudio: buffer underrun




Comparing that to an old log I found from 0.21

2009-08-20 08:02:05.089 TV: Attempting to change from None to WatchingLiveTV
2009-08-20 08:02:05.090 Using protocol version 40
2009-08-20 08:02:07.297 DPMS Deactivated
2009-08-20 08:02:07.989 NVP: Disabling Audio, params(-1,2,44100)
2009-08-20 08:02:08.052 VideoOutputXv: XVideo Adaptor Name: 'XV_SWOV'
2009-08-20 08:02:08.203 OSD Theme Dimensions W: 640 H: 480
2009-08-20 08:02:09.401 TV: Changing from None to WatchingLiveTV
2009-08-20 08:02:09.407 FilterManager: failed to load filter 'none', no
such filter exists
2009-08-20 08:02:09.407 Couldn't load deinterlace filter none
2009-08-20 08:02:09.408 Using realtime priority.
2009-08-20 08:02:09.429 Video timing method: DRM
2009-08-20 08:02:11.938 FilterManager: failed to load filter 'none', no
such filter exists
2009-08-20 08:02:11.938 Couldn't load deinterlace filter none
2009-08-20 08:02:11.955 VideoOutputXv: XVideo Adaptor Name: 'XV_SWOV'
2009-08-20 08:02:12.621 AFD: Opened codec 0xa84efd0, id(MPEG2VIDEO)
type(Video)
2009-08-20 08:02:12.622 AFD: codec MP3 has 2 channels
2009-08-20 08:02:12.622 AFD: Opened codec 0xa8a7830, id(MP3) type(Audio)
2009-08-20 08:02:12.753 Opening audio device 'default'. ch 2(2) sr 48000
2009-08-20 08:02:12.753 Opening ALSA audio device 'default'.
2009-08-20 08:02:12.784 NVP: Enabling Audio


I'm seeing the following error in Xorg.0.log
(EE) CHROME(0): [XvMC] ViaXvMCCreateSurface: Too many surfaces !

which makes me think that its a 0.22 specific problem as I'm running the
904 openchrome driver, the same as on 0.21 but I have updated the kernel
from 2.6.25 to 2.6.30 (the versions in between seem to have DRI driver
problems with openchrome). One other oddity - I can't seem to get it to
run realtime.

--
Robin Gilks


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


newbury at mandamus

Nov 19, 2009, 7:56 AM

Post #2 of 5 (470 views)
Permalink
Re: 0.22 on a Via SP13000 anyone? [In reply to]

Robin Gilks wrote:
> I thought I'd dig out my old Via Epia SP13000 mini-ITX board as a spare
> frontend for guests etc.
>
> I'm seeing the following error in Xorg.0.log
> (EE) CHROME(0): [XvMC] ViaXvMCCreateSurface: Too many surfaces !
>
> which makes me think that its a 0.22 specific problem as I'm running the
> 904 openchrome driver, the same as on 0.21 but I have updated the kernel
> from 2.6.25 to 2.6.30 (the versions in between seem to have DRI driver
> problems with openchrome). One other oddity - I can't seem to get it to
> run realtime.
>

Something to do with the size of the surfaces. I don't remember the
details any more, but a quick troll of the archive retrieved something I
wrote earlier this year.


>> If you are compiling fixes, as distinct to just installing an rpm, you
>> could also try re-compiling the source after changing
>>
>> mythtv/libs/libmythtv/util-xvmc.h:56: max_num_xvmc_surfaces(16),
>> to:
>> mythtv/libs/libmythtv/util-xvmc.h:56: max_num_xvmc_surfaces(14),

This lets xvmc create its surfaces.
You also need to, or course, have the libViaXvMC file listed in
XvMCConfig, to have explicitly listed all the extra modules in your
xorg.conf, and ensured that DRI is set to mode 666.

Since you are resurrecting the box, you probably have these already set.
The surfaces issue is quite obscure.

Geoff




--
Please let me know if anything I say offends you.
I may wish to offend you again in the future.

Tux says: "Be regular. Eat cron flakes."
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


g8ecj at gilks

Nov 19, 2009, 9:11 PM

Post #3 of 5 (454 views)
Permalink
Re: 0.22 on a Via SP13000 anyone? [In reply to]

>> Robin Gilks wrote:
>>> I thought I'd dig out my old Via Epia SP13000 mini-ITX board as a spare
>>> frontend for guests etc. I'm seeing the following error in Xorg.0.log
>>> (EE) CHROME(0): [XvMC] ViaXvMCCreateSurface: Too many surfaces !
>>> which makes me think that its a 0.22 specific problem as I'm running
>>> the
>>> 904 openchrome driver, the same as on 0.21 but I have updated the
>>> kernel
>>> from 2.6.25 to 2.6.30 (the versions in between seem to have DRI driver
>>> problems with openchrome). One other oddity - I can't seem to get it to
>>> run realtime.
>>
>> Something to do with the size of the surfaces. I don't remember the
>> details
>> any more, but a quick troll of the archive retrieved something I wrote
>> earlier this year.
>>
>> >> If you are compiling fixes, as distinct to just installing an rpm,
>> you
>> >> could also try re-compiling the source after changing
>> >>
>> >> mythtv/libs/libmythtv/util-xvmc.h:56: max_num_xvmc_surfaces(16),
>> >> to:
>> >> mythtv/libs/libmythtv/util-xvmc.h:56: max_num_xvmc_surfaces(14),
>>
>> This lets xvmc create its surfaces.
>> You also need to, or course, have the libViaXvMC file listed in
>> XvMCConfig,
>> to have explicitly listed all the extra modules in your xorg.conf, and
>> ensured that DRI is set to mode 666.
>>
>> Since you are resurrecting the box, you probably have these already set.
>> The surfaces issue is quite obscure.
>
> Please note that mythtv allocates xvmc surfaces until it can't anymore.
> Trying to allocate the first one that fails gives this message, but other
> than
> that it is quite harmless.
>
> This set me on the wrong foot trying to diagnose problems with an eipa
> m1000,
> which runs quite smoothly with 9.10, by the way.
>
> Ronald

I have a workaround - I've downgraded from a 2-6-30 kernel to my last
known good one of 2.6.25 (and downgraded udev to match) and its OK now.
Looks like the DRM problem that arrived in 2.6.25+ hasn't been patched in
the Gentoo patchset for 2.6.30 :-(

I've not found a definitive answer yet on exactly what the problem is but
I guess its a cleanup for other chipsets and nobody from Via has bothered
to put in the fixes for their systems.

Only difference I can find is that I have a agpgart module in 2.6.25 but
not for 2.6.30

--
Robin Gilks


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


newbury at mandamus

Nov 20, 2009, 7:24 PM

Post #4 of 5 (425 views)
Permalink
Re: 0.22 on a Via SP13000 anyone? [In reply to]

Robin Gilks wrote:
>>> Robin Gilks wrote:
>>>> I thought I'd dig out my old Via Epia SP13000 mini-ITX board as a spare
>>>> frontend for guests etc. I'm seeing the following error in Xorg.0.log
>>>> (EE) CHROME(0): [XvMC] ViaXvMCCreateSurface: Too many surfaces !
>>>> which makes me think that its a 0.22 specific problem as I'm running
>>>> the
>>>> 904 openchrome driver, the same as on 0.21 but I have updated the
>>>> kernel
>>>> from 2.6.25 to 2.6.30 (the versions in between seem to have DRI driver
>>>> problems with openchrome). One other oddity - I can't seem to get it to
>>>> run realtime.
>>> Something to do with the size of the surfaces. I don't remember the
>>> details
>>> any more, but a quick troll of the archive retrieved something I wrote
>>> earlier this year.
>>>
>>>>> If you are compiling fixes, as distinct to just installing an rpm,
>>> you
>>>>> could also try re-compiling the source after changing
>>>>>
>>>>> mythtv/libs/libmythtv/util-xvmc.h:56: max_num_xvmc_surfaces(16),
>>>>> to:
>>>>> mythtv/libs/libmythtv/util-xvmc.h:56: max_num_xvmc_surfaces(14),
>>> This lets xvmc create its surfaces.
>>> You also need to, or course, have the libViaXvMC file listed in
>>> XvMCConfig,
>>> to have explicitly listed all the extra modules in your xorg.conf, and
>>> ensured that DRI is set to mode 666.
>>>
>>> Since you are resurrecting the box, you probably have these already set.
>>> The surfaces issue is quite obscure.
>> Please note that mythtv allocates xvmc surfaces until it can't anymore.
>> Trying to allocate the first one that fails gives this message, but other
>> than
>> that it is quite harmless.
>>
>> This set me on the wrong foot trying to diagnose problems with an eipa
>> m1000,
>> which runs quite smoothly with 9.10, by the way.
>>
>> Ronald
>
> I have a workaround - I've downgraded from a 2-6-30 kernel to my last
> known good one of 2.6.25 (and downgraded udev to match) and its OK now.
> Looks like the DRM problem that arrived in 2.6.25+ hasn't been patched in
> the Gentoo patchset for 2.6.30 :-(
>
> I've not found a definitive answer yet on exactly what the problem is but
> I guess its a cleanup for other chipsets and nobody from Via has bothered
> to put in the fixes for their systems.
>
> Only difference I can find is that I have a agpgart module in 2.6.25 but
> not for 2.6.30
>

I always used the openchrome drivers, not the Via versions. If you
aren't maybe you should.

Geoff



--
Please let me know if anything I say offends you.
I may wish to offend you again in the future.

Tux says: "Be regular. Eat cron flakes."
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


g8ecj at gilks

Nov 20, 2009, 10:13 PM

Post #5 of 5 (425 views)
Permalink
Re: 0.22 on a Via SP13000 anyone? [In reply to]

>
> I always used the openchrome drivers, not the Via versions. If you
> aren't maybe you should.
>
> Geoff

Hi Geoff

I've been running openchrome since before it split from unichrome - I've
also checked that all the patches are in place for slub memory allocation
and tried changing from slab to slub on the later kernel to no avail.

I've just tried MythMusic on this old underpowered box and it segfaults -
almost as quick as when I try to play an iso image!! I'll be playing with
gdb when I get round to it - this is starting to get too much like my day
job...

--
Robin Gilks


_______________________________________________
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.