This is not really a bug report, more like an ebuild request. Currently, it is impossible to use vmware with sound at the same time as arts or esd running. This makes it impossible to use vmware fully in neither gnome nor kde. A solution exists, it's called vmwaredsp, from the same guy who does the any-any thingy already included in vmware ebuilds. I looked at it, and it's very simple, the tarball is only 51kb including source and prebuild bins. I suppose it would be really easy to make an ebuild out of it, but I'm sadly unable to do so right now, as I know nothing about proper ebuild writting. Is anyone interested? Thanks in advance... Reproducible: Always Steps to Reproduce: 1. Use vmware while running arts or esd Actual Results: VMWare can't make use of /dev/dsp, hence no sound. Expected Results: We should be able to have sound inside vmware, even when using arts or esd. Here is the url to the latest vmwaredsp : http://ftp.cvut.cz/vmware/vmwaredsp-1.3.tar.gz
Created attachment 70416 [details] app-emulation/vmwaredsp-1.3.ebuild Poor man's attempt at recreating the runme.sh script included with the tar file. While there IS source included, compiling it is a pain, due to a lot of if's with libraries, architectures, include locations, etc. I tried to limit the install based on system architecture. If arch is x86 ONLY, the 32 bit libraries ONLY are installed. If arch is amd64 or ia64, then the 64 bit libraries ONLY are installed. The maintainers may wish to alter the code for determining the architecture and decide if they wish to compile the sources. NOTE: the libvmdsp.so file must be setuid in order to work. I know this is a gentoo no-no, but I had to do it. You could take it out and add an ewarn in the post_inst function. Also, even though I set permissions in src_install, the ebuild script still insists on doing the prepall script. I can't figure out how NOT to have it duplicated. Anyway, the emerge process wrecks the permissions of libvmdsp.so to make it unusable, so I had to kludge it back in pkg_postinst. I hope this works and helps out some people. Feel free to add no ARCHs and let's see if we can make this work for more people.
sorry about the earlier typos. "Feel free to add no ARCHs" s/b NEW ARCHs. Ugh. Also, bug submitter or maintainer may wish to change the KEYWORD to EBUILD since one has been submitted. As a matter of education, how does one stop the prepall script from running during the install process? I tried adding it to RESTRICTED, but it seemed to have no effect. The end part of the emerge is really ugly changing the perms of libvmdsp.so again to 4444. I look forward to seeing this improved on and any comments. Thx
Changed. You guys don't need to email me. I get bug emails.
Hi, i have test vmwaredsp (vmwarearts) with 5.5.1.19175, but it don't work for me. Error: Could not open /dev/dsp Greetings Jan
Created attachment 82316 [details] vmwaredsp-1.3-r1.ebuild * added a rudimental sound server selection (arts and esd IUSE)
no alsa support? or only alsa via esd?
I added my own ebuild for this to the tree. It doesn't use the binaries, at all.
Sorry that I stumbled over this bug so late. Some time ago I wrote the ALSA part for vmwaredsp. It is available from: https://www.sokrates.homelinux.net/~thomas/Wiki/index.php?n=Thomas.MiscellaneousStuff#toc2 The driver is a bit rudimentary but plays some tunes quite nicely. It has problems as soons as different sampling rates are involved at the same time. Anyway, it is a start. Feel free to add the driver to Gentoo if you think it is worth it. But be aware that I cannot maintain it anymore because I switched over to Linux on a PowerPC-G4 for that no VmWare is available. Enjoy, Thomas