| View previous topic :: View next topic |
| Author |
Message |
KungFuJesus n00b

Joined: 04 Mar 2007 Posts: 42
|
Posted: Tue Jul 22, 2008 1:02 am Post subject: Mythtv incompatibility with gcc 431 |
|
|
So I completely rebuilt a working mythtv system after a reformat. I got through the build process just as it was before, but this time accepting ~x86. In most circumstances, this doesn't make too much of a difference, seeing as most all of my multimedia packages were unmasked to use testing anyway. The ~x86 keyword forces me to use nvidia's later drivers (the newer kernel 2.6.25 dictates it). So, building this, I find out mythtv just crashes when it uses xvmc, and when using xv, it's not as good as it could be. I carefully follow the mythtv wiki only to find out the crashing error is because I didn't add an addition NvAGP "1" option to my xorg.conf. It turns out what this does is force the video card to use Nvidia's AGPGART driver. Well, ok, so I can finally watch mythtv. I start it up only to find that there are hundreds of audio buffer underruns filling the mythfrontend log. I try mplayer with XvMC, it works fine. I try video without XvMC on mythtv's internal player: works even worse than before. I enable Side Band Addressing and Fast Writes (keep in mind this is a 7600 GT, a video card that is more than capable of HD quality video). This makes things a little better, but still unbearable. I'm not going down a kernel version as well as an nvidia driver version in hopes that this fixes things. My hypothesis: Nvidia's drivers broke something between 167 and 169-up. If this works, it only makes me wonder if the mythtv devs may have been better off with an open source implementation of nvidia's drivers written by nvidia much like how unichrome's XvMC works...
Last edited by KungFuJesus on Fri Aug 01, 2008 12:27 pm; edited 2 times in total |
|
| Back to top |
|
 |
yabbadabbadont Advocate


Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Tue Jul 22, 2008 2:48 am Post subject: |
|
|
Do you have an actual support question, or are you just ranting?  |
|
| Back to top |
|
 |
ali3nx l33t


Joined: 21 Sep 2003 Posts: 722 Location: Winnipeg, Canada
|
Posted: Tue Jul 22, 2008 2:50 am Post subject: |
|
|
| Code: | | ACCEPT_KEYWORDS="~arch" emerge thermoneuclear-weapon |
i see it blew up
in other news gentoo introduced
| Code: | | /etc/portage/package.keywords |
|
|
| Back to top |
|
 |
Akkara Bodhisattva


Joined: 28 Mar 2006 Posts: 6702 Location: &akkara
|
Posted: Tue Jul 22, 2008 6:12 am Post subject: |
|
|
| Quote: | | I start it up only to find that there are hundreds of audio buffer underruns filling the mythfrontend log. |
I am running 2.6.25-gentoo-r6 with nvidia-drivers-173.14.09
Jack-audio-connection-kit works, even when configured with sub-millisecond latency, with no underruns. Although I normally keep it around 2.5 or so to keep the context-switch overhead reasonable. In fact it is the best kernel I have worked with for low-latency audio.
Make sure you have CONFIG_PREEMPT=y and CONFIG_PREEMPT_RCU=y configured. |
|
| Back to top |
|
 |
KungFuJesus n00b

Joined: 04 Mar 2007 Posts: 42
|
Posted: Wed Jul 23, 2008 12:21 am Post subject: |
|
|
I will scour my kernel. A simple downgrade of kernel and nvidia drivers doesn't seem to have done it. The other subtle difference I find is that I was running Xorg 7.2 before and not 7.3, so I'm rolling all of that back a version to see if this helps things out. I'm using alsa, although it seems to be complaining about the mixer device (not that it matters, I'm using the digital passthrough anyway, it may as well not even be functioning as a soundcard).
I have preempt voluntary, but with real-time priority it shouldn't really matter, should it? |
|
| Back to top |
|
 |
KungFuJesus n00b

