-
Notifications
You must be signed in to change notification settings - Fork 148
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
How to diagnose an issue? Unix receiver idles on "Starting ... " #100
Comments
Do a tcpdump like |
I was just about to comment with some tcpdump output! You beat me to it. Thanks for the quick response @duncanthrax .
I'm definitely receiving the packets. Based on the readme...I guess I should use the
So I would assume I should compile with libpcap available:
Here is the output from various permutations of
|
Hmmm, the cmake recipe uses pkg-config to find libpcap. Probably you have this problem: |
@afparsons do you have a firewall enabled? |
I'm having a similar issue, except I'm attempting to pass audio up through a Windows VM. Similar setup, except using In my case, I have UFW installed, but the same problem was exhibited even after ports 4010 and 4011 were allowed through, or if UFW was disabled entirely. Not sure how to continue diagnosing from here. As a side note, I haven't been able to get IVSHMEM working either, but that's unrelated to this issue. |
@kaisparkle What's your distro? For example on Ubuntu I've seen both UFW and firewalld at the same time and even if one was allowing the port the other one wasn't. I banged my head around it for a few days. Try If that's not it look at iptables rules and see what's in there. UFW is a strange beast. On one hand it's easy to use but its not aware of any rule managed by others. I discovered this the hard way when I configured UFW to deny anything from outside, then installed docker and found out I could happily connect from the outside because docker was managing it's own iptables rules. |
@martinellimarco I'm on Arch, so I've only got UFW installed at the moment. I'm pretty unfamiliar with iptables, but I've posted the output of |
Just for testing run the following commands. They'll flush any iptables rule and set it to accept everything. It's temporary and not saved on disk but it will show us if the problem is firewall or not.
If it doesn't work what kind of virtual interface are you using between host and guest? Also try this |
No dice there, so it's not the firewall. I already had the suggestions in that post enabled - first thing I tried when I was digging through issues for a solution :) I'm using virt-manager's default configuration, which is the Here's the XML for the network configuration. <network>
<name>default</name>
<uuid>dd5f00e5-f9fe-4ffe-a52e-3d6fa65b8b64</uuid>
<forward mode='nat'/>
<bridge name='virbr0' stp='on' delay='0'/>
<mac address='52:54:00:0e:4b:b7'/>
<ip address='192.168.122.1' netmask='255.255.255.0'>
<dhcp>
<range start='192.168.122.2' end='192.168.122.254'/>
</dhcp>
</ip>
</network> |
Have you tested this with anycast or unicast? Try unicast. Also since your are using a bridge I think it's worth checking |
Yeah, tried with default and I'm using unicast right now with these arguments:
|
can you confirm with any other program that a connection is possible between host and guest? Usually I use netcat for that.
Type something, you should see it on the other end. If you don't have netcat try with |
I can send a message with netcat from the Windows 10 guest to the host, but I have to restart netcat on both ends after a message, otherwise the next won't be received. Additionally, I can only send to the host, not the other way around. |
ok, at least we confirmed it's a network problem and not a scream one. In about an hour I'll be at home and I'll be able to setup a new VM with the same virtual NIC you posted above. Let's see if I can reproduce the issue. Can you capture packets with wireshark while you do the netcat test and send me the file? |
Sorry @kaisparkle, I can't reproduce the problem. I've tested with a fresh windows VM with windows firewall disabled but that shouldn't be the problem as you already confirmed you see the packets on the host. For the network I just copied your xml. I've tested with and without UFW enabled. With it enabled I just had to open the port with I'd really like to see the wireshark log if you have the time. |
I'm not entirely sure how to run Wireshark on the host - I'm using a single GPU configuration, so X is killed on VM start and the GPU is passed over. I can probably reconfigure it with a virtual GPU for testing, but I've got work today (unfortunately 😛) so it might be a while. |
You can use tcpdump from a terminal. The command should be |
Hello, I am currently trying to pass audio from my windows vm running under a Ubuntu 20.04 host. @martinellimarco if you or anyone else here wants to figure out this issue I'll be the test subject. P.s I am new to commenting on issues so apologies if I shouldn't comment in a year old issue as I do not know proper etiquette. |
I'm excited to try and use
scream
to send audio from a Windows 10 laptop to a Linux server (and then over 3.5mm aux into an audio receiver).I believe I've gotten
scream
installed on the Windows laptop correctly. (see #98 )I also believe that I've correctly compiled the unix receiver on my Linux server (Proxmox).
Using
speaker-test
, I've confirmed that I have audio correctly working.I can:
The scream receiver doesn't seem to be receiving any audio. I'm not sure how to further diagnose the issue.
My Linux server is a laptop networked via ethernet on
eno1
.Running with
-o alsa
(pulseaudio
is the same):What should I try next?
Edit: I should add that even though I am using Proxmox, I am running the scream receiver on the host, not in a VM.
The text was updated successfully, but these errors were encountered: