Hi there. I would like to stream a video wirelessly from my Debian 12 laptop to a Miracast-compatible projector. I have no prior experience with this, and the easiest option seemed to be using gnome-network-displays
.
First, I checked that my laptop’s hardware supports Wi-Fi Direct by running the command iw list
and confirming that it includes P2P-client
and P2P-GO
.
Next, I verified that the projector has no issues receiving the stream. It works perfectly when I stream a video from my Android phone.
Unfortunately, when I try to connect my Debian 12 laptop, I can detect the projector, but the connection cannot be established.
Below is a relevant portion of the log. Can anyone assist? Any help is much appreciated.
gnome-shell[2551]: Icon created: org.gnome.NetworkDisplays [org.gnome.NetworkDisplays]
gnome-shell[2551]: Icon created: applications-system-symbolic [xdg-desktop-portal-gnome]
wpa_supplicant[1169]: P2P-DEVICE-FOUND 1e:2f:b2:31:10:4f p2p_dev_addr=1e:2f:b2:31:10:4f pri_dev_type=7-0050F204-1 name='Smart_Projector' config_methods=0x188 dev_capab=0x25 group_capab=0x0 wfd_dev_info=0x0111022a0014 vendor_elems=1 new=1
wpa_supplicant[1169]: dbus: Register peer object '/fi/w1/wpa_supplicant1/Interfaces/5/Peers/1e2fa232104f'
wpa_supplicant[1169]: wlo1: P2P: Reject scan trigger since one is already pending
wpa_supplicant[1169]: P2P-DEVICE-FOUND 1e:2f:b2:31:10:4f p2p_dev_addr=1e:2f:b2:31:10:4f pri_dev_type=7-0050F204-1 name='Smart_Projector' config_methods=0x188 dev_capab=0x25 group_capab=0x0 wfd_dev_info=0x0111022a0014 vendor_elems=1 new=0
wpa_supplicant[1169]: P2P-FIND-STOPPED
NetworkManager[1166]: <info> [1736181554.0273] device (p2p-dev-wlo1): Activation: starting connection 'Wi-Fi P2P Peer 1E:2E:B2:32:10:4F' (0a529dcf-d1c2-4683-9872-b63508b0c344)
NetworkManager[1166]: <info> [1736181554.0275] audit: op="connection-add-activate" uuid="0a529dcf-d1c2-4683-9872-b63508b0c344" name="Wi-Fi P2P Peer 1E:2E:B2:32:10:4F" pid=49545 uid=1000 result="success"
NetworkManager[1166]: <info> [1736181554.0277] device (p2p-dev-wlo1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
NetworkManager[1166]: <info> [1736181554.0279] device (p2p-dev-wlo1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
gnome-shell[2551]: DEBUG net/DeviceMonitor.js::_loadDevices(100) 2 - lo: 52332 643 0 0 0 0 0 0 52332 643 0 0 0 0 0 0
gnome-shell[2551]: DEBUG net/DeviceMonitor.js::_loadDevices(100) 3 - wlo1: 2017189680 1881836 0 31 0 0 0 0 3033857339 1279643 0 0 0 0 0 0
gnome-shell[2551]: DEBUG net/DeviceMonitor.js::_loadDevices(100) 4 - p2p-wlo1-0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
gnome-shell[2551]: JS ERROR: TypeError: device is null
_getIPAddress@/home/shevek/.local/share/gnome-shell/extensions/network-stats@gnome.noroadsleft.xyz/net/DeviceMonitor.js:176:13
_loadDevices@/home/shevek/.local/share/gnome-shell/extensions/network-stats@gnome.noroadsleft.xyz/net/DeviceMonitor.js:111:36
_connectionChanged@/home/shevek/.local/share/gnome-shell/extensions/network-stats@gnome.noroadsleft.xyz/net/DeviceMonitor.js:169:14
gnome-shell[2551]: DEBUG net/DeviceMonitor.js::_loadDevices(100) 2 - lo: 52332 643 0 0 0 0 0 0 52332 643 0 0 0 0 0 0
gnome-shell[2551]: DEBUG net/DeviceMonitor.js::_loadDevices(100) 3 - wlo1: 2017189680 1881836 0 31 0 0 0 0 3033857339 1279643 0 0 0 0 0 0
gnome-shell[2551]: DEBUG net/DeviceMonitor.js::_loadDevices(100) 4 - p2p-wlo1-0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
gnome-shell[2551]: JS ERROR: TypeError: device is null
_getIPAddress@/home/shevek/.local/share/gnome-shell/extensions/network-stats@gnome.noroadsleft.xyz/net/DeviceMonitor.js:176:13
_loadDevices@/home/shevek/.local/share/gnome-shell/extensions/network-stats@gnome.noroadsleft.xyz/net/DeviceMonitor.js:111:36
_connectionChanged@/home/shevek/.local/share/gnome-shell/extensions/network-stats@gnome.noroadsleft.xyz/net/DeviceMonitor.js:169:14
(udev-worker)[49661]: p2p-wlo1-0: Could not set AlternativeName= or apply AlternativeNamesPolicy=, ignoring: File exists
...
(gnome-network-displays:49545): GLib-GObject-WARNING **: 17:40:03.247: ../../../gobject/gsignal.c:3533: invalid object type '