Joined: 04 Mar 2007 Posts: 42
|
Posted: Wed Jul 23, 2008 2:37 am Post subject: |
|
|
Hmm, the issue seems to be with mythfrontend's internal player. Mplayer works perfectly. With playback turned on verbose for the logging, I get the following errors:
| Code: | 2008-07-22 22:07:27.373 NVP: Waiting for prebuffer.. 0 AALLDAAA
2008-07-22 22:07:27.386 NVP: prebuffering pause
2008-07-22 22:07:27.386 NVP: Waiting for prebuffer.. 0 AAdLAAAL
2008-07-22 22:07:27.396 NVP: prebuffering pause
2008-07-22 22:07:27.396 NVP: Waiting for prebuffer.. 0 AAdLAALA
2008-07-22 22:07:27.406 NVP: prebuffering pause
2008-07-22 22:07:27.406 NVP: Waiting for prebuffer.. 0 AADLALAA
2008-07-22 22:07:27.419 NVP: prebuffering pause
2008-07-22 22:07:27.419 NVP: Waiting for prebuffer.. 0 LAAdALAA
2008-07-22 22:07:27.429 NVP: prebuffering pause
2008-07-22 22:07:27.429 NVP: Waiting for prebuffer.. 0 ALAdALAA
2008-07-22 22:07:27.438 VideoOutputXv: Frame B is in use by avlib and so is bein
g held for later discarding.
2008-07-22 22:07:27.438 NVP: prebuffering pause
2008-07-22 22:07:27.438 VideoOutputXv: Frame B is in use by avlib and so is bein
g held for later discarding.
2008-07-22 22:07:27.438 NVP: Waiting for prebuffer.. 0 AdAdALAA
2008-07-22 22:07:27.460 NVP: prebuffering pause
2008-07-22 22:07:27.460 NVP: Waiting for prebuffer.. 0 AAAALaAL
2008-07-22 22:07:27.460 AddInheritence past F NOT in used or in done. AAA
ALaAL
2008-07-22 22:07:27.593 NVP: Waiting for prebuffer.. 1 AAAALaAu
2008-07-22 22:07:27.701 AddInheritence past F NOT in used or in done. AAA
ALaLU
2008-07-22 22:07:27.702 NVP: prebuffering pause
2008-07-22 22:07:27.702 NVP: Waiting for prebuffer.. 0 AAAALaLA
2008-07-22 22:07:27.715 NVP: prebuffering pause
2008-07-22 22:07:27.715 NVP: Waiting for prebuffer.. 0 AALALAAA
2008-07-22 22:07:27.731 NVP: prebuffering pause
2008-07-22 22:07:27.732 NVP: Waiting for prebuffer.. 0 LALAdAAA
2008-07-22 22:07:27.745 NVP: prebuffering pause
2008-07-22 22:07:27.745 NVP: Waiting for prebuffer.. 0 ALLAdAAA
2008-07-22 22:07:27.758 NVP: prebuffering pause
2008-07-22 22:07:27.758 NVP: Waiting for prebuffer.. 0 AALADLAA
2008-07-22 22:07:27.892 NVP: Waiting for prebuffer.. 1 AAuADLAA
2008-07-22 22:07:27.941 NVP: prebuffering pause
2008-07-22 22:07:27.941 NVP: Waiting for prebuffer.. 0 AAdLALAA
2008-07-22 22:07:27.955 NVP: prebuffering pause
2008-07-22 22:07:27.955 NVP: Waiting for prebuffer.. 0 AAdAALAL
2008-07-22 22:07:27.966 NVP: prebuffering pause
2008-07-22 22:07:27.967 NVP: Waiting for prebuffer.. 0 AADAALLA
2008-07-22 22:07:27.981 NVP: prebuffering pause
2008-07-22 22:07:27.981 NVP: Waiting for prebuffer.. 0 LAAAAdLA
2008-07-22 22:07:27.990 NVP: 6400 interlaced frames seen.
2008-07-22 22:07:27.991 NVP: prebuffering pause
2008-07-22 22:07:27.991 NVP: Waiting for prebuffer.. 0
2008-07-22 22:07:28.002 NVP: prebuffering pause
2008-07-22 22:07:28.003 NVP: Waiting for prebuffer.. 0 AAAALDLA
2008-07-22 22:07:28.136 NVP: Waiting for prebuffer.. 1 AAAALDuA
2008-07-22 22:07:28.181 NVP: prebuffering pause
2008-07-22 22:07:28.181 NVP: Waiting for prebuffer.. 0 AAALLAdA
'video_output' mean = '36122.48', std. dev. = '68841.70', fps = '27.68'
2008-07-22 22:07:28.195 VideoOutputXv: Frame D is in use by avlib and so is bein
g held for later discarding.
2008-07-22 22:07:28.195 NVP: prebuffering pause
2008-07-22 22:07:28.195 VideoOutputXv: Frame D is in use by avlib and so is bein
g held for later discarding.
2008-07-22 22:07:28.195 NVP: Waiting for prebuffer.. 0 AAAdLAdA
2008-07-22 22:07:28.209 NVP: prebuffering pause
2008-07-22 22:07:28.210 NVP: Waiting for prebuffer.. 0 AALALADA
2008-07-22 22:07:28.235 NVP: prebuffering pause
2008-07-22 22:07:28.235 NVP: Waiting for prebuffer.. 0 LALAdAAA
2008-07-22 22:07:28.248 NVP: prebuffering pause
2008-07-22 22:07:28.248 NVP: Waiting for prebuffer.. 0 ALLAdAAA
2008-07-22 22:07:28.260 NVP: prebuffering pause
2008-07-22 22:07:28.260 NVP: Waiting for prebuffer.. 0 AALAALAA
2008-07-22 22:07:28.275 NVP: prebuffering pause
2008-07-22 22:07:28.276 NVP: Waiting for prebuffer.. 0 AAdLALAA
2008-07-22 22:07:28.288 NVP: prebuffering pause
2008-07-22 22:07:28.288 NVP: Waiting for prebuffer.. 0 AAdAALAL
2008-07-22 22:07:28.301 NVP: prebuffering pause
2008-07-22 22:07:28.301 NVP: Waiting for prebuffer.. 0 AADAALLA
2008-07-22 22:07:28.315 NVP: prebuffering pause
2008-07-22 22:07:28.315 NVP: Waiting for prebuffer.. 0 LAAAAdLA
2008-07-22 22:07:28.325 NVP: prebuffering pause
2008-07-22 22:07:28.325 NVP: Waiting for prebuffer.. 0 AAAALdLA
2008-07-22 22:07:28.335 NVP: prebuffering pause
2008-07-22 22:07:28.335 NVP: Waiting for prebuffer.. 0 ALAAADLA
2008-07-22 22:07:28.348 NVP: prebuffering pause
2008-07-22 22:07:28.348 NVP: Waiting for prebuffer.. 0 ALALAAdA
2008-07-22 22:07:28.358 NVP: prebuffering pause
2008-07-22 22:07:28.358 NVP: Waiting for prebuffer.. 0 ALAAAAdL
2008-07-22 22:07:28.367 NVP: prebuffering pause
2008-07-22 22:07:28.367 NVP: Waiting for prebuffer.. 0 ALLAAADA
2008-07-22 22:07:28.381 NVP: prebuffering pause
2008-07-22 22:07:28.381 NVP: Waiting for prebuffer.. 0 LdLAAAAA
2008-07-22 22:07:28.391 VideoOutputXv: Frame A is in use by avlib and so is bein
g held for later discarding.
2008-07-22 22:07:28.391 NVP: prebuffering pause
2008-07-22 22:07:28.391 NVP: Waiting for prebuffer.. 0
2008-07-22 22:07:28.401 VideoOutputXv: Frame E is in use by avlib and so is bein
g held for later discarding.
2008-07-22 22:07:28.401 NVP: prebuffering pause
2008-07-22 22:07:28.401 VideoOutputXv: Frame E is in use by avlib and so is bein
g held for later discarding.
2008-07-22 22:07:28.401 NVP: Waiting for prebuffer.. 0 AdLAdAAA
2008-07-22 22:07:28.422 VideoOutputXv: Frame C is in use by avlib and so is bein
g held for later discarding.
2008-07-22 22:07:28.422 NVP: prebuffering pause
2008-07-22 22:07:28.422 VideoOutputXv: Frame C is in use by avlib and so is bein
g held for later discarding.
2008-07-22 22:07:28.422 NVP: Waiting for prebuffer.. 0 AAdLALAA
2008-07-22 22:07:28.556 NVP: Waiting for prebuffer.. 1 AAduALAA
2008-07-22 22:07:28.689 NVP: Waiting for prebuffer.. 2 AAduALAA
2008-07-22 22:07:28.726 NVP: prebuffering pause
2008-07-22 22:07:28.726 NVP: Waiting for prebuffer.. 0 AAdAALAL
2008-07-22 22:07:28.737 NVP: prebuffering pause
2008-07-22 22:07:28.738 NVP: Waiting for prebuffer.. 0 AAAAALLA
2008-07-22 22:07:28.752 NVP: prebuffering pause
2008-07-22 22:07:28.752 NVP: Waiting for prebuffer.. 0 LAAAAdLA
2008-07-22 22:07:28.763 NVP: prebuffering pause
2008-07-22 22:07:28.763 NVP: Waiting for prebuffer.. 0 AAAALdLA
2008-07-22 22:07:28.896 NVP: Waiting for prebuffer.. 1 AAAAudLA
2008-07-22 22:07:29.025 NVP: prebuffering pause
2008-07-22 22:07:29.025 NVP: Waiting for prebuffer.. 0 ALAAADLA
2008-07-22 22:07:29.037 TV: Attempting to change from WatchingLiveTV to None
2008-07-22 22:07:29.037 TV: StopStuff() -- begin
2008-07-22 22:07:29.037 TV: StopStuff(): stopping ring buffer[s]
2008-07-22 22:07:29.041 NVP: prebuffering pause
2008-07-22 22:07:29.041 NVP: Waiting for prebuffer.. 0 ALALAAdA
2008-07-22 22:07:29.052 NVP: prebuffering pause
2008-07-22 22:07:29.052 NVP: Waiting for prebuffer.. 0 ALLAAAdA
2008-07-22 22:07:29.062 NVP: prebuffering pause
2008-07-22 22:07:29.063 NVP: Waiting for prebuffer.. 0 ALAAAADL
2008-07-22 22:07:29.077 NVP: prebuffering pause
2008-07-22 22:07:29.077 NVP: Waiting for prebuffer.. 0 LdAAAAAL |
|
|
| Back to top |
|
 |
