-
Notifications
You must be signed in to change notification settings - Fork 69
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
Failing to find a directory #148
Comments
That probably means the bus ids aren't correct, you'll have to change them in Also read this thread. |
I ran It's rather odd that I've gotten the same issue twice, considering I completely reinstalled the OS since my first post. Maybe a package that I'm missing? Thanks for responding so quickly by the way, I really appreciate it. |
The Can you see the bus entries in that directory? Nvidia-xrun will first attempt to use |
Alright, I checked the |
Does If that's the case, assuming the bus ids are set properly in the config file, nvidia-xrun should restore the card at the next run by triggering a PCI rescan in the kernel. You can trigger the rescan manually using this command:
Then you should be able to see the card again. I appreciate this might seem confusing so I'll try to break it down for you:
This is the default behavior of nvidia-xrun, and can be tweaked using the config file, e.g. you might choose not to remove the card if you're confident enough that the nvidia module won't be loaded by mistake, but it's not recommended if you have GNOME shell or Xorg using the modesetting driver (not sure how Wayland compositors handle this TBH, but since NVIDIA is not supporting Wayland maybe they won't try to load the module on Wayland sessions) . |
Alrighty, I did a PCI rescan and my graphics card is now visible in |
Just double check that ids are correctly set in the config file, then try to run a command with nvidia-xrun and check that it's working properly. Post the output here so that I can double check. |
Alright, I ran it as root, trying to start lutris, and this was the output:
The program didn't appear to start during this. |
Are you running that command from a linux virtual terminal tty or in a terminal emulator within a desktop environment? In order for this to work, expecially if you're using the modeset option in the module (which is the default for nvidia-xrun) you have to logout from your current graphical session and run nvidia-xrun from a linux virtual terminal (e.g CTRL+ALT+F2 ). The common use case is to run nvidia-xrun without arguments to start the X server and so run the X init script located at If you're trying to use it as you would use optirun then it won't work, AFAIK. |
I somehow didn't catch that I had to run it in a tty so thank you for pointing that out lol I've now tried running |
Can you please run it from a graphical terminal emulator with
This should print all the commands that nvidia-xrun will execute instead of actually executing them. |
Upon running
|
That doesn't look right to me, as it looks like nvidia-xrun is trying to only detach the graphic card rather than actually executing a command, as if the Is by any chance that environment variable set? try this:
And post the output here please. |
Also please post the output of:
|
When I tried running I also ran |
Please remove Remove that from the config, then run |
Alrighty, a much longer output from
Though now when I run |
You don't have to run it with The output looks sane now. Logout from your graphical session, open a virtual tty and run:
And it should work this time. If it doesn't, check that the
|
It appears that there might be an issue with the elevation as there are quite a few mentions of operations not being permitted, here is the output:
|
Are you running this from a linux virtual terminal?
Did you install the nvidia drivers? I'm not sure about this specific issue but you might want to look at the existing issues on this project about Debian and NVIDIA drivers
You need to install this, try |
I had run that command in a tty before this, but to be able to copy the output I ran it in a virtual terminal.
Yes, I installed the newest available nvidia drivers from the Debian backports according to this article from the Debian website: https://wiki.debian.org/NvidiaGraphicsDrivers#Version_440.82_.28via_buster-backports.29
Alrighty, done. |
Not sure how to help with the drivers in debian, maybe check #44 |
I'm going to try installing nvidia's proprietary drivers from their website instead of the ones from the debian backports, and hopefully that will work. Thanks a ton for helping me so far, you're a life-saver lol |
Alright, I tried installing Nvidia's drivers from their website and it gave me a ton of warnings against installing things that weren't meant to be used with Debian, and didn't allow me to install them. So basically where I'm at now is assuming this probably won't work for me and I'm likely going to need to switch back to Windows until either a fix comes for xrun, or an alternative program pops up for Debian. |
I have the same problem on my archlinux. I tried all the above; nothing working. it always gives the message:
I spent more than a days trying this out. |
I'm on Debian 10 and I've followed the installation instructions to the best of my ability, however I keep getting the same output regardless of if the command is run as root, or with a program specified:
Removing Nvidia bus from the kernel
tee: '/sys/bus/pci/devices/0000:01:00.0/remove': No such file or directory
1
Enabling powersave for the PCIe controller
auto
I'm not entirely sure what this means, but I would greatly appreciate any assistance.
P.S. I haven't posted on GitHub before so my apologies if I've messed up somewhere, or if this is the wrong place to put this.
The text was updated successfully, but these errors were encountered: