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

Can't enable GPU #119

Open
jtrofficial opened this issue Dec 28, 2023 · 8 comments
Open

Can't enable GPU #119

jtrofficial opened this issue Dec 28, 2023 · 8 comments

Comments

@jtrofficial
Copy link

The button to turn on the GPU is greyed out so it is using my crappy cpu instead of my rtx4050 is there a way to get around this?
Screenshot 2023-12-28 175239

@Kyr4l
Copy link

Kyr4l commented Apr 16, 2024

same here

i run a dual GPU setup (AMD+NVIDIA)
the main GPU is the AMD card while the NVIDIA card is reserved for VMs, a vfio-pci driver is loaded at boot for the latter card.

some programs incorrectly pick NVIDIA over AMD, even if the main GPU is AMD. then proceed to fail because the nvidia card has no nvidia driver. leading to a crash or a loss of features.

i'm afraid that this program also suffers from this issue. Please correct me if i'm wrong

@hellkaim
Copy link

hellkaim commented Apr 20, 2024

Can confirm.
Have dual GPU - iGPU and V100. Button is grayed out. I recompiled the app locally (first I thought it is an AppImage issue) but no luck.

Any Idea where in the code it might be?

We can

#[cfg(target_os = "linux")]
fn check_gpu() -> bool {
    // Execute a command like `lspci | grep -i nvidia` and check if the output is non-empty
    let output = execute_command("lshw -C display | grep 'configuration: driver=nvidia'");
    !output.is_empty()
}

but what else?

@Kyr4l
Copy link

Kyr4l commented Apr 20, 2024

this also happens on my Optimus laptop (iGPU + GTX 1650) even tho i have the nvidia driver installed

@hellkaim
Copy link

this also happens on my Optimus laptop (iGPU + GTX 1650) even tho i have the nvidia driver installed

The issue is that the app will only allow this on MacSilicon (from it's code)....

@Kyr4l
Copy link

Kyr4l commented Apr 20, 2024

this also happens on my Optimus laptop (iGPU + GTX 1650) even tho i have the nvidia driver installed

The issue is that the app will only allow this on MacSilicon (from it's code)....

im not sure to understand, could you explain a bit more in detail ?

@hellkaim
Copy link

this also happens on my Optimus laptop (iGPU + GTX 1650) even tho i have the nvidia driver installed

The issue is that the app will only allow this on MacSilicon (from it's code)....

im not sure to understand, could you explain a bit more in detail ?

Sure Check here

@hellkaim
Copy link

Also you may do this search

@Kyr4l
Copy link

Kyr4l commented Apr 20, 2024

this also happens on my Optimus laptop (iGPU + GTX 1650) even tho i have the nvidia driver installed

The issue is that the app will only allow this on MacSilicon (from it's code)....

im not sure to understand, could you explain a bit more in detail ?

Sure Check here

thanks

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

No branches or pull requests

3 participants