Skip to content
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

I can not select CPU internal GPU and Nvidia's GPU with Ubuntu. #1035

Closed
hryksbt opened this issue Dec 5, 2022 · 14 comments
Closed

I can not select CPU internal GPU and Nvidia's GPU with Ubuntu. #1035

hryksbt opened this issue Dec 5, 2022 · 14 comments
Labels
bug Something isn't working

Comments

@hryksbt
Copy link

hryksbt commented Dec 5, 2022

Environment

  • Smapp version: 0.2.9 | develop
  • Node version: v0.x.xx
  • OS: Ubuntu 22

Describe the bug

GPU is not appeared.
Intel's internal GPU and Nvidia GPU both.

Steps to reproduce

  1. Create PoS data.
  2. Select size.
  3. Select POS PROCESSOR.

Expected behavior

Showing up all processor including CPU internal GPU and Nvidia GPU.

Actual behavior

CPU internal GPU and Nvidia GPU were displayed until 0.2.8.
But after I start to use 0.2.9, they are not showing up.
I installed latest GPU driver.
This is not occurred with Windows 10 and Mac OS. This is occurred only with Ubuntu.

Attach screenshots or GIF’s of what’s going on if it makes the issue more illustrative.

スクリーンショット 2022-12-05 11 36 23

Logs

Attach app-logs.txt and spacemesh-log.txt

If you can find out the part of the logs that relates to the problem, attach them or paste in code-block.

How to fix

I have no idea.

@maparr
Copy link
Contributor

maparr commented Dec 5, 2022

Hi @hryksbt , Thank you for the issue report. I will provide more information on this week about Ubuntu plugins that will help to smesh with GPU.

@pigmej
Copy link
Member

pigmej commented Dec 5, 2022

Hello @hryksbt

Could you please check the following:

  1. https://github.com/spacemeshos/gpu-post/releases/tag/v0.1.27 please download linux build from here, unpack and open terminal in unpacked dir
  2. chmod a+x gpu-setup-test
  3. export LD_LIBRARY_PATH=.
  4. gpu-setup-test --list

And please paste back what the last command outputs. Just please remember about crucial step 3.

@hryksbt
Copy link
Author

hryksbt commented Dec 5, 2022

Hello @pigmej

#./gpu-setup-test --list
Available POST compute providers:
  1: [CPU] CPU

There are no CPU included GPU and Nvidia's GPU.

@brusherru brusherru added the bug Something isn't working label Dec 5, 2022
@brusherru
Copy link
Member

Hello @hryksbt,
Thanks for the report!
Can you provide your hardware details? Aka your processor and graphic card models?
It may help us to debug and fix the issue.

@hryksbt
Copy link
Author

hryksbt commented Dec 6, 2022

@brusherru Hello,
I have some environment.

Case 1:
Intel Core i5-12600K
This must show up CPU and GPU this is included in CPU.
MSI mother board. Z690 chipset. DDR4.

Case 2:
Intel Core i3-12100
This must show up CPU and GPU this is included in CPU.
MSI mother board. Z690 chipset. DDR4.

Case3:
Intel Core i7-11800M
Nvidia GeForce RTX3080 Laptop
This must show up CPU, GPU this is included in CPU and Nvidia's GPU.
This laptop is made by MSI. DDR4.

@pigmej
Copy link
Member

pigmej commented Dec 6, 2022

@hryksbt if possible, could you please run the command from the above with export VK_LOADER_DEBUG=all and paste the output?

I'm curious about the exact error on your system.

Additionally, if you could install vulkantools (if ubuntu based system, then sudo apt install vulkan-tools) and then paste the output of vulkan-info

Thanks.

@pigmej
Copy link
Member

pigmej commented Dec 7, 2022

@hryksbt anyway if you could double check with most recent gpu-post release?: https://github.com/spacemeshos/gpu-post/releases/tag/v0.1.28

@hryksbt
Copy link
Author

hryksbt commented Dec 8, 2022

I downloaded 0.1.28 then executed gpu-setup-test --list, that returned same.
I set export VK_LOADER_DEBUG=all too.

Result:

Available POST compute providers:
  1: [CPU] CPU

Then I installed Valkan-Tool, But I got same result.

@pigmej
Copy link
Member

pigmej commented Dec 8, 2022

@hryksbt did you remember to export LD_LIBRARY_PATH=. ?

@hryksbt
Copy link
Author

hryksbt commented Dec 8, 2022

@pigmej Of course. If I don't use export LD_LIBRARY_PATH=. , this command cannot run as you know.
I think this feature must refactor such as mining stop issue.

@pigmej
Copy link
Member

pigmej commented Dec 8, 2022

You should be stil able to use cuda. (apt install cuda).

But yes we're checking why Vulkan based provider is no longer working on Ubuntu.

@hryksbt
Copy link
Author

hryksbt commented Dec 8, 2022

@pigmej I didn't need cuda until 0.2.8 version. You should check what affect to hide Vulkan and Nvidia.
All my environments occurred same issue. They are using different CPU and GPU.
I think every people who are using Ubuntu getting same issue.
If you want, I can give you Teamviewer ID/Password. You can debug on my PC.
Please give me DM if you want. I am "Be" in discord.
Thanks.

@pigmej
Copy link
Member

pigmej commented Dec 8, 2022

Ok.

The issue was nvidia drivers, for hybrid cards 525+ driver is needed. We will update the readme.

Checked with 0.1.28 and now all is good.

@hryksbt
Copy link
Author

hryksbt commented Dec 8, 2022

@pigmej Thank you for your kindly support.
I could understand this must match with cuda version.
Have a nice day!

@hryksbt hryksbt closed this as completed Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants