Comments (6)
std::os::fd
has been public since Rust v1.66.0.
https://doc.rust-lang.org/stable/std/os/fd/index.html
Could you try this branch?
https://github.com/Umio-Yasuno/amdgpu_top/tree/into_raw_fd
from amdgpu_top.
Same problem:
Compiling libamdgpu_top v0.1.7 (/usr/src/amdgpu_top/crates/libamdgpu_top)
error[E0432]: unresolved import std::os::fd::IntoRawFd
--> crates/libamdgpu_top/src/device_path.rs:49:17
|
49 | use std::os::fd::IntoRawFd;
| ^^^^^^^^^^^^^^^^^^^^^^ no IntoRawFd
in os::fd
from amdgpu_top.
rustc 1.65.0
Package support on Ubuntu 22.04.2 LTS. (Ubuntu's latest LTS). Oh dear....lagging, but this will make it troublesome so many people if this is the problem. Just a heads up.
from amdgpu_top.
It looks like the branch is still in main or has not been updated.
Same problem:
Compiling libamdgpu_top v0.1.7 (/usr/src/amdgpu_top/crates/libamdgpu_top) error[E0432]: unresolved import
std::os::fd::IntoRawFd
--> crates/libamdgpu_top/src/device_path.rs:49:17 | 49 | use std::os::fd::IntoRawFd; | ^^^^^^^^^^^^^^^^^^^^^^ noIntoRawFd
inos::fd
from amdgpu_top.
I would love to try your code, but I'm not patching the rust install just to get it to compile. It will be a rabbit hole and as much as it would be great to test. I've moved on to some work.
Thanks anyway, maybe when the maintainers bring the packages up to date I will look again.
from amdgpu_top.
I have been able to reproduce and fix the problem in my environment, so I am closing this issue.
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.