The following problem occurred only after installing the proprietary ATI driver for the Radeon X300 card of my Dell desktop computer. The reason why I installed that driver is that Google Earth will run extremely slow with the default (SuSE 10.1) display drivers. After creating an RPM to install the ATI driver (instructions on
these pages), I checked to see if everything still works. Indeed, Google Earth (and any other fps-dependent application) runs like 40 times faster now. The only problem I've encountered are with the Audigy 2 sound card of my computer.
When suspending (to disk; my box can't handle other suspend methods well) for the first time, the box hang with a message that kept getting displayed (and no way to get out of this except for pressing the Off button long enough to make the box shut down):
Code:
artemis kernel: ALSA sound/pci/emu10k1/emufx.c:1435: Installing spdif_bug patch: Audigy 2 [Unknown]
The workaround I found is to unload ALSA in /etc/powersafe/sleep (apparently, the RESTART variable controls both unloading and loading, but it's probably safe to set the UNLOAD variable, too:
Code:
SUSPEND2DISK_RESTART_SERVICES="alsasound"
UNLOAD_MODULES_BEFORE_SUSPEND2DISK="alsasound"
Unfortunately, my computer doesn't resume properly from suspend to disk; no matter how I tried it wouldn't reload the unloaded alsasound module. Rather than that, I need to reload it manually now, like this:
Code:
artemis~ # rcalsasound status
ALSA sound driver not loaded.**********************************unused
artemis~ # rcalsasound reload
Starting sound driver:**emu10k1 intel8x0************************ done
The problem here is, apart from the inconvenience, that the KDE sound server needs to be restarted after the alsasound module loaded, and even then KDE refuses to automatically play system sounds (although the sound server works fine, and all other applications don't have any problems playing sounds).
I thought /var/log/suspend2disk.log would give an indication of what's going wrong, but it doesn't. Here are the relevant lines:
Code:
Stopping services: ('alsasound' configured)
stopping alsasound:
##**Shutting down sound driver..done
------------------------------------------------------------------------------
Unloading modules: ('alsasound' configured)
checking alsasound
------------------------------------------------------------------------------
prepare_sleep finished for suspend2disk
------------------------------------------------------------------------------
preparing boot-loader: selecting entry 0, kernel /boot/2.6.16.27-0.6-smp
saving original /boot/grub/default
running '/usr/sbin/grubonce 0'
**time needed for sync: 2.1 seconds, time needed for grub: 0.1 seconds.
calculated image_size: 500
========we are back from suspend, cleaning up.========
restoring original /boot/grub/default
== restore_after_sleep: restart and reload everything ==
Resuming:
---------
Reloading modules:
Restarting services:
starting alsasound:
Remounting filesystems:
Any pointers where to continue tracking down the cause of the problem? Thanks much in advance!