Qemu-devel Digest, Vol 189, Issue 424
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 122 lines · On Dec 31, 2018, at 12:00 PM, [email protected] wrote:
Message: 2
Date: Mon, 31 Dec 2018 16:50:47 +0100
From: "=?UTF-8?B?S8WRdsOhZ8OzIFpvbHTDoW4=?=" <[email protected]>
To: Programmingkid <[email protected]>
Cc: QEMU Developers <[email protected]>, Gerd Hoffmann
<[email protected]>
Subject: Re: [Qemu-devel] [PATCH v2 00/52] Audio 5.1 patches
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8Quoted 97 lines · Programmingkid
Quoted 97 lines · Zolt?n K?v?g?
Quoted 79 lines · Programmingkid
Quoted 79 lines · K?v?g? Zolt?n
Quoted 63 lines · Programmingkid
Quoted 9 lines · K?v?g? Zolt?n
Hi,
I've pushed it to my github (modulo some random fixes not yet on the mailing list):
https://github.com/DirtYiCE/qemu/tree/audio-51-2018Quoted 36 lines
I don't have a mac so I have no idea whether it works or not.
Regards,
ZoltanQuoted 29 lines · Programmingkid
Quoted 13 lines · On Dec 23, 2018, at 3:52 PM, [email protected] wrote:
Message: 4
Date: Sun, 23 Dec 2018 21:51:36 +0100
From: "=?UTF-8?q?K=C5=91v=C3=A1g=C3=B3=2C=20Zolt=C3=A1n?="
<[email protected]>
To: [email protected]
Cc: Gerd Hoffmann <[email protected]>
Subject: [Qemu-devel] [PATCH v2 00/52] Audio 5.1 patches
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8Quoted 7 lines
Hi,
I've updated my audio patchset to the current git master. Other than that not much happened since my last update [1], fixed a few small problems that I noticed while rebasing my patches.
Please review.
<snip>
Hi I would like to run your patches. Do you have a repository that I may clone?
Also have you been able to test these patches using a Mac OS X guest yet?
Thank you.
Hi, thanks for the link. This is what I did:
- git clone https://github.com/DirtYiCE/qemu.git
- git checkout audio-51-2018
- ./configure --target-list=ppc-softmmu
- make -j 4The result was unfortunately some errors:
CC
audio/coreaudio.oaudio/coreaudio.c:413:49: error: unknown type name 'HWVocieOut'; did you mean
'HWVoiceOut'?
COREAUDIO_WRAPPER_FUNC(get_buffer_out, void *, (HWVocieOut *hw,size_t*size),^~~~~~~~~~ HWVoiceOutQuoted 7 lines
audio/coreaudio.c:578:29: error: passing 'structaudio_pcm_info' to parameter of
incompatible type 'structaudio_pcm_info*'; take the address with &coreaudio_get_flags(hw->info, as); ^~~~~~~~ &Hi,
I pushed an updated version, it should fix the compile errors (hopefully).
Quoted 9 lines
Quoted 2 lines
Regards,
ZoltanThank you for the update. I tested this series using a Mac OS 10.4 and Windows 2000 guest. Both were using a USB sound card. The sound that comes out of my speakers is demonic! It is the loudest, scariest sound I have ever heard. I'm sorry but this patch series ruins the USB sound card.
I am happy to test out any future updates that you make this patch series.
Thank you.
I'm sorry to hear that. Could you please test it with some other card, like the hda? Even though usb works fine for me on Linux with alsa so the problem is probably with the coreaudio backend.
Quoted 9 lines
Quoted 2 lines
Regards,
ZoltanI tried ac97 with a Windows 2000 guest in qemu-system-i386 - same demonic sound.
With the above configuration but with an es1370 sound card I heard the same sound. I kept seeing "es1370: warning: non looping mode" being printed in the terminal. This problem might need its own patch. Using the sb16 sound card I heard the same unsettling sound.I could not test the HDA driver due to problems with my Windows 7 VM.
Quoted 8 lines
I have a feeling that
bf870a0cf5e2c2dd7438e65473b4fca1fb0ca5d1(coreaudio: port to the new audio backend api) is the commit which breaks it, but without a mac I don't know how could I debug it. The way it initializes coreaudio changed a bit, that can cause problems. Could you please test whether this commit is the culprit or not?Regards,
Zoltan
Hi how do you want me to test your theory? Revert the patch? If I did would QEMU still compile?
Re: [Qemu-devel] [PATCH v2 00/52] Audio 5.1 patches
Quoted 122 lines · On Dec 31, 2018, at 12:00 PM, [email protected] wrote:
Message: 2
Date: Mon, 31 Dec 2018 16:50:47 +0100
From: "=?UTF-8?B?S8WRdsOhZ8OzIFpvbHTDoW4=?=" <[email protected]>
To: Programmingkid <[email protected]>
Cc: QEMU Developers <[email protected]>, Gerd Hoffmann
<[email protected]>
Subject: Re: [Qemu-devel] [PATCH v2 00/52] Audio 5.1 patches
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8Quoted 97 lines · Programmingkid
Quoted 97 lines · Zolt?n K?v?g?
Quoted 79 lines · Programmingkid
Quoted 79 lines · K?v?g? Zolt?n
Quoted 63 lines · Programmingkid
Quoted 9 lines · K?v?g? Zolt?n
Hi,
I've pushed it to my github (modulo some random fixes not yet on the mailing list):
https://github.com/DirtYiCE/qemu/tree/audio-51-2018Quoted 36 lines
I don't have a mac so I have no idea whether it works or not.
Regards,
ZoltanQuoted 29 lines · Programmingkid
Quoted 13 lines · On Dec 23, 2018, at 3:52 PM, [email protected] wrote:
Message: 4
Date: Sun, 23 Dec 2018 21:51:36 +0100
From: "=?UTF-8?q?K=C5=91v=C3=A1g=C3=B3=2C=20Zolt=C3=A1n?="
<[email protected]>
To: [email protected]
Cc: Gerd Hoffmann <[email protected]>
Subject: [Qemu-devel] [PATCH v2 00/52] Audio 5.1 patches
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8Quoted 7 lines
Hi,
I've updated my audio patchset to the current git master. Other than that not much happened since my last update [1], fixed a few small problems that I noticed while rebasing my patches.
Please review.
<snip>
Hi I would like to run your patches. Do you have a repository that I may clone?
Also have you been able to test these patches using a Mac OS X guest yet?
Thank you.
Hi, thanks for the link. This is what I did:
- git clone https://github.com/DirtYiCE/qemu.git
- git checkout audio-51-2018
- ./configure --target-list=ppc-softmmu
- make -j 4The result was unfortunately some errors:
CC
audio/coreaudio.oaudio/coreaudio.c:413:49: error: unknown type name 'HWVocieOut'; did you mean
'HWVoiceOut'?
COREAUDIO_WRAPPER_FUNC(get_buffer_out, void *, (HWVocieOut *hw,size_t*size),^~~~~~~~~~ HWVoiceOutQuoted 7 lines
audio/coreaudio.c:578:29: error: passing 'structaudio_pcm_info' to parameter of
incompatible type 'structaudio_pcm_info*'; take the address with &coreaudio_get_flags(hw->info, as); ^~~~~~~~ &Hi,
I pushed an updated version, it should fix the compile errors (hopefully).
Quoted 9 lines
Quoted 2 lines
Regards,
ZoltanThank you for the update. I tested this series using a Mac OS 10.4 and Windows 2000 guest. Both were using a USB sound card. The sound that comes out of my speakers is demonic! It is the loudest, scariest sound I have ever heard. I'm sorry but this patch series ruins the USB sound card.
I am happy to test out any future updates that you make this patch series.
Thank you.
I'm sorry to hear that. Could you please test it with some other card, like the hda? Even though usb works fine for me on Linux with alsa so the problem is probably with the coreaudio backend.
Quoted 9 lines
Quoted 2 lines
Regards,
ZoltanI tried ac97 with a Windows 2000 guest in qemu-system-i386 - same demonic sound.
With the above configuration but with an es1370 sound card I heard the same sound. I kept seeing "es1370: warning: non looping mode" being printed in the terminal. This problem might need its own patch. Using the sb16 sound card I heard the same unsettling sound.I could not test the HDA driver due to problems with my Windows 7 VM.
Quoted 8 lines
I have a feeling that
bf870a0cf5e2c2dd7438e65473b4fca1fb0ca5d1(coreaudio: port to the new audio backend api) is the commit which breaks it, but without a mac I don't know how could I debug it. The way it initializes coreaudio changed a bit, that can cause problems. Could you please test whether this commit is the culprit or not?Regards,
Zoltan
Hi how do you want me to test your theory? Revert the patch? If I did I don't think QEMU would still compile.
Re: [Qemu-devel] [PATCH v2 00/52] Audio 5.1 patches
Quoted 1 line · Programmingkid
Quoted 1 line · Programmingkid
[snip]
Quoted 15 lines
Quoted 15 lines
Quoted 7 lines
I tried ac97 with a Windows 2000 guest in qemu-system-i386 - same demonic sound.
With the above configuration but with an es1370 sound card I heard the same sound. I kept seeing "es1370: warning: non looping mode" being printed in the terminal. This problem might need its own patch. Using the sb16 sound card I heard the same unsettling sound.I could not test the HDA driver due to problems with my Windows 7 VM.
I have a feeling that
bf870a0cf5e2c2dd7438e65473b4fca1fb0ca5d1(coreaudio: port to the new audio backend api) is the commit which breaks it, but without a mac I don't know how could I debug it. The way it initializes coreaudio changed a bit, that can cause problems. Could you please test whether this commit is the culprit or not?
Quoted 5 lines
Quoted 2 lines
Regards,
ZoltanHi how do you want me to test your theory? Revert the patch? If I did I don't think QEMU would still compile.
No, don't revert it, that would generate too many conflicts. Just
git checkout bf870a0c
and
git checkout bf870a0c~
should give you two versions that you can compare.
Regards,
Zoltan
Re: [Qemu-devel] [PATCH v2 00/52] Audio 5.1 patches
Quoted 25 lines · Zoltán Kővágó
Quoted 1 line · Programmingkid
Quoted 1 line · Programmingkid
[snip]
Quoted 19 lines
Quoted 17 lines
Quoted 7 lines
I tried ac97 with a Windows 2000 guest in qemu-system-i386 - same demonic sound.
With the above configuration but with an es1370 sound card I heard the same sound. I kept seeing "es1370: warning: non looping mode" being printed in the terminal. This problem might need its own patch. Using the sb16 sound card I heard the same unsettling sound.I could not test the HDA driver due to problems with my Windows 7 VM.
I have a feeling that
bf870a0cf5e2c2dd7438e65473b4fca1fb0ca5d1(coreaudio: port to the new audio backend api) is the commit which breaks it, but without a mac I don't know how could I debug it. The way it initializes coreaudio changed a bit, that can cause problems. Could you please test whether this commit is the culprit or not?Regards,
Zoltan
Quoted 5 lines
Quoted 1 line
Hi how do you want me to test your theory? Revert the patch? If I did I don't think QEMU would still compile.
No, don't revert it, that would generate too many conflicts. Just
git checkout
bf870a0c
This causes the very disturbing sound to play.
Quoted 4 lines
and
git checkout bf870a0c~
This also causes the very disturbing sound to play.
Quoted 5 lines
should give you two versions that you can compare.
Regards,
Zoltan
Thank you.
Re: [Qemu-devel] [PATCH v2 00/52] Audio 5.1 patches
Quoted 41 lines · Programmingkid
Quoted 25 lines · Zoltán Kővágó
Quoted 1 line · Programmingkid
Quoted 1 line · Programmingkid
[snip]
Quoted 19 lines
Quoted 17 lines
Quoted 7 lines
I tried ac97 with a Windows 2000 guest in qemu-system-i386 - same demonic sound.
With the above configuration but with an es1370 sound card I heard the same sound. I kept seeing "es1370: warning: non looping mode" being printed in the terminal. This problem might need its own patch. Using the sb16 sound card I heard the same unsettling sound.I could not test the HDA driver due to problems with my Windows 7 VM.
I have a feeling that
bf870a0cf5e2c2dd7438e65473b4fca1fb0ca5d1(coreaudio: port to the new audio backend api) is the commit which breaks it, but without a mac I don't know how could I debug it. The way it initializes coreaudio changed a bit, that can cause problems. Could you please test whether this commit is the culprit or not?Regards,
ZoltanQuoted 5 lines
Quoted 1 line
Hi how do you want me to test your theory? Revert the patch? If I did I don't think QEMU would still compile.
No, don't revert it, that would generate too many conflicts. Just
git checkout
bf870a0cThis causes the very disturbing sound to play.
Quoted 4 lines
and
git checkout bf870a0c~
This also causes the very disturbing sound to play.
Quoted 1 line
Quoted 7 lines
Quoted 4 lines
should give you two versions that you can compare.
Regards,
ZoltanThank you.
That's worrying, since before that commit I didn't really do any big refactoring on coreaudio itself, and without a Mac I have no idea how could I debug it.
Could you at least try a git bisect and figure out which commit broke it?
Thanks,
Zoltan