[Wine] 3D Multiseat & wine-1.1.14 - alsa sound problem

darion wineforum-user at winehq.org
Fri Feb 13 06:54:13 CST 2009


At june 2008 I wrote article how to build 3D Multiseat (http://www.automation.dn.ua/linux/3d-multiseat_en.html) - a system with one case and several graphics cards, monitors, keyboards and mouses. Allows multiple (4) users to play games simultaneously with one computer under wine.

I decide to "split" onboard 7.1 sound card to 4 users (in stereo mode). I put .asoundrc files in users home directory:

Code:

pcm.alc883 {
    type dmix
    ipc_key 2048
    slave {
        pcm "hw:0"
        rate 44100
        period_time 0
        period_size 1024
        channels 8
    }
    bindings {
        0 0
        1 1
        2 2
        3 3
        4 4
        5 5
        6 6
        7 7
    }
}
# green - "Front" in Alsa mixer
pcm.green {
    type plug
    slave {
        pcm "alc883"
        channels 8
    }
    ttable.0.0 1
    ttable.1.1 1
}
# gray - "Surround" in Alsa mixer
pcm.gray {
    type plug
    slave {
        pcm "alc883"
        channels 8
    }
    ttable.0.2 1
    ttable.1.3 1
}
# yelow - "Center" in Alsa mixer (mono?)
pcm.yelow {
    type plug
    slave {
        pcm "alc883"
        channels 8
    }
    ttable.0.4 1
    ttable.1.5 1
}
# black - Side in alsa mixer
pcm.black {
    type plug
    slave {
        pcm "alc883"
        channels 8
    }
    ttable.0.6 1
    ttable.1.7 1
}

pcm.!default {
    type plug
    slave {
        pcm "green" 
        channels 8
    }
}



I change only pcm "green" in pcm.!default section to "gray", "yellow", "black" to change output. And sound work on all sits separetely. I test it with mplayer, totem, etc and with wine 1.1.8

But with wine-1.1.14 sound split not working.


Code:

err:dsound:DSOUND_MixOne Fatal error. Under/Overflow? primary_done=12160, mixpos=85888/183272 (39654/84616), primary_mixpos=1584, writepos=1712, mixlen=8192




Bug can be reproduced with 7.1 output card. If you copy .asoundrc file to home directory and start wine. Without .asoundrc sound works, but I need split output.
http://www.automation.dn.ua/linux/3d-multiseat_en.html







More information about the wine-users mailing list