CentOS 6.2 audio and video playback are slightly too fast or skippy

Issues related to hardware problems

CentOS 6.2 audio and video playback are slightly too fast or skippy

Postby pianodreamer » 2012/01/17 05:30:05

Hello,

I just installed CentOS 6.2 on an older machine.

When I play videos in totem, the audio and video are synced, but slightly too fast and the audio is pitch shifted up. If if play the same file in VLC, the video is smoth, and the audio has no pitch shift, but every couple of seconds it will cut out for a fraction of a second.

I did some googling, and found some bug reports for fedora describing similar behavior with the same sound card that I have, but a different kernel.

https://bugzilla.redhat.com/show_bug.cgi?id=496119
https://bugzilla.redhat.com/show_bug.cgi?id=441087

As per this suggestion: https://bugzilla.redhat.com/show_bug.cgi?id=441087#c17 I created a file /etc/modprobe.conf in gedit and added the following text:

Code: Select all
options snd_intel8x0 ac97_clock=48000


I restarted my computer, and now there is no skipping in vlc or totem, but the playback is slow and the audio is pitch shifted down.

At this point I've run out of ideas. Anyone else have any?


getinfo.sh output:

Information for general problems.
Code: Select all
== BEGIN uname -rmi ==
2.6.32-220.2.1.el6.i686 i686 i386
== END   uname -rmi ==

== BEGIN rpm -qa \*-release\* ==
adobe-release-i386-1.0-1.noarch
centos-release-6-2.el6.centos.7.i686
epel-release-6-5.noarch
rpmforge-release-0.5.2-2.el6.rf.i686
== END   rpm -qa \*-release\* ==

== BEGIN cat /etc/redhat-release ==
CentOS release 6.2 (Final)
== END   cat /etc/redhat-release ==

== BEGIN getenforce ==
Enforcing
== END   getenforce ==

== BEGIN free -m ==
             total       used       free     shared    buffers     cached
Mem:           482        460         22          0         41        242
-/+ buffers/cache:        176        305
Swap:          991          0        991
== END   free -m ==

== BEGIN rpm -qa yum\* rpm-\* python | sort ==
python-2.6.6-29.el6.i686
rpm-libs-4.8.0-19.el6.i686
rpm-python-4.8.0-19.el6.i686
yum-3.2.29-22.el6.centos.noarch
yum-metadata-parser-1.1.2-16.el6.i686
yum-plugin-fastestmirror-1.1.30-10.el6.noarch
yum-plugin-security-1.1.30-10.el6.noarch
yum-utils-1.1.30-10.el6.noarch
== END   rpm -qa yum\* rpm-\* python | sort ==

== BEGIN ls /etc/yum.repos.d ==
adobe-linux-i386.repo
CentOS-Base.repo
CentOS-Debuginfo.repo
CentOS-Media.repo
epel.repo
epel-testing.repo
mirrors-rpmforge
mirrors-rpmforge-extras
mirrors-rpmforge-testing
rpmforge.repo
== END   ls /etc/yum.repos.d ==

== BEGIN cat /etc/yum.conf ==
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release

#  This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
#  It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
== END   cat /etc/yum.conf ==

== BEGIN yum repolist all ==
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirror.spro.net
 * extras: mirrors.kernel.org
 * rpmforge: ftp-stud.fht-esslingen.de
 * updates: mirror.5ninesolutions.com
repo id                repo name                                  status
adobe-linux-i386       Adobe Systems Incorporated                 enabled:    17
base                   CentOS-6 - Base                            enabled: 4,764
c6-media               CentOS-6 - Media                           disabled
centosplus             CentOS-6 - Plus                            disabled
contrib                CentOS-6 - Contrib                         disabled
debug                  CentOS-6 - Debuginfo                       disabled
epel                   Extra Packages for Enterprise Linux 6 - i3 disabled
epel-debuginfo         Extra Packages for Enterprise Linux 6 - i3 disabled
epel-source            Extra Packages for Enterprise Linux 6 - i3 disabled
epel-testing           Extra Packages for Enterprise Linux 6 - Te disabled
epel-testing-debuginfo Extra Packages for Enterprise Linux 6 - Te disabled
epel-testing-source    Extra Packages for Enterprise Linux 6 - Te disabled
extras                 CentOS-6 - Extras                          enabled:     3
rpmforge               RHEL 6 - RPMforge.net - dag                enabled: 4,142
rpmforge-extras        RHEL 6 - RPMforge.net - extras             disabled
rpmforge-testing       RHEL 6 - RPMforge.net - testing            disabled
updates                CentOS-6 - Updates                         enabled:   156
repolist: 9,082
== END   yum repolist all ==

