Casting to smart tv in Linux Mint Cinnamon

Hello, I have a question about casting video to smart tvs. I run Linux Mint Cinnamon as one of my systems/desktop environments, and I realize there is GNOME Network Displays available to use for this. However, for me, I get two errors when trying to run it:

(gnome-network-displays:2430): Gnd-WARNING **: 11:37:13.971: Failed to create screencast session: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.ScreenCast”

(gnome-network-displays:2430): Gnd-WARNING **: 11:37:19.190: NdCCProvider: Failed to resolve Avahi service: Resolving failed: Timeout reached

After some searching through forums, I got the suggestion from an Ubuntu forum to fix the “org.freedesktop.portal.ScreenCast” error by installing the xdg-desktop-portal-dev package. I rebooted my computer after installing, then tried again. However I was met with the same errors as before plus a new one: ** (gst-plugin-scanner:2431): CRITICAL **: 11:37:13.773: _dma_fmt_to_dma_drm_fmts: assertion ‘fmt != GST_VIDEO_FORMAT_UNKNOWN’ failed

So at this point I am a bit stumped. Is this a problem with me not running an actual GNOME desktop environment (ie. this software only works specifically with GNOME desktop), or is there some other fix I can try?

Thank you

2 Likes

Yeah I thinks it. GNOME Network Displays leans on the ScreenCast portal, which is provided by the GNOME portal backend, and Cinnamon doesn’t ship that.

You may need to try something like mkchromecast or gnomecast.

1 Like

Okay I thought this might be the issue. Thanks.

2 Likes

Yes, you nailed it. Try mkchromecast.com or gnomecast. Sorry, I was on mobile and didn’t have the links then.

1 Like

It’s okay, I can’t use these anyway. I had tried the GNOME Network Displays one because I do not have a Chromecast tv. The GNOME one apparently uses miracast as well (my non-Chrome tv showed up as an option to cast to, it’s just that the software does not actually work properly on Cinnamon apparently; on VLC or mkchromecast it does not show up at all).

2 Likes

Have you installed the deb package or Flatpak of GNOME Network Displays?

1 Like