[GH-ISSUE #6381] Add a profile for prismlauncher #3258

Closed
opened 2026-05-05 09:51:54 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @ipaqmaster on GitHub (Jun 13, 2024).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6381

Description

Prismlauncher - OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread with firejail enabled.

Steps to Reproduce

Steps to reproduce the behavior

  1. Run in bash LC_ALL=C firejail PROGRAM (LC_ALL=C to get a consistent
    output in English that can be understood by everybody)
  2. Click on '....'
  3. Scroll down to '....'
  4. See error ERROR

Expected behavior

What you expected to happen

Launch game

Actual behavior

What actually happened

Did not

Behavior without a profile

What changed calling LC_ALL=C firejail --noprofile /path/to/program in a
terminal?

Does not

Additional context

Any other detail that may help to understand/debug the problem

Environment

  • Linux distribution and version (e.g. "Ubuntu 20.04" or "Arch Linux")

Arch Linux

  • Firejail version (firejail --version).

firejail version 0.9.72

  • If you use a development version of firejail, also the commit from which it
    was compiled (git rev-parse HEAD).

Checklist

  • The issues is caused by firejail (i.e. running the program by path (e.g. /usr/bin/vlc) "fixes" it).
  • I can reproduce the issue without custom modifications (e.g. globals.local).
  • The program has a profile. (If not, request one in https://github.com/netblue30/firejail/issues/1139)
  • 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).
    • I'm aware of browser-allow-drm yes/browser-disable-u2f no in firejail.config to allow DRM/U2F in browsers.
  • I used --profile=PROFILENAME to set the right profile. (Only relevant for AppImages)

Log

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

output goes here

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

output goes here

Originally created by @ipaqmaster on GitHub (Jun 13, 2024). Original GitHub issue: https://github.com/netblue30/firejail/issues/6381 <!-- 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 --> ### Description Prismlauncher - `OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread` with firejail enabled. ### Steps to Reproduce _Steps to reproduce the behavior_ 1. Run in bash `LC_ALL=C firejail PROGRAM` (`LC_ALL=C` to get a consistent output in English that can be understood by everybody) 2. Click on '....' 3. Scroll down to '....' 4. See error `ERROR` ### Expected behavior _What you expected to happen_ Launch game ### Actual behavior _What actually happened_ Did not ### Behavior without a profile _What changed calling `LC_ALL=C firejail --noprofile /path/to/program` in a terminal?_ Does not ### Additional context _Any other detail that may help to understand/debug the problem_ ### Environment - Linux distribution and version (e.g. "Ubuntu 20.04" or "Arch Linux") Arch Linux - Firejail version (`firejail --version`). firejail version 0.9.72 - If you use a development version of firejail, also the commit from which it was compiled (`git rev-parse HEAD`). ### Checklist <!-- Note: Items are checked with an "x", like so: - [x] This is a checked item. --> - [x] The issues is caused by firejail (i.e. running the program by path (e.g. `/usr/bin/vlc`) "fixes" it). - [x] I can reproduce the issue without custom modifications (e.g. globals.local). - [x] The program has a profile. (If not, request one in `https://github.com/netblue30/firejail/issues/1139`) - [x] The profile (and redirect profile if exists) hasn't already been fixed [upstream](https://github.com/netblue30/firejail/tree/master/etc). - [ ] I have performed a short search for similar issues (to avoid opening a duplicate). - [ ] I'm aware of `browser-allow-drm yes`/`browser-disable-u2f no` in `firejail.config` to allow DRM/U2F in browsers. - [ ] I used `--profile=PROFILENAME` to set the right profile. (Only relevant for AppImages) ### Log <details> <summary>Output of <code>LC_ALL=C firejail /path/to/program</code></summary> <p> ``` output goes here ``` </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. --> ``` output goes here ``` </p> </details>
gitea-mirror 2026-05-05 09:51:54 -06:00
Author
Owner

@kmk3 commented on GitHub (Jun 14, 2024):

Basic debugging information is missing.

What are the commands used and the profile used?

Where are the logs?

Note that there is currently no profile for this program.

<!-- gh-comment-id:2167567726 --> @kmk3 commented on GitHub (Jun 14, 2024): Basic debugging information is missing. What are the commands used and the profile used? Where are the logs? Note that there is currently no profile for this program.
Author
Owner

@kmk3 commented on GitHub (Sep 14, 2024):

Duplicate of #1139

<!-- gh-comment-id:2350885083 --> @kmk3 commented on GitHub (Sep 14, 2024): Duplicate of #1139
Author
Owner

@ipaqmaster commented on GitHub (Sep 14, 2024):

Why was the title changed on me? I didn't ask for a profile, I was having an issue making that software work with firejail.

<!-- gh-comment-id:2350906295 --> @ipaqmaster commented on GitHub (Sep 14, 2024): Why was the title changed on me? I didn't ask for a profile, I was having an issue making that software work with firejail.
Author
Owner

@rusty-snake commented on GitHub (Sep 14, 2024):

I didn't ask for a profile, I was having an issue making that software work with firejail.

This is the same.

It does not has a profile.

<!-- gh-comment-id:2350909400 --> @rusty-snake commented on GitHub (Sep 14, 2024): > I didn't ask for a profile, I was having an issue making that software work with firejail. This is the same. > - [x] The program has a profile. (If not, request one in https://github.com/netblue30/firejail/issues/1139) It does not has a profile.
Author
Owner

@kmk3 commented on GitHub (Sep 14, 2024):

If you manage to make it work, feel free to open a PR.

See also profile.template and the wiki:

<!-- gh-comment-id:2350926354 --> @kmk3 commented on GitHub (Sep 14, 2024): If you manage to make it work, feel free to open a PR. See also profile.template and the wiki: * <https://github.com/netblue30/firejail/wiki/Creating-Profiles>
Author
Owner

@ipaqmaster commented on GitHub (Sep 14, 2024):

Yeah ok

<!-- gh-comment-id:2350929750 --> @ipaqmaster commented on GitHub (Sep 14, 2024): Yeah ok
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#3258
No description provided.