bttv driver latency issues with AMD C1E enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
Binary package hint: linux-source
My TV card (Leadtek Winfast TV2000/XP) seems to work only with acpi=off passed to kernel. When ACPI is enabled, the picture is just a slideshow, trying acpi=noirq makes the slideshow just a little faster. This can be reproduced with any kernel from 2.6.29 to 2.6.32 from mainline ppa, I tried both Hardy LTS and Karmic, didn't try older kernels as they fail to boot. This is no X problem, the behavior can be reproduced even without X and with nvidia module unloaded just by capturing a bit of video. I tried also to recompile bttv driver with IRQF_SHARED or IRQF_DISABLED explicitly declared, it didn't change a thing. The rest of PCI hardware seems to work fine.
When the picture is stuttering dmesg reports:
[ 78.044297] bttv0: timeout: drop=301 irq=1092/1092, risc=595e2b3c, bits: HSYNC OFLOW
[ 78.604537] bttv0: timeout: drop=312 irq=1132/1132, risc=56822b5c, bits: HSYNC OFLOW
[ 1081.948327] bttv0: timeout: drop=323 irq=1192/1192, risc=69dad6bc, bits: HSYNC OFLOW
Edit: The card works normally after disabling C1E in BIOS. It seems to be a duplicate of this bug:
http://
If BIOS does not allow to disable C1E the idle=mwait kernel parameter may be used to prevent CPU from entering C1E.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu3
Architecture: i386
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'CA0106'/'Audigy SE [SB0570] at 0xdc00 irq 19'
Mixer name : 'CA0106'
Components : ''
Controls : 35
Simple ctrls : 18
CasperVersion: 1.287
DistroRelease: Ubuntu 11.10
IwConfig:
lo no wireless extensions.
eth0 no wireless extensions.
LiveMediaBuild: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
MachineType: System manufacturer System Product Name
Package: linux (not installed)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: file=/cdrom/
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.60
RfKill:
Tags: oneiric running-unity
Uname: Linux 3.0.0-12-generic i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 09/10/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0901
dmi.board.
dmi.board.name: M3N78-EM
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev X.0x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
description: | updated |
description: | updated |
description: | updated |
description: | updated |
summary: |
- bttv driver working only with acpi=off on ASUS M3N78-EM + bttv driver latency issues with AMD C1E enabled |
tags: | added: kj-triage |
tags: | added: needs-upstream-testing |
[This is an automated message. Apologies if it has reached you inappropriately.]
This bug was reported against the linux-meta package when it likely should have been reported against the linux package instead. We are automatically transitioning this to the linux kernel package so that the appropriate teams are notified and made aware of this issue.
If this bug really is a bug in the linux-meta package you can move it back to linux-meta and tag it kj-linux-meta, or contact us on the #ubuntu-kernel channel on the FreeNode IRC server. Thanks.