-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows Pulseaudio failure #8
Comments
Hm... Unfortunately, I don't have any ideas about this either... Maybe the Pulseaudio team would know more? |
Hi sneakernets, it looks like I have the same problem. Did you take it elsewhere, and/or make any progress? |
Ah, the internet provided a fix/workaround - for my problem, at least. Woohoo!
For the record, here is my verbose output before this fix: https://gist.github.com/AlisterH/ffea858f2d44e712880dc2ca49faad33 |
To be clear: this is of course the ..etc\pulse\default.pa on Windows, not in the Ubuntu filesystem. i.e. %APPDATA%\PulseAudio\etc\pulse\default.pa |
Oh wow thanks! |
Unfortunately the Fall Creators update has broken this completely. oh my god. |
In a "legacy install" or a distro installed from the Windows store, or both? |
The problem could be a missing or deactivated microphone on the windows-pc. I have tested with windows 10 fall creators update. When you use a headset including microphone you should have no problem. |
I'm still having to keep the Fall Creator's update from installing, apparently an insider build has fixed the new issues, but I can't risk running beta stuff at work. |
for what it's worth, rumor has it that the next Windows release (the Spring Creator's Update -- not an Insider build) will be released within a week or two, and should contain all Insider fixes to date. PulseAudio might be completely fixed with that update; this fork may no longer be necessary? I haven't tested it yet, though. |
Does anyone know if this has been resolved? I really don't have the ability to test it as I may lose the ability to play sound completely. |
I for one still have this problem and have a very similar error msg |
This works for me too. |
wow, may you post the output? I don't know what's the output expected to be after the editing. @AlisterH @hacker1024 |
I think I found a work around I have been have the same problem. I got mine working by launching pulseaudio.exe with --use-pid-file=false switch. pulseaudio.exe --use-pid-file=false -D I hope this helps! |
While launching pulseaudio with the For now, you can use two simple aliases like those to start and kill pulseaudio after a crash:
or use a script or whatever, be creative. |
I also have the issue. Thanks @ertwro for sharing a solution! Thanks in advance! |
Can you please send your email id. i have few doubts regarding pulse audio testing in windows. |
Maybe best to post them here |
Now, I am trying to test it on Windows PC and getting below messages. Also could not record using audacity (i.e when we record in audacity , no logs/message from pulse audio which means it is not going through pulse audio). Please suggest me how to test it on windows PC. C:\Users\Nathan\Desktop\New folder>pulseaudio.exe -vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv I: [(null)] pulsecore/core-util.c: Successfully gained high priority class. I: [(null)] daemon/main.c: This is PulseAudio 13.99.1 D: [(null)] daemon/main.c: Compilation host: i686-pc-mingw32 D: [(null)] daemon/main.c: Compilation CFLAGS: -g -O0 -Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto D: [(null)] daemon/main.c: Running on host: Windows 6.2 (9200) D: [(null)] daemon/main.c: Found 1 CPUs. I: [(null)] daemon/main.c: Page size is 4096 bytes D: [(null)] daemon/main.c: Compiled with Valgrind support: no D: [(null)] daemon/main.c: Running in valgrind mode: no D: [(null)] daemon/main.c: Running in VM: no D: [(null)] daemon/main.c: Running from build tree: no D: [(null)] daemon/main.c: Optimized build: no D: [(null)] daemon/main.c: All asserts enabled. I: [(null)] daemon/main.c: Machine ID is DESKTOP-HAHJH0Q. W: [(null)] pulsecore/core-util.c: Secure directory creation not supported on this platform. I: [(null)] daemon/main.c: Using runtime directory C:\Users\Nathan.pulse\DESKTOP-HAHJH0Q-runtime. W: [(null)] pulsecore/core-util.c: Secure directory creation not supported on this platform. I: [(null)] daemon/main.c: Using state directory C:\Users\Nathan.pulse. I: [(null)] daemon/main.c: Using modules directory C:\Users\Nathan\Desktop\New folder\lib\pulse-13.99\modules. I: [(null)] daemon/main.c: Running in system mode: no W: [(null)] pulsecore/core-util.c: Secure directory creation not supported on this platform. W: [(null)] pulsecore/pid.c: Stale PID file, overwriting. I: [(null)] daemon/main.c: System supports high resolution timers W: [(null)] pulsecore/core.c: Failed to allocate shared posix-shm memory pool. Falling back to a normal memory pool. D: [(null)] pulsecore/memblock.c: Using private memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65496 I: [(null)] pulsecore/cpu-x86.c: CPU flags: CMOV MMX SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2 I: [(null)] pulsecore/svolume_mmx.c: Initialising MMX optimized volume functions. I: [(null)] pulsecore/remap_mmx.c: Initialising MMX optimized remappers. I: [(null)] pulsecore/svolume_sse.c: Initialising SSE2 optimized volume functions. I: [(null)] pulsecore/remap_sse.c: Initialising SSE2 optimized remappers. I: [(null)] pulsecore/sconv_sse.c: Initialising SSE2 optimized conversions. W: [(null)] pulsecore/core-util.c: Secure directory creation not supported on this platform. I: [(null)] modules/module-device-restore.c: Successfully opened database file 'C:\Users\Nathan.pulse\DESKTOP-HAHJH0Q-device-volumes'. I: [(null)] pulsecore/module.c: Loaded "module-device-restore" (index: #0; argument: ""). W: [(null)] pulsecore/core-util.c: Secure directory creation not supported on this platform. I: [(null)] modules/module-stream-restore.c: Successfully opened database file 'C:\Users\Nathan.pulse\DESKTOP-HAHJH0Q-stream-volumes'. I: [(null)] pulsecore/module.c: Loaded "module-stream-restore" (index: #1; argument: ""). W: [(null)] pulsecore/core-util.c: Secure directory creation not supported on this platform. I: [(null)] modules/module-card-restore.c: Successfully opened database file 'C:\Users\Nathan.pulse\DESKTOP-HAHJH0Q-card-database'. I: [(null)] pulsecore/module.c: Loaded "module-card-restore" (index: #2; argument: ""). I: [(null)] pulsecore/module.c: Loaded "module-augment-properties" (index: #3; argument: ""). I: [(null)] pulsecore/module.c: Loaded "module-switch-on-port-available" (index: #4; argument: ""). D: [(null)] modules/module-waveout.c: WaveIn subsystem opened. D: [(null)] modules/module-waveout.c: WaveOut subsystem opened. D: [(null)] modules/module-device-restore.c: Database contains no data for key: source:input D: [(null)] modules/module-device-restore.c: Database contains no (or invalid) data for key: source:input:null I: [(null)] pulsecore/source.c: Created source 0 "input" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right I: [(null)] pulsecore/source.c: device.description = "WaveIn on Microsoft Sound Mapper" I: [(null)] pulsecore/source.c: device.icon_name = "audio-input-microphone" D: [(null)] modules/module-device-restore.c: Database contains no data for key: sink:output D: [(null)] modules/module-device-restore.c: Database contains no (or invalid) data for key: sink:output:null I: [(null)] pulsecore/sink.c: Created sink 0 "output" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right I: [(null)] pulsecore/sink.c: device.description = "WaveOut on Microsoft Sound Mapper" I: [(null)] pulsecore/sink.c: device.icon_name = "audio-card" D: [(null)] modules/module-device-restore.c: Database contains no data for key: source:output.monitor D: [(null)] modules/module-device-restore.c: Database contains no (or invalid) data for key: source:output.monitor:null I: [(null)] pulsecore/source.c: Created source 1 "output.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right I: [(null)] pulsecore/source.c: device.description = "Monitor of WaveOut on Microsoft Sound Mapper" I: [(null)] pulsecore/source.c: device.class = "monitor" I: [(null)] pulsecore/source.c: device.icon_name = "audio-input-microphone" D: [(null)] modules/module-waveout.c: Poll timeout = 23.2 ms D: [(null)] modules/module-waveout.c: Thread starting up I: [(null)] pulse/util.c: Successfully enabled THREAD_PRIORITY_TIME_CRITICAL scheduling for thread. D: [(null)] pulsecore/sink.c: output: state: INIT -> IDLE D: [(null)] pulsecore/source.c: output.monitor: state: INIT -> IDLE I: [(null)] pulsecore/core.c: default_source: (unset) -> output.monitor D: [(null)] modules/module-device-restore.c: Database contains no (or invalid) data for key: sink:output:null I: [(null)] pulsecore/core.c: default_sink: (unset) -> output D: [(null)] pulsecore/core-subscribe.c: Dropped redundant event due to change event. D: [(null)] pulsecore/source.c: input: state: INIT -> IDLE I: [(null)] pulsecore/core.c: default_source: output.monitor -> input D: [(null)] pulsecore/core-subscribe.c: Dropped redundant event due to change event. I: [(null)] pulsecore/module.c: Loaded "module-waveout" (index: #5; argument: "sink_name=output source_name=input"). D: D: [(null)] pulsecore/modu[(null)] modules/module-waveout.c: WaveIn overflow! le.c: Checking for existence of 'C\module-detect.so': failure D: [(null)] pulsecore/module.c: Checking for existence of '/Users/Nathan/Desktop/New folder/lib/pulse-13.99/modules\module-detect.so': failure D: [(null)] pulsecore/module.c: Checking for existence of 'C\module-jackdbus-detect.so': failure D: [(null)] pulsecore/module.c: Checking for existence of '/Users/Nathan/Desktop/New folder/lib/pulse-13.99/modules\module-jackdbus-detect.so': failure I: [(null)] daemon/main.c: Daemon startup complete. D: [(null)] modules/module-device-restore.c: Database contains no data for key: sink:output D: [(null)] modules/module-device-restore.c: Database contains no (or invalid) data for key: sink:output:null I: [(null)] modules/module-device-restore.c: Storing port for device sink:output. I: [(null)] modules/module-device-restore.c: Storing volume/mute for device+port sink:output:null. D: [(null)] modules/module-device-restore.c: Database contains no data for key: source:output.monitor D: [(null)] modules/module-device-restore.c: Database contains no (or invalid) data for key: source:output.monitor:null I: [(null)] modules/module-device-restore.c: Storing port for device source:output.monitor. I: [(null)] modules/module-device-restore.c: Storing volume/mute for device+port source:output.monitor:null. D: [(null)] modules/module-device-restore.c: Database contains no data for key: source:input D: [(null)] modules/module-device-restore.c: Database contains no (or invalid) data for key: source:input:null I: [(null)] modules/module-device-restore.c: Storing port for device source:input. I: [(null)] modules/module-device-restore.c: Storing volume/mute for device+port source:input:null. I: [(null)] modules/module-device-restore.c: Synced. Best Regards, |
Sorry, I can't really help with that. |
|
Just for the records, even if you get the error
and pulseaudio.exe is running on Windows with the default.pa file edited as described above
it should work. |
I'm sorry for the noobish post here, guys, but there's not much information about this setup on the web so could you direct me somewhere where I find how to setup pulseaudio-client on windows machine streaming to linux host? or type it here... |
@zapphyre https://research.wmz.ninja/articles/2017/11/setting-up-wsl-with-graphics-and-audio.html This is what I'm currently working off. |
I've been doing quite a bit of work on the PulseAudio Windows port recently, and have a fully-working bleeding-edge build here: https://pgaskin.net/pulseaudio-win32. |
I am getting some errors while running your program so please help me fix it: |
Using this script to install PulseAudio on Windows, this happens on startup:
I don't think this is your fault.
I'm using a combo PCI VGA card/Sound card with an HDMI output. I can't really change this configuration physically, it's just what it is. Looking on Google, I'm in the same RMS Titanic as these unfortunate folks.
I can't check 'pacmd' because PulseAudio insists on shutting down if it can't find anything, and 'pacmd' requires PulseAudio as a service to run, so I can't even figure out what PulseAudio is seeing on my box. It's not logging any specific errors, either.
It doesn't help that I have...counts six "sound cards" according to Windows. All of them serve different functions and cannot be readily disabled.
If it helps, the IRQ is 16 and the Port address ranges are as follows:
All of these are set up by the BIOS and I'm hesitant to change them.
For completeness, here are the errors on the "other side":
It doesn't help that a lot of older software products I have don't understand this configuration very well either. I ran into a similar issue using a Piggyback videocard configuration - the sound card kept switching contexts from application to application - a total mess.
The text was updated successfully, but these errors were encountered: