• 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) » OMAP™ Processors » OMAP-L13x, AM1x and C674x Processors Forum » Issue with DVI output
Share
OMAP™ Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS
Resources
  • OMAP-L1x DSP+ARM9™-based Processors Product Folder
  • OMAP3525/30 DSP+ARM Cortex™-A8-based SOCs Product Folder

  • Top OMAPL Wiki Links
  • OMAPL3x Schematic Review Checklist
  • OMAPL13x Boot resources

  • OMAPL Document Resources
  • OMAPL137 Technical reference manual
  • OMAPL138 Technical reference manual
  • OMAPL Boot loader App Notes
  • Forums

    Issue with DVI output

    • rjnbarrass
      Posted by rjnbarrass
      on Aug 22 2008 07:04 AM
      Prodigy50 points

      All,

      I am working with the Mistral EVM board, and the DVSDK (Beta). What we want to demo is connecting the OMAP to a HD television so I'm trying to run the 'decode' demo as part of the DVSDK having configured the display to use the DVI connector

      # echo "DVI" > /sys/class/display_control/omap_disp_control/ch0_output
      # echo "720P" > /sys/class/display_control/omap_disp_control/ch0_mode

      For an initial test run (the television is attached to the wall of our boardroom), the EVM is connected via DVI to a TFT monitor

      when I run the 'interface' application, the menu appears on the monitor (but rotated on the left hand side)... but working otherwise (solid picture etc.) But as soon as I start to play the 'Davinci' demo, the screen goes blank and the monitor believes the display has been disconnected - all seems to be well from the console prompt and the audio is still being decoded.

       Is this a configuration issue on my part, or are there still issues with the playback?

      Any help / advice would be gratefully recieved - part of the reason for this test is to do a presentation to my board of directors about the capabilities of the OMAP for our targetted products -- one is strangely including driving a large TV proportion screen... I would love to show this kit works and not have to make use of a mini PC!!

      Thanks

      Richard

       

      DVI EVM OMAP
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Juan Gonzales
      Posted by Juan Gonzales
      on Aug 22 2008 08:04 AM
      Mastermind33875 points

      Have you made the changes suggested in the following post

       https://community.ti.com/forums/p/339/942.aspx#942

       

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • rjnbarrass
      Posted by rjnbarrass
      on Aug 22 2008 08:16 AM
      Prodigy50 points

      Juan,

       Thanks for the reply.

       Yes - the resistor changes had been made (as detailed in the documents that came with the EVM) We also took solice in that the display was up for the 'basic' stuff until the video playback started... unless you know that R18 effects the rotation of the display in which we are having problems then!

       Any further help / advice gratefully received.

      Richard

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Bernie Thompson TI
      Posted by Bernie Thompson TI
      on Aug 22 2008 08:29 AM
      Mastermind41680 points

      Currently the DVI output is not supported by the DVSDK (though it is supported by plain SDK), that should come in the next revision of the DVSDK package (release notes say beta 2.0 release should have DVI). I have heard that the video only demo may work but the audio/video demo outputs nothing to the DVI (though I have not tried it personally), though since it is not supported with the DVSDK I would not rely on either.

       The resistor mod is only for the original early adopter boards and is probably not necessary if you bought your board recently, this would only cause noise anyway, the rotation and video failure is a software level issue.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Juan Gonzales
      Posted by Juan Gonzales
      on Aug 22 2008 08:33 AM
      Mastermind33875 points

      Richard,

      I do not believe this resistor is related to the rotation issue at all but I just wanted to make sure you were aware of this required change as well.

      When it comes to DVI displays, the best way to ensure compatibility is to read the EDID data and configure video output for the native display resolution (or at least one of the resolutions the DVI display supports).  I am not familiar with the OMAP display driver yet to know if it is reading the EDID data.  But IMHO, anytime the user wants to set a desired video resolution/frame rate to be displayed. EDID should be checked to ensure compatibility; otherwise, operation should fail with an error message.

      Anyway, just my two cents from having developed DVI software in the past.  DVI display compatibility was a nightmare in the early days :)

      OMAP DVI
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • rjnbarrass
      Posted by rjnbarrass
      on Aug 22 2008 09:29 AM
      Prodigy50 points

      Thanks Bernie and Juan for your further replies.

       Do either of you know if this is a limitation of the DSP/Arm-link side of things, or the 'sample' application that is part of the DVSDK? I'm currently trying to build gstreamer and it's various support libraries (I say trying, since I'm encountering all those wonderful cross-compilation blues!). The idea being that I could then run a more feature rich media player/environment...

       Regards

      Richard

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Bernie Thompson TI
      Posted by Bernie Thompson TI
      on Aug 22 2008 09:48 AM
      Mastermind41680 points

      I believe it is primarily the sample application but I could not say for sure if the other pieces are having any effect on DVI since the sample application is what brings it together and allows a display at all, either way in the upcoming release the DVSDK demos should no longer interfere with DVI display.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Brijesh Jadav80
      Posted by Brijesh Jadav80
      on Aug 23 2008 02:18 AM
      Expert3905 points

      Hi,

       

      Can tell me how you are enabling rotation?

      For FBDEV, we can enable it through boot time arguments. Following gives an example of enabling/setting rotation angle to 90 on FBDEV.

      setenv bootargs 'mem=128M console=ttyS0,115200n8 noinitrd root=/dev/mtdblock4 rw rootfstype=jffs2 video=omap24xxfb:rotation=90'

      For V4L2, we can enable rotation using the IOCTL, VIDIOC_S_OMAP2_ROTATION. Just pass angle of rotation with this ioctl as an argument.

       

      Thanks,

      Brijesh Jadav

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Naveen4907
      Posted by Naveen4907
      on Sep 10 2008 03:40 AM
      Prodigy10 points

      Hi Brijesh,

       

      I am trying to use the "VIDIO_S_OMAP2_ROTATION" ioctl in my application. However, if I try to compile my application, I am getting an error saying the un-identified ioctl. Am I missing something here.  I am using arm-2007q1 cross compiler from code sourcery for building. Also, in the code I saw that, this particular Ioctl was defined as non standard ioctl. So how to use non standard ioctls in the applications? Any help in this regard would be greatly appreciated.

       

      Warm Regards,

      Naveen.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Brijesh Jadav80
      Posted by Brijesh Jadav80
      on Sep 12 2008 00:26 AM
      Expert3905 points

      Hi Naveen,

       

      You need to include header file omap24xxvout.h and keep this header file in the same directory where your source files are present. For the example, please see sample application folder in the release package.

       

      Thanks,

      Brijesh Jadav

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • DRIVERHACKER
      Posted by DRIVERHACKER
      on Sep 12 2008 09:39 AM
      Intellectual310 points

      Hi Naveen

      This works in my case

             rotation = 90;
              ret = ioctl(display_fd, VIDIOC_S_OMAP2_ROTATION, &rotation);
              if (ret < 0) {
                perror("VIDIOC_S_OMAP2_ROTATION");
             
      For compiling successfully u need to include

       

      #include </opt/omap3evm/toolchain/arm-2007q3/arm-none-linux-gnueabi/libc/usr/include/linux/videodev.h>
      #include "/opt/omap3evm/toolchain/arm-2007q3/arm-none-linux-gnueabi/libc/usr/include/linux/fb.h"

      #include "omap24xxvout.h"

       

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Brijesh Jadav80
      Posted by Brijesh Jadav80
      on Sep 12 2008 09:57 AM
      Expert3905 points

      Hi,

       

      This is correct. It requires local copy of the header file omap24xxvout.h. You can get the header file from Sample application folder from the package. The other, not recommended, solution is to add following line in the source file.

       

      #define VIDIOC_S_OMAP2_ROTATION         _IOW ('V', 3,  int)

       

      Thanks,

      Brijesh Jadav

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    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