`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
- openSUSE Tumbleweed: Download linphone-desktop.ymp
- Install
linphone-desktop.ymp
with Software install (yast) firejail --profile=/etc/firejail/linphone.profile /opt/linphone/bin/linphone -V
- Message "Failed to create OpenGL context for format QSurfaceFormat..." appears.
Expected behavior
- Linphone-Desktop window should open.
- 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
Try ignore no3d
. If you want to use a camera ignore novideo
too.