KungFuJesus n00b

Joined: 04 Mar 2007 Posts: 42
|
Posted: Fri Jul 25, 2008 4:30 pm Post subject: |
|
|
| I GOT IT! GCC 4.3.1 produces unexpected mythtv binaries. It literally borked my performance to something unusable. Hmmm, I'll work at a bug report after more investigation. |
|
| Back to top |
|
 |
tld Veteran

Joined: 09 Dec 2003 Posts: 1829
|
Posted: Fri Jul 25, 2008 10:44 pm Post subject: Re: Shame on you, Nvidia, shame on you. |
|
|
| KungFuJesus wrote: | | So I completely rebuilt a working mythtv system after a reformat. I got through the build process just as it was before, but this time accepting ~x86. In most circumstances, this doesn't make too much of a difference, seeing as most all of my multimedia packages were unmasked to use testing anyway. |
Famous last words .
This is one of the many reasons why I can't imagine anyone running a completely ~arch system. If running a bleeding edge gcc (among other things) isn't asking for trouble I don't know what is.
My mythtv frontend and backend are working perfectly and the mythtv packages themselves are the only packages in my packages.keywords.
Tom |
|
| Back to top |
|
 |
KungFuJesus n00b

Joined: 04 Mar 2007 Posts: 42
|
Posted: Tue Jul 29, 2008 6:04 pm Post subject: |
|
|
But this is why they're marked testing, so that we can test them and report back the bugs . |
|
| Back to top |
|
 |
