Skip to content

[Bug] Prime-run (aka command to force gpu offloading) does not launch engine #40

@Sans2280448

Description

@Sans2280448

FunkHub version

v.0.1.1

Operating system

Linux

Steps to reproduce

  1. Open a desired mod executable, or engine
  2. Change the Launch override to Native and a command to run "prime-run" or absolute path "/usr/bin/prime-run"
  3. Launch the said engine. And get an error

Expected behavior

  1. Open a desired mod executable, or engine
  2. Change the Launch override to Native and a command to run "prime-run" or absolute path "/usr/bin/prime-run"
  3. Launch the said engine.
  4. The engine opens with dgpu offloading

Actual behavior

It just can`t run engines with the prime-run enabled. This is sometimes necessary to use, hybrid nvidia laptops use such setup on linux and use prime-run when needed to run some heavy-loaded applications such as games.

Do note that not all engines support this, notably some psych engine based mods just dont work with this option enabled.

Engine and version

any

Error message / logs / screenshots

https://github.com/user-attachments/assets/58a6a98c-5750-4319-86ac-6afdc73be88a
basically shows, that v-slice works with this option on, but funkhub flatout refuses to run with it

One-click install details (if relevant)

nothin

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions