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

nvdc: nvdcEventThread select failed: Bad file descriptor #3116

Open
MarkSwanson opened this issue Jan 1, 2020 · 3 comments
Open

nvdc: nvdcEventThread select failed: Bad file descriptor #3116

MarkSwanson opened this issue Jan 1, 2020 · 3 comments
Labels
backend: Vulkan client: blocker blocker issue for a known client type: bug

Comments

@MarkSwanson
Copy link

Short info header:

  • GFX version: master / 6612aaa
  • OS:Ubuntu 18
  • GPU:Jetson Nano

It's great that Vulkan support works ootb.
I don't know the importance of this error yet. I just started working with a physical Jetson Nano.
TIL - the Jetson nano is running the CPU in 64-bit mode (aarch64 / armv8l).

I don't get this error with an Nvidia 1070ti on Windows 10.
Creating this bug report to track this issue - perhaps there is some small extra cleanup that needs to be done on the Nano.

$ cargo run --bin compute --features vulkan 1 2 3 4
Finished dev [unoptimized + debuginfo] target(s) in 0.31s
Running /home/jetson/src/gfx/target/debug/compute 1 2 3 4
Times: [0, 1, 7, 2]
nvdc: start nvdcEventThread
nvdc: nvdcEventThread select failed: Bad file descriptor

@kvark
Copy link
Member

kvark commented Jan 1, 2020

@MarkSwanson does Vulkan work on that board in general? i.e. with vkcube and such.
Are validation layers installed on the machine?

@kvark kvark added backend: Vulkan client: blocker blocker issue for a known client type: bug labels Jan 1, 2020
@MarkSwanson
Copy link
Author

Vulkan seems to work fine (compute and non-compute).
vulkaninfo works ootb
Another vulkan demo is provided:
jetson@jetson:~$ vulkan-smoketest
nvdc: start nvdcEventThread
298 presents in 5.00031 seconds (FPS: 59.5963)
frames:586, elapsedms:10194
nvdc: exit nvdcEventThread

Note the end line "nvdc: exit nvdcEventThread". This happens for every vulkan program I run.
(I only see the 'bad file descriptor' message when running wgpu examples)

Wrt vkcube, I followed the instructions here:
https://github.com/KhronosGroup/Vulkan-Tools/blob/master/BUILD.md

and it works fine.
I'm not sure if I have to 'git pull' the validation layers...

@kvark
Copy link
Member

kvark commented Jan 2, 2020

Thanks! I wonder if it's related to winit then. Could you try running https://github.com/MaikKlein/ash examples, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend: Vulkan client: blocker blocker issue for a known client type: bug
Projects
None yet
Development

No branches or pull requests

2 participants