ND8801
(ND8801)
January 19, 2021, 10:18pm
1
Wi-Fi works normally but screen mirroring via miracast dont working
>>>Debug info SPOILER<<<
DEBUG INFO
lsmod | grep 8821
rtw88_8821ce 16384 0
rtw88_8821c 77824 1 rtw88_8821ce
rtw88_pci 28672 1 rtw88_8821ce
rtw88_core 155648 2 rtw88_pci,rtw88_8821c
iw phy
Wiphy phy0
max # scan SSIDs: 4
max scan IEs length: 2243 bytes
max # sched scan SSIDs: 0
max # match sets: 0
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Device supports T-DLS.
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP-128 (00-0f-ac:4)
* CCMP-256 (00-0f-ac:10)
* GCMP-128 (00-0f-ac:8)
* GCMP-256 (00-0f-ac:9)
* CMAC (00-0f-ac:6)
* CMAC-256 (00-0f-ac:13)
* GMAC-128 (00-0f-ac:11)
* GMAC-256 (00-0f-ac:12)
Available Antennas: TX 0x1 RX 0x1
Configured Antennas: TX 0x1 RX 0x1
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* mesh point
Band 1:
Capabilities: 0x196e
HT20/HT40
SM Power Save disabled
RX HT20 SGI
RX HT40 SGI
RX STBC 1-stream
Max AMSDU length: 7935 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT Max RX data rate: 150 Mbps
HT TX/RX MCS rate indexes supported: 0-7, 32
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps
* 5.5 Mbps
* 11.0 Mbps
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (20.0 dBm)
* 2472 MHz [13] (20.0 dBm)
* 2484 MHz [14] (disabled)
Band 2:
Capabilities: 0x196e
HT20/HT40
SM Power Save disabled
RX HT20 SGI
RX HT40 SGI
RX STBC 1-stream
Max AMSDU length: 7935 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT Max RX data rate: 150 Mbps
HT TX/RX MCS rate indexes supported: 0-7, 32
VHT Capabilities (0x03d07122):
Max MPDU length: 11454
Supported Channel Width: neither 160 nor 80+80
short GI (80 MHz)
SU Beamformee
MU Beamformee
+HTC-VHT
VHT RX MCS set:
1 streams: MCS 0-9
2 streams: not supported
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT RX highest supported: 390 Mbps
VHT TX MCS set:
1 streams: MCS 0-9
2 streams: not supported
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT TX highest supported: 390 Mbps
Bitrates (non-HT):
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Frequencies:
* 5180 MHz [36] (20.0 dBm)
* 5200 MHz [40] (20.0 dBm)
* 5220 MHz [44] (20.0 dBm)
* 5240 MHz [48] (20.0 dBm)
* 5260 MHz [52] (20.0 dBm)
* 5280 MHz [56] (20.0 dBm)
* 5300 MHz [60] (20.0 dBm)
* 5320 MHz [64] (20.0 dBm)
* 5500 MHz [100] (disabled)
* 5520 MHz [104] (disabled)
* 5540 MHz [108] (disabled)
* 5560 MHz [112] (disabled)
* 5580 MHz [116] (disabled)
* 5600 MHz [120] (disabled)
* 5620 MHz [124] (disabled)
* 5640 MHz [128] (disabled)
* 5660 MHz [132] (20.0 dBm)
* 5680 MHz [136] (20.0 dBm)
* 5700 MHz [140] (20.0 dBm)
* 5745 MHz [149] (20.0 dBm)
* 5765 MHz [153] (20.0 dBm)
* 5785 MHz [157] (20.0 dBm)
* 5805 MHz [161] (20.0 dBm)
* 5825 MHz [165] (20.0 dBm)
Supported commands:
* new_interface
* set_interface
* new_key
* start_ap
* new_station
* new_mpath
* set_mesh_config
* set_bss
* authenticate
* associate
* deauthenticate
* disassociate
* join_ibss
* join_mesh
* remain_on_channel
* set_tx_bitrate_mask
* frame
* frame_wait_cancel
* set_wiphy_netns
* set_channel
* set_wds_peer
* tdls_mgmt
* tdls_oper
* probe_client
* set_noack_map
* register_beacons
* start_p2p_device
* set_mcast_rate
* connect
* disconnect
* set_qos_map
* set_multicast_to_unicast
software interface modes (can always be added):
* AP/VLAN
* monitor
interface combinations are not supported
HT Capability overrides:
* MCS: ff ff ff ff ff ff ff ff ff ff
* maximum A-MSDU length
* supported channel width
* short GI for 40 MHz
* max A-MPDU length exponent
* min MPDU start spacing
Device supports TX status socket option.
Device supports HT-IBSS.
Device supports SAE with AUTHENTICATE command
Device supports low priority scan.
Device supports scan flush.
Device supports AP scan.
Device supports per-vif TX power setting
Driver supports full state transitions for AP/GO clients
Driver supports a userspace MPM
Device supports configuring vdev MAC-addr on create.
Device supports randomizing MAC-addr in scans.
max # scan plans: 1
max scan plan interval: -1
max scan plan iterations: 0
Supported TX frame types:
* IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
Supported RX frame types:
* IBSS: 0x40 0xb0 0xc0 0xd0
* managed: 0x40 0xb0 0xd0
* AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* mesh point: 0xb0 0xc0 0xd0
* P2P-client: 0x40 0xd0
* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* P2P-device: 0x40 0xd0
Supported extended features:
* [ RRM ]: RRM
* [ FILS_STA ]: STA FILS (Fast Initial Link Setup)
* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
* [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
ND8801
(ND8801)
January 19, 2021, 11:31pm
5
[@laptop wpa_supplicant]$ nmcli device
DEVICE TYPE STATE CONNECTION
wlp1s0 wifi connected Home Wi-Fi
1 Like
vgaetera
(Vladislav Grigoryev)
January 19, 2021, 11:42pm
6
It looks like this for me:
> nmcli device
DEVICE TYPE STATE CONNECTION
wlp2s0 wifi connected vghome
p2p-dev-wlp2s0 wifi-p2p disconnected --
...
Probably your Wi-Fi adapter/driver is missing the necessary feature.
ND8801
(ND8801)
January 19, 2021, 11:54pm
7
After installing custom driver from github have additional options ‘p2p-dev-wlp1s0 wifi-p2p’
1 Like
ND8801
(ND8801)
January 25, 2021, 8:07pm
8
Ooops, was device showed but gnome-network-displays cannot connect to miracast screens (from android works fine)
** (gnome-network-displays:19790): DEBUG: 00:16:56.684: Got state change notification from streaming sink to state ND_SINK_STATE_ERROR
ND8801
(ND8801)
January 25, 2021, 10:17pm
9
tcpdump show nothing trying to connect
(gnome-network-displays:24357): GLib-GIO-DEBUG: 02:09:39.952: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
(gnome-network-displays:24357): dconf-DEBUG: 02:09:39.952: watch_fast: "/org/gnome/desktop/interface/" (establishing: 0, active: 0)
(gnome-network-displays:24357): dconf-DEBUG: 02:09:39.952: watch_fast: "/org/gnome/desktop/peripherals/mouse/" (establishing: 0, active: 0)
(gnome-network-displays:24357): dconf-DEBUG: 02:09:39.952: watch_fast: "/org/gnome/settings-daemon/peripherals/mouse/" (establishing: 0, active: 0)
(gnome-network-displays:24357): dconf-DEBUG: 02:09:39.952: watch_fast: "/org/gnome/desktop/sound/" (establishing: 0, active: 0)
(gnome-network-displays:24357): dconf-DEBUG: 02:09:39.952: watch_fast: "/org/gnome/desktop/privacy/" (establishing: 0, active: 0)
(gnome-network-displays:24357): dconf-DEBUG: 02:09:39.952: watch_fast: "/org/gnome/desktop/wm/preferences/" (establishing: 0, active: 0)
(gnome-network-displays:24357): dconf-DEBUG: 02:09:39.952: watch_fast: "/org/gnome/settings-daemon/plugins/xsettings/" (establishing: 0, active: 0)
(gnome-network-displays:24357): dconf-DEBUG: 02:09:39.952: watch_fast: "/org/gnome/desktop/a11y/" (establishing: 0, active: 0)
(gnome-network-displays:24357): dconf-DEBUG: 02:09:39.956: watch_established: "/org/gnome/desktop/interface/" (establishing: 1)
(gnome-network-displays:24357): dconf-DEBUG: 02:09:39.956: watch_established: "/org/gnome/desktop/peripherals/mouse/" (establishing: 1)
(gnome-network-displays:24357): dconf-DEBUG: 02:09:39.956: watch_established: "/org/gnome/settings-daemon/peripherals/mouse/" (establishing: 1)
(gnome-network-displays:24357): dconf-DEBUG: 02:09:39.956: watch_established: "/org/gnome/desktop/sound/" (establishing: 1)
(gnome-network-displays:24357): dconf-DEBUG: 02:09:39.956: watch_established: "/org/gnome/desktop/privacy/" (establishing: 1)
(gnome-network-displays:24357): dconf-DEBUG: 02:09:39.957: watch_established: "/org/gnome/desktop/wm/preferences/" (establishing: 1)
(gnome-network-displays:24357): dconf-DEBUG: 02:09:39.957: watch_established: "/org/gnome/settings-daemon/plugins/xsettings/" (establishing: 1)
(gnome-network-displays:24357): dconf-DEBUG: 02:09:39.957: watch_established: "/org/gnome/desktop/a11y/" (establishing: 1)
(gnome-network-displays:24357): GLib-GIO-DEBUG: 02:09:39.981: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
(gnome-network-displays:24357): GLib-DEBUG: 02:09:40.001: unsetenv() is not thread-safe and should not be used after threads are created
(gnome-network-displays:24357): Gtk-DEBUG: 02:09:40.001: Connecting to session manager
** (gnome-network-displays:24357): DEBUG: 02:09:40.071: NdScreencastPortal: Aquired Portal proxy
** (gnome-network-displays:24357): DEBUG: 02:09:40.072: task is: 0x7f171400ebe0
** (gnome-network-displays:24357): DEBUG: 02:09:40.072: NdPulseaudio: Querying sink info by name
** (gnome-network-displays:24357): DEBUG: 02:09:40.076: NdPulseaudio: Error querying sink info
** (gnome-network-displays:24357): DEBUG: 02:09:40.076: NdPulseaudio: Got a sink info for the expected name
** (gnome-network-displays:24357): DEBUG: 02:09:40.077: WFDP2PRegistry: Found a new device, creating provider
** (gnome-network-displays:24357): DEBUG: 02:09:40.077: WfdP2PProvider: Discover is now set to 1
** (gnome-network-displays:24357): DEBUG: 02:09:40.088: WFDP2PRegistry: Got NMClient
** (gnome-network-displays:24357): DEBUG: 02:09:40.101: NdScreencastPortal: Received CreateSession response
** (gnome-network-displays:24357): DEBUG: 02:09:40.101: simple variant lookup: /org/freedesktop/portal/desktop/session/1_199/gnd1677024192
** (gnome-network-displays:24357): DEBUG: 02:09:40.103: NdScreencastPortal: Received SelectSource response
** (gnome-network-displays:24357): DEBUG: 02:09:41.962: NdScreencastPortal: Received Start response
** (gnome-network-displays:24357): DEBUG: 02:09:41.962: Got a stream with node ID: 37
** (gnome-network-displays:24357): DEBUG: 02:09:43.993: WFDP2PProvider: Found a new sink with peer 0x5626ac96e270 on device 0x5626acf5c1e0
** (gnome-network-displays:24357): DEBUG: 02:09:43.993: SinkList: Adding a sink
** (gnome-network-displays:24357): DEBUG: 02:09:45.023: Found x264enc for video encoding.
** (gnome-network-displays:24357): DEBUG: 02:09:45.023: Found fdkaacenc for audio encoding.
** (gnome-network-displays:24357): DEBUG: 02:09:45.023: Found avenc_aac for audio encoding.
** (gnome-network-displays:24357): DEBUG: 02:09:45.024: Got state change notification from streaming sink to state ND_SINK_STATE_ENSURE_FIREWALL
** (gnome-network-displays:24357): DEBUG: 02:09:45.025: WfdP2PProvider: Discover is now set to 0
** (gnome-network-displays:24357): DEBUG: 02:09:45.057: NdWfdP2PSink: Got firewall information
** (gnome-network-displays:24357): DEBUG: 02:09:45.057: Got state change notification from streaming sink to state ND_SINK_STATE_WAIT_P2P
** (gnome-network-displays:24357): DEBUG: 02:09:45.115: NdWfdP2PSink: Got P2P connection
** (gnome-network-displays:24357): DEBUG: 02:09:45.115: Found x264enc for video encoding.
** (gnome-network-displays:24357): DEBUG: 02:09:45.115: Found fdkaacenc for audio encoding.
** (gnome-network-displays:24357): DEBUG: 02:09:45.115: Found avenc_aac for audio encoding.
** (gnome-network-displays:24357): DEBUG: 02:09:45.115: Got state change notification from streaming sink to state ND_SINK_STATE_WAIT_SOCKET
** (gnome-network-displays:24357): DEBUG: 02:10:30.687: WfdServer: Finalize
** (gnome-network-displays:24357): DEBUG: 02:10:30.687: WfdMediaFactory: Finalize
** (gnome-network-displays:24357): DEBUG: 02:10:30.688: Got state change notification from streaming sink to state ND_SINK_STATE_ERROR
** (gnome-network-displays:24357): DEBUG: 02:10:45.737: WFDP2PProvider: Peer removed
** (gnome-network-displays:24357): DEBUG: 02:10:45.737: MetaSink: No usable sink is left, object has become invalid.
** (gnome-network-displays:24357): DEBUG: 02:10:45.737: SinkList: Removing a sink
** (gnome-network-displays:24357): DEBUG: 02:11:09.207: Got state change notification from streaming sink to state ND_SINK_STATE_DISCONNECTED
** (gnome-network-displays:24357): DEBUG: 02:11:09.208: WfdP2PProvider: Discover is now set to 1
(gnome-network-displays:24357): dconf-DEBUG: 02:11:10.564: sync
vgaetera
(Vladislav Grigoryev)
January 26, 2021, 3:32am
10
Try to switch SELinux to the permissive mode and temporarily stop firewall:
sudo setenforce 0
sudo systemctl stop firewalld.service
ND8801
(ND8801)
January 26, 2021, 5:00pm
12
No changes, tried with other miracast adapter too.
I think i need configure dnsmasq for p2p-dev-wlp1s0 wifi-p2p but i don’t know how do this. Can u help?