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

Generating a dataset on a cluster: -> ALSA lib confmisc.c: 767: (parse_card) cannot find card 'g° ALSA lib conf.c: 4568: (_snd_config_evaluate) function sd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c: 392: #1027

Open
nikonnext opened this issue Dec 13, 2023 · 2 comments
Labels
first answer provided question Question, not yet a bug ;)

Comments

@nikonnext
Copy link

Describe the issue

Hi, thanks for your excellent work!
I am generating a dataset on a cluster. It doesn't have a sound card or drivers.
I had an error before: ALSA lib confmisc.c: 767: (parse_card) cannot find card 'g° ALSA lib conf.c: 4568: (_snd_config_evaluate) function sd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c: 392:
Now I have an error: xcb_connection_has_error () returned true Failed to create secure directory (/run/user/16934/pulse): No such file or directory xb_connection_has_error) returned true

This warning or error does not fundamentally affect the data set generation process.
However, when blender tries to connect to the audio card, it takes a lot of time. Moreover, the more parallel processes are called for generation, the more time is required.

I'm using my own scene config file, but it's based on the coco_annotation script.
I run the script via blenderproc run.

Minimal code example

No response

Files required to run the code

No response

Expected behavior

Please tell me how to bypass this warning. I want to speed up the process of starting dataset generation.

BlenderProc version

v2.6.1

@nikonnext nikonnext added the question Question, not yet a bug ;) label Dec 13, 2023
@cornerfarmer
Copy link
Member

Hey @nikonnext,

could you give a bit more details here. Which if of the two error message is now raised when blenderproc? It seems like you solved the first error message? Are you sure they are connected?

Also when is the message shown exactly, at startup?

@nikonnext
Copy link
Author

Hey @cornerfarmer

I apologize for the confusion, for some reason it seemed to me that there was a connection between these errors. I didn't make any special changes to the code, but the first error was replaced by the second. Now I'm worried: Failed to create secure directory (/run/user/16934/pulse): No such file or directory xcb_connection_has_error) returned true

Error and delay appear immediately after launch blenderproc run.

The only thing I changed is for each process calling blenderproc run I pass the configurations file_prefix and output_dir for bproc.renderer.render and bproc.renderer.enable_segmentation_output to the script.

But it seems to me that the errors are related, because the directory /run/user/UID/pulse is responsible for PulseAudio report pulseaudio package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
first answer provided question Question, not yet a bug ;)
Projects
None yet
Development

No branches or pull requests

2 participants