-
Notifications
You must be signed in to change notification settings - Fork 232
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
GPU does not show up as OpenCL device when logged in over SSH, unless you login locally #701
Comments
Hi @ProjectPhysX |
here is strace-before-local-login.log, and visible devices are:
After logging in locally on the PC, here is strace-after-local-login.log, and visible devices are:
Kind regards, |
@ProjectPhysX from logs it looks like in the first log you don't have permission to gpu file:
Please ensure that user you are using is a member of group |
thanks a lot for the help! An additional Kind regards, |
@JablonskiMateusz, out of curiosity why does logging in locally "fix" this issue? |
In our readme we have following line:
btw.
@ProjectPhysX when you logged locally, was it the same user as when you logged over ssh? |
@JablonskiMateusz yes, same user. The local login alone triggers the GPU to become visible as OpenCL device. |
It's (definitely) not the driver (package) responsibility to do things like that.
Yes, that's a good idea. In which all documents you think this should be mentioned?
As to what happens when you do graphical login locally... Your GUI session manager grants authenticated user (temporary) access to the display device. Otherwise user's GUI would not work that well (as it would fall back to CPU rendering, or even fail). |
Here in the Readme and in the "Installation procedure" in release notes would be good. Thanks! |
Older (e.g. Ubuntu) distro versions do not have In case host has also non-Intel DRM devices (with different group IDs), Intel GPU device file names can be gotten with following: And group ID for the first one with:
Thanks! @JablonskiMateusz ? |
I am having a similar issue issue after upgrading from Rocky 9.2 to Rocky 9.4. |
On a fresh Ubuntu Server 23.04 installation (kernel 6.5), after installing NEO and rebooting, when accessing the machine remotely over SSH, the GPU (Arc A770) does not show up as OpenCL device. Only when I locally login at the PC, the GPU immediately shows up as OpenCL device both locally and in the remote terminal.
The text was updated successfully, but these errors were encountered: