albfan / miraclecast

Connect external monitors to your system via Wifi-Display specification also known as Miracast
Other
3.68k stars 408 forks source link

No links listed when using computer as sink #421

Closed mcp292 closed 2 years ago

mcp292 commented 2 years ago

Nothing shows up after entering sudo miracle-sinkctl.

> list
----
 0 peers and 0 links listed.
albfan commented 2 years ago

See you need to run miracle-wifid to have a daemon able to configure your wifi device to check for sources to stream their screens.

mcp292 commented 2 years ago

Yes, I should have noted my steps.

Following the instructions:

  1. sudo systemctl stop iwd (I don't use wpa_supplicant nor NetworkManager)
  2. sudo miracle-wifid &
  3. sudo miracle-sinkctl

That's what I do to get to my first comment.

albfan commented 2 years ago

I see.

Please attach logs for support: https://github.com/albfan/miraclecast/wiki/FAQ#log-for-support

see the step to stop network manager is to ensure you don't have a wpa_supplicant running. miraclecast spawn it with a custom config. If you don't have wpa_supplicant miraclecast will not work, it is not agnostic about network manager

mcp292 commented 2 years ago

That may simply be the issue. wpa_supplicant is not listed as a dependency in the requirements nor in the AUR.

albfan commented 2 years ago

yes, the idea is to get rid of that at some point talking with network manager through d-bus

mcp292 commented 2 years ago

Okay. In my case I have neither. I use only iwd and dhcpcd. Whatever you decide please add as a dependency. I think wpa_supplicant is the smaller dependency though.

Maybe there is some agnostic way, but I don't have time at the moment to familiarize with the code base. Looks like nice, clean C code though ;).

albfan commented 2 years ago

Remember this is the project, how it is packaged is an issue to open downstream.

mcp292 commented 2 years ago

Not fully. Your requirements section should contain wpa_supplicant.

albfan commented 2 years ago

I got you know. When you say dependency you mean document requirements. PR welcome!

akvadrako commented 2 years ago

A way to work with iwd would be nice. It seems like the future instead of wpa_supplicant.