gnome-egpu
gnome-egpu copied to clipboard
Error: failed to compile "gnome-egpu v0.1.0" while running "cargo install gnome-egpu"
Hi, I would like to try your program for an egpu setup. I'm running Pop OS 21.10, after installing cargo via apt I get into an error while trying to install gnome-egpu by "cargo install gnome-egpu". There are alternatives for installing it or some solutions? Here the error output:
Updating crates.io index
Installing gnome-egpu v0.1.0
error: failed to compile "gnome-egpu v0.1.0", intermediate artifacts can be found at "/tmp/cargo-installY0Kre6"
Caused by:
failed to select a version for the requirement 'zeroize = "^0.9.3"'
candidate versions found which didn't match: 1.5.4, 1.5.3, 1.4.3, ...
location searched: crates.io index
required by package 'dialoguer v0.7.1'
... which satisfies dependency 'dialoguer = "^0.7.1"' of package 'gnome-egpu v0.1.0'
```
`
Same error here, running Fedora 35
If you are using arch try installing from aur repository, that worked for me!
it looks like the AUR version works because it is using cargo build --release when you clone the repo. There are a few dependancys that I had to install (This is for fedora): libgudev-devel glib2-devel. Not tested the app though yet. EDIT: fedora 36.
[heinrich@fedora36]$ sudo cargo install gnome-egpu
Updating crates.io index
Downloaded gnome-egpu v0.1.0
Downloaded 1 crate (7.5 KB) in 0.31s
Installing gnome-egpu v0.1.0
error: failed to compile gnome-egpu v0.1.0
, intermediate artifacts can be found at /tmp/cargo-installR2tIEY
Caused by:
failed to select a version for the requirement zeroize = "^0.9.3"
candidate versions found which didn't match: 1.5.5, 1.5.4, 1.5.3, ...
location searched: crates.io index
required by package dialoguer v0.7.1
... which satisfies dependency dialoguer = "^0.7.1"
of package gnome-egpu v0.1.0
is there a solution to this? Also, if it works, will the eGPU work?
Hello folks did we find a solution for users outside of Arch and AUR (for me fedora36)? I am looking forward to see gnome-egpu in action.
any updates on this one?
For those who are still looking for a fix, I've opened pull request #9. No idea if this project is still being maintained. For those interested, they can check out the PR and run the following from within the project directory:
sudo apt install libglib2.0-dev libgudev-1.0-dev
cargo install --path .
sudo cp target/release/gnome-egpu /usr/local/bin
Note of caution: after completing gnome-egpu setup
, my laptop immediately became unresponsive, and I had to do a hard reboot. Upon reboot, my internal display appeared disabled, yet my system seemed to still detect it as being active... a problem because that's where my login screen was supposed to be. As a result, I had to close my laptop lid to make the login screen appear instead on my external display. My internal display remains unusable when this is active.
Is this expected behaviour @dangreco?