albfan / miraclecast

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

cant get int to work on debian bullseye #433

Closed nanderer closed 2 years ago

nanderer commented 2 years ago

Hi,

thanks a lot for providing me the tools to stream to my beamer-laptop live using mirracast, unfortunately i wasnt able to get it to work on debian bullseye (11).

i was fortunately able to build it and install it using checkinstall using your guide, ill attach the debian package here, but i cant get it to work as a sink using

t@tp:~/git/miraclecast/build$ bg
[1]+ sudo miracle-wifid &
t@tp:~/git/miraclecast/build$ sudo miracle-sinkctl
[ADD] Link: 3
[miraclectl] # run 3
ERROR: supplicant: invalid arguments (supplicant_p2p_start_scan() in /home/t/git/miraclecast/src/wifi/wifid-supplicant.c:2009)
ERROR: cannot change p2p-scanning state on link 3 to 1: Invalid argument (ctl_link_set_p2p_scanning() in /home/t/git/miraclecast/src/ctl/ctl-wifi.c:739)
now running on link 3
(failed reverse-i-search)`': 
(failed reverse-i-search)`': 
quitaclectl] # search)`': 
[miraclectl] # 
albfan commented 2 years ago

You need to stop existing wpa_supplicant (which is not configured to create wifi direct interfaces). that should be stop network manager or similar.

In wiki there's a faq to provide logs for support. Probably on journalctl it will show that your wpa_supplicant is not correct. Closing this as that is probably the reason. We can reopen if you provide needed logs