LinHES Forums http://forum.linhes.org/ |
|
R5D1 choppy audio w/ XVMC & OpenGL Vertical Sync http://forum.linhes.org/viewtopic.php?f=6&t=11354 |
Page 1 of 1 |
Author: | marc.aronson [ Mon Aug 28, 2006 11:11 pm ] |
Post subject: | R5D1 choppy audio w/ XVMC & OpenGL Vertical Sync |
I just upgraded from R5A30.2 to R5D1. Under R5A30.2 w/ Nvidia driver version 8756 I was able to achieve very smooth video playback with XVMC, bob2x deinterlace and enabling OpenGL vertical sync. Under R5D1 I was experiencing choppy audio when I used this combination. I've found that the choppy audio goes away if I disabled OpenGL vertical sync for timing. Has anyone else observed this and is there anything else I can tweak so that audio will be OK w/ out having to disable OpenGL vertical sync? Thanks! Note: I edited this post as I incorrectly identified the driver version as 8572. The correct version number is 8756. marc |
Author: | EvilTwin [ Tue Aug 29, 2006 6:42 am ] |
Post subject: | |
The nvidia driver version in R5D1 should be 1.0-8774... |
Author: | nybbler [ Tue Aug 29, 2006 9:33 am ] |
Post subject: | |
Sounds like "extra audio buffering" got turned off. It's necessary for XvMC. |
Author: | marc.aronson [ Tue Aug 29, 2006 10:20 am ] |
Post subject: | |
Thanks for the replies. This problem also occured for me with nvidia driver version 8774; I already have "extra audio buffering" enabled. Marc |
Author: | Liv2Cod [ Tue Aug 29, 2006 11:57 am ] |
Post subject: | |
Out of curiosity, what does the OpenGL sync buy you? I've never had it work on my system. I use software decoding on my 3.0GHz P4 HT system. |
Author: | marc.aronson [ Tue Aug 29, 2006 12:07 pm ] |
Post subject: | |
In a prior experiment it helped me achieve smoother video playback. Howver, the playback still wasn't perfectly smooth so I continued my experimenting. I then replaced my FX5200 with an FX6200 and found that XVMC was suddenly stable and provided totally smooth video, even on myth 0.18. When I say smooth, I mean perfect. So I stayed with that, very happy. When I upgraded to 0.19 via R5D1 I ran into the choppy audio problem. The choppy audio only happens when XVMC is enabled and through experimentation, found that disabiling OpenGL sync eliminated the problem. The reality check is that I may find that OpenGL vsync is not necessary anymore. It will require a few hours of viewing various types of shows before I know for certain that the video playback is not adversly effected by deselecting OpenGL vsync. Marc |
Author: | RacerX [ Tue Aug 29, 2006 12:16 pm ] |
Post subject: | |
I just had a chance to experiment on R5D1 since this is the first release that detects all of the hardware of my Gigabyte board. I agree Marc that OpenGL Vsync should not be checked. I tried out all three options for deinterlacing (standard, kernel, and X2bob) and standard worked the best for me with Live TV. I'm getting a little bit of choppy audio consistently on two channels but I'm using Nforce 6150 onboard video... |
Author: | marc.aronson [ Tue Aug 29, 2006 1:15 pm ] |
Post subject: | |
Racerx, when you say "standard" deinterlacing, do you mean liner blend? I don't see a deinterlace mode called "standard". Have you tried XVMC? |
Author: | Human [ Tue Aug 29, 2006 1:18 pm ] |
Post subject: | Re: R5D1 choppy audio w/ XVMC & OpenGL Vertical Sync |
marc.aronson wrote: Under R5D1 I was experiencing choppy audio when I used this combination.
All the time, or only when the OSD appears and disappears? Also, do you get a black and white OSD with XvMC? |
Author: | RacerX [ Tue Aug 29, 2006 1:23 pm ] |
Post subject: | |
Sorry I should have said linear blend which is the option by default when you first install... I'll try and test it little more tonight when more HD shows are on .... |
Author: | marc.aronson [ Tue Aug 29, 2006 1:29 pm ] |
Post subject: | |
Human, the choppy audio happens all the time when using XVMC + OpenGL Vsync. If I turn on the display of closed caption, the audio stabalizes for a few seconds, but then starts to chop again. The OSD is in B&W, not color. I consider this a reasonable tradeoff in exchange for perfectly smooth video playback and a massive reduction in CPU utilization. marc |
Author: | Human [ Tue Aug 29, 2006 1:37 pm ] |
Post subject: | |
marc.aronson wrote: Human, the choppy audio happens all the time when using XVMC + OpenGL Vsync.
XvMC is 98% of the way there on Dragon. If I reconfigure to use XvMC, I only get choppy audio for a second when the OSD is fading out after a fast forward/rewind or skip operation. It's a tradeoff between that and libmpeg2 which has no audio problems but which gets stuck fast forwarding or rewinding and produces pixellated frames doing it. Currently I use libmpeg2 by default. |
Author: | thornsoft [ Tue Aug 29, 2006 2:03 pm ] |
Post subject: | |
Human wrote: XvMC is 98% of the way there on Dragon. If I reconfigure to use XvMC, I only get choppy audio for a second when the OSD is fading out after a fast forward/rewind or skip operation. It's a tradeoff between that and libmpeg2 which has no audio problems but which gets stuck fast forwarding or rewinding and produces pixellated frames doing it. Currently I use libmpeg2 by default.
This what I see. I've got mine set to notify on commercials, so it starts stuttering/garbling as the OSD appears to notify of the commercial. Then I do a CM skip, and it' ok after the OSD goes away again. Consequently, it doesn't intrude on the show that I'm actually watching. Likewise, the FF> buttons work great now too, smoothly playing, no pixels, and not getting stuck or dropping out like they did without XvMC. I'm loving the XvMC on my near-Dragon. |
Author: | thornsoft [ Tue Aug 29, 2006 2:05 pm ] |
Post subject: | |
marc.aronson wrote: massive reduction in CPU utilization.
It's amazing, isn't it? X is running at <= 1% now. TOP usually uses more CPU than X! I can finally run commflag during primetime. Awesome. |
Author: | marc.aronson [ Wed Aug 30, 2006 11:44 am ] |
Post subject: | |
After watching a few shows I've come to the conclusion that I can just leave the "OpenGL vsync" option turned off. The video is fine without selecting this option and the audio problem goes away. I used to need this option under R5A30.2, but when life changes, I figure the best bet is to just "go with the flow" ![]() Thanks to everyone for all the quick feedback! Marc |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |