Comments (12)
I don't understand. The app tries to load the wrong card? Or maybe you're addressing it and I just don't understand?
The first DRM devices will be placed in /dev/dri/renderD128
and /dev/dri/card0
unless intentionally disabled.
Therefore, amdgpu_top
selects /dev/dri/renderD128
by default.
Open "/dev/dri/render{}", 128 + i
if an instance (-i
) is specified.
from amdgpu_top.
I do not provide nixpkg and I am not familiar with nixpkg.
Try a binary built from source or an AppImage binary.
sandbox
setting might be affecting it?
https://nixos.org/manual/nix/stable/command-ref/conf-file.html#conf-sandbox
from amdgpu_top.
I am building from source, and the binary builds fine, this is at execution time which does not happen in the sandbox.
from amdgpu_top.
Please paste the results of running ls -l /dev/dri
.
amdgpu_top
requires access to /dev/dri/
.
Environments with device files located in locations other than /dev/dri
are not supported.
from amdgpu_top.
❯ exa -al --tree /dev/dri
drwxr-xr-x - root 2 May 15:33 /dev/dri
drwxr-xr-x - root 2 May 15:44 ├── by-path
lrwxrwxrwx@ 8 root 2 May 15:44 │ ├── pci-0000:07:00.0-card -> ../card1
lrwxrwxrwx 13 root 2 May 15:44 │ └── pci-0000:07:00.0-render -> ../renderD129
crw-rw----@ 226,1 root 2 May 15:44 ├── card1
crw-rw-rw- 226,129 root 2 May 15:44 └── renderD129
from amdgpu_top.
This system has two GPUs, but I usually boot Linux with the dGPU disabled.
This might be why my system (currently) only has dri1
.
I can take a peek at the code...
from amdgpu_top.
Run amdgpu_top -i 1
.
The result of amdgpu_top --list
is also helpful.
from amdgpu_top.
╭ zeph ~/code/nixcfg 21.12s
╰─▶ /nix/store/hhclh187i2pkll9i2cqghbbizk7nd06j-amdgpu_top-0.1.7/bin/amdgpu_top -i 1
seems to work, shows the TUI
╭ zeph ~/code/nixcfg 1.85s
╰─▶ /nix/store/hhclh187i2pkll9i2cqghbbizk7nd06j-amdgpu_top-0.1.7/bin/amdgpu_top --list
#1
Marketing Name = "AMD Radeon Graphics"
pci = 0000:07:00.0
render_path = "/dev/dri/renderD129"
card_path = "/dev/dri/card1"
from amdgpu_top.
╭ zeph ~/code/nixcfg 21.12s ╰─▶ /nix/store/hhclh187i2pkll9i2cqghbbizk7nd06j-amdgpu_top-0.1.7/bin/amdgpu_top -i 1 seems to work, shows the TUI
╭ zeph ~/code/nixcfg 1.85s ╰─▶ /nix/store/hhclh187i2pkll9i2cqghbbizk7nd06j-amdgpu_top-0.1.7/bin/amdgpu_top --list #1 Marketing Name = "AMD Radeon Graphics" pci = 0000:07:00.0 render_path = "/dev/dri/renderD129" card_path = "/dev/dri/card1"
Ok, close this issue.
from amdgpu_top.
I don't understand. The app tries to load the wrong card? Or maybe you're addressing it and I just don't understand?
from amdgpu_top.
Does it make sense to:
- Auto-select the first available instead of assuming index 0?
- Support multi-GPU setups through-out the app?
I understand if that's all out of scope. It is very jarring to get a file not found and panic, though.
from amdgpu_top.
GUI mode implements GPU selection fallback.
This is because in GUI mode, other GPU devices can be started in a new process.
from amdgpu_top.
Related Issues (20)
- Version 0.40 removes 'gpu_metrics_v1_3' outputs from '--dump' Option HOT 3
- smi doesn't print anything HOT 9
- Dark mode for TUI HOT 2
- No AMD GPU devices found for AMD R7 250 HOT 2
- v0.6.0 release won't start HOT 3
- [Question] Is DisplayPort bandwidth monitoring possible? HOT 2
- Build Problem - AMDGPUTOP-GUI - Mismatched Types!? HOT 2
- Ty
- No decoder/encoder usage HOT 2
- GUI crashes with `buffer not divisible by scale (2)` HOT 5
- NPU Usage ? HOT 1
- Showing/Hiding properties in the "Connector Info" shows/hides the same property for all the other connectors HOT 1
- Issue while building the app HOT 8
- Font too big only on --gui HOT 2
- Small issue with the desktop entry in the appimage. HOT 9
- AMDGPU DRIVERS HOT 1
- Support for Multiple GPUs on one screen HOT 2
- (Log below) "error: linking with `cc` failed: exit status: 1" HOT 2
- Error when amdgpu.dpm=0
- Eli5 instructions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amdgpu_top.