Skip to content
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

Failed to initialize driver interface > [FAIL] Peer: <client address> Reason unknown #516

Open
Craftingcat99 opened this issue Aug 23, 2024 · 1 comment

Comments

@Craftingcat99
Copy link

Craftingcat99 commented Aug 23, 2024

I've tried getting miraclecast to run as a sink for a few days now, but encounter the same error everytime. So far I've tried it on a clean ubuntu server install but, at first, ran into issue because of the missing gui. But even with ubuntu 22.04 (non-server, stock, clean) i can't get my phone, laptop or desktop to connect to the sink. I always get the same

[FAIL] Peer: <client address> Reason: unknown

error. Since the device is "sort of" headless and i'm not exactly a pro at working with linux, it's a bit hard to get a full log. But I managed to copy the part where the pair fails from the wifid process:

DEBUG: supplicant: local p2p-address is: <client address> (supplicant_status_fn() in /home/cc99/miraclecast/src/wifi/wifid-supplicant.c:1843)
TRACE: wpa: raw message: OK

TRACE: wpa: raw message: OK

TRACE: wpa: raw message: FAIL

TRACE: wpa: raw message: OK

TRACE: wpa: raw message: FAIL

TRACE: wpa: raw message: IFNAME=p2p-0 <5>Failed to initialize driver interface
DEBUG: supplicant: unhandled wpas-event: IFNAME=p2p-0 <5>Failed to initialize driver interface (supplicant_event() in /home/cc99/miraclecast/src/wifi/wifid-supplicant.c:1518)
TRACE: wpa: raw message: IFNAME=p2p-0 <3>CTRL-EVENT-DSCP-POLICY clear_all
DEBUG: supplicant: unhandled wpas-event: IFNAME=p2p-0 <3>CTRL-EVENT-DSCP-POLICY clear_all (supplicant_event() in /home/cc99/miraclecast/src/wifi/wifid-supplicant.c:1518)
TRACE: wpa: raw message: <3>P2P-GROUP-FORMATION-FAILURE
DEBUG: supplicant: peer CC99 connection failed (supplicant_event_p2p_group_formation_failure() in /home/cc99/miraclecast/src/wifi/wifid-supplicant.c:1339)
DEBUG: supplicant: sent P2P_FIND to wpas on wlx8416f90c843d (supplicant_p2p_start_scan() in /home/cc99/miraclecast/src/wifi/wifid-supplicant.c:2056)
TRACE: wpa: raw message: OK

If tried to cast from a SAMSUNG S20+, a Thinkpad T480 with an AX210 wifi card and from my Desktop with a cheap TP-Link dongle. The sink is an old QNAP NAS with Ubuntu installed (not live!) on a Thumb drive and a tp link usb dongle which supports P2P. I installed miraclecast exactly as stated on the github page and ran both "compatibility test" scripts without errors. Have I overlooked anything? Any help would be much appreaciated. If you need a specific log i can see if I'm able to provide it,

@albfan
Copy link
Owner

albfan commented Aug 24, 2024

There are instructions on wiki FAQ, to provide logs for support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants