Hello,
After I installed the latest SDK on the Ubuntu host (see my previous post http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/179013.aspx ), I was able to compile OpenGL applications. When I run them on the target, it says "Could not open display", this means they need the X Window System
After copying the X Window System to /usr/local/XSGX, copying applications like pvrsrvinit to /usr/local/bin, I tried to run the X Window System "X -config /usr/local/XSGX/etc/xorg.conf"
There are two scenarios:
1) when the Matrix GUI is running, the X Window System behaves like it's running, does not complain about anything, when I run the applications with DISPLAY=:0, they succesfully connect to it and behave like they are running, but I don't see any output on the display, I see Matrix GUI there instead
2) when I stop the Matrix GUI, the X Window System fails to start saying there are no displays to connect to. I tried running "/etc/init.d/rc.pvr start" but there is no difference.
Is there any configuration option I am unaware of? It seems so...
Thanks,
Daniel Novotny
Ralph,
Good to know that troubleshooting guide was useful in getting your X11 up & running. Thanks.
Daniel,
Were you able to get X11 up & running like Ralph, Nick & many other customers.
Ralph, Nick have provided many useful suggestions & pointers along with many other details that should help you, thanks a lot to them. Also i have provided you links to the documentation, pointed you to exact sections in the documentation.
So i believe this should help you to get X11 running on your setup. Please mark the verified answer once you are able to get things working on your setup.
Prathap.
If my reply answers your question then please click on the "Verify Answer" button.
Hello Ralph, Nick, Prathap, all,
I am sorry I was not responding further about this issue, but because of the information, that emerged from this discussion, I wonder if the very reason I wanted to run X still exists:
The purpose of my work assignment is to benchmark the 3D capabilities of the board by porting existing OpenGL applications and comparing the performance on the board with the performance of the same apps running in another environment (such as desktop PCs). To benchmark the 3D, I need drivers, which support the 3D acceleration on the board. I tried to use the graphics libraries which were part o X11, because they supported full OpenGL and I thought it would be easier to port the existing Open GL application to full Open GL as opposed to Open GL ES.
Since the information -confirmed from all souces I asked- is that the OpenGL graphics libraries tied to the X11 are software rasterizer-only, they will not help me with my primary assignment, i.e. benchmarking the 3D capabilities. I will ask my managers what to do: if they find some use in non-accelerated OpenGL environment, I will continue in trying to run X, but now I am more focused to porting the benchmark applications from OpenGL to OpenGL ES, because this directly helps my primary goal: the framebuffer OpenGL ES application are working well on my board and I already ported two smaller benchmarks. I can't spend much time on something that cannot help me with my primary assignment.
Thanks for the understanding, cheers,
Hi Daniel,
Thanks for the update & best wishes for your assignment.
Good to know that you have OpenGL ES apps working on your board.
Just to confirm, the X apps can also be accelerated using SGX. This is done when you use Xorg DRI driver (when you build & use graphics SDK with SUPPORT_XORG=1).
Only thing that is not accelerated is the GLX support. Nick & other users have got their X apps acceleration with SGX working as described in this thread earlier. Also the below link clearly provides all the data/logs showing how a 3D graphics demo - ChameleonMan is running in the Xorg environement using the SGX Xorg DRI driver.
http://processors.wiki.ti.com/index.php/SGXDbg#Observing_high_CPU_load_and_no_GPU_load_while_running_glxgears