尝试在 ubuntu 20.04 上使用 org.gnome.NetworkDisplays 连接到我的三星电视时出错

尝试在 ubuntu 20.04 上使用 org.gnome.NetworkDisplays 连接到我的三星电视时出错

按照此回答我尝试将我的屏幕镜像到三星电视上,但出现错误并失败。

流动:

  1. 我使用指南安装了该软件
  2. 我运行了该软件
  3. 在 GUI 上看到我的电视
  4. 第一次连接时,我在电视上看到允许或拒绝连接的选项,我选择了“允许”
  5. GUI 会显示此消息一段时间“正在建立与接收器的连接”
  6. 随后出现消息:“错误”

系统信息:

$ uname -a
Linux ofirm-ZenBook-UX435EGL-UX435EGL 5.13.0-44-generic #49~20.04.1-Ubuntu SMP Wed May 18 18:44:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

应用程序输出:

$ flatpak run org.gnome.NetworkDisplays
Gtk-Message: 23:48:55.996: Failed to load module "canberra-gtk-module"
Gtk-Message: 23:48:55.997: Failed to load module "canberra-gtk-module"

** (gnome-network-displays:2): WARNING **: 23:48:56.062: 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:2): WARNING **: 23:48:56.062: 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:2): WARNING **: 23:48:56.062: Screencasting portal is unavailable! It is required to select the monitor to stream!

** (gnome-network-displays:2): WARNING **: 23:48:56.062: Falling back to X11! You need to fix your setup to avoid issues (XDG Portals and/or mutter screencasting support)!

系统日志:

Jun  7 23:48:55 ofirm-ZenBook-UX435EGL-UX435EGL systemd[2385]: Started flatpak-org.gnome.NetworkDisplays-15111.scope.
Jun  7 23:49:00 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: P2P-DEVICE-FOUND 66:1c:b0:8a:61:d0 p2p_dev_addr=66:1c:b0:8a:61:d0 pri_dev_type=7-0050F204-1 name='[TV] Samsung 7 Series (50)' config_methods=0x188 dev_capab=0x21 group_capab=0x0 wfd_dev_info=0x01131c440036 vendor_elems=1 new=0