== BEGIN egrep 'include|exclude' /etc/yum.repos.d/*.repo ==
== END   egrep 'include|exclude' /etc/yum.repos.d/*.repo ==

== BEGIN sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==
== END   sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==

== BEGIN cat /etc/fstab ==

#
# /etc/fstab
# Created by anaconda on Thu Jan 12 03:01:33 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_c76104200230-lv_root /                       ext4    defaults        1 1
UUID=06d075f1-63bf-4545-8b9a-5b7447ffa65c /boot                   ext4    defaults        1 2
/dev/mapper/vg_c76104200230-lv_swap swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
== END   cat /etc/fstab ==

== BEGIN df -h ==
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_c76104200230-lv_root
                       17G  6.0G   11G  36% /
tmpfs                 242M  364K  241M   1% /dev/shm
/dev/sdc2             485M   51M  409M  12% /boot
/dev/sda1             466G  395G   72G  85% /media/TOSHIBA EXT-1
== END   df -h ==

== BEGIN fdisk -l ==
Disk /dev/mapper/vg_c76104200230-lv_root doesn't contain a valid partition table
Disk /dev/mapper/vg_c76104200230-lv_swap doesn't contain a valid partition table

Disk /dev/sdc: 40.0 GB, 40020664320 bytes
207 heads, 18 sectors/track, 20978 cylinders
Units = cylinders of 3726 * 512 = 1907712 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00021894

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1       10488    19539135    7  HPFS/NTFS
/dev/sdc2           10489       10764      512000   83  Linux
/dev/sdc3           10764       20978    19030016   8e  Linux LVM

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x7c225f15

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       60802   488384536    7  HPFS/NTFS

Disk /dev/sdb: 4098 MB, 4098883584 bytes
127 heads, 62 sectors/track, 1016 cylinders
Units = cylinders of 7874 * 512 = 4031488 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System

Disk /dev/mapper/vg_c76104200230-lv_root: 18.4 GB, 18442354688 bytes
255 heads, 63 sectors/track, 2242 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/vg_c76104200230-lv_swap: 1040 MB, 1040187392 bytes
255 heads, 63 sectors/track, 126 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

== END   fdisk -l ==

== BEGIN blkid ==
/dev/sdc1: UUID="D058A74658A72A64" TYPE="ntfs"
/dev/sdc2: UUID="06d075f1-63bf-4545-8b9a-5b7447ffa65c" TYPE="ext4"
/dev/sdc3: UUID="lCHiGa-Jkgd-zJ4L-Iq7u-zU11-k1e0-f04e11" TYPE="LVM2_member"
/dev/sda1: LABEL="TOSHIBA EXT" UUID="68E22087E2205B96" TYPE="ntfs"
/dev/mapper/vg_c76104200230-lv_root: LABEL="_CentOS-6.2-i386" UUID="aebfe2d9-687a-4adb-9ac5-a91874907811" TYPE="ext4"
/dev/sdb: UUID="0123-4567" TYPE="vfat"
/dev/mapper/vg_c76104200230-lv_swap: UUID="5634c9e7-e3c0-4381-b18c-75525907b397" TYPE="swap"
== END   blkid ==

== BEGIN cat /proc/mdstat ==
Personalities :
unused devices: <none>
== END   cat /proc/mdstat ==

== BEGIN pvs ==
  PV         VG              Fmt  Attr PSize  PFree
  /dev/sdc3  vg_c76104200230 lvm2 a--  18.14g    0
== END   pvs ==

== BEGIN vgs ==
  VG              #PV #LV #SN Attr   VSize  VFree
  vg_c76104200230   1   2   0 wz--n- 18.14g    0
== END   vgs ==

== BEGIN lvs ==
  LV      VG              Attr   LSize   Origin Snap%  Move Log Copy%  Convert
  lv_root vg_c76104200230 -wi-ao  17.18g                                     
  lv_swap vg_c76104200230 -wi-ao 992.00m                                     
== END   lvs ==

== BEGIN rpm -qa kernel\* | sort ==
kernel-2.6.32-220.2.1.el6.i686
kernel-2.6.32-220.el6.i686
kernel-firmware-2.6.32-220.2.1.el6.noarch
== END   rpm -qa kernel\* | sort ==

== BEGIN lspci -nn ==
00:00.0 Host bridge [0600]: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface [8086:2570] (rev 02)
00:02.0 VGA compatible controller [0300]: Intel Corporation 82865G Integrated Graphics Controller [8086:2572] (rev 02)
00:03.0 PCI bridge [0604]: Intel Corporation 82865G/PE/P PCI to CSA Bridge [8086:2573] (rev 02)
00:06.0 System peripheral [0880]: Intel Corporation 82865G/PE/P Processor to I/O Memory Interface [8086:2576] (rev 02)
00:1d.0 USB controller [0c03]: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 [8086:24d2] (rev 02)
00:1d.1 USB controller [0c03]: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 [8086:24d4] (rev 02)
00:1d.2 USB controller [0c03]: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 [8086:24d7] (rev 02)
00:1d.3 USB controller [0c03]: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 [8086:24de] (rev 02)
00:1d.7 USB controller [0c03]: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller [8086:24dd] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev c2)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge [8086:24d0] (rev 02)
00:1f.1 IDE interface [0101]: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller [8086:24db] (rev 02)
00:1f.2 IDE interface [0101]: Intel Corporation 82801EB (ICH5) SATA Controller [8086:24d1] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller [8086:24d3] (rev 02)
00:1f.5 Multimedia audio controller [0401]: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller [8086:24d5] (rev 02)
02:01.0 Ethernet controller [0200]: Intel Corporation 82547EI Gigabit Ethernet Controller [8086:1019]
== END   lspci -nn ==

== BEGIN lsusb ==
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0480:a006 Toshiba America Info. Systems, Inc.
Bus 001 Device 004: ID 0781:7433 SanDisk Corp. Sansa Clip (msc)
Bus 003 Device 002: ID 413c:3012 Dell Computer Corp. Optical Wheel Mouse
== END   lsusb ==

== BEGIN rpm -qa kmod\* kmdl\* ==
== END   rpm -qa kmod\* kmdl\* ==

== BEGIN ifconfig -a ==
eth0      Link encap:Ethernet  HWaddr 00:0C:F1:7F:0E:23 
          inet addr:76.104.200.230  Bcast:76.104.203.255  Mask:255.255.252.0
          inet6 addr: fe80::20c:f1ff:fe7f:e23/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:19161 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4371 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6349118 (6.0 MiB)  TX bytes:545672 (532.8 KiB)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:340 (340.0 b)  TX bytes:340 (340.0 b)

== END   ifconfig -a ==

== BEGIN brctl show ==
bridge name   bridge id      STP enabled   interfaces
== END   brctl show ==

== BEGIN route -n ==
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
76.104.200.0    0.0.0.0         255.255.252.0   U     1      0        0 eth0
0.0.0.0         76.104.200.1    0.0.0.0         UG    0      0        0 eth0
== END   route -n ==

== BEGIN cat /etc/resolv.conf ==
# Generated by NetworkManager
domain hsd1.wa.comcast.net.
search hsd1.wa.comcast.net.
nameserver 75.75.75.75
nameserver 75.75.76.76
== END   cat /etc/resolv.conf ==

== BEGIN grep net /etc/nsswitch.conf ==
#networks:   nisplus [NOTFOUND=return] files
#netmasks:   nisplus [NOTFOUND=return] files     
netmasks:   files
networks:   files
netgroup:   nisplus
== END   grep net /etc/nsswitch.conf ==

== BEGIN chkconfig --list | grep -Ei 'network|wpa' ==
NetworkManager    0:off   1:off   2:on   3:on   4:on   5:on   6:off
network           0:off   1:off   2:off   3:off   4:off   5:off   6:off
wpa_supplicant    0:off   1:off   2:off   3:off   4:off   5:off   6:off
== END   chkconfig --list | grep -Ei 'network|wpa' ==

pianodreamer
 
Posts: 4
Joined: 2012/01/16 01:52:10

CentOS 6.2 audio and video playback are slightly too fast or

Postby pschaff » 2012/01/17 16:45:08

You might want to try the ELRepo kmod-alsa drivers and/or xorg-x11-drv-intel.

I notice you have multiple 3rd part repos installed, but fortunately EPEL is not enabled along with RPMforge. You may want to consider using the yum priorities plugin.
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America


Return to CentOS 6 - Hardware Support

Who is online

Users browsing this forum: No registered users and 1 guest