examples icon indicating copy to clipboard operation
examples copied to clipboard

Error in interactive Blender container

Open melomcr opened this issue 1 year ago • 0 comments

When trying to run the interactive Blender container documented here, and using the indicated command:

$ singularity exec --nv blender.sif blender

I get the following error:

Authorization required, but no authorization protocol specified

GHOST: failed to initialize display for back-end(s): ['X11']
  'X11': unable to open a display!
GHOST: unable to initialize, exiting!

The container works as expected for a non-interactive command:

$ singularity exec --nv blender.sif nvidia-smi
Fri Nov 15 12:57:07 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.03              Driver Version: 560.35.03      CUDA Version: 12.6     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA RTX 4500 Ada Gene...    Off |   00000000:41:00.0  On |                  Off |
| 30%   30C    P8              8W /  210W |    1488MiB /  24570MiB |      3%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

I would appreciate any help debugging the issue.

----- EDIT

I should add the very relevant info that I am running Fedora 40 with KDE/Plasma, meaning I have Wayland running my desktop. Theoretically it still supports X apps, but I wonder if this could be the source of the issue.

melomcr avatar Nov 15 '24 19:11 melomcr