Public bug reported: A video played with Broadcom Crystal HD acceleration will not be able to use this acceleration after sending the machine to sleep and waking it back up.
The syslog will show something like this: Mar 15 07:43:43 Saffron kernel: [43680.046482] crystalhd 0000:0b:00.0: restoring config space at offset 0xf (was 0x159, writing 0x10b) Mar 15 07:43:43 Saffron kernel: [43680.046521] crystalhd 0000:0b:00.0: restoring config space at offset 0x6 (was 0x4, writing 0xf0000004) Mar 15 07:43:43 Saffron kernel: [43680.046538] crystalhd 0000:0b:00.0: restoring config space at offset 0x4 (was 0x4, writing 0xf0800004) Mar 15 07:43:43 Saffron kernel: [43680.046551] crystalhd 0000:0b:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x8) Mar 15 07:43:43 Saffron kernel: [43680.046567] crystalhd 0000:0b:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100106) Mar 15 07:43:43 Saffron kernel: [43680.049191] crystalhd 0000:0b:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 Mar 15 07:43:43 Saffron kernel: [43680.049206] crystalhd 0000:0b:00.0: setting latency timer to 64 Mar 15 07:43:43 Saffron kernel: [43680.049377] crystalhd 0000:0b:00.0: irq 47 for MSI/MSI-X Mar 15 07:43:43 Saffron kernel: [43680.049439] crystalhd_hw_resume: Invalid Arguments Mar 15 07:43:43 Saffron kernel: [43680.049445] crystalhd 0000:0b:00.0: Crystal HD Resume 1 The attached file goes to /etc/pm/sleep.d/ and unloads the module before suspend and reloads it after resume. The permissions for /dev/crystalhd are also reset to world-writable. This is not the default in Ubuntu and I don't know if there are any security risks associated with it. You can just leave that line out of course. Then people won't be worse off after resume than before ... that is, only root will be able to play accelerated video. Maybe that's for another bug report. I agree that this workaround is not ideal. The "crystalhd_hw_resume: Invalid Arguments" should never happen I suppose. But this is a working kludge that might be the only way to fix this issue in time for 12.04 final. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: crystalhd-dkms 1:0.0~git20110715.fdd2f19-4 ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Thu Mar 15 08:32:26 2012 EcryptfsInUse: Yes InstallationMedia: Lubuntu 12.04 "Precise Pangolin" - Alpha amd64 (20120201.1) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm PATH=(custom, user) LANG=en_GB.UTF-8 SHELL=/usr/bin/fizsh SourcePackage: crystalhd UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: crystalhd (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/955771 Title: crystalhd doesn't survive suspend/resume To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/crystalhd/+bug/955771/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs