jitsi/jibri

jibri fails on Debian 12 Bookworm

emrahcom opened this issue · 0 comments

Description

jibri cannot start on Debian 12 Bookworm host.

Current behavior

When moderator tries to start recording, jibri fails with a message Recording failed to start on the client-side.

The following message in ffmpeg.0.txt

2023-10-02 14:45:21.580 INFO: [78] LoggingUtils$Companion$OutputLogger$1.invoke$lambda$0#42: [x11grab @ 0x55bd7adbc480] Capture area 1920x1080 at position 0.0 outside the screen size 1400x1050
2023-10-02 14:45:21.580 INFO: [78] LoggingUtils$Companion$OutputLogger$1.invoke$lambda$0#42: :0.0+0,0: Invalid argument

Expected Behavior

Recording should start.

Possible Solution

Xorg cannot select the resolution correctly. So ffmpeg tries to capture a larger area than the selected screen size. xorg.conf should be fixed.

Steps to reproduce

  • Install jibri on Debian 12 Bookworm host. (Use master branch because the current stable is not compatible with openjdk-17 which is the default Java in this distro)
  • Try to start recording

Environment details

  • Debian 12 Bookworm
  • xserver-xorg-core 2:21.1.7-3
  • xserver-xorg-video-dummy 1:0.4.0-1
  • openjdk-17-jre-headless 17.0.8+7-1~deb12u1
  • jibri, current master branch