From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JILl7-0002eO-LJ for garchives@archives.gentoo.org; Fri, 25 Jan 2008 10:26:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9170E0056; Fri, 25 Jan 2008 10:26:03 +0000 (UTC) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A1AD6E0056 for ; Fri, 25 Jan 2008 10:26:03 +0000 (UTC) Received: by py-out-1112.google.com with SMTP id w53so728797pyg.25 for ; Fri, 25 Jan 2008 02:26:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=oX+RHviY7lSfTNMzKX2NRhrgKN7+W1HOw+5pIz33wcw=; b=cjZs5R4BAFvjx7BM48UpCPbvkcUmg2z6sqFm0HW+jU8qa9pwUKvSTmd4PruJxbHNRLDsCI2BRwRBPjk+2rK1qTI26aqLoJH1v+O7TY3RdcHmkfVvJxUknAtIHUz82ENMurUWqlxW2lSkcqxKYsY/RYHbrYYKlq7S8p0HEN5umjM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ZfQ+hYLtvrDOjb4ZfQ4x8hpdUYnD7tbh19MrDK7PZhFebQB+cX+cO/JKNJUwn6AMBcQy+FMagrl10lJ7Ir0njLzwTWENvR5CcZXwfqQEw/OrWwSLKNcBDeMktAUmRePc8lDt8Ne5TK2HqP/osEps6hKpTOcjNrhK6Zb4ZKDwq5k= Received: by 10.35.103.6 with SMTP id f6mr2032863pym.45.1201256763472; Fri, 25 Jan 2008 02:26:03 -0800 (PST) Received: by 10.35.76.6 with HTTP; Fri, 25 Jan 2008 02:26:03 -0800 (PST) Message-ID: <184110a70801250226r539e5e4ahd18c13dc2c58cfaf@mail.gmail.com> Date: Fri, 25 Jan 2008 19:26:03 +0900 From: "Mike Mazur" To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Choppy video playback Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Archives-Salt: ec3cb746-f167-4d6d-ae6f-9160ad8e201f X-Archives-Hash: a349c481031b5813a6473a0cb63f0fbe Hi, I'm having choppy video playback in mplayer, vlc and also in Firefox on YouTube and the like. I notice a video freeze every 1-2 seconds or so, then the video snaps back to where it should be. The audio sounds fine. Mplayer often spits out a warning message[1]. I also noticed that typing into forms (like an email in Gmail) in Firefox, after Firefox has been running a few hours also suffers from this freeze every 1-2 seconds. A typical workload is Gnome, Firefox, Claws-Mail, Pidgin, Tomboy, xmms2 and a bunch of terminals with SSH sessions and irssi. I have an Intel Core 2 Duo 2GHz with 2 GB of RAM, so this shouldn't be happening. I'm running kernel 2.6.23-gentoo-r3. I don't remember when exactly this started, I don't really watch video too often. Could it be the scheduler with which my kernel is compiled? Currently it's set to "Preemptible Kernel (Low-Latency Desktop)". Any ideas? What to start tweaking with? Thanks for any help, Mike [1] Mplayer warning message: ************************************************ **** Your system is too SLOW to play this! **** ************************************************ Possible reasons, problems, workarounds: - Most common: broken/buggy _audio_ driver - Try -ao sdl or use the OSS emulation of ALSA. - Experiment with different values for -autosync, 30 is a good start. - Slow video output - Try a different -vo driver (-vo help for a list) or try -framedrop! - Slow CPU - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts, e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all. - Broken file - Try various combinations of -nobps -ni -forceidx -mc 0. - Slow media (NFS/SMB mounts, DVD, VCD etc) - Try -cache 8192. - Are you using -cache to play a non-interleaved AVI file? - Try -nocache. Read DOCS/HTML/en/video.html for tuning/speedup tips. If none of this helps you, read DOCS/HTML/en/bugreports.html. -- gentoo-user@lists.gentoo.org mailing list