Jun  7 23:49:09 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: P2P-FIND-STOPPED 
Jun  7 23:49:09 ofirm-ZenBook-UX435EGL-UX435EGL NetworkManager[1202]: <info>  [1654634949.7914] device (p2p-dev-wlo1): Activation: starting connection 'Wi-Fi P2P Peer 66:1C:B0:8A:61:D0' (a4dbf060-c781-4b7c-bf1d-f827308a5036)
Jun  7 23:49:09 ofirm-ZenBook-UX435EGL-UX435EGL NetworkManager[1202]: <info>  [1654634949.7915] audit: op="connection-add-activate" uuid="a4dbf060-c781-4b7c-bf1d-f827308a5036" name="Wi-Fi P2P Peer 66:1C:B0:8A:61:D0" pid=15117 uid=1000 result="success"
Jun  7 23:49:09 ofirm-ZenBook-UX435EGL-UX435EGL NetworkManager[1202]: <info>  [1654634949.7917] device (p2p-dev-wlo1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Jun  7 23:49:09 ofirm-ZenBook-UX435EGL-UX435EGL NetworkManager[1202]: <info>  [1654634949.7919] device (p2p-dev-wlo1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jun  7 23:49:09 ofirm-ZenBook-UX435EGL-UX435EGL systemd-udevd[15140]: Using default interface naming scheme 'v245'.
Jun  7 23:49:09 ofirm-ZenBook-UX435EGL-UX435EGL systemd-udevd[15140]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Jun  7 23:49:09 ofirm-ZenBook-UX435EGL-UX435EGL systemd-udevd[15140]: Could not set AlternativeName= or apply AlternativeNamesPolicy= on p2p-wlo1-3: File exists
Jun  7 23:49:09 ofirm-ZenBook-UX435EGL-UX435EGL systemd-udevd[15140]: p2p-wlo1-3: Could not apply link config, ignoring: File exists
Jun  7 23:49:10 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: P2P-GO-NEG-SUCCESS role=client freq=2412 ht40=0 peer_dev=66:1c:b0:8a:61:d0 peer_iface=66:1c:b0:8a:61:d0 wps_method=PBC
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: p2p-wlo1-3: WPS-PBC-ACTIVE 
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: p2p-wlo1-3: SME: Trying to authenticate with 66:1c:b0:8a:61:d0 (SSID='DIRECT-iW[TV] Samsung 7 Series (' freq=2412 MHz)
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7218.009687] p2p-wlo1-3: authenticate with 66:1c:b0:8a:61:d0
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7218.009704] p2p-wlo1-3: No basic rates, using min rate instead
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7218.012276] p2p-wlo1-3: send auth to 66:1c:b0:8a:61:d0 (try 1/3)
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: wlo1: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-51 noise=9999 txrate=144400
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: p2p-wlo1-3: Trying to associate with 66:1c:b0:8a:61:d0 (SSID='DIRECT-iW[TV] Samsung 7 Series (' freq=2412 MHz)
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7218.020037] p2p-wlo1-3: authenticated
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7218.020834] p2p-wlo1-3: associate with 66:1c:b0:8a:61:d0 (try 1/3)
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: p2p-wlo1-3: Associated with 66:1c:b0:8a:61:d0
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: p2p-wlo1-3: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7218.022133] p2p-wlo1-3: RX AssocResp from 66:1c:b0:8a:61:d0 (capab=0x431 status=0 aid=1)
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7218.024023] p2p-wlo1-3: associated
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: p2p-wlo1-3: CTRL-EVENT-EAP-STARTED EAP authentication started
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: p2p-wlo1-3: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=14122 method=1
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: p2p-wlo1-3: CTRL-EVENT-EAP-METHOD EAP vendor 14122 method 1 (WSC) selected
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: p2p-wlo1-3: WPS-CRED-RECEIVED 
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: p2p-wlo1-3: WPS-SUCCESS 
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: P2P-GROUP-FORMATION-SUCCESS 
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: p2p-wlo1-3: CTRL-EVENT-EAP-FAILURE EAP authentication failed
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7218.110713] p2p-wlo1-3: deauthenticating from 66:1c:b0:8a:61:d0 by local choice (Reason: 3=DEAUTH_LEAVING)
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: p2p-wlo1-3: CTRL-EVENT-DISCONNECTED bssid=66:1c:b0:8a:61:d0 reason=3 locally_generated=1
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL ModemManager[1299]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:14.3': not supported by any plugin
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: p2p-wlo1-3: SME: Trying to authenticate with 66:1c:b0:8a:61:d0 (SSID='DIRECT-iW[TV] Samsung 7 Series (' freq=2412 MHz)
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7219.525012] p2p-wlo1-3: authenticate with 66:1c:b0:8a:61:d0
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7219.525031] p2p-wlo1-3: No basic rates, using min rate instead
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7219.527909] p2p-wlo1-3: send auth to 66:1c:b0:8a:61:d0 (try 1/3)
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: p2p-wlo1-3: Trying to associate with 66:1c:b0:8a:61:d0 (SSID='DIRECT-iW[TV] Samsung 7 Series (' freq=2412 MHz)
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7219.533939] p2p-wlo1-3: authenticated
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7219.536857] p2p-wlo1-3: associate with 66:1c:b0:8a:61:d0 (try 1/3)
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7219.538181] p2p-wlo1-3: RX AssocResp from 66:1c:b0:8a:61:d0 (capab=0x431 status=0 aid=1)
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7219.540736] p2p-wlo1-3: associated
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: p2p-wlo1-3: Associated with 66:1c:b0:8a:61:d0
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: p2p-wlo1-3: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: wlo1: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-50 noise=9999 txrate=144400
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: p2p-wlo1-3: WPA: Key negotiation completed with 66:1c:b0:8a:61:d0 [PTK=CCMP GTK=CCMP]
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: p2p-wlo1-3: CTRL-EVENT-CONNECTED - Connection to 66:1c:b0:8a:61:d0 completed [id=0 id_str=]
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: P2P-GROUP-STARTED p2p-wlo1-3 client ssid="DIRECT-iW[TV] Samsung 7 Series (" freq=2412 go_dev_addr=66:1c:b0:8a:61:d0
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: dbus: Register group object '/fi/w1/wpa_supplicant1/Interfaces/8/Groups/iW'
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7219.617361] IPv6: ADDRCONF(NETDEV_CHANGE): p2p-wlo1-3: link becomes ready
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL NetworkManager[1202]: <info>  [1654634952.7016] sup-iface[0x564588422a10,(null)]: supports 5 scan SSIDs
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL NetworkManager[1202]: <warn>  [1654634952.7017] sup-iface[0x564588422a10,(null)]: connection disconnected (reason -3)
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL NetworkManager[1202]: <info>  [1654634952.7048] device (p2p-dev-wlo1): P2P Group supplicant interface state: starting -> ready
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL NetworkManager[1202]: <info>  [1654634952.7056] device (p2p-dev-wlo1): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL NetworkManager[1202]: <info>  [1654634952.7064] dhcp4 (p2p-wlo1-3): activation: beginning transaction (timeout in 45 seconds)
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL avahi-daemon[1193]: Joining mDNS multicast group on interface p2p-wlo1-3.IPv6 with address fe80::aca0:21ae:ef27:9f5e.
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL avahi-daemon[1193]: New relevant interface p2p-wlo1-3.IPv6 for mDNS.
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL avahi-daemon[1193]: Registering new address record for fe80::aca0:21ae:ef27:9f5e on p2p-wlo1-3.*.
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL NetworkManager[1202]: <warn>  [1654634952.8056] dhcp4 (p2p-wlo1-3): could not get netmask from lease
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL NetworkManager[1202]: <info>  [1654634952.8057] dhcp4 (p2p-wlo1-3): state changed unknown -> fail
Jun  7 23:49:18 ofirm-ZenBook-UX435EGL-UX435EGL systemd[2385]: Started VTE child process 15201 launched by gnome-terminal-server process 5051.
Jun  7 23:49:44 ofirm-ZenBook-UX435EGL-UX435EGL NetworkManager[1202]: <info>  [1654634984.8714] device (p2p-dev-wlo1): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')
Jun  7 23:49:44 ofirm-ZenBook-UX435EGL-UX435EGL NetworkManager[1202]: <warn>  [1654634984.8731] device (p2p-dev-wlo1): Activation: failed for connection 'Wi-Fi P2P Peer 66:1C:B0:8A:61:D0'
Jun  7 23:49:44 ofirm-ZenBook-UX435EGL-UX435EGL NetworkManager[1202]: <info>  [1654634984.8742] device (p2p-dev-wlo1): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Jun  7 23:49:44 ofirm-ZenBook-UX435EGL-UX435EGL avahi-daemon[1193]: Withdrawing address record for fe80::aca0:21ae:ef27:9f5e on p2p-wlo1-3.
Jun  7 23:49:44 ofirm-ZenBook-UX435EGL-UX435EGL avahi-daemon[1193]: Leaving mDNS multicast group on interface p2p-wlo1-3.IPv6 with address fe80::aca0:21ae:ef27:9f5e.
Jun  7 23:49:44 ofirm-ZenBook-UX435EGL-UX435EGL avahi-daemon[1193]: Interface p2p-wlo1-3.IPv6 no longer relevant for mDNS.
Jun  7 23:49:44 ofirm-ZenBook-UX435EGL-UX435EGL NetworkManager[1202]: <info>  [1654634984.9034] dhcp4 (p2p-wlo1-3): canceled DHCP transaction
Jun  7 23:49:44 ofirm-ZenBook-UX435EGL-UX435EGL NetworkManager[1202]: <info>  [1654634984.9035] dhcp4 (p2p-wlo1-3): state changed fail -> done
Jun  7 23:49:44 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7251.827399] p2p-wlo1-3: deauthenticating from 66:1c:b0:8a:61:d0 by local choice (Reason: 3=DEAUTH_LEAVING)
Jun  7 23:49:44 ofirm-ZenBook-UX435EGL-UX435EGL NetworkManager[1202]: <warn>  [1654634984.9123] sup-iface: failed to cancel p2p connect: P2P cancel failed
Jun  7 23:49:45 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: p2p-wlo1-3: CTRL-EVENT-DISCONNECTED bssid=66:1c:b0:8a:61:d0 reason=3 locally_generated=1
Jun  7 23:49:45 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: P2P-GROUP-REMOVED p2p-wlo1-3 client reason=REQUESTED
Jun  7 23:49:45 ofirm-ZenBook-UX435EGL-UX435EGL NetworkManager[1202]: <warn>  [1654634985.0323] sup-iface[0x564588422a10,p2p-wlo1-3]: connection disconnected (reason -3)
Jun  7 23:49:45 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: nl80211: deinit ifname=p2p-wlo1-3 disabled_11b_rates=0
Jun  7 23:49:45 ofirm-ZenBook-UX435EGL-UX435EGL NetworkManager[1202]: <info>  [1654634985.1098] device (p2p-dev-wlo1): P2P Group supplicant interface state: ready -> down
Jun  7 23:50:18 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: P2P-DEVICE-LOST p2p_dev_addr=66:1c:b0:8a:61:d0
Jun  7 23:50:18 ofirm-ZenBook-UX435EGL-UX435EGL wpa_supplicant[1241]: dbus: Unregister peer object '/fi/w1/wpa_supplicant1/Interfaces/4/Peers/661cb08a61d0'