yabbadabbadont Advocate


Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Tue Jul 29, 2008 7:36 pm Post subject: |
|
|
| KungFuJesus wrote: | But this is why they're marked testing, so that we can test them and report back the bugs . |
Did you actually file any bugs?  |
|
| Back to top |
|
 |
i92guboj Bodhisattva


Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Tue Jul 29, 2008 7:53 pm Post subject: |
|
|
While testing is acceptable, and meant for reporting bugs and solving issues, I have not seen any of that on this thread. It just started as a rant about how using the unstable branch gives you erm... well, a unstable system.
However, since the thread has lately evolved to something constructive, I will leave it where it is for now. Maybe someone with a similar problem can find it useful.
Please, consider changing the title to something that actually describes the issue, because as it is right now it's not only unrelated, but also meaningless. The change the title of the thread edit the first post and change it's title.
Thanks. |
|
| Back to top |
|
 |
KungFuJesus n00b

Joined: 04 Mar 2007 Posts: 42
|
Posted: Fri Aug 01, 2008 12:26 pm Post subject: |
|
|
| yabbadabbadont wrote: | | KungFuJesus wrote: | But this is why they're marked testing, so that we can test them and report back the bugs . |
Did you actually file any bugs?  |
https://bugs.gentoo.org/show_bug.cgi?id=233302
Looks like a filed bug report to me... I think I was very constructive i92guboj. And curious enough, I find it even more appropriate to the title that another person having the issue is using nvidia's drivers. However, I won't blindly blame nvidia just yet, as I myself haven't tried a binary compiled with gcc 4.3.1 with any other video chipset.
I'd say it was far more than "just a rant" as the rant contained insight as to the peculiarness of the build and what had changed. As I see it, it's just a colorful and detailed description of my problem. I don't know why you're calling it a rant, maybe because it's a little lengthy and it does point fingers. GCC 4.3.1 was also another difference and the remedy seems to compile that specific ebuild under gcc 4.1.2, but it will be interesting if this only occurs with nvidia users. |
|
| Back to top |
|
 |
