[GH-ISSUE #4895] lutris: cannot launch games (black screen) #2806

Open
opened 2026-05-05 09:27:50 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @mYnDstrEAm on GitHub (Feb 3, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4895

Description

When trying to launch a PS2 game iso with Lutris the game doesn't start: it just displays a black screen, while the game does start when launching Lutris without the firejail profile (the latest firejail profile for it in this repo).

Steps to Reproduce

  1. On Debian11/KDE with Wayland and Lutris 0.5.9.1 and firejail 0.9.64.4-2 launch a PS2 game iso. (The profile is used via firejail --profile= despite of the older firejail version.)

Expected behavior

The game should launch.

Actual behavior

The window shows and no error is shown but the game doesn't start.

Behavior without a profile

Additional context

It probably is unrelated to: https://github.com/lutris/lutris/issues/4030 and may be caused by the old version of firejail in the Debain repos.

Environment

  • Linux distribution and version: Debian11/KDE with Wayland
  • Firejail version: 0.9.64.4-2

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

Reading profile /etc/firejail-profiles-latest/lutris.profile
Reading profile /etc/firejail/allow-python2.inc
Reading profile /etc/firejail/allow-python3.inc
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-common.local
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-exec.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-xdg.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-usr-share-common.inc
Reading profile /etc/firejail/whitelist-runuser-common.inc
Reading profile /home/username/.config/firejail/whitelist-var-common.inc
Warning: networking feature is disabled in Firejail configuration file
Parent pid ..., child pid ...
Warning: An abstract unix socket for session D-BUS might still be available. Use --net or remove unix from --protocol set.
Child process initialized in ... ms

(lutris:7): dbind-WARNING **: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
Starting Lutris 0.5.9.1
No cores found
Startup complete
...
GPU: ...
Vulkan is not available or your system isn't Vulkan capable
Started initial process 37 from gamemoderun /home/username/.local/share/lutris/runners/pcsx2/PCSX2 /home/username/Games/dir/gamename.iso
Start monitoring process.
gamemodeauto: 
Interface is initializing.  Entering Pcsx2App::OnInit!
Applying operating system default language...
gamemodeauto: 
gamemodeauto: 
gamemodeauto: 
gamemodeauto: 
gamemodeauto: 
Command line parsing...
Command line parsed!
(UserMode) Found portable install ini @ /home/username/.local/share/lutris/runners/pcsx2/portable.ini

Output when running lutris without firejail profile and starting the game:

Starting Lutris 0.5.9.1
No cores found
Startup complete
Running ...
GPU: ...
Vulkan is not available or your system isn't Vulkan capable
Started initial process ... from gamemoderun /home/username/.local/share/lutris/runners/pcsx2/PCSX2 /home/username/Games/dir/gamename.iso
Start monitoring process.
Interface is initializing.  Entering Pcsx2App::OnInit!
Applying operating system default language...
Command line parsing...
Command line parsed!
(UserMode) Found portable install ini @ /home/username/.local/share/lutris/runners/pcsx2/portable.ini
Originally created by @mYnDstrEAm on GitHub (Feb 3, 2022). Original GitHub issue: https://github.com/netblue30/firejail/issues/4895 <!-- 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 When trying to launch a PS2 game iso with Lutris the game doesn't start: it just displays a black screen, while the game does start when launching Lutris without the firejail profile (the latest firejail profile for it in this repo). ### Steps to Reproduce 1. On Debian11/KDE with Wayland and Lutris 0.5.9.1 and firejail 0.9.64.4-2 launch a PS2 game iso. (The profile is used via `firejail --profile=` despite of the older firejail version.) ### Expected behavior The game should launch. ### Actual behavior The window shows and no error is shown but the game doesn't start. ### Behavior without a profile ### Additional context It probably is unrelated to: https://github.com/lutris/lutris/issues/4030 and may be caused by the old version of firejail in the Debain repos. ### Environment - Linux distribution and version: Debian11/KDE with Wayland - Firejail version: 0.9.64.4-2 ### Checklist - [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). - [x] 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. - [x] I used `--profile=PROFILENAME` to set the right profile. (Only relevant for AppImages) ### Log ``` Reading profile /etc/firejail-profiles-latest/lutris.profile Reading profile /etc/firejail/allow-python2.inc Reading profile /etc/firejail/allow-python3.inc Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-common.local Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-exec.inc Reading profile /etc/firejail/disable-interpreters.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/disable-xdg.inc Reading profile /etc/firejail/whitelist-common.inc Reading profile /etc/firejail/whitelist-usr-share-common.inc Reading profile /etc/firejail/whitelist-runuser-common.inc Reading profile /home/username/.config/firejail/whitelist-var-common.inc Warning: networking feature is disabled in Firejail configuration file Parent pid ..., child pid ... Warning: An abstract unix socket for session D-BUS might still be available. Use --net or remove unix from --protocol set. Child process initialized in ... ms (lutris:7): dbind-WARNING **: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown Starting Lutris 0.5.9.1 No cores found Startup complete ... GPU: ... Vulkan is not available or your system isn't Vulkan capable Started initial process 37 from gamemoderun /home/username/.local/share/lutris/runners/pcsx2/PCSX2 /home/username/Games/dir/gamename.iso Start monitoring process. gamemodeauto: Interface is initializing. Entering Pcsx2App::OnInit! Applying operating system default language... gamemodeauto: gamemodeauto: gamemodeauto: gamemodeauto: gamemodeauto: Command line parsing... Command line parsed! (UserMode) Found portable install ini @ /home/username/.local/share/lutris/runners/pcsx2/portable.ini ``` Output when running lutris without firejail profile and starting the game: ``` Starting Lutris 0.5.9.1 No cores found Startup complete Running ... GPU: ... Vulkan is not available or your system isn't Vulkan capable Started initial process ... from gamemoderun /home/username/.local/share/lutris/runners/pcsx2/PCSX2 /home/username/Games/dir/gamename.iso Start monitoring process. Interface is initializing. Entering Pcsx2App::OnInit! Applying operating system default language... Command line parsing... Command line parsed! (UserMode) Found portable install ini @ /home/username/.local/share/lutris/runners/pcsx2/portable.ini ```
Author
Owner

@SkewedZeppelin commented on GitHub (Feb 3, 2022):

0.9.64.4-2

.68 will be out soon, maybe try newer version?

also consider directly running pcsx2 with its profile instead?

<!-- gh-comment-id:1029385747 --> @SkewedZeppelin commented on GitHub (Feb 3, 2022): > 0.9.64.4-2 .68 will be out soon, maybe try newer version? also consider directly running pcsx2 with its profile instead?
Author
Owner

@mYnDstrEAm commented on GitHub (Feb 3, 2022):

The latest version isn't in Debian's repos. However I just installed 0.9.66 from backports. The game still doesn't run (neither with the latest profile nor with the one of 0.9.66). It does show new errors in the console now though (see below).

I'd like to run all the games via Lutris and later via Kodi (via the Kodi-Lutris addon).

I deduplicated the error messages (all of the repeated many times). After only starting Lutris:

Starting Lutris 0.5.9.1
Loading of DXVK versions failed, defaulting to locally available versions
Loading of VKD3D versions failed, defaulting to locally available versions
Loading of D3D Extras versions failed, defaulting to locally available versions
Loading of DXVK-NVAPI versions failed, defaulting to locally available versions
No cores found
Failed to get url https://api.github.com/repos/lutris/dxvk/releases: HTTP Error 403: rate limit exceeded
Loading of DXVK versions failed, defaulting to locally available versions

when starting the game:

Started initial process ... from gamemoderun /home/username/.local/share/lutris/runners/pcsx2/PCSX2 /home/username/Games/dir/gamename.iso
Start monitoring process.
gamemodeauto: 
Interface is initializing.  Entering Pcsx2App::OnInit!
Applying operating system default language...
gamemodeauto: 
gamemodeauto: 
gamemodeauto: 
gamemodeauto: 
gamemodeauto: 
Command line parsing...
Command line parsed!
(UserMode) Found portable install ini @ /home/username/.local/share/lutris/runners/pcsx2/portable.ini

and now it also shows an error message box PCSX2 Message "File not found. Path: IsoFileSystem" (with both lutris fj profiles). /home/username/Games is a link so I also tried setting the directory of the iso file (not the link) with noblacklist and whitelist in lutris.local but still get the same error.

<!-- gh-comment-id:1029407564 --> @mYnDstrEAm commented on GitHub (Feb 3, 2022): The latest version isn't in Debian's repos. However I just installed 0.9.66 from backports. The game still doesn't run (neither with the latest profile nor with the one of 0.9.66). It does show new errors in the console now though (see below). I'd like to run all the games via Lutris and later via Kodi (via the Kodi-Lutris addon). I deduplicated the error messages (all of the repeated many times). After only starting Lutris: ``` Starting Lutris 0.5.9.1 Loading of DXVK versions failed, defaulting to locally available versions Loading of VKD3D versions failed, defaulting to locally available versions Loading of D3D Extras versions failed, defaulting to locally available versions Loading of DXVK-NVAPI versions failed, defaulting to locally available versions No cores found Failed to get url https://api.github.com/repos/lutris/dxvk/releases: HTTP Error 403: rate limit exceeded Loading of DXVK versions failed, defaulting to locally available versions ``` when starting the game: ``` Started initial process ... from gamemoderun /home/username/.local/share/lutris/runners/pcsx2/PCSX2 /home/username/Games/dir/gamename.iso Start monitoring process. gamemodeauto: Interface is initializing. Entering Pcsx2App::OnInit! Applying operating system default language... gamemodeauto: gamemodeauto: gamemodeauto: gamemodeauto: gamemodeauto: Command line parsing... Command line parsed! (UserMode) Found portable install ini @ /home/username/.local/share/lutris/runners/pcsx2/portable.ini ``` and now it also shows an error message box PCSX2 Message "File not found. Path: IsoFileSystem" (with both lutris fj profiles). /home/username/Games is a link so I also tried setting the directory of the iso file (not the link) with noblacklist and whitelist in lutris.local but still get the same error.
Author
Owner

@ghost commented on GitHub (Jul 18, 2022):

I installed FJ latest from PPA yesterday and had the same problem (Lutris broken). I had to uninstall FJ to fix it so I can't post any further info, but this is still a problem.

I came to open an issue, but I see it's already reported here so thought I would add to it.

<!-- gh-comment-id:1187381855 --> @ghost commented on GitHub (Jul 18, 2022): I installed FJ latest from PPA yesterday and had the same problem (Lutris broken). I had to uninstall FJ to fix it so I can't post any further info, but this is still a problem. I came to open an issue, but I see it's already reported here so thought I would add to it.
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#2806
No description provided.