Closed marek0039 closed 5 years ago
Hi,
could not import module
, are not really errors. It just informs you that some modules (for machine vision) are missingOpenGLThtead: initGLX: cannot connect to X server :0.0
:0.0
Why is your X screen :0.2
? Are you trying to do multi-gpu / multi-xscreen stuff?
A quick & dirty hack, if you only have one X screen:
In Valkka Live source code, look at the file gpuhandler.py
, and there, search for the line:
x_connection = ":0." + str(n_gpu)
Substitute it with:
x_connection = ":0." + str(n_gpu+2)
However, if you're doing some multi-gpu / multi-xscreen system, then it seems that Valkka Live can't figure out the correct first X Screen (which in your case is :0.2
).
If you have multiple GPUs, each running separate screens (to create massive video walls), read this: https://elsampsa.github.io/valkka-examples/_build/html/multi_gpu.html
In Valkka testsuite, there are demo programs that can handle that situation. Valkka Live has been programmed that in mind as well, but never tested / debugged for multi-gpu case.
We got it working thank you.
@marek0039, someone has a similar issue. Maybe you could of assistance..? Please see here: https://github.com/elsampsa/valkka-live/issues/6
Hello I am trying to install Valkka-live on my ubuntu machine. I am following all the steps on https://elsampsa.github.io/valkka-live/_build/html/index.html . It is running on Ubuntu 18.04, python 3.6.7 and pip 19.1.1. this is the error message when I try to run valkka-live
here is my
$DISPLAY
: