Skip to content
This repository has been archived by the owner on Jun 15, 2020. It is now read-only.

Can't cast to Miracast/EZMirror #37

Closed
rflribeiro opened this issue Jun 15, 2019 · 10 comments
Closed

Can't cast to Miracast/EZMirror #37

rflribeiro opened this issue Jun 15, 2019 · 10 comments

Comments

@rflribeiro
Copy link

rflribeiro commented Jun 15, 2019

Hi there. Congratulations for the project.
You might have any advice on these errors below. Thanks in advance.

[14:21:32 r2@x1 ~]$ G_MESSAGES_DEBUG=all gnome-screencast
(gnome-screencast:14218): GLib-GIO-DEBUG: 14:21:35.954: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
(gnome-screencast:14218): Gtk-DEBUG: 14:21:35.977: Connecting to session manager
** (gnome-screencast:14218): DEBUG: 14:21:36.011: WFDP2PRegistry: Found a new device, creating provider
** (gnome-screencast:14218): DEBUG: 14:21:36.011: WFDP2PProvider: Found a new sink with peer 0x55692a5a0d10 on device 0x55692a5c6ae0
** (gnome-screencast:14218): DEBUG: 14:21:36.011: WfdP2PProvider: Discover is now set to 1
** (gnome-screencast:14218): DEBUG: 14:21:36.011: SinkList: Adding a sink
** (gnome-screencast:14218): DEBUG: 14:21:36.013: ScreencastPortal: Aquired Portal proxy
** (gnome-screencast:14218): DEBUG: 14:21:36.013: task is: 0x55692a4ff1a0
** (gnome-screencast:14218): DEBUG: 14:21:36.014: WFDP2PRegistry: Got NMClient
** (gnome-screencast:14218): DEBUG: 14:21:36.014: ScreencastPulseaudio: Querying sink info by name
** (gnome-screencast:14218): DEBUG: 14:21:36.014: ScreencastPulseaudio: Error querying sink info
** (gnome-screencast:14218): DEBUG: 14:21:36.014: ScreencastPulseaudio: Got a sink info for the expected name
** (gnome-screencast:14218): DEBUG: 14:21:36.015: ScreencastPortal: Received CreateSession response
** (gnome-screencast:14218): DEBUG: 14:21:36.015: simple variant lookup: /org/freedesktop/portal/desktop/session/1_200/gtk532800391
** (gnome-screencast:14218): DEBUG: 14:21:36.017: ScreencastPortal: Received SelectSource response
** (gnome-screencast:14218): DEBUG: 14:21:39.393: ScreencastPortal: Received Start response
** (gnome-screencast:14218): DEBUG: 14:21:39.393: Got a stream with node ID: 19
** (gnome-screencast:14218): DEBUG: 14:21:41.571: WfdP2PProvider: Discover is now set to 0
** (gnome-screencast:14218): DEBUG: 14:21:41.615: ScreencastWfdP2PSink: Got P2P connection
** (gnome-screencast:14218): DEBUG: 14:21:41.615: Found x264enc for video encoding.
** (gnome-screencast:14218): DEBUG: 14:21:41.616: Got state change notification from streaming sink to state SCREENCAST_SINK_STATE_WAIT_SOCKET
** (gnome-screencast:14218): DEBUG: 14:21:51.987: ScreencastWfdP2PSink: Got client connection
** (gnome-screencast:14218): DEBUG: 14:21:51.987: Got state change notification from streaming sink to state SCREENCAST_SINK_STATE_WAIT_STREAMING
** (gnome-screencast:14218): DEBUG: 14:21:52.612: WfdClient: OPTIONS querying done
** (gnome-screencast:14218): DEBUG: 14:21:52.614: WFD query params
** (gnome-screencast:14218): DEBUG: 14:21:52.833: WfdClient: GET_PARAMS done
** (gnome-screencast:14218): DEBUG: 14:21:52.833: Add audio codec to params:
** (gnome-screencast:14218): DEBUG: 14:21:52.833: WfdAudioCodec: LPCM, 2, latency: 0
** (gnome-screencast:14218): DEBUG: 14:21:52.833: Add codec to params:
** (gnome-screencast:14218): DEBUG: 14:21:52.833: WfdVideoCodec:
** (gnome-screencast:14218): DEBUG: 14:21:52.833:  * profile: 1
** (gnome-screencast:14218): DEBUG: 14:21:52.833:  * level: 2
** (gnome-screencast:14218): DEBUG: 14:21:52.833:  * native: 1920x1080 60p
** (gnome-screencast:14218): DEBUG: 14:21:52.833: Supported resolutions:
** (gnome-screencast:14218): DEBUG: 14:21:52.833:  * 800x480 30p
** (gnome-screencast:14218): DEBUG: 14:21:52.833:  * 800x480 60p
** (gnome-screencast:14218): DEBUG: 14:21:52.833:  * 854x480 30p
** (gnome-screencast:14218): DEBUG: 14:21:52.833:  * 854x480 60p
** (gnome-screencast:14218): DEBUG: 14:21:52.833:  * 864x480 30p
** (gnome-screencast:14218): DEBUG: 14:21:52.833:  * 864x480 60p
** (gnome-screencast:14218): DEBUG: 14:21:52.833:  * 640x360 30p
** (gnome-screencast:14218): DEBUG: 14:21:52.833:  * 640x360 60p
** (gnome-screencast:14218): DEBUG: 14:21:52.833:  * 960x540 30p
** (gnome-screencast:14218): DEBUG: 14:21:52.833:  * 960x540 60p
** (gnome-screencast:14218): DEBUG: 14:21:52.833:  * 848x480 30p
** (gnome-screencast:14218): DEBUG: 14:21:52.833:  * 848x480 60p
** (gnome-screencast:14218): DEBUG: 14:21:52.833:  * 640x480 60p
** (gnome-screencast:14218): DEBUG: 14:21:52.833:  * 720x480 60p
** (gnome-screencast:14218): DEBUG: 14:21:52.833:  * 720x480 60i
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 720x576 50p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 720x576 50i
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1280x720 30p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1280x720 60p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1920x1080 30p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1920x1080 60i
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1290x720 25p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1280x720 50p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1920x1080 25p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1920x1080 50i
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1280x720 24p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1920x1080 25p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 800x600 30p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 800x600 60p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1024x768 30p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1024x768 60p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1152x864 30p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1152x864 60p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1280x768 30p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1280x768 60p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1280x800 30p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1280x800 60p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1360x768 30p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1360x768 60p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1366x768 30p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1366x768 60p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1280x1024 30p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1440x900 30p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1440x900 60p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1600x900 30p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1600x900 60p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1680x1024 30p
** (gnome-screencast:14218): DEBUG: 14:21:52.834:  * 1680x1050 30p

** (gnome-screencast:14218): WARNING **: 14:21:52.834: WfdClient: No resolution found, falling back to standard FullHD resolution.
** (gnome-screencast:14218): DEBUG: 14:21:52.834: selected resolution 1920, 1080 @30
** (gnome-screencast:14218): DEBUG: 14:21:53.040: WfdClient: SET_PARAMS done
** (gnome-screencast:14218): DEBUG: 14:21:53.245: WfdClient: Initialization done!
** (gnome-screencast:14218): DEBUG: 14:21:53.304: use x11: 0
** (gnome-screencast:14218): DEBUG: 14:21:53.387: WfdMedia init: Got 1 streams
** (gnome-screencast:14218): DEBUG: 14:21:55.380: QOS: proportion: 0,500, processed: 1, dropped: 1
** (gnome-screencast:14218): DEBUG: 14:21:55.384: QOS: proportion: 0,500, processed: 1, dropped: 2
** (gnome-screencast:14218): DEBUG: 14:21:55.387: QOS: proportion: 0,500, processed: 1, dropped: 3
** (gnome-screencast:14218): DEBUG: 14:21:55.390: QOS: proportion: 0,500, processed: 1, dropped: 4
** (gnome-screencast:14218): DEBUG: 14:21:55.393: QOS: proportion: 0,500, processed: 1, dropped: 5
** (gnome-screencast:14218): DEBUG: 14:21:55.397: QOS: proportion: 0,500, processed: 1, dropped: 6
** (gnome-screencast:14218): DEBUG: 14:21:55.400: QOS: proportion: 0,500, processed: 1, dropped: 7
** (gnome-screencast:14218): DEBUG: 14:21:55.403: QOS: proportion: 0,500, processed: 1, dropped: 8
** (gnome-screencast:14218): DEBUG: 14:21:55.406: QOS: proportion: 0,500, processed: 1, dropped: 9
** (gnome-screencast:14218): DEBUG: 14:21:55.411: QOS: proportion: 0,500, processed: 1, dropped: 10
** (gnome-screencast:14218): DEBUG: 14:21:55.417: QOS: proportion: 0,500, processed: 1, dropped: 11
** (gnome-screencast:14218): DEBUG: 14:21:55.422: QOS: proportion: 0,500, processed: 1, dropped: 12
** (gnome-screencast:14218): DEBUG: 14:21:55.427: QOS: proportion: 0,500, processed: 1, dropped: 13
** (gnome-screencast:14218): DEBUG: 14:21:55.432: QOS: proportion: 0,500, processed: 1, dropped: 14
** (gnome-screencast:14218): DEBUG: 14:21:55.438: QOS: proportion: 0,500, processed: 1, dropped: 15
** (gnome-screencast:14218): DEBUG: 14:21:55.443: QOS: proportion: 0,500, processed: 1, dropped: 16
** (gnome-screencast:14218): DEBUG: 14:21:55.447: QOS: proportion: 0,500, processed: 1, dropped: 17
** (gnome-screencast:14218): DEBUG: 14:21:55.451: QOS: proportion: 0,500, processed: 1, dropped: 18
** (gnome-screencast:14218): DEBUG: 14:21:55.462: QOS: proportion: 0,500, processed: 1, dropped: 19
** (gnome-screencast:14218): DEBUG: 14:21:55.480: QOS: proportion: 0,500, processed: 1, dropped: 20
** (gnome-screencast:14218): DEBUG: 14:21:55.491: QOS: proportion: 0,500, processed: 1, dropped: 21
** (gnome-screencast:14218): DEBUG: 14:21:55.493: QOS: proportion: 0,500, processed: 1, dropped: 22
** (gnome-screencast:14218): DEBUG: 14:21:55.509: QOS: proportion: 0,500, processed: 1, dropped: 23
** (gnome-screencast:14218): DEBUG: 14:21:55.511: QOS: proportion: 0,500, processed: 1, dropped: 24
** (gnome-screencast:14218): DEBUG: 14:21:55.513: QOS: proportion: 0,500, processed: 1, dropped: 25
** (gnome-screencast:14218): DEBUG: 14:21:55.514: QOS: proportion: 0,500, processed: 1, dropped: 26
** (gnome-screencast:14218): DEBUG: 14:21:55.515: QOS: proportion: 0,500, processed: 1, dropped: 27
** (gnome-screencast:14218): DEBUG: 14:21:55.519: QOS: proportion: 0,500, processed: 1, dropped: 28
** (gnome-screencast:14218): DEBUG: 14:21:55.529: QOS: proportion: 0,500, processed: 1, dropped: 29
** (gnome-screencast:14218): DEBUG: 14:21:55.531: QOS: proportion: 0,500, processed: 1, dropped: 30
** (gnome-screencast:14218): DEBUG: 14:21:55.542: QOS: proportion: 0,500, processed: 1, dropped: 31
** (gnome-screencast:14218): DEBUG: 14:21:55.546: QOS: proportion: 0,500, processed: 1, dropped: 32
** (gnome-screencast:14218): DEBUG: 14:21:55.556: QOS: proportion: 0,500, processed: 1, dropped: 33
** (gnome-screencast:14218): DEBUG: 14:21:55.565: QOS: proportion: 0,500, processed: 1, dropped: 34
** (gnome-screencast:14218): DEBUG: 14:21:55.568: QOS: proportion: 0,500, processed: 1, dropped: 35
** (gnome-screencast:14218): DEBUG: 14:21:55.570: QOS: proportion: 0,500, processed: 1, dropped: 36
** (gnome-screencast:14218): DEBUG: 14:21:55.576: QOS: proportion: 0,500, processed: 1, dropped: 37
** (gnome-screencast:14218): DEBUG: 14:21:55.578: QOS: proportion: 0,500, processed: 1, dropped: 38
** (gnome-screencast:14218): DEBUG: 14:21:55.585: QOS: proportion: 0,500, processed: 1, dropped: 39
** (gnome-screencast:14218): DEBUG: 14:21:55.586: QOS: proportion: 0,500, processed: 1, dropped: 40
** (gnome-screencast:14218): DEBUG: 14:21:55.589: QOS: proportion: 0,500, processed: 1, dropped: 41
** (gnome-screencast:14218): DEBUG: 14:21:55.593: QOS: proportion: 0,500, processed: 1, dropped: 42
** (gnome-screencast:14218): DEBUG: 14:21:55.600: QOS: proportion: 0,500, processed: 1, dropped: 43
** (gnome-screencast:14218): DEBUG: 14:21:55.602: QOS: proportion: 0,500, processed: 1, dropped: 44
** (gnome-screencast:14218): DEBUG: 14:21:55.607: QOS: proportion: 0,500, processed: 1, dropped: 45
** (gnome-screencast:14218): DEBUG: 14:21:55.610: QOS: proportion: 0,500, processed: 1, dropped: 46
** (gnome-screencast:14218): DEBUG: 14:21:55.611: QOS: proportion: 0,500, processed: 1, dropped: 47
** (gnome-screencast:14218): DEBUG: 14:21:55.612: QOS: proportion: 0,500, processed: 1, dropped: 48
** (gnome-screencast:14218): DEBUG: 14:21:55.613: QOS: proportion: 0,500, processed: 1, dropped: 49
** (gnome-screencast:14218): DEBUG: 14:21:55.615: QOS: proportion: 0,500, processed: 1, dropped: 50
** (gnome-screencast:14218): DEBUG: 14:21:55.616: QOS: proportion: 0,500, processed: 1, dropped: 51
** (gnome-screencast:14218): DEBUG: 14:21:55.617: QOS: proportion: 0,500, processed: 1, dropped: 52
** (gnome-screencast:14218): DEBUG: 14:21:55.618: QOS: proportion: 0,500, processed: 1, dropped: 53
** (gnome-screencast:14218): DEBUG: 14:21:55.621: QOS: proportion: 0,500, processed: 1, dropped: 54
** (gnome-screencast:14218): DEBUG: 14:21:55.624: QOS: proportion: 0,500, processed: 1, dropped: 55
** (gnome-screencast:14218): DEBUG: 14:21:55.634: QOS: proportion: 0,500, processed: 1, dropped: 56
** (gnome-screencast:14218): DEBUG: 14:21:55.634: QOS: proportion: 0,500, processed: 1, dropped: 57
** (gnome-screencast:14218): DEBUG: 14:21:55.635: QOS: proportion: 0,500, processed: 1, dropped: 58
** (gnome-screencast:14218): DEBUG: 14:21:55.651: An audiocodec has been selected: no
[E][connection.c:513 pw_protocol_native_connection_flush()] could not sendmsg: Destination address required
** (gnome-screencast:14218): DEBUG: 14:22:20.899: WfdClient: Doing keep-alive
** (gnome-screencast:14218): DEBUG: 14:22:47.938: WFDP2PProvider: Peer removed
** (gnome-screencast:14218): DEBUG: 14:22:47.938: MetaSink: No usable sink is left, object has become invalid.
** (gnome-screencast:14218): DEBUG: 14:22:47.938: SinkList: Removing a sink
** (gnome-screencast:14218): DEBUG: 14:22:57.941: WFDP2PProvider: Peer removed
** (gnome-screencast:14218): DEBUG: 14:22:57.960: Got state change notification from streaming sink to state SCREENCAST_SINK_STATE_ERROR
[14:21:23 r2@x1 ~]$ journalctl -f | egrep -i p2p
jun 15 14:21:40 x1.localdomain wpa_supplicant[2195]: P2P-DEVICE-FOUND 10:62:e5:2e:fb:4f p2p_dev_addr=12:62:e5:2e:fb:4e pri_dev_type=3-0050F204-1 name='DIRECT-4E-HP DeskJet 2600 series' config_methods=0x5a88 dev_capab=0x4 group_capab=0x1 vendor_elems=1 new=0
jun 15 14:21:40 x1.localdomain wpa_supplicant[2195]: P2P-DEVICE-FOUND d0:c0:bf:e7:6e:8f p2p_dev_addr=d0:c0:bf:e7:6e:8f pri_dev_type=8-0050F204-5 name='Mirascreen BFE76E8F' config_methods=0x88 dev_capab=0x25 group_capab=0xa wfd_dev_info=0x0151022a012c new=0
jun 15 14:21:41 x1.localdomain wpa_supplicant[2195]: P2P-FIND-STOPPED
jun 15 14:21:41 x1.localdomain NetworkManager[2086]: <info>  [1560604901.6075] keyfile: add connection /var/run/NetworkManager/system-connections/Wi-Fi P2P Peer D0:C0:BF:E7:6E:8F.nmconnection (8c1aabb3-e839-43cb-bff9-a655eebf1b3c,"Wi-Fi P2P Peer D0:C0:BF:E7:6E:8F")
jun 15 14:21:41 x1.localdomain NetworkManager[2086]: <info>  [1560604901.6083] device (p2p-dev-wlan0): Activation: starting connection 'Wi-Fi P2P Peer D0:C0:BF:E7:6E:8F' (8c1aabb3-e839-43cb-bff9-a655eebf1b3c)
jun 15 14:21:41 x1.localdomain NetworkManager[2086]: <info>  [1560604901.6087] audit: op="connection-add-activate" uuid="8c1aabb3-e839-43cb-bff9-a655eebf1b3c" name="Wi-Fi P2P Peer D0:C0:BF:E7:6E:8F" pid=14218 uid=1000 result="success"
jun 15 14:21:41 x1.localdomain NetworkManager[2086]: <info>  [1560604901.6150] device (p2p-dev-wlan0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
jun 15 14:21:41 x1.localdomain NetworkManager[2086]: <info>  [1560604901.6156] device (p2p-dev-wlan0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
jun 15 14:21:43 x1.localdomain wpa_supplicant[2195]: P2P-GO-NEG-SUCCESS role=GO freq=2412 ht40=0 peer_dev=d0:c0:bf:e7:6e:8f peer_iface=d0:c0:bf:e7:6e:8f wps_method=PBC
jun 15 14:21:43 x1.localdomain wpa_supplicant[2195]: Using interface p2p-wlan0-4 with hwaddr d4:3b:04:1d:3d:4c and ssid "DIRECT-iN"
jun 15 14:21:43 x1.localdomain kernel: IPv6: ADDRCONF(NETDEV_CHANGE): p2p-wlan0-4: link becomes ready
jun 15 14:21:43 x1.localdomain wpa_supplicant[2195]: p2p-wlan0-4: interface state UNINITIALIZED->ENABLED
jun 15 14:21:43 x1.localdomain wpa_supplicant[2195]: p2p-wlan0-4: AP-ENABLED
jun 15 14:21:43 x1.localdomain wpa_supplicant[2195]: p2p-wlan0-4: CTRL-EVENT-CONNECTED - Connection to d4:3b:04:1d:3d:4c completed [id=0 id_str=]
jun 15 14:21:43 x1.localdomain wpa_supplicant[2195]: p2p-wlan0-4: WPS-PBC-ACTIVE
jun 15 14:21:44 x1.localdomain avahi-daemon[1680]: Joining mDNS multicast group on interface p2p-wlan0-4.IPv6 with address fe80::d63b:4ff:fe1d:3d4c.
jun 15 14:21:44 x1.localdomain avahi-daemon[1680]: New relevant interface p2p-wlan0-4.IPv6 for mDNS.
jun 15 14:21:44 x1.localdomain avahi-daemon[1680]: Registering new address record for fe80::d63b:4ff:fe1d:3d4c on p2p-wlan0-4.*.
jun 15 14:21:45 x1.localdomain wpa_supplicant[2195]: P2P-DEVICE-FOUND d0:c0:bf:e7:6e:8f p2p_dev_addr=d0:c0:bf:e7:6e:8f pri_dev_type=8-0050F204-5 name='Mirascreen BFE76E8F' config_methods=0x80 dev_capab=0x25 group_capab=0xa wfd_dev_info=0x0051022a012c new=0
jun 15 14:21:45 x1.localdomain wpa_supplicant[2195]: p2p-wlan0-4: CTRL-EVENT-EAP-STARTED d0:c0:bf:e7:6e:8f
jun 15 14:21:45 x1.localdomain wpa_supplicant[2195]: p2p-wlan0-4: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
jun 15 14:21:46 x1.localdomain wpa_supplicant[2195]: p2p-wlan0-4: CTRL-EVENT-EAP-STARTED d0:c0:bf:e7:6e:8f
jun 15 14:21:46 x1.localdomain wpa_supplicant[2195]: p2p-wlan0-4: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
jun 15 14:21:46 x1.localdomain wpa_supplicant[2195]: p2p-wlan0-4: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=14122 method=254
jun 15 14:21:48 x1.localdomain wpa_supplicant[2195]: p2p-wlan0-4: WPS-REG-SUCCESS d0:c0:bf:e7:6e:8f d0c0bfe7-6e8f-0000-0000-000000000000
jun 15 14:21:48 x1.localdomain wpa_supplicant[2195]: P2P-GROUP-FORMATION-SUCCESS
jun 15 14:21:48 x1.localdomain wpa_supplicant[2195]: P2P-GROUP-STARTED p2p-wlan0-4 GO ssid="DIRECT-iN" freq=2412 go_dev_addr=d4:3b:04:1d:3d:4b
jun 15 14:21:48 x1.localdomain wpa_supplicant[2195]: p2p-wlan0-4: WPS-PBC-DISABLE
jun 15 14:21:48 x1.localdomain wpa_supplicant[2195]: p2p-wlan0-4: WPS-SUCCESS
jun 15 14:21:48 x1.localdomain wpa_supplicant[2195]: p2p-wlan0-4: CTRL-EVENT-EAP-FAILURE d0:c0:bf:e7:6e:8f
jun 15 14:21:48 x1.localdomain NetworkManager[2086]: <info>  [1560604908.2358] device (p2p-dev-wlan0): P2P Group supplicant interface state: starting -> ready
jun 15 14:21:48 x1.localdomain NetworkManager[2086]: <info>  [1560604908.2487] device (p2p-dev-wlan0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
jun 15 14:21:48 x1.localdomain avahi-daemon[1680]: Withdrawing address record for fe80::d63b:4ff:fe1d:3d4c on p2p-wlan0-4.
jun 15 14:21:48 x1.localdomain avahi-daemon[1680]: Leaving mDNS multicast group on interface p2p-wlan0-4.IPv6 with address fe80::d63b:4ff:fe1d:3d4c.
jun 15 14:21:48 x1.localdomain avahi-daemon[1680]: Interface p2p-wlan0-4.IPv6 no longer relevant for mDNS.
jun 15 14:21:48 x1.localdomain avahi-daemon[1680]: Joining mDNS multicast group on interface p2p-wlan0-4.IPv6 with address fe80::c56e:52e9:2073:d440.
jun 15 14:21:48 x1.localdomain avahi-daemon[1680]: New relevant interface p2p-wlan0-4.IPv6 for mDNS.
jun 15 14:21:48 x1.localdomain avahi-daemon[1680]: Registering new address record for fe80::c56e:52e9:2073:d440 on p2p-wlan0-4.*.
jun 15 14:21:48 x1.localdomain avahi-daemon[1680]: Joining mDNS multicast group on interface p2p-wlan0-4.IPv4 with address 10.42.0.1.
jun 15 14:21:48 x1.localdomain avahi-daemon[1680]: New relevant interface p2p-wlan0-4.IPv4 for mDNS.
jun 15 14:21:48 x1.localdomain avahi-daemon[1680]: Registering new address record for 10.42.0.1 on p2p-wlan0-4.IPv4.
jun 15 14:21:48 x1.localdomain NetworkManager[2086]: <info>  [1560604908.2745] Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface p2p-wlan0-4 --protocol tcp --destination-port 53 --jump ACCEPT
jun 15 14:21:48 x1.localdomain NetworkManager[2086]: <info>  [1560604908.2773] Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface p2p-wlan0-4 --protocol udp --destination-port 53 --jump ACCEPT
jun 15 14:21:48 x1.localdomain NetworkManager[2086]: <info>  [1560604908.2797] Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface p2p-wlan0-4 --protocol tcp --destination-port 67 --jump ACCEPT
jun 15 14:21:48 x1.localdomain NetworkManager[2086]: <info>  [1560604908.2820] Executing: /usr/sbin/iptables --table filter --insert INPUT --in-interface p2p-wlan0-4 --protocol udp --destination-port 67 --jump ACCEPT
jun 15 14:21:48 x1.localdomain NetworkManager[2086]: <info>  [1560604908.2845] Executing: /usr/sbin/iptables --table filter --insert FORWARD --in-interface p2p-wlan0-4 --jump REJECT
jun 15 14:21:48 x1.localdomain NetworkManager[2086]: <info>  [1560604908.2864] Executing: /usr/sbin/iptables --table filter --insert FORWARD --out-interface p2p-wlan0-4 --jump REJECT
jun 15 14:21:48 x1.localdomain NetworkManager[2086]: <info>  [1560604908.2880] Executing: /usr/sbin/iptables --table filter --insert FORWARD --in-interface p2p-wlan0-4 --out-interface p2p-wlan0-4 --jump ACCEPT
jun 15 14:21:48 x1.localdomain NetworkManager[2086]: <info>  [1560604908.2893] Executing: /usr/sbin/iptables --table filter --insert FORWARD --source 10.42.0.0/255.255.255.0 --in-interface p2p-wlan0-4 --jump ACCEPT
jun 15 14:21:48 x1.localdomain NetworkManager[2086]: <info>  [1560604908.2907] Executing: /usr/sbin/iptables --table filter --insert FORWARD --destination 10.42.0.0/255.255.255.0 --out-interface p2p-wlan0-4 --match state --state ESTABLISHED,RELATED --jump ACCEPT
jun 15 14:21:48 x1.localdomain NetworkManager[2086]: <info>  [1560604908.2948] device (p2p-dev-wlan0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
jun 15 14:21:48 x1.localdomain NetworkManager[2086]: <info>  [1560604908.2972] device (p2p-dev-wlan0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
jun 15 14:21:48 x1.localdomain NetworkManager[2086]: <info>  [1560604908.2973] device (p2p-dev-wlan0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
jun 15 14:21:48 x1.localdomain dnsmasq[14355]: chown of PID file /var/run/nm-dnsmasq-p2p-wlan0-4.pid failed: Operation not permitted
jun 15 14:21:48 x1.localdomain NetworkManager[2086]: <info>  [1560604908.2990] device (p2p-dev-wlan0): Activation: successful, device activated.
jun 15 14:21:48 x1.localdomain nm-dispatcher[14358]: req:1 'up' [p2p-wlan0-4]: new request (4 scripts)
jun 15 14:21:48 x1.localdomain nm-dispatcher[14358]: req:1 'up' [p2p-wlan0-4]: start running ordered scripts...
jun 15 14:21:49 x1.localdomain wpa_supplicant[2195]: p2p-wlan0-4: AP-STA-CONNECTED d0:c0:bf:e7:6e:8f p2p_dev_addr=d0:c0:bf:e7:6e:8f
jun 15 14:21:49 x1.localdomain wpa_supplicant[2195]: AP-STA-CONNECTED d0:c0:bf:e7:6e:8f p2p_dev_addr=d0:c0:bf:e7:6e:8f
jun 15 14:21:49 x1.localdomain dnsmasq-dhcp[14355]: DHCPDISCOVER(p2p-wlan0-4) d0:c0:bf:e7:6e:8f
jun 15 14:21:49 x1.localdomain dnsmasq-dhcp[14355]: DHCPOFFER(p2p-wlan0-4) 10.42.0.139 d0:c0:bf:e7:6e:8f
jun 15 14:21:49 x1.localdomain dnsmasq-dhcp[14355]: DHCPREQUEST(p2p-wlan0-4) 10.42.0.139 d0:c0:bf:e7:6e:8f
jun 15 14:21:49 x1.localdomain dnsmasq-dhcp[14355]: DHCPACK(p2p-wlan0-4) 10.42.0.139 d0:c0:bf:e7:6e:8f
jun 15 14:21:50 x1.localdomain NetworkManager[2086]: <info>  [1560604910.2913] policy: ipv6-pd: none of 0 prefixes of wlan0 can be shared on p2p-dev-wlan0
jun 15 14:22:47 x1.localdomain wpa_supplicant[2195]: P2P-DEVICE-LOST p2p_dev_addr=12:62:e5:2e:fb:4e
jun 15 14:22:53 x1.localdomain wpa_supplicant[2195]: p2p-wlan0-4: AP-STA-DISCONNECTED d0:c0:bf:e7:6e:8f p2p_dev_addr=d0:c0:bf:e7:6e:8f
jun 15 14:22:53 x1.localdomain wpa_supplicant[2195]: AP-STA-DISCONNECTED d0:c0:bf:e7:6e:8f p2p_dev_addr=d0:c0:bf:e7:6e:8f
jun 15 14:22:57 x1.localdomain wpa_supplicant[2195]: P2P-DEVICE-LOST p2p_dev_addr=d0:c0:bf:e7:6e:8f
jun 15 14:22:57 x1.localdomain NetworkManager[2086]: <warn>  [1560604977.9573] device (p2p-dev-wlan0): Peer requested in connection is missing for too long, failing connection.
jun 15 14:22:57 x1.localdomain NetworkManager[2086]: <info>  [1560604977.9574] device (p2p-dev-wlan0): state change: activated -> failed (reason 'peer-not-found', sys-iface-state: 'managed')
jun 15 14:22:57 x1.localdomain NetworkManager[2086]: <warn>  [1560604977.9596] device (p2p-dev-wlan0): Activation: failed for connection 'Wi-Fi P2P Peer D0:C0:BF:E7:6E:8F'
jun 15 14:22:57 x1.localdomain NetworkManager[2086]: <info>  [1560604977.9627] device (p2p-dev-wlan0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
jun 15 14:22:57 x1.localdomain wpa_supplicant[2195]: P2P-GROUP-REMOVED p2p-wlan0-4 GO reason=REQUESTED
jun 15 14:22:57 x1.localdomain wpa_supplicant[2195]: p2p-wlan0-4: interface state ENABLED->DISABLED
jun 15 14:22:57 x1.localdomain wpa_supplicant[2195]: p2p-wlan0-4: AP-DISABLED
jun 15 14:22:57 x1.localdomain avahi-daemon[1680]: Withdrawing address record for fe80::c56e:52e9:2073:d440 on p2p-wlan0-4.
jun 15 14:22:57 x1.localdomain avahi-daemon[1680]: Leaving mDNS multicast group on interface p2p-wlan0-4.IPv6 with address fe80::c56e:52e9:2073:d440.
jun 15 14:22:57 x1.localdomain NetworkManager[2086]: <info>  [1560604977.9693] Executing: /usr/sbin/iptables --table filter --delete FORWARD --destination 10.42.0.0/255.255.255.0 --out-interface p2p-wlan0-4 --match state --state ESTABLISHED,RELATED --jump ACCEPT
jun 15 14:22:57 x1.localdomain wpa_supplicant[2195]: p2p-wlan0-4: CTRL-EVENT-DISCONNECTED bssid=d4:3b:04:1d:3d:4c reason=3 locally_generated=1
jun 15 14:22:57 x1.localdomain avahi-daemon[1680]: Interface p2p-wlan0-4.IPv6 no longer relevant for mDNS.
jun 15 14:22:57 x1.localdomain avahi-daemon[1680]: Withdrawing address record for 10.42.0.1 on p2p-wlan0-4.
jun 15 14:22:57 x1.localdomain NetworkManager[2086]: <info>  [1560604977.9721] Executing: /usr/sbin/iptables --table filter --delete FORWARD --source 10.42.0.0/255.255.255.0 --in-interface p2p-wlan0-4 --jump ACCEPT
jun 15 14:22:57 x1.localdomain avahi-daemon[1680]: Leaving mDNS multicast group on interface p2p-wlan0-4.IPv4 with address 10.42.0.1.
jun 15 14:22:57 x1.localdomain avahi-daemon[1680]: Interface p2p-wlan0-4.IPv4 no longer relevant for mDNS.
jun 15 14:22:57 x1.localdomain NetworkManager[2086]: <info>  [1560604977.9745] Executing: /usr/sbin/iptables --table filter --delete FORWARD --in-interface p2p-wlan0-4 --out-interface p2p-wlan0-4 --jump ACCEPT
jun 15 14:22:57 x1.localdomain NetworkManager[2086]: <info>  [1560604977.9762] Executing: /usr/sbin/iptables --table filter --delete FORWARD --out-interface p2p-wlan0-4 --jump REJECT
jun 15 14:22:57 x1.localdomain nm-dispatcher[14700]: req:1 'down' [p2p-wlan0-4]: new request (4 scripts)
jun 15 14:22:57 x1.localdomain nm-dispatcher[14700]: req:1 'down' [p2p-wlan0-4]: start running ordered scripts...
jun 15 14:22:57 x1.localdomain NetworkManager[2086]: <info>  [1560604977.9785] Executing: /usr/sbin/iptables --table filter --delete FORWARD --in-interface p2p-wlan0-4 --jump REJECT
jun 15 14:22:57 x1.localdomain NetworkManager[2086]: <info>  [1560604977.9802] Executing: /usr/sbin/iptables --table filter --delete INPUT --in-interface p2p-wlan0-4 --protocol udp --destination-port 67 --jump ACCEPT
jun 15 14:22:57 x1.localdomain NetworkManager[2086]: <info>  [1560604977.9824] Executing: /usr/sbin/iptables --table filter --delete INPUT --in-interface p2p-wlan0-4 --protocol tcp --destination-port 67 --jump ACCEPT
jun 15 14:22:57 x1.localdomain wpa_supplicant[2195]: nl80211: deinit ifname=p2p-wlan0-4 disabled_11b_rates=1
jun 15 14:22:57 x1.localdomain NetworkManager[2086]: <info>  [1560604977.9842] Executing: /usr/sbin/iptables --table filter --delete INPUT --in-interface p2p-wlan0-4 --protocol udp --destination-port 53 --jump ACCEPT
jun 15 14:22:57 x1.localdomain NetworkManager[2086]: <info>  [1560604977.9861] Executing: /usr/sbin/iptables --table filter --delete INPUT --in-interface p2p-wlan0-4 --protocol tcp --destination-port 53 --jump ACCEPT
jun 15 14:22:57 x1.localdomain NetworkManager[2086]: <warn>  [1560604977.9880] sup-iface: failed to cancel p2p connect: P2P cancel failed
jun 15 14:22:57 x1.localdomain NetworkManager[2086]: <info>  [1560604977.9905] device (p2p-dev-wlan0): P2P Group supplicant interface state: ready -> down
@rflribeiro rflribeiro changed the title Can't see Miracast dongle in any mode Can't cast to Miracast/EZMirror Jun 15, 2019
@mckarthik7
Copy link

I have the same issue. What OS do you have? Can you also test if the same happens with

NETWORK_DISPLAYS_DUMMY=1

set and running the program and selecting the dummy sink?
You will also need to connect to the stream using something like vlc to rtsp://localhost:7236/wfd1.0

@rflribeiro
Copy link
Author

Fedora 30 with Miracast dongle in EZMirror mode.
Using NETWORK_DISPLAYS_DUMMY=1 didn't changed anything.
Thanks.

@benzea
Copy link
Owner

benzea commented Jun 19, 2019

Hmm, I think I have a friend in the office who has an EZMirror device. I'll ask them; please remind me in 1-2 weeks :)

@benzea
Copy link
Owner

benzea commented Jun 19, 2019

@rflribeiro if you set NETWORK_DISPLAYS_DUMMY=1 then a "Dummy WFD Sink" should always be in the list. If it isn't, then you probably didn't set the environment variable correctly, i.e.:

export NETWORK_DISPLAYS_DUMMY=1
gnome-network-displays

or

# On the same line
NETWORK_DISPLAYS_DUMMY=1 gnome-network-displays

@mckarthik7
Copy link

Another thing to try is with PIPEWIRE_DEBUG=5 and checking all logs. The error seems to be generated by pipewire/connection.c:513. I will also be posting my logs once I get the chance to run it with pipewire debug on.

@benzea
Copy link
Owner

benzea commented Jun 19, 2019

OK, so this thing is a "measy" Model A2W "Miracast Receiver". It shows EZMirror on the screen before connecting and has EZCastmsy-XXXXXXX as SSID.

Worked fine in my quick test (i.e. connecting worked and I got an image streamed).

@mckarthik7
Copy link

The error returned by pipewire seems to be EDESTADDRREQ. GNU.org explains it occurs when you try to transmit data over a connectionless socket, without first specifying a destination for the data with connect. @benzea.

@benzea
Copy link
Owner

benzea commented Jun 19, 2019

Right, I had not realised this was the pipewire issue.

There is a pipewire bug affecting pipewire version 0.2.6. Please downgrade pipewire to work around this (I don't think the fix is in a release just yet).

See https://github.com/PipeWire/pipewire/issues/155

@benzea benzea closed this as completed Jun 19, 2019
@rflribeiro
Copy link
Author

Right, I had not realised this was the pipewire issue.

There is a pipewire bug affecting pipewire version 0.2.6. Please downgrade pipewire to work around this (I don't think the fix is in a release just yet).

See PipeWire/pipewire#155

Bingo! Thanks!

@benzea
Copy link
Owner

benzea commented Jun 20, 2019

If anyone is on F30, then you can try the following update https://bodhi.fedoraproject.org/updates/FEDORA-2019-ca477740be which fixed the issue for me. Also, if you do it would be great if you give the update more karma, as it will reach users more quickly then.

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

No branches or pull requests

3 participants