flathub / flathub/dev.zed.Zed

Nvidia gpus not working

Open
#382 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
26
Forks
16
Avg merge
2h 40m
Merged PRs (30d)
8

Description

NVIDIA GPU pass-through does not work with the editor instead using the iGPU (in my case intel)

This can currently be solved in two steps

(1) run `lspci -nn | grep VGA` to get video devices

example output:

```
lspci -nn | grep VGA
-> 00:02.0 VGA compatible controller : Intel Corporation Raptor Lake-U [Intel UHD Graphics 770] [8086:a7a0] (rev 04)
-> 01:00.0 VGA compatible controller : NVIDIA Corporation Device [10de:2706] (rev a1)
-> 3d:00.0 Non-VGA unclassified device : Intel Corporation Device [8086:1250] (rev 11)
```
(2) run `flatpak override --user --env=ZED_DEVICE_ID=0x2706 dev.zed.Zed` (changing the `0x2706` part to your device id) to force zed to use the correct device

However, this fix **only** works if `ZED_FLATPAK_NO_ESCAPE` is set to `1`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.