Skip to content

Games don't start when Heroic Games Launcher is launched with --disable-gpu #5578

@nudgegoonies

Description

@nudgegoonies

Describe the bug

I use --disable-gpu for all Electron applications (Signal Desktop, Threema Desktop, etc.) because otherwise they take too much physical Video RAM. Heroic Games Launcher uses more than 200 MB which is more than 10% of my 2 GB Radeon R7 360 and 2 GB is the minimum requirement for DXVK so i use it there too. But since Version 2.21.0 Heroic Games Launcher starts, looks as usual and i can even install games. But i cannot run games. I seethe "starting" message in the game cover and it stays. No subprocesses are created and the error seen in the log appears every few seconds.

Add logs

(node:48689) UnhandledPromiseRejectionWarning: Error: GPU access not allowed. Reason: GPU access is disabled through commandline switch --disable-gpu and --disable-software-rasterizer.
    at s (/opt/Heroic/resources/app.asar/build/main/chunks/linux-Byreule0.js:1:1204)
    at vm (/opt/Heroic/resources/app.asar/build/main/main.js:125:10876)
    at ls (/opt/Heroic/resources/app.asar/build/main/main.js:125:13006)
    at qr (/opt/Heroic/resources/app.asar/build/main/main.js:29:17193)
    at async Promise.all (index 1)
    at qr (/opt/Heroic/resources/app.asar/build/main/main.js:29:17056)
    at kd (/opt/Heroic/resources/app.asar/build/main/main.js:29:16967)
    at async Promise.all (index 1)
    at cr.logBase (/opt/Heroic/resources/app.asar/build/main/main.js:31:241)
(node:48689) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 109)

Steps to reproduce

  1. Click on a game
  2. Click on 'run'
  3. Nothing happens

Expected behavior

Start the games as usual and like in the version before.

Screenshots

No response

Heroic Version

Latest Stable

System Information

Debian 13
Heroic Games Launcher installed as Debian package.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug:unconfirmedSomeone works on identifying the issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions