Wrap 3.3.17 on Ubuntu 18.04.1 LTS

Hello,

I am trying to run Wrap 3.3.17 on Ubuntu 18.04.1 LTS and it is failing.
When trying the command line version with
./Wrap3Cmd compute <path_to_wrap_file>

I get:

FRAME: 0
PROGRESS: Loading OBJ file [100%]
Failed to bind GL buffer
[1] 9718 abort (core dumped)

When trying to start the gui version with Wrap3 I get:
Speicherzugriffsfehler (Speicherabzug geschrieben)
which means something like memory access error

Could you help me somehow? I have no idea whats happening.
I have worked with Wrap3 in Windows and had it running smooth,
now we bought a licence and have to get it running on Ubuntu machine.

Thanks,
Goran

Hi Goran,

It looks like problem is somehow OpenGL-related because of “Failed to bind GL buffer”. Which graphics card is installed on the Ubuntu machine and which video driver is used?

Ivan

Hey Ivan,

the graphics card is
VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1080] (rev a1)

there is no display attached to it. The gui version I tried over VNC but we need it to work without display as in Wrap3Cmd compute was working on windows.

video driver is this:
driver=nvidia

Thanks,
Goran

Hey Ivan,
I am sorry maybe the information about the driver was not specific enough.
Here is some more:

filename: /lib/modules/4.15.0-44-generic/updates/dkms/nvidia.ko
alias: char-major-195-*
version: 390.77
supported: external
license: NVIDIA
srcversion: 209B1D0CB123DE466F700AD
alias: pci:v000010DEd00000E00svsdbc04sc80i00*
alias: pci:v000010DEdsvsdbc03sc02i00
alias: pci:v000010DEdsvsdbc03sc00i00
depends: ipmi_msghandler
retpoline: Y
name: nvidia
vermagic: 4.15.0-44-generic SMP mod_unload
parm: NVreg_Mobile:int
parm: NVreg_ResmanDebugLevel:int
parm: NVreg_RmLogonRC:int
parm: NVreg_ModifyDeviceFiles:int
parm: NVreg_DeviceFileUID:int
parm: NVreg_DeviceFileGID:int
parm: NVreg_DeviceFileMode:int
parm: NVreg_UpdateMemoryTypes:int
parm: NVreg_InitializeSystemMemoryAllocations:int
parm: NVreg_UsePageAttributeTable:int
parm: NVreg_MapRegistersEarly:int
parm: NVreg_RegisterForACPIEvents:int
parm: NVreg_CheckPCIConfigSpace:int
parm: NVreg_EnablePCIeGen3:int
parm: NVreg_EnableMSI:int
parm: NVreg_TCEBypassMode:int
parm: NVreg_UseThreadedInterrupts:int
parm: NVreg_EnableStreamMemOPs:int
parm: NVreg_EnableBacklightHandler:int
parm: NVreg_EnableUserNUMAManagement:int
parm: NVreg_EnableIBMNPURelaxedOrderingMode:int
parm: NVreg_MemoryPoolSize:int
parm: NVreg_IgnoreMMIOCheck:int
parm: NVreg_RegistryDwords:charp
parm: NVreg_RegistryDwordsPerDevice:charp
parm: NVreg_RmMsg:charp
parm: NVreg_AssignGpus:charp

I hope I am not overlooking some really simple answer related to my problem with running wrap3 on ubuntu.

Goran

Hey Ivan,

actually I found a windows path to basemesh that I had overlooked in the projekt file as argument to Wrap3Cmd compute.
After linking the correct path to the WrapBody.obj I have this error:

qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.

Does this mean I need a display connected to the machine?

Regards,
Goran

Hey Ivan,

we figured it out finally.
All it needed was:

export DISPLAY=:0

I am sorry to have wasted your time, all is good, thanks.

Goran