AWS Thinkbox Discussion Forums

nogui option doesn't seem to work

Version 7.0.0.26
On - Ubuntu 12.04

I’m trying to install the client on our render nodes. I can ssh in with X forwarding, run the installer & the slave starts up fine, but it runs the gui. If I run the launcher with the “-nogui” option (NoGuiMode=true is also in the deadline.ini file) it still runs the gui. If I run the slave with -nogui it still runs the gui. When I reboot the node the init script doesn’t start the launcher or slave. If I then try and start the launcher using the init script manually without X forwarding (/etc/init.d/deadline7launcherservice start) it looks like it starts the processes up, they stop, then they respawn & this then keeps repeating. The monitor never shows the slave as online. When I launch the slave manually without X forwarding it crashes:

/mount/apps/linux/thinkbox/deadline/Deadline7/bin/deadlineslave -nogui
Deadline Slave 7.0 [v7.0.0.26 R (c53f90c95)]
QXcbConnection: Could not connect to display
Stacktrace:

at <0xffffffff>
at (wrapper managed-to-native) Python.Runtime.Runtime.PyObject_Call (intptr,intptr,intptr) <0xffffffff>
at Python.Runtime.ImportHook.import (intptr,intptr,intptr) <0x002a3>
at (wrapper native-to-managed) Python.Runtime.ImportHook.import (intptr,intptr,intptr) <0xffffffff>
at <0xffffffff>
at (wrapper managed-to-native) Python.Runtime.Runtime.PyImport_ImportModule (string) <0xffffffff>
at Python.Runtime.PythonEngine.ImportModule (string) <0x00013>
at FranticX.Scripting.PythonNetScriptEngine.ImportModule (string) <0x00063>
at Deadline.Scripting.DeadlineScriptEngine.ImportModule (string) <0x00027>
at a.a (string[]) <0x01a37>
at (wrapper runtime-invoke) .runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

etc…

Cheers
Andrew

Hi Andrew,

Most of the team is at SIGGRAPH this week so Ryan will have a look at this when he gets back.

I know that -nogui works on other linux distros but we’ve done a few builds since 26 so maybe it’s been fixed? Or it could be a Ubuntu problem. Ryan will know more once he gets back into the office.

Thanks,
Eric

Yep - I tried it on a CentOS 6.5 workstation & it seems to work fine.

The nogui option worked OK for us in version 6.2 on Ubuntu 12.04.

So I just tried installing 7.0.0.26 on ubuntu 14.04 64bit (cause that’s the version of ubuntu we have on our openstack setup) and it’s having problems too. I’ll get Ryan to take a look at this when he gets back next week.

Is X11 installed on your Ubuntu system? Even though we’re not using a user interface, it looks like we’re still loading Qt libraries that require X11 libraries to be installed. I’m wondering if perhaps that’s the difference between your Ubuntu and CentOS systems.

Thanks!
Ryan

Hi Ryan,

Yes I have X11 installed on the render nodes I’m trying out.

I think it’s to do with the “NoGuiMode” option in the deadline.ini. I’d had it set to “true” for our render nodes. This seems to cause the -nogui option to be ignored. When I have it set to “false” the -nogui option seems to be respected.

Cheers
Andrew

Good find! That’s exactly what’s happening. We’ll get that fixed in the next beta.

Cheers,
Ryan

Privacy | Site terms | Cookie preferences