i92guboj Bodhisattva


Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Fri Aug 01, 2008 12:55 pm Post subject: |
|
|
| KungFuJesus wrote: | | yabbadabbadont wrote: | | KungFuJesus wrote: | But this is why they're marked testing, so that we can test them and report back the bugs . |
Did you actually file any bugs?  |
https://bugs.gentoo.org/show_bug.cgi?id=233302
Looks like a filed bug report to me... I think I was very constructive i92guboj. And curious enough, I find it even more appropriate to the title that another person having the issue is using nvidia's drivers. However, I won't blindly blame nvidia just yet, as I myself haven't tried a binary compiled with gcc 4.3.1 with any other video chipset.
I'd say it was far more than "just a rant" as the rant contained insight as to the peculiarness of the build and what had changed. As I see it, it's just a colorful and detailed description of my problem. I don't know why you're calling it a rant, maybe because it's a little lengthy and it does point fingers. GCC 4.3.1 was also another difference and the remedy seems to compile that specific ebuild under gcc 4.1.2, but it will be interesting if this only occurs with nvidia users. |
Sure it's not a rant right now. But you have just edited your own post today.
| Code: | | Last edited by KungFuJesus on Fri Aug 01, 2008 7:27 am; edited 2 times in total |
And the bug was opened like three days ago (mi post above is from almost 2 weeks ago):
| Code: | | Opened: 2008-07-29 18:12 |
I am not here to argue anyway. I am glad that the thread has turned into a way to solution something, rather than a rant. That's what's important, and not how it started. |
|
| Back to top |
|
 |
KungFuJesus n00b

Joined: 04 Mar 2007 Posts: 42
|
Posted: Fri Aug 01, 2008 5:10 pm Post subject: |
|
|
Only thing I changed was the title :-p. I file my bug reports when I have the time, . I must say that I did file that bug report before you posted your post, though | Quote: | | Posted: Tue Jul 29, 2008 2:53 pm | as seen here.
errr nevermind, you posted just before my bug report  |
|
| Back to top |
|
 |
|