JaKooLit / Debian-Hyprland

Automated Hyprland installer for Debian 13 Trixie and Debian SID (unstable)
GNU General Public License v3.0
682 stars 64 forks source link

Screen sharing (Firefox/Slack/Chrome-based browsers) #43

Closed t500s closed 4 months ago

t500s commented 5 months ago

Bug Report

Description

Screen sharing in slack/FF or chrome show black screen. For example https://mozilla.github.io/webrtc-landing/gum_test.html

Screenshots

Screenshot_05-апр_15-28-00_20517 ]

Environment

t500s commented 5 months ago

As far as I can tell, the problem was with xdph, that not built (the building was completely changed in the latest version and now cmake is required withothout make all option) However, next I ran into a problem with pipewire:

~$ journalctl --user -xeu pipewire.service
апр 07 12:25:50 iskander pipewire[1488]: pw.context:     Int 11520
апр 07 12:25:50 iskander pipewire[1488]: pw.context:   Prop: key Spa:Pod:Object:Param:Buffers:BlockInfo:align (5), flags 00000000
апр 07 12:25:50 iskander pipewire[1488]: pw.context:     Int 16
апр 07 12:25:50 iskander pipewire[1488]: pw.context:   Prop: key Spa:Pod:Object:Param:Buffers:BlockInfo:dataType (6), flags 00000000
апр 07 12:25:50 iskander pipewire[1488]: pw.context:     Choice: type Spa:Enum:Choice:Flags, flags 00000000 20 4
апр 07 12:25:50 iskander pipewire[1488]: pw.context:       Int 8
апр 07 12:25:50 iskander pipewire[1488]: pw.context: params Spa:Enum:ParamId:Buffers: 0:0 Недопустимый аргумент (output param)
апр 07 12:25:50 iskander pipewire[1488]: pw.context: Object: size 144, type Spa:Pod:Object:Param:Buffers (262148), id Spa:Enum:ParamId:Buffers (5)
апр 07 12:25:50 iskander pipewire[1488]: pw.context:   Prop: key Spa:Pod:Object:Param:Buffers:BlockInfo:size (3), flags 00000000
апр 07 12:25:50 iskander pipewire[1488]: pw.context:     Int 33177600
апр 07 12:25:50 iskander pipewire[1488]: pw.context:   Prop: key Spa:Pod:Object:Param:Buffers:BlockInfo:stride (4), flags 00000000
апр 07 12:25:50 iskander pipewire[1488]: pw.context:     Int 15360
апр 07 12:25:50 iskander pipewire[1488]: pw.context:   Prop: key Spa:Pod:Object:Param:Buffers:buffers (1), flags 00000000
апр 07 12:25:50 iskander pipewire[1488]: pw.context:     Choice: type Spa:Enum:Choice:Range, flags 00000000 28 4
апр 07 12:25:50 iskander pipewire[1488]: pw.context:       Int 8
апр 07 12:25:50 iskander pipewire[1488]: pw.context:       Int 1
апр 07 12:25:50 iskander pipewire[1488]: pw.context:       Int 32
апр 07 12:25:50 iskander pipewire[1488]: pw.context:   Prop: key Spa:Pod:Object:Param:Buffers:BlockInfo:dataType (6), flags 00000000
апр 07 12:25:50 iskander pipewire[1488]: pw.context:     Choice: type Spa:Enum:Choice:Flags, flags 00000000 20 4
апр 07 12:25:50 iskander pipewire[1488]: pw.context:       Int 12
апр 07 12:25:50 iskander pipewire[1488]: pw.link: (71.0.0 -> 74.0.0) allocating -> error (error alloc buffers: Недопустимый аргумент) (ready-ready)
апр 07 12:25:58 iskander pipewire[1488]: pw.context: params Spa:Enum:ParamId:Buffers: 1:0 Недопустимый аргумент (input param)
апр 07 12:25:58 iskander pipewire[1488]: pw.context: Object: size 192, type Spa:Pod:Object:Param:Buffers (262148), id Spa:Enum:ParamId:Buffers (5)
апр 07 12:25:58 iskander pipewire[1488]: pw.context:   Prop: key Spa:Pod:Object:Param:Buffers:buffers (1), flags 00000000
апр 07 12:25:58 iskander pipewire[1488]: pw.context:     Choice: type Spa:Enum:Choice:Range, flags 00000000 28 4
апр 07 12:25:58 iskander pipewire[1488]: pw.context:       Int 4
апр 07 12:25:58 iskander pipewire[1488]: pw.context:       Int 2
апр 07 12:25:58 iskander pipewire[1488]: pw.context:       Int 32
апр 07 12:25:58 iskander pipewire[1488]: pw.context:   Prop: key Spa:Pod:Object:Param:Buffers:blocks (2), flags 00000000
апр 07 12:25:58 iskander pipewire[1488]: pw.context:     Int 1
апр 07 12:25:58 iskander pipewire[1488]: pw.context:   Prop: key Spa:Pod:Object:Param:Buffers:BlockInfo:size (3), flags 00000000
апр 07 12:25:58 iskander pipewire[1488]: pw.context:     Int 4442916
апр 07 12:25:58 iskander pipewire[1488]: pw.context:   Prop: key Spa:Pod:Object:Param:Buffers:BlockInfo:stride (4), flags 00000000
апр 07 12:25:58 iskander pipewire[1488]: pw.context:     Int 4506
апр 07 12:25:58 iskander pipewire[1488]: pw.context:   Prop: key Spa:Pod:Object:Param:Buffers:BlockInfo:align (5), flags 00000000
апр 07 12:25:58 iskander pipewire[1488]: pw.context:     Int 16
апр 07 12:25:58 iskander pipewire[1488]: pw.context:   Prop: key Spa:Pod:Object:Param:Buffers:BlockInfo:dataType (6), flags 00000000
апр 07 12:25:58 iskander pipewire[1488]: pw.context:     Choice: type Spa:Enum:Choice:Flags, flags 00000000 20 4
апр 07 12:25:58 iskander pipewire[1488]: pw.context:       Int 8
апр 07 12:25:58 iskander pipewire[1488]: pw.context: params Spa:Enum:ParamId:Buffers: 0:0 Недопустимый аргумент (output param)
апр 07 12:25:58 iskander pipewire[1488]: pw.context: Object: size 144, type Spa:Pod:Object:Param:Buffers (262148), id Spa:Enum:ParamId:Buffers (5)
апр 07 12:25:58 iskander pipewire[1488]: pw.context:   Prop: key Spa:Pod:Object:Param:Buffers:BlockInfo:size (3), flags 00000000
апр 07 12:25:58 iskander pipewire[1488]: pw.context:     Int 5923888
апр 07 12:25:58 iskander pipewire[1488]: pw.context:   Prop: key Spa:Pod:Object:Param:Buffers:BlockInfo:stride (4), flags 00000000
апр 07 12:25:58 iskander pipewire[1488]: pw.context:     Int 6008
апр 07 12:25:58 iskander pipewire[1488]: pw.context:   Prop: key Spa:Pod:Object:Param:Buffers:buffers (1), flags 00000000
апр 07 12:25:58 iskander pipewire[1488]: pw.context:     Choice: type Spa:Enum:Choice:Range, flags 00000000 28 4
апр 07 12:25:58 iskander pipewire[1488]: pw.context:       Int 8
апр 07 12:25:58 iskander pipewire[1488]: pw.context:       Int 1
апр 07 12:25:58 iskander pipewire[1488]: pw.context:       Int 32
апр 07 12:25:58 iskander pipewire[1488]: pw.context:   Prop: key Spa:Pod:Object:Param:Buffers:BlockInfo:dataType (6), flags 00000000
апр 07 12:25:58 iskander pipewire[1488]: pw.context:     Choice: type Spa:Enum:Choice:Flags, flags 00000000 20 4
апр 07 12:25:58 iskander pipewire[1488]: pw.context:       Int 12
апр 07 12:25:58 iskander pipewire[1488]: pw.link: (77.0.0 -> 80.0.0) allocating -> error (error alloc buffers: Недопустимый аргумент) (ready-ready)

And I do not know what to do with it.

t500s commented 4 months ago

Resolved by adding ,bit depth,10 to Monitors.conf. This bug reprodused on Nvidia-drm driver