• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Digital Signal Processors (DSP) » DaVinci™ Video Processors » DM816x, C6A816x and AM389x Processors Forum » dm816x and OpenGL: X Window System problems
Share
DaVinci™ Video Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS

Forums

dm816x and OpenGL: X Window System problems

This question is not answered
Daniel Novotny
Posted by Daniel Novotny
on Apr 04 2012 07:28 AM
Intellectual270 points

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

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Prathap Srinivas
    Posted by Prathap Srinivas
    on Apr 20 2012 10:16 AM
    Expert3980 points

    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.

    Thanks,

    Prathap.

    If my reply answers your question then please click on the "Verify Answer" button.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Daniel Novotny
    Posted by Daniel Novotny
    on Apr 23 2012 06:23 AM
    Intellectual270 points

    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,

        Daniel Novotny

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Prathap Srinivas
    Posted by Prathap Srinivas
    on Apr 23 2012 11:46 AM
    Expert3980 points

    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

    Thanks,

    Prathap.

     

    If my reply answers your question then please click on the "Verify Answer" button.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
1234
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use