[GH-ISSUE #6175] linphone: v5.2.0: Failed to create OpenGL context for format QSurfaceFormat #3212

Open
opened 2026-05-05 09:49:34 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @leukimi on GitHub (Jan 29, 2024).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6175

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

Originally created by @leukimi on GitHub (Jan 29, 2024). Original GitHub issue: https://github.com/netblue30/firejail/issues/6175 <!-- See the following links for help with formatting: https://guides.github.com/features/mastering-markdown/ https://docs.github.com/en/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax --> ### 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](https://software.opensuse.org/ymp/home:kimi:linphone-desktop/openSUSE_Tumbleweed/linphone-desktop.ymp?base=openSUSE%3AFactory&query=linphone-desktop) 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](https://software.opensuse.org/download/package?package=linphone-desktop&project=home%3Akimi%3Alinphone-desktop): `firejail --profile=/etc/firejail/linphone.profile /opt/linphone/bin/linphone -V` Archlinux and Manjaro can also be built from [AUR package](https://aur.archlinux.org/packages/linphone-desktop) `linphone-desktop`. ### Environment - Linux distribution and version: openSUSE Tumbleweed VERSION_ID="20240126" - Firejail version (`0.9.72`). ### Checklist <!-- Note: Items are checked with an "x", like so: - [x] This is a checked item. --> - [x] The issues is caused by firejail linphone.profile on openSUSE Tumbleweed. - [x] I can reproduce the issue without custom modifications (e.g. globals.local). - [x] The program has a profile. - [x] The profile (and redirect profile if exists) hasn't already been fixed [upstream](https://github.com/netblue30/firejail/tree/master/etc). - [x] I have performed a short search for similar issues (to avoid opening a duplicate). ### Log </p> </details> <details> <summary>Output of <code>LC_ALL=C firejail --debug /path/to/program</code></summary> <p> <!-- If the output is too long to embed it into the comment, create a secret gist at https://gist.github.com/ and link it here. --> [debug_log_firejail_linphone_v5.2.0_openSUSE_Tumbleweed.txt](https://gist.githubusercontent.com/leukimi/9a9c4574f35b687e5129c0e09a3f4e0e/raw/ce00866fa9988212f5002db1be110afd961350ca/debug_log_firejail_linphone_v5.2.0_openSUSE_Tumbleweed.txt) </p> </details>
gitea-mirror added the
needinfo
label 2026-05-05 09:49:34 -06:00
Author
Owner

@rusty-snake commented on GitHub (Jan 29, 2024):

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

<!-- gh-comment-id:1915063160 --> @rusty-snake commented on GitHub (Jan 29, 2024): Try `ignore no3d`. If you want to use a camera `ignore novideo` too.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#3212
No description provided.