内核日志:

Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7218.009687] p2p-wlo1-3: authenticate with 66:1c:b0:8a:61:d0
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7218.009704] p2p-wlo1-3: No basic rates, using min rate instead
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7218.012276] p2p-wlo1-3: send auth to 66:1c:b0:8a:61:d0 (try 1/3)
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7218.020037] p2p-wlo1-3: authenticated
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7218.020834] p2p-wlo1-3: associate with 66:1c:b0:8a:61:d0 (try 1/3)
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7218.022133] p2p-wlo1-3: RX AssocResp from 66:1c:b0:8a:61:d0 (capab=0x431 status=0 aid=1)
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7218.024023] p2p-wlo1-3: associated
Jun  7 23:49:11 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7218.110713] p2p-wlo1-3: deauthenticating from 66:1c:b0:8a:61:d0 by local choice (Reason: 3=DEAUTH_LEAVING)
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7219.525012] p2p-wlo1-3: authenticate with 66:1c:b0:8a:61:d0
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7219.525031] p2p-wlo1-3: No basic rates, using min rate instead
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7219.527909] p2p-wlo1-3: send auth to 66:1c:b0:8a:61:d0 (try 1/3)
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7219.533939] p2p-wlo1-3: authenticated
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7219.536857] p2p-wlo1-3: associate with 66:1c:b0:8a:61:d0 (try 1/3)
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7219.538181] p2p-wlo1-3: RX AssocResp from 66:1c:b0:8a:61:d0 (capab=0x431 status=0 aid=1)
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7219.540736] p2p-wlo1-3: associated
Jun  7 23:49:12 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7219.617361] IPv6: ADDRCONF(NETDEV_CHANGE): p2p-wlo1-3: link becomes ready
Jun  7 23:49:44 ofirm-ZenBook-UX435EGL-UX435EGL kernel: [ 7251.827399] p2p-wlo1-3: deauthenticating from 66:1c:b0:8a:61:d0 by local choice (Reason: 3=DEAUTH_LEAVING)

答案1

我写过你提到的答案几年前,我已经有一段时间没有使用过这个功能了。我决定在同一台电视上再次尝试,但现在是在另一台电脑上。它没有直接工作,然后经过几次尝试,它又工作了。请注意,我只是一个用户,我不知道gnome 网络显示项目很复杂。我将尝试通过分享我的系统的更多细节来帮助您。

首先,这是我的控制台正常工作时的样子:

$ flatpak run org.gnome.NetworkDisplays
Gtk-Message: 20:16:17.837: Failed to load module "appmenu-gtk-module"
Gtk-Message: 20:16:17.930: Failed to load module "canberra-gtk-module"
Gtk-Message: 20:16:17.932: Failed to load module "canberra-gtk-module"

** (gnome-network-displays:2): WARNING **: 20:16:29.836: WfdClient: No resolution found, falling back to standard FullHD resolution.

因此,我坚信这是你的系统中真正糟糕的部分:

** (gnome-network-displays:2): WARNING **: 23:48:56.062: 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:2): WARNING **: 23:48:56.062: 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:2): WARNING **: 23:48:56.062: Screencasting portal is unavailable! It is required to select the monitor to stream!

** (gnome-network-displays:2): WARNING **: 23:48:56.062: Falling back to X11! You need to fix your setup to avoid issues (XDG Portals and/or mutter screencasting support)!

顺便问一下,你使用的是哪个系统?我的是 Ubuntu 22.04。

搜索有关的问题GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.ScreenCast”,我发现了PopOS 上的 gnome-shell 问题。但你似乎在内核 5.13 上使用 Ubuntu 20.04……甚至比我的还要升级。我的是内核 5.11。

$ uname -a
Linux imcoelho-Nitro-AN515-43 5.11.0-49-generic #55-Ubuntu SMP Wed Jan 12 17:36:34 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

$ gnome-shell --version
GNOME Shell 3.38.4

$ dpkg -l |grep xserver-xorg-core 
ii  xserver-xorg-core                             2:1.20.11-1ubuntu1.2                                                 amd64        Xorg X server - core server

要检查的另一个重要组件是wpasupplicant...在我的 Ubuntu 22.04 系统上,它的版本是(2:2.9.0-21)

我在这里遇到了一些问题,决定安装 PipeWire 用于音频,因为它们似乎推荐这里(但我不推荐这样做),然后重启后,它又恢复了。但我不知道是什么修复了这个问题,是真的因为音频问题,还是只是随机重启。

我的最终建议是您在 Live USB 模式下尝试 Ubuntu 22.04,然后验证它是否适用于您的硬件...如果有效,那么您可以尝试调试您的实际系统。希望这会有所帮助。

相关内容