netblue30 / firejail

Linux namespaces and seccomp-bpf sandbox

Home Page:https://firejail.wordpress.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`linphone.profile` for v5.2.0 `Failed create OpenGL context QSurfaceFormat`

leukimi opened this issue · comments

General (not OS-specific)

How to set "linphone.local" so that video call is permitted?

openSUSE Tumbleweed

linphone.profile seems to need some adjustment to allow linphone-desktop version 5.2.0 run properly. Currently the process is stopped with message:

Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)

Steps to Reproduce

  1. openSUSE Tumbleweed: Download linphone-desktop.ymp
  2. Install linphone-desktop.ymp with Software install (yast)
  3. firejail --profile=/etc/firejail/linphone.profile /opt/linphone/bin/linphone -V
  4. Message "Failed to create OpenGL context for format QSurfaceFormat..." appears.

Expected behavior

  1. Linphone-Desktop window should open.
  2. Want to opt-in on video telephony.

Behavior without a profile

This works as expected: LC_ALL=C firejail --noprofile /opt/linphone/bin/linphone -V

Additional context

linphone-desktop for Ubuntu 22.04 and Manjaro works download from here: firejail --profile=/etc/firejail/linphone.profile /opt/linphone/bin/linphone -V

Archlinux and Manjaro can also be built from AUR package linphone-desktop.

Environment

  • Linux distribution and version: openSUSE Tumbleweed VERSION_ID="20240126"
  • Firejail version (0.9.72).

Checklist

  • The issues is caused by firejail linphone.profile on openSUSE Tumbleweed.
  • I can reproduce the issue without custom modifications (e.g. globals.local).
  • The program has a profile.
  • The profile (and redirect profile if exists) hasn't already been fixed upstream.
  • I have performed a short search for similar issues (to avoid opening a duplicate).

Log

Output of LC_ALL=C firejail --debug /path/to/program

debug_log_firejail_linphone_v5.2.0_openSUSE_Tumbleweed.txt

Try ignore no3d. If you want to use a camera ignore novideo too.