Hello again I investigated a little bit deeper. I installed the 32 bit version of SuSE 9.3 in a spare partition. There I get the same sound problem with the kernel upgrade. So it is not a 64bit problem. Sorry for missusing this list. I looked at the kernel sources and downgraded one of the changes in the following file: /usr/src/linux-2.6.11.4-21.9/sound/core/oss/pcm_oss.c After that, my sound problem was gone. I don't know if I interduced some new problems with that change thou. Here is the patch: # diff -u /usr/src/linux-2.6.11.4-21.9/sound/core/oss/pcm_oss.c \ /usr/src/linux-2.6.11.4-21.9.WB/sound/core/oss/pcm_oss.c \ > patch_pcm_oss.c # cat patch_pcm_oss.c --- /usr/src/linux-2.6.11.4-21.9/sound/core/oss/pcm_oss.c 2005-08-19 18:46:25.000000000 +0200 +++ /usr/src/linux-2.6.11.4-21.9.WB/sound/core/oss/pcm_oss.c 2005-09-08 10:16:42.000000000 +0200 @@ -1537,15 +1537,12 @@ snd_pcm_oss_simulate_fill(substream, delay); info.bytes = snd_pcm_oss_bytes(substream, runtime->status->hw_ptr) & INT_MAX; } else { - delay = snd_pcm_oss_bytes(substream, delay); - if (stream == SNDRV_PCM_STREAM_PLAYBACK) { - info.blocks = (runtime->oss.buffer_bytes - delay - fixup) / runtime->oss.period_bytes; + delay = snd_pcm_oss_bytes(substream, delay) + fixup; + info.blocks = delay / runtime->oss.period_bytes; + if (stream == SNDRV_PCM_STREAM_PLAYBACK) info.bytes = (runtime->oss.bytes - delay) & INT_MAX; - } else { - delay += fixup; - info.blocks = delay / runtime->oss.period_bytes; + else info.bytes = (runtime->oss.bytes + delay) & INT_MAX; - } } if (copy_to_user(_info, &info, sizeof(info))) return -EFAULT; Regards Walter On Friday, 2. September 2005 22.27, Walter Betschart wrote:
Hello
I'm using SuSE 9.3 x86_64. My Motherboard: A8V Deluxe, VIA K8T800Pro/VT8237 CPU: AMD Athlon 64 3500 (Winchester) Onboard sound.
I'm having sound problems with MainActor. Package: MainActor-5-5.5.7-2.1 (you). MainActor uses /dev/dsp for sound.
Everything was fine with the kernels (all from SuSE): 2.6.11.4-20a 2.6.11.4-21.7
After I upgraded to the following kernels: 2.6.11.4-21.8 2.6.11.4-21.9 I got no sound in MainActor MediaPlayer and TimelinePreview.
MainActor displays no error message (console and log). Even when I start it with: ~> mactor /D (If I remove the soft link /dev/dsp, MainActor complains!) So I assume, MainActor can write to /dev/dsp but there the sound disappears in a black hole.
If I unload the ALSA sound modules (snd-via82xx, snd-pcm-oss etc.) and load the OS built-in module via82cxxx_audio, the sound is back, but the video does not play smoothly, and the sound gets chopped after a few seconds.
If I start Mainactor with: ~> artsdsp mactor I get sound too, but the application performance is useless.
If I boot with the kernel 2.6.11.4-21.7, everything is fine again.
It looks like the newer kernel versions don't support something MainActor depends on. I'm not having sound problems with any other application. And even the following is working: ~> cat /usr/share/tuxtype2/data/sounds/buzz.wav > /dev/dsp
Any help would be appreciated.
Regards, Walter