-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Issue: unable to read pci information from sysfs #91
Comments
Hey @altimore thanks for the report. Of course I forgot to print the actual error message at the exact line the script failed on your system 🤦♂️ |
Hello, Thanks for taking the time to help. Here is the new output, i got a new error first line.
|
for information the output of lspci
I didn't connect the eGPU. |
Thanks for the feedback. now I understand why it's failing. I found some related bug reports in other software: I am also tracking the issue in hertg/gopci#1 |
No i run Manjaro as my base system on my laptop. After some google search there are multiple occurrences of this 0x1000 pci domain. From wikipedia you seem to be right the first field was 16 bits but it might be specific for some systems. |
Well, I have to admit that I used a fairly old reference during development, so maybe the info there is outdated.
Out of curiosity, what do the numbers look like when you run:
The numbers in the first column are all 32bit (4 bytes) on my computer. My guess is you have some numbers there that are larger? |
@altimore I just pushed another commit that might resolve the issue, can you try it out and report back? Thanks |
Hello hertg, the new version solve the error.
I'll be at my place with the egpu tomorrow and will try it then, I'm pretty sure it will work since it worked before. I don't know if you still need this but here is the result of the command requested :
Thanks again for your help, I'm not confident i could have solved it alone. Have an excellent weekend. |
Great to hear. I went ahead and created a release |
Just arrived and connected the egpu, everything works as expected. |
Hello,
I'm using Manjaro linux with an external geforce card.
egpu-switcher worked before and after upgrading the system it doesn't anymore.
Here is the error message :
It seems that the Go library pci cannot read the informations needed and end the process.
I think i'm missing a library for the pci go package to read the list of video cards. Maybe someone can tell me which one.
Extra infos
egpu-switcher
via ppa or via git + makeI upgraded the system with yay -Syu and the package i installed from AUR is aur/egpu-switcher-bin 0.18.0-1 (+0 0.00).
AORUS RTX 2070 Gaming Box
extra/nvidia-dkms 515.65.01-3
extra/xf86-video-intel 1:2.99.917+916+g31486f40-2
community/cinnamon-desktop 5.4.2-1
...
The text was updated successfully, but these errors were encountered: