Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to start blender using custom command (not only custom binary) #160

Open
zepadovani opened this issue Apr 29, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@zepadovani
Copy link

Hi,

using Manjaro/Linux with a NVIDIA card, I usually start apps that will need to use the external card by running "prime-run <binary_path>". Is there a way to add such an option in the extension? That would be really usefull to take profit of my card features while using the extension...

Thanks for any tips related!

@Mateusz-Grzelinski
Copy link
Collaborator

hm, as a workaround I think you can use a shell script. I do not have a linux on hand to try it out:

  1. Create blender.sh
#!/bin/sh
prime-run blender "$@"
  1. Register it in vs code settings as blender exe
    "blender.executables": [
        {
            "path": "/home/.../blender.sh",
            "name": "blender but really a script",
            "isDebug": false
        }
    ],

Can you let me know if it works?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants