Is anyone using Gnome-Network-Displays to WiFi screencast to their TV?

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
cheapybob
Posts: 43
Joined: Tue Nov 15, 2016 1:28 am

Is anyone using Gnome-Network-Displays to WiFi screencast to their TV?

#1 Post by cheapybob »

It requires network manager. Any tips on how to configure MX with it?
Too many years to remember and too many computers to list.
Daily Driver: 2017 Dell XPS-15-7559 I7 16gb with 500gb SSD + 1TB HD. 4K Optimus Video, 15" 4K laptop screen + 42" Roku 4K

User avatar
Eadwine Rose
Administrator
Posts: 14519
Joined: Wed Jul 12, 2006 2:10 am

Re: Is anyone using Gnome-Network-Displays to WiFi screencast to their TV?

#2 Post by Eadwine Rose »

Please share your full Quick System Info, found in the menu. Press the Copy for forum button, then click paste in a reply.. thanks.
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

cheapybob
Posts: 43
Joined: Tue Nov 15, 2016 1:28 am

Re: Is anyone using Gnome-Network-Displays to WiFi screencast to their TV?

#3 Post by cheapybob »

I have been trying the different flavors of MX 64, and reloaded with the standard XFCE 64 version, and was trying to use a flatpak, instead of adding packages, but ran out of space in the partition. I will post the details after I rearrange the drive.

I did get it to work under Devuan, but haven't had any luck with any other distros thus far. I normally run antiX, but according to the git site Network Manager is required. This is the first time there was a feature that I really want that I couldn't get to work with antiX. If I need a separate distro, I'd rather it be MX than Devuan or MS Win.
Too many years to remember and too many computers to list.
Daily Driver: 2017 Dell XPS-15-7559 I7 16gb with 500gb SSD + 1TB HD. 4K Optimus Video, 15" 4K laptop screen + 42" Roku 4K

fan_of_LTS
Posts: 102
Joined: Sat Jun 13, 2020 11:49 am

Re: Is anyone using Gnome-Network-Displays to WiFi screencast to their TV?

#4 Post by fan_of_LTS »

I was successful in both MX21 and MX23 using the flatpak.

In Linux I could not cast with my built-in adapter that worked in Windows. I used an old USB adapter from TP-Link (model T2U). The Netgear RAXE300 6E adapter worked better even though I had to use the 2.4Ghz frequency with my TV.

I had lots of errors with the flatpak BUT it worked when I switched to the 6.4 kernel. I think there were more changes scheduled for some newer kernels. The Liquorix kernels did not work for me.

cheapybob
Posts: 43
Joined: Tue Nov 15, 2016 1:28 am

Re: Is anyone using Gnome-Network-Displays to WiFi screencast to their TV?

#5 Post by cheapybob »

@fan_of_LTS, thanks for the helpful post. I believe the AH MX version I was trying has the Liquorix kernel, so it's possible that was a factor. Its also good to know someone has it running, and that you got it working with the flatpak.
Too many years to remember and too many computers to list.
Daily Driver: 2017 Dell XPS-15-7559 I7 16gb with 500gb SSD + 1TB HD. 4K Optimus Video, 15" 4K laptop screen + 42" Roku 4K

cheapybob
Posts: 43
Joined: Tue Nov 15, 2016 1:28 am

Re: Is anyone using Gnome-Network-Displays to WiFi screencast to their TV?

#6 Post by cheapybob »

I have tried 23.2 AHS, and XFCE, as well as Fluxbox. I installed to the SSD and updated the OS before installing any software. I have tried installed with flatpak and from synaptic. All were on the same Dell E5540 laptop that I have it working on Devuan (which was installed from synaptic). They all get as far as offering to connect to the TV, and all just come back with an "Error" box.

Any help would be appreciated :)

Here is the system info (23.2 64 bit XFCE running currently, with packages loaded via synaptic):

Code: Select all

System:
  Kernel: 6.1.0-18-amd64 [6.1.76-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-18-amd64 root=UUID=<filter> ro quiet splash
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23.2_x64 Libretto January 21  2024 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Laptop System: Dell product: Latitude E5540 v: 00 serial: <superuser required> Chassis:
    type: 9 serial: <superuser required>
  Mobo: Dell model: 0H56PP v: A00 serial: <superuser required> UEFI: Dell v: A21 date: 02/01/2018
Battery:
  ID-1: BAT0 charge: 50.3 Wh (100.0%) condition: 50.3/57.7 Wh (87.1%) volts: 12.9 min: 11.1
    model: Sanyo DELL M7T5F53 type: Li-ion serial: <filter> status: full
CPU:
  Info: model: Intel Core i5-4310U bits: 64 type: MT MCP arch: Haswell gen: core 4 level: v3
    note: check built: 2013-15 process: Intel 22nm family: 6 model-id: 0x45 (69) stepping: 1
    microcode: 0x26
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache: L1: 128 KiB
    desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 1586 high: 1596 min/max: 800/3000 scaling: driver: intel_cpufreq
    governor: ondemand cores: 1: 1596 2: 1578 3: 1596 4: 1575 bogomips: 20751
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB
    filling, PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Dell driver: i915 v: kernel arch: Gen-7.5
    process: Intel 22nm built: 2013 ports: active: eDP-1 empty: DP-1,HDMI-A-1,HDMI-A-2
    bus-ID: 00:02.0 chip-ID: 8086:0a16 class-ID: 0300
  Device-2: Sunplus Innovation Laptop_Integrated_Webcam_HD type: USB driver: uvcvideo
    bus-ID: 1-1.6:4 chip-ID: 1bcf:2984 class-ID: 0e02
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: crocus gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99") s-diag: 414mm (16.31")
  Monitor-1: eDP-1 model: AU Optronics 0x46ec built: 2011 res: 1366x768 hz: 60 dpi: 101
    gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9 modes: 1366x768
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel HD Graphics 4400 (HSW GT2)
    direct-render: Yes
Audio:
  Device-1: Intel Haswell-ULT HD Audio vendor: Dell driver: snd_hda_intel v: kernel bus-ID: 00:03.0
    chip-ID: 8086:0a0c class-ID: 0403
  Device-2: Intel 8 Series HD Audio vendor: Dell 8 driver: snd_hda_intel v: kernel
    bus-ID: 00:1b.0 chip-ID: 8086:9c20 class-ID: 0403
  API: ALSA v: k6.1.0-18-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Ethernet I218-LM vendor: Dell driver: e1000e v: kernel port: f080 bus-ID: 00:19.0
    chip-ID: 8086:155a class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel modules: wl pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:08b1 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 1-1.8.2:6
    chip-ID: 8087:07dc class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 4 state: up address: <filter> bt-v: 2.1 lmp-v: 4.0
    sub-v: 500 hci-v: 4.0 rev: 500
  Info: acl-mtu: 1021:5 sco-mtu: 96:5 link-policy: rswitch hold sniff
    link-mode: peripheral accept service-classes: rendering, capturing, object transfer, audio,
    telephony
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci v: 3.0 port: f060
    bus-ID: 00:1f.2 chip-ID: 8086:282a rev: N/A class-ID: 0104
Drives:
  Local Storage: total: 480.11 GiB used: 10.7 GiB (2.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 1B6Q
    scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 type: USB vendor: SanDisk model: USB 3.2Gen1 size: 14.34 GiB
    block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 1.00 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 40 GiB size: 39.08 GiB (97.69%) used: 10.67 GiB (27.3%) fs: ext4 dev: /dev/sda7
    maj-min: 8:7
  ID-2: /boot/efi raw-size: 99 MiB size: 95 MiB (95.96%) used: 32.4 MiB (34.2%) fs: vfat
    dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 3 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 48.0 C mobo: 31.0 C sodimm: SODIMM C
  Fan Speeds (RPM): cpu: 0
Repos:
  Packages: pm: dpkg pkgs: 2054 libs: 1046 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bookworm main non-free
Info:
  Processes: 230 Uptime: 1h 27m wakeups: 2 Memory: 7.66 GiB used: 2.81 GiB (36.7%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI

Here is the output from iw dev, then nmcli device, and then running the gnome-network-displays program with debug on. I don't understand why it is falling back to X11 mode as xdg-desktop-portal and xdg-desktop-portal-gtk are installed.

Code: Select all

$ iw dev
phy#0
	Unnamed/non-netdev interface
		wdev 0x2
		addr 80:86:f2:6c:4d:f0
		type P2P-device
	Interface wlan0
		ifindex 3
		wdev 0x1
		addr 80:86:f2:6c:4d:f0
		type managed
		channel 3 (2422 MHz), width: 20 MHz, center1: 2422 MHz
		txpower 22.00 dBm
		multicast TXQ:
			qsz-byt	qsz-pkt	flows	drops	marks	overlmt	hashcol	tx-bytes	tx-packets
			0	0	0	0	0	0	0	0		0
bobc@mx-E5540:~

Code: Select all

$ nmcli device
DEVICE         TYPE      STATE                   CONNECTION 
wlan0          wifi      connected               dlink2     
lo             loopback  connected (externally)  lo         
p2p-dev-wlan0  wifi-p2p  disconnected            --         
eth0           ethernet  unavailable             --         
bobc@mx-E5540:~
$ sudo gdbus call --system --dest fi.w1.wpa_supplicant1 --object-path /fi/w1/wpa_supplicant1 --method org.freedesktop.DBus.Properties.Get fi.w1.wpa_supplicant1 WFDIEs
[sudo] password for bobc:        
(<@ay []>,)
bobc@mx-E5540:~

Code: Select all

$ G_MESSAGES_DEBUG=all gnome-network-displays
(gnome-network-displays:6475): GLib-GIO-DEBUG: 15:00:52.796: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(gnome-network-displays:6475): GLib-GIO-DEBUG: 15:00:52.808: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
(gnome-network-displays:6475): GLib-DEBUG: 15:00:52.884: unsetenv() is not thread-safe and should not be used after threads are created
(gnome-network-displays:6475): Gtk-DEBUG: 15:00:52.884: Connecting to session manager
(gnome-network-displays:6475): Gtk-DEBUG: 15:00:52.884: Failed to get the GNOME session proxy: The name org.gnome.SessionManager is not owned
(gnome-network-displays:6475): GLib-GIO-DEBUG: 15:00:52.933: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
** (gnome-network-displays:6475): DEBUG: 15:00:52.994: NdScreencastPortal: Aquired Portal proxy
** (gnome-network-displays:6475): DEBUG: 15:00:52.994: task is: 0x7f4db0003d50

** (gnome-network-displays:6475): WARNING **: 15:00:53.001: Error calling DBus method during Screencast portal initialization: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.ScreenCast” on object at path /org/freedesktop/portal/desktop

** (gnome-network-displays:6475): WARNING **: 15:00:53.001: Error initing screencast portal: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.ScreenCast” on object at path /org/freedesktop/portal/desktop

** (gnome-network-displays:6475): WARNING **: 15:00:53.001: Screencasting portal is unavailable! It is required to select the monitor to stream!

** (gnome-network-displays:6475): WARNING **: 15:00:53.001: Falling back to X11! You need to fix your setup to avoid issues (XDG Portals and/or mutter screencasting support)!
** (gnome-network-displays:6475): DEBUG: 15:00:53.003: WFDP2PRegistry: Found a new device, creating provider
** (gnome-network-displays:6475): DEBUG: 15:00:53.003: WfdP2PProvider: Discover is now set to 1
** (gnome-network-displays:6475): DEBUG: 15:00:53.012: WFDP2PRegistry: Got NMClient
** (gnome-network-displays:6475): DEBUG: 15:00:53.012: NdPulseaudio: Querying sink info by name
** (gnome-network-displays:6475): DEBUG: 15:00:53.029: NdPulseaudio: Error querying sink info
** (gnome-network-displays:6475): DEBUG: 15:00:53.029: NdPulseaudio: Got a sink info for the expected name
** (gnome-network-displays:6475): DEBUG: 15:00:57.462: WFDP2PProvider: Found a new sink with peer 0x560f7b3a41a0 on device 0x560f7b7a48c0
** (gnome-network-displays:6475): DEBUG: 15:00:57.462: SinkList: Adding a sink
** (gnome-network-displays:6475): DEBUG: 15:01:03.487: Found openh264enc for video encoding.
** (gnome-network-displays:6475): DEBUG: 15:01:03.487: Found x264enc for video encoding.
** (gnome-network-displays:6475): DEBUG: 15:01:03.487: Found avenc_aac for audio encoding.
** (gnome-network-displays:6475): DEBUG: 15:01:03.488: Got state change notification from streaming sink to state ND_SINK_STATE_ENSURE_FIREWALL
** (gnome-network-displays:6475): DEBUG: 15:01:03.488: WfdP2PProvider: Discover is now set to 0
** (gnome-network-displays:6475): DEBUG: 15:01:03.489: NdFirewalld: Firewalld does not seem to be installed. Code will assume that no firewall will be configured.
** (gnome-network-displays:6475): DEBUG: 15:01:03.489: NdWfdP2PSink: Got firewall information
** (gnome-network-displays:6475): DEBUG: 15:01:03.489: Got state change notification from streaming sink to state ND_SINK_STATE_WAIT_P2P
** (gnome-network-displays:6475): DEBUG: 15:01:03.524: NdWfdP2PSink: Got P2P connection
** (gnome-network-displays:6475): DEBUG: 15:01:03.524: Found openh264enc for video encoding.
** (gnome-network-displays:6475): DEBUG: 15:01:03.524: Found x264enc for video encoding.
** (gnome-network-displays:6475): DEBUG: 15:01:03.524: Found avenc_aac for audio encoding.
** (gnome-network-displays:6475): DEBUG: 15:01:03.525: Got state change notification from streaming sink to state ND_SINK_STATE_WAIT_SOCKET
** (gnome-network-displays:6475): DEBUG: 15:01:32.503: WfdServer: Finalize
** (gnome-network-displays:6475): DEBUG: 15:01:32.503: WfdMediaFactory: Finalize
** (gnome-network-displays:6475): DEBUG: 15:01:32.503: Got state change notification from streaming sink to state ND_SINK_STATE_ERROR
** (gnome-network-displays:6475): DEBUG: 15:01:37.726: MetaSink: No usable sink is left, object has become invalid.

(gnome-network-displays:6475): GLib-GObject-WARNING **: 15:01:37.726: ../../../gobject/gsignal.c:3533: invalid object type 'guint' for value type 'NdSink'
bobc@mx-E5540:~
Too many years to remember and too many computers to list.
Daily Driver: 2017 Dell XPS-15-7559 I7 16gb with 500gb SSD + 1TB HD. 4K Optimus Video, 15" 4K laptop screen + 42" Roku 4K

fan_of_LTS
Posts: 102
Joined: Sat Jun 13, 2020 11:49 am

Re: Is anyone using Gnome-Network-Displays to WiFi screencast to their TV?

#7 Post by fan_of_LTS »

I can't seem to locate my notes from when I was actively working on this but I do know that I was unsuccessful with kernel 6.1. It was when I upgraded to the 6.4 kernel that it started to work for me.

I was using an AMD Ryzen and TP-Link T2U though but perhaps a newer kernel will help.

cheapybob
Posts: 43
Joined: Tue Nov 15, 2016 1:28 am

Re: Is anyone using Gnome-Network-Displays to WiFi screencast to their TV?

#8 Post by cheapybob »

Here are the same outputs from the same PC connecting to the same TV from Devuan. It connected for just a moment, then failed. It takes a couple tries usually, but then works.

Code: Select all

bobc@dell-e5540:~$ sudo iw dev
[sudo] password for bobc: 
phy#0
	Unnamed/non-netdev interface
		wdev 0x2
		addr 80:86:f2:6c:4d:f0
		type P2P-device
		txpower 0.00 dBm
	Interface wlan0
		ifindex 3
		wdev 0x1
		addr 80:86:f2:6c:4d:f0
		type managed
		channel 3 (2422 MHz), width: 20 MHz, center1: 2422 MHz
		txpower 22.00 dBm
		multicast TXQ:
			qsz-byt	qsz-pkt	flows	drops	marks	overlmt	hashcol	tx-bytes	tx-packets
			0	0	0	0	0	0	0	0		0

Code: Select all

bobc@dell-e5540:~$ sudo nmcli device
DEVICE         TYPE      STATE                   CONNECTION   
wlan0          wifi      connected               Wi-Fi dlink2 
lo             loopback  connected (externally)  lo           
p2p-dev-wlan0  wifi-p2p  disconnected            --           
eth0           ethernet  unavailable             --           

Code: Select all

bobc@dell-e5540:~$ G_MESSAGES_DEBUG=all gnome-network-displays
(gnome-network-displays:2985): GLib-GIO-DEBUG: 15:49:07.841: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(gnome-network-displays:2985): GLib-GIO-DEBUG: 15:49:07.853: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
(gnome-network-displays:2985): GLib-DEBUG: 15:49:07.855: unsetenv() is not thread-safe and should not be used after threads are created
(gnome-network-displays:2985): Gtk-DEBUG: 15:49:07.855: Connecting to session manager
(gnome-network-displays:2985): Gtk-DEBUG: 15:49:07.855: Failed to get the GNOME session proxy: The name org.gnome.SessionManager is not owned
(gnome-network-displays:2985): GLib-GIO-DEBUG: 15:49:07.921: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
** (gnome-network-displays:2985): DEBUG: 15:49:07.979: NdScreencastPortal: Aquired Portal proxy
** (gnome-network-displays:2985): DEBUG: 15:49:07.979: task is: 0x7f1c30003d40
** (gnome-network-displays:2985): DEBUG: 15:49:08.000: WFDP2PRegistry: Found a new device, creating provider
** (gnome-network-displays:2985): DEBUG: 15:49:08.001: WfdP2PProvider: Discover is now set to 1

** (gnome-network-displays:2985): WARNING **: 15:49:08.004: Error calling DBus method during Screencast portal initialization: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.ScreenCast” on object at path /org/freedesktop/portal/desktop

** (gnome-network-displays:2985): WARNING **: 15:49:08.004: Error initing screencast portal: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.ScreenCast” on object at path /org/freedesktop/portal/desktop

** (gnome-network-displays:2985): WARNING **: 15:49:08.004: Screencasting portal is unavailable! It is required to select the monitor to stream!

** (gnome-network-displays:2985): WARNING **: 15:49:08.004: Falling back to X11! You need to fix your setup to avoid issues (XDG Portals and/or mutter screencasting support)!
** (gnome-network-displays:2985): DEBUG: 15:49:08.008: WFDP2PRegistry: Got NMClient
** (gnome-network-displays:2985): DEBUG: 15:49:08.017: NdPulseaudio: Querying sink info by name
** (gnome-network-displays:2985): DEBUG: 15:49:08.034: NdPulseaudio: Sink does not exist yet, loading module
** (gnome-network-displays:2985): DEBUG: 15:49:08.349: NdPulseaudio: Module loaded, we are ready to grab audio! 
** (gnome-network-displays:2985): DEBUG: 15:49:12.252: WFDP2PProvider: Found a new sink with peer 0x55ca7a374820 on device 0x55ca7a2648c0
** (gnome-network-displays:2985): DEBUG: 15:49:12.252: SinkList: Adding a sink
** (gnome-network-displays:2985): DEBUG: 15:49:22.643: Found openh264enc for video encoding.
** (gnome-network-displays:2985): DEBUG: 15:49:22.643: Found x264enc for video encoding.
** (gnome-network-displays:2985): DEBUG: 15:49:22.643: Found avenc_aac for audio encoding.
** (gnome-network-displays:2985): DEBUG: 15:49:22.643: Got state change notification from streaming sink to state ND_SINK_STATE_ENSURE_FIREWALL
** (gnome-network-displays:2985): DEBUG: 15:49:22.644: WfdP2PProvider: Discover is now set to 0
** (gnome-network-displays:2985): DEBUG: 15:49:22.644: NdFirewalld: Firewalld does not seem to be installed. Code will assume that no firewall will be configured.
** (gnome-network-displays:2985): DEBUG: 15:49:22.644: NdWfdP2PSink: Got firewall information
** (gnome-network-displays:2985): DEBUG: 15:49:22.644: Got state change notification from streaming sink to state ND_SINK_STATE_WAIT_P2P
** (gnome-network-displays:2985): DEBUG: 15:49:22.695: NdWfdP2PSink: Got P2P connection
** (gnome-network-displays:2985): DEBUG: 15:49:22.698: Found openh264enc for video encoding.
** (gnome-network-displays:2985): DEBUG: 15:49:22.698: Found x264enc for video encoding.
** (gnome-network-displays:2985): DEBUG: 15:49:22.698: Found avenc_aac for audio encoding.
** (gnome-network-displays:2985): DEBUG: 15:49:22.698: Got state change notification from streaming sink to state ND_SINK_STATE_WAIT_SOCKET
** (gnome-network-displays:2985): DEBUG: 15:49:28.729: NdWfdP2PSink: Got client connection
** (gnome-network-displays:2985): DEBUG: 15:49:28.729: Got state change notification from streaming sink to state ND_SINK_STATE_WAIT_STREAMING
** (gnome-network-displays:2985): DEBUG: 15:49:29.232: WfdClient: OPTIONS querying done
** (gnome-network-displays:2985): DEBUG: 15:49:29.233: WFD query params
** (gnome-network-displays:2985): DEBUG: 15:49:29.290: WfdClient: GET_PARAMS done
** (gnome-network-displays:2985): DEBUG: 15:49:29.290: Add audio codec to params:
** (gnome-network-displays:2985): DEBUG: 15:49:29.290: WfdAudioCodec: LPCM, 3, latency: 0
** (gnome-network-displays:2985): DEBUG: 15:49:29.290: Add audio codec to params:
** (gnome-network-displays:2985): DEBUG: 15:49:29.290: WfdAudioCodec: AAC, 1, latency: 0
** (gnome-network-displays:2985): DEBUG: 15:49:29.290: Add codec to params:
** (gnome-network-displays:2985): DEBUG: 15:49:29.290: WfdVideoCodec:
** (gnome-network-displays:2985): DEBUG: 15:49:29.290:  * profile: 1
** (gnome-network-displays:2985): DEBUG: 15:49:29.290:  * level: 16
** (gnome-network-displays:2985): DEBUG: 15:49:29.290:  * native: 1920x1080 60p
** (gnome-network-displays:2985): DEBUG: 15:49:29.290: Supported resolutions:
** (gnome-network-displays:2985): DEBUG: 15:49:29.290:  * 800x480 30p
** (gnome-network-displays:2985): DEBUG: 15:49:29.290:  * 800x480 60p
** (gnome-network-displays:2985): DEBUG: 15:49:29.290:  * 854x480 30p
** (gnome-network-displays:2985): DEBUG: 15:49:29.290:  * 854x480 60p
** (gnome-network-displays:2985): DEBUG: 15:49:29.290:  * 864x480 30p
** (gnome-network-displays:2985): DEBUG: 15:49:29.290:  * 864x480 60p
** (gnome-network-displays:2985): DEBUG: 15:49:29.290:  * 640x360 30p
** (gnome-network-displays:2985): DEBUG: 15:49:29.290:  * 640x360 60p
** (gnome-network-displays:2985): DEBUG: 15:49:29.290:  * 960x540 30p
** (gnome-network-displays:2985): DEBUG: 15:49:29.290:  * 960x540 60p
** (gnome-network-displays:2985): DEBUG: 15:49:29.290:  * 848x480 30p
** (gnome-network-displays:2985): DEBUG: 15:49:29.290:  * 848x480 60p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 640x480 60p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 720x480 60p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1280x720 30p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1280x720 60p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1920x1080 30p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1920x1080 60p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 800x600 30p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 800x600 60p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1024x768 30p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1024x768 60p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1152x864 30p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1152x864 60p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1280x768 30p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1280x768 60p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1280x800 30p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1280x800 60p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1360x768 30p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1360x768 60p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1366x768 30p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1366x768 60p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1280x1024 30p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1280x1024 60p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1400x1050 30p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1400x1050 60p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1440x900 30p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1440x900 60p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1600x900 30p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1600x900 60p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1680x1024 30p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1680x1024 30p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1680x1050 30p
** (gnome-network-displays:2985): DEBUG: 15:49:29.291:  * 1680x1050 60p

** (gnome-network-displays:2985): WARNING **: 15:49:29.291: WfdClient: No resolution found, falling back to standard FullHD resolution.
** (gnome-network-displays:2985): DEBUG: 15:49:29.291: selected resolution 1920, 1080 @30
** (gnome-network-displays:2985): DEBUG: 15:49:29.295: WfdClient: SET_PARAMS done
** (gnome-network-displays:2985): DEBUG: 15:49:29.299: WfdClient: Initialization done!
** (gnome-network-displays:2985): DEBUG: 15:49:29.346: use x11: 1
** (gnome-network-displays:2985): DEBUG: 15:49:29.513: WfdMedia init: Got 1 streams
** (gnome-network-displays:2985): DEBUG: 15:49:31.729: An audiocodec has been selected: yes

(gnome-network-displays:2985): GStreamer-CRITICAL **: 15:49:31.871: gst_event_new_qos: assertion 'diff >= 0 || -diff <= timestamp' failed

(gnome-network-displays:2985): GStreamer-CRITICAL **: 15:49:31.871: gst_element_send_event: assertion 'event != NULL' failed

(gnome-network-displays:2985): GStreamer-CRITICAL **: 15:49:31.902: gst_event_new_qos: assertion 'diff >= 0 || -diff <= timestamp' failed

(gnome-network-displays:2985): GStreamer-CRITICAL **: 15:49:31.902: gst_element_send_event: assertion 'event != NULL' failed
** (gnome-network-displays:2985): DEBUG: 15:49:33.878: NdWfdP2PSink: Got play request from client
** (gnome-network-displays:2985): DEBUG: 15:49:33.878: Got state change notification from streaming sink to state ND_SINK_STATE_STREAMING
**
Gtk:ERROR:../../../gtk/gtkcssinheritvalue.c:33:gtk_css_value_inherit_free: code should not be reached
Bail out! Gtk:ERROR:../../../gtk/gtkcssinheritvalue.c:33:gtk_css_value_inherit_free: code should not be reached
Aborted
bobc@dell-e5540:~$
Too many years to remember and too many computers to list.
Daily Driver: 2017 Dell XPS-15-7559 I7 16gb with 500gb SSD + 1TB HD. 4K Optimus Video, 15" 4K laptop screen + 42" Roku 4K

cheapybob
Posts: 43
Joined: Tue Nov 15, 2016 1:28 am

Re: Is anyone using Gnome-Network-Displays to WiFi screencast to their TV?

#9 Post by cheapybob »

@fan_of_LTS, Where can I get the 6.4 kernel?

Nevermind, I found it and am installing it now...
Too many years to remember and too many computers to list.
Daily Driver: 2017 Dell XPS-15-7559 I7 16gb with 500gb SSD + 1TB HD. 4K Optimus Video, 15" 4K laptop screen + 42" Roku 4K

cheapybob
Posts: 43
Joined: Tue Nov 15, 2016 1:28 am

Re: Is anyone using Gnome-Network-Displays to WiFi screencast to their TV?

#10 Post by cheapybob »

Using MX 23.2 64 bit XFCE and installed the programs from the repos, and then installed the 6.4 kernel, but the result was still the Error box. Any suggestions?

Here is the detail:

Code: Select all

$ G_MESSAGES_DEBUG=all gnome-network-displays
(gnome-network-displays:7737): GLib-GIO-DEBUG: 04:46:09.342: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(gnome-network-displays:7737): GLib-GIO-DEBUG: 04:46:09.353: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
(gnome-network-displays:7737): GLib-DEBUG: 04:46:09.427: unsetenv() is not thread-safe and should not be used after threads are created
(gnome-network-displays:7737): Gtk-DEBUG: 04:46:09.427: Connecting to session manager
(gnome-network-displays:7737): Gtk-DEBUG: 04:46:09.427: Failed to get the GNOME session proxy: The name org.gnome.SessionManager is not owned
(gnome-network-displays:7737): GLib-GIO-DEBUG: 04:46:09.476: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
** (gnome-network-displays:7737): DEBUG: 04:46:09.541: NdScreencastPortal: Aquired Portal proxy
** (gnome-network-displays:7737): DEBUG: 04:46:09.541: task is: 0x7f1e30003d50

** (gnome-network-displays:7737): WARNING **: 04:46:09.550: Error calling DBus method during Screencast portal initialization: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.ScreenCast” on object at path /org/freedesktop/portal/desktop

** (gnome-network-displays:7737): WARNING **: 04:46:09.550: Error initing screencast portal: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.ScreenCast” on object at path /org/freedesktop/portal/desktop

** (gnome-network-displays:7737): WARNING **: 04:46:09.550: Screencasting portal is unavailable! It is required to select the monitor to stream!

** (gnome-network-displays:7737): WARNING **: 04:46:09.550: Falling back to X11! You need to fix your setup to avoid issues (XDG Portals and/or mutter screencasting support)!
** (gnome-network-displays:7737): DEBUG: 04:46:09.553: WFDP2PRegistry: Found a new device, creating provider
** (gnome-network-displays:7737): DEBUG: 04:46:09.553: WFDP2PProvider: Found a new sink with peer 0x5596e4030680 on device 0x5596e46088c0
** (gnome-network-displays:7737): DEBUG: 04:46:09.553: WfdP2PProvider: Discover is now set to 1
** (gnome-network-displays:7737): DEBUG: 04:46:09.553: SinkList: Adding a sink
** (gnome-network-displays:7737): DEBUG: 04:46:09.558: WFDP2PProvider: Found a new sink with peer 0x5596e4030680 on device 0x5596e46088c0
** (gnome-network-displays:7737): DEBUG: 04:46:09.559: NdPulseaudio: Querying sink info by name
** (gnome-network-displays:7737): DEBUG: 04:46:09.561: WFDP2PRegistry: Got NMClient
** (gnome-network-displays:7737): DEBUG: 04:46:09.561: NdPulseaudio: Error querying sink info
** (gnome-network-displays:7737): DEBUG: 04:46:09.561: NdPulseaudio: Got a sink info for the expected name
** (gnome-network-displays:7737): DEBUG: 04:46:20.917: Found openh264enc for video encoding.
** (gnome-network-displays:7737): DEBUG: 04:46:20.917: Found x264enc for video encoding.
** (gnome-network-displays:7737): DEBUG: 04:46:20.917: Found avenc_aac for audio encoding.
** (gnome-network-displays:7737): DEBUG: 04:46:20.917: Got state change notification from streaming sink to state ND_SINK_STATE_ENSURE_FIREWALL
** (gnome-network-displays:7737): DEBUG: 04:46:20.918: WfdP2PProvider: Discover is now set to 0
** (gnome-network-displays:7737): DEBUG: 04:46:20.919: NdFirewalld: Firewalld does not seem to be installed. Code will assume that no firewall will be configured.
** (gnome-network-displays:7737): DEBUG: 04:46:20.919: NdWfdP2PSink: Got firewall information
** (gnome-network-displays:7737): DEBUG: 04:46:20.919: Got state change notification from streaming sink to state ND_SINK_STATE_WAIT_P2P
** (gnome-network-displays:7737): DEBUG: 04:46:20.935: NdWfdP2PSink: Got P2P connection
** (gnome-network-displays:7737): DEBUG: 04:46:20.936: Found openh264enc for video encoding.
** (gnome-network-displays:7737): DEBUG: 04:46:20.936: Found x264enc for video encoding.
** (gnome-network-displays:7737): DEBUG: 04:46:20.936: Found avenc_aac for audio encoding.
** (gnome-network-displays:7737): DEBUG: 04:46:20.936: Got state change notification from streaming sink to state ND_SINK_STATE_WAIT_SOCKET
** (gnome-network-displays:7737): DEBUG: 04:46:47.901: WfdServer: Finalize
** (gnome-network-displays:7737): DEBUG: 04:46:47.901: WfdMediaFactory: Finalize
** (gnome-network-displays:7737): DEBUG: 04:46:47.901: Got state change notification from streaming sink to state ND_SINK_STATE_ERROR
** (gnome-network-displays:7737): DEBUG: 04:47:06.185: MetaSink: No usable sink is left, object has become invalid.

(gnome-network-displays:7737): GLib-GObject-WARNING **: 04:47:06.185: ../../../gobject/gsignal.c:3533: invalid object type '
Too many years to remember and too many computers to list.
Daily Driver: 2017 Dell XPS-15-7559 I7 16gb with 500gb SSD + 1TB HD. 4K Optimus Video, 15" 4K laptop screen + 42" Roku 4K

Post Reply

Return to “MX Help”