Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error -32, No more input formats. #102

Open
IgLocoXD opened this issue Sep 29, 2023 · 2 comments
Open

Error -32, No more input formats. #102

IgLocoXD opened this issue Sep 29, 2023 · 2 comments

Comments

@IgLocoXD
Copy link

IgLocoXD commented Sep 29, 2023

EDIT: Changing the bit depth output to 8 bit fixed it! Still, this didn't happen before, it was working with bit depth 10.

xdg-desktop-portal-hyprland 1.1.0-3
hyprland-git 0.29.1.r87.af15b15b-1
obs-studio 29.1.3-1 (still happens in flatpak too)
Using EndeavourOS (arch based)
Before I updated the system, everything was working correctly, it didn't have this issue. I could try downgrade or use GIT version, I will say later if it worked or not.

info: [pipewire] Screencast session created
info: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Desktop Audio)

info: [pipewire] Asking for desktop
info: [pipewire] desktop selected, setting up screencast
info: [pipewire] Server version: 0.3.80
info: [pipewire] Library version: 0.3.80
info: [pipewire] Header version: 0.3.72
info: [pipewire] Created stream 0x555931505d90
info: [pipewire] Stream 0x555931505d90 state: "connecting" (error: none)
info: [pipewire] Playing stream 0x555931505d90
info: [pipewire] Stream 0x555931505d90 state: "paused" (error: none)
info: [pipewire] Stream 0x555931505d90 state: "error" (error: no more input formats)
error: [pipewire] Error id:2 seq:10 res:-32 (Error desconocido -32): no more input formats
@TheSunCat
Copy link

TheSunCat commented Oct 4, 2023

I can reproduce this with these displays, no bit depth configuration (I assume it's 8bpp by default?):

Monitor eDP-2 (ID 0):
	2560x1600@120.00000 at 0x0
	description: BOE 0x0A1D (eDP-2)
	make: BOE
	model: 0x0A1D
	serial: 
	active workspace: 1 (1)
	special workspace: 0 ()
	reserved: 0 38 0 0
	scale: 1.25
	transform: 0
	focused: yes
	dpmsStatus: 1
	vrr: 1
	activelyTearing: false

Monitor DP-3 (ID 1):
	2560x1440@59.99800 at 2048x0
	description: Acer Technologies ED276U TE1EE0033900 (DP-3 via HDMI)
	make: Acer Technologies
	model: ED276U
	serial: TE1EE0033900
	active workspace: 3 (3)
	special workspace: 0 ()
	reserved: 0 38 0 0
	scale: 1.00
	transform: 0
	focused: no
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false

Here is the output printed by OBS when I try to select an output:

info: [pipewire] Asking for desktop
info: [pipewire] desktop selected, setting up screencast
info: [pipewire] Server version: 0.3.80
info: [pipewire] Library version: 0.3.80
info: [pipewire] Header version: 0.3.72
info: [pipewire] Created stream 0x56274ae41c60
info: [pipewire] Stream 0x56274ae41c60 state: "connecting" (error: none)
info: [pipewire] Playing stream 0x56274ae41c60
info: [pipewire] Stream 0x56274ae41c60 state: "paused" (error: none)
info: [pipewire] Stream 0x56274ae41c60 state: "error" (error: no more input formats)
error: [pipewire] Error id:2 seq:10 res:-32 (Unknown error -32): no more input formats

Here is the output of systemctl --user status xdg-desktop-portal-hyprland (I am not sure how to see the full log for a user unit...):

  1 ● xdg-desktop-portal-hyprland.service - Portal service (Hyprland implementation)
  2      Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal-hyprland.service; static)
  3      Active: active (running) since Wed 2023-10-04 09:20:49 CEST; 7h ago
  4    Main PID: 3474 (xdg-desktop-por)
  5       Tasks: 8 (limit: 47148)
  6      Memory: 18.7M
  7         CPU: 18min 1.219s
  8      CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/xdg-desktop-portal-hyprland.service
  9              └─3474 /usr/lib/xdg-desktop-portal-hyprland
 10 
 11 Oct 04 16:37:00 apg xdg-desktop-portal-hyprland[3474]: [LOG] [screencopy]  | appid: com.obsproject.Studio
 12 Oct 04 16:37:00 apg xdg-desktop-portal-hyprland[3474]: [LOG] [screencopy] option cursor_mode to 2
 13 Oct 04 16:37:00 apg xdg-desktop-portal-hyprland[3474]: [LOG] [screencopy] option persist_mode to 2
 14 Oct 04 16:37:00 apg xdg-desktop-portal-hyprland[3474]: [LOG] [screencopy] unused option multiple
 15 Oct 04 16:37:00 apg xdg-desktop-portal-hyprland[3474]: [LOG] [screencopy] unused option types
 16 Oct 04 16:37:00 apg xdg-desktop-portal-hyprland[3474]: [LOG] [screencopy] restore data invalid / missing, prompting
 17 Oct 04 16:37:00 apg xdg-desktop-portal-hyprland[3474]: [LOG] execAndGet: WAYLAND_DISPLAY=wayland-1 QT_QPA_PLATFORM="w
 18 Oct 04 16:37:00 apg xdg-desktop-portal-hyprland[3474]: [LOG] [sc] Selection: r/screen:eDP-2
 19 Oct 04 16:37:00 apg xdg-desktop-portal-hyprland[3474]: [LOG] [screencopy] SHAREDATA returned selection 0
 20 Oct 04 16:37:00 apg xdg-desktop-portal-hyprland[3474]: [LOG] [screencopy] Start:

@TheSunCat
Copy link

Additional logs when trying to screenshare from Firefox, these show up in journalctl -f and Firefox is unable to start screensharing:
pipewire.log

Nowaaru added a commit to Nowaaru/nix-diary that referenced this issue Jan 21, 2024
it should be the same but according to these:

hyprwm/xdg-desktop-portal-hyprland#102
NixOS/nixpkgs#277230

it isn't? so idk. here it is, though
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants