Comment 15 for bug 1849478

Revision history for this message
Olivier Tilloy (osomon) wrote :

Relevant output from pw-dump when sharing the entire screen (which remains black). The interesting bit is ["state": "suspended"]:

  {
    "id": 34,
    "type": "PipeWire:Interface:Client",
    "version": 3,
    "permissions": [ "r", "w", "x", "m" ],
    "info": {
      "change-mask": [ "props" ],
      "props": {
        "pipewire.protocol": "protocol-native",
        "pipewire.sec.pid": 5394,
        "pipewire.sec.uid": 1000,
        "pipewire.sec.gid": 1000,
        "pipewire.sec.label": "unconfined",
        "module.id": 2,
        "object.id": 34,
        "log.level": 0,
        "clock.power-of-two-quantum": true,
        "default.clock.rate": 48000,
        "default.clock.quantum": 1024,
        "default.clock.min-quantum": 32,
        "default.clock.max-quantum": 8192,
        "default.video.width": 640,
        "default.video.height": 480,
        "default.video.rate.num": 25,
        "default.video.rate.denom": 1,
        "link.max-buffers": 64,
        "mem.warn-mlock": false,
        "mem.allow-mlock": true,
        "cpu.max-align": 32,
        "application.name": "gnome-shell",
        "application.process.binary": "gnome-shell",
        "application.language": "fr_FR.UTF-8",
        "application.process.id": 5394,
        "application.process.user": "osomon",
        "application.process.host": "dantian",
        "window.x11.display": ":0",
        "core.version": "0.3.24",
        "core.name": "pipewire-osomon-5394",
        "pipewire.access": "unrestricted"
      }
    }
  },
  {
    "id": 33,
    "type": "PipeWire:Interface:Node",
    "version": 3,
    "permissions": [ "r", "w", "x", "m" ],
    "info": {
      "max-input-ports": 0,
      "max-output-ports": 1,
      "change-mask": [ "input-ports", "output-ports", "state", "props", "params" ],
      "n-input-ports": 0,
      "n-output-ports": 1,
      "state": "suspended",
      "error": null,
      "props": {
        "media.name": "meta-screen-cast-src",
        "stream.is-live": true,
        "node.name": "gnome-shell",
        "node.driver": true,
        "media.class": "Stream/Output/Video",
        "client.id": 34,
        "object.id": 33
      },
      "params": {
      }
    }
  },
  {
    "id": 35,
    "type": "PipeWire:Interface:Port",
    "version": 3,
    "permissions": [ "r", "w", "x", "m" ],
    "info": {
      "direction": "output",
      "change-mask": [ "props", "params" ],
      "props": {
        "port.id": 0,
        "port.direction": "out",
        "port.name": "out_0",
        "node.id": 33,
        "object.id": 35
      },
      "params": {
        "EnumFormat": [
          {
            "mediaType": "video",
            "mediaSubtype": "raw",
            "format": "BGRx",
            "size": { "width": 1920, "height": 1080 },
            "framerate": { "num": 0, "denom": 1 },
            "maxFramerate": { "default": { "num": 7864385, "denom": 131072 }, "min": { "num": 1, "denom": 1 }, "max": { "num": 7864385, "denom": 131072 } }
          }
        ],
        "Meta": [
          {
            "type": "Busy",
            "size": 8
          }
        ],
        "IO": [
          {
            "id": "Buffers",
            "size": 8
          }
        ],
        "Format": [ ],
        "Buffers": [ ]
      }
    }
  },
  {
    "id": 39,
    "type": "PipeWire:Interface:Client",
    "version": 3,
    "permissions": [ "r", "w", "x", "m" ],
    "info": {
      "change-mask": [ "props" ],
      "props": {
        "pipewire.protocol": "protocol-native",
        "pipewire.sec.pid": 6827,
        "pipewire.sec.uid": 1000,
        "pipewire.sec.gid": 1000,
        "pipewire.sec.label": "unconfined",
        "module.id": 2,
        "object.id": 39,
        "pipewire.access.portal.app_id": "snap.chromium",
        "pipewire.access.portal.media_roles": 0,
        "log.level": 0,
        "clock.power-of-two-quantum": true,
        "default.clock.rate": 48000,
        "default.clock.quantum": 1024,
        "default.clock.min-quantum": 32,
        "default.clock.max-quantum": 8192,
        "default.video.width": 640,
        "default.video.height": 480,
        "default.video.rate.num": 25,
        "default.video.rate.denom": 1,
        "link.max-buffers": 64,
        "mem.warn-mlock": false,
        "mem.allow-mlock": true,
        "cpu.max-align": 32,
        "application.name": "xdg-desktop-portal",
        "application.process.binary": "xdg-desktop-portal",
        "application.language": "fr_FR.UTF-8",
        "application.process.id": 6827,
        "application.process.user": "osomon",
        "application.process.host": "dantian",
        "window.x11.display": ":0",
        "core.version": "0.3.24",
        "core.name": "pipewire-osomon-6827",
        "pipewire.access": "portal"
      }
    }
  },