• 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 » OMAP™ Applications Processors » OMAP 4 Forum » GLP1.6.x: Using a second display with X11
Share
OMAP™ Applications Processors
  • Forums
Options
  • Subscribe via RSS

GLP1.6.x: Using a second display with X11

GLP1.6.x: Using a second display with X11

This question is answered
Steve Schefter
Posted by Steve Schefter
on Aug 09 2012 12:50 PM
Expert1270 points

Hi.

drivers/gpu/drm registers a single framebuffer, so there is just /dev/fb0.

drivers/staging/omapdrm creates several framebuffers, but does not register them so there is no corresponding /dev/fbN device.

Therefore, how can I set up a second screen in the in the xorg.conf file in order to use two displays?

Regards,

    Steve

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Magdalena Iovescu
    Posted by Magdalena Iovescu
    on Aug 17 2012 10:00 AM
    Intellectual2480 points

    Steve,

    Could you please specify what is your use case? Are you trying to have one screen on HDMI connector and one on DVI connector at the same time on Panda?

    I will come back with a sample xorg.conf that sets up 2 displays.

    Regards,

    Magdalena

     

    Please click the Verify Answer button on this post if it answers your question

    _____________________________________________

    Be sure to read the OMAP4 and OMAP5 Forum Guidelines and FAQ

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Steve Schefter
    Posted by Steve Schefter
    on Aug 17 2012 12:30 PM
    Expert1270 points

    Hi Magdalena.

    I wish to use DVI and LCD2.

    Thanks,

        Steve

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Magdalena Iovescu
    Posted by Magdalena Iovescu
    on Aug 17 2012 13:47 PM
    Intellectual2480 points

    Hello Steve,

    Please find attached a sample xorg.conf file that sets up 2 displays: 3175.xorg.conf. The important 'Option's to note are rotation, "LeftOf", "RightOf", "Primary".

    Looking forward to hearing your results.

    Regards,

    Magdalena

     

    Please click the Verify Answer button on this post if it answers your question

    _____________________________________________

    Be sure to read the OMAP4 and OMAP5 Forum Guidelines and FAQ

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Steve Schefter
    Posted by Steve Schefter
    on Aug 20 2012 06:37 AM
    Expert1270 points

    Thanks Magdalena.

    However, the xorg.conf doesn't look like it is for a pandaboard with omapdrm.  Under the Device section, it lists radeon as the driver.

    This is the main section I'm looking for.  Going back to my original question, I'm wondering how you specify the different display devices.  They can't be distinguished with a different framebuffer device, for example.

    Regards,

       Steve

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Magdalena Iovescu
    Posted by Magdalena Iovescu
    on Aug 20 2012 09:23 AM
    Intellectual2480 points

    Steve,

    You are correct, this is for a ubuntu PC. I will investigate more to see whether someone inside TI has this working on panda and will get back shortly.

    Regards,

    Magdalena

     

    Please click the Verify Answer button on this post if it answers your question

    _____________________________________________

    Be sure to read the OMAP4 and OMAP5 Forum Guidelines and FAQ

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Matthew Kiser
    Posted by Matthew Kiser
    on Sep 20 2012 09:21 AM
    Intellectual1300 points

    Steve,

    Have you gotten all the help you need for this question?

    Matt Kiser

     

    Please click the Verify Answerbutton on this post if it answers your question.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Steve Schefter
    Posted by Steve Schefter
    on Sep 20 2012 09:28 AM
    Expert1270 points

    Hi Matt.

    No, the question was never answered.

        Steve

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Matthew Kiser
    Posted by Matthew Kiser
    on Sep 20 2012 09:32 AM
    Intellectual1300 points

    So, if understand correctly, you want to run GLP 1.6 with two monitors on a panda board?

    Matt Kiser

     

    Please click the Verify Answerbutton on this post if it answers your question.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Steve Schefter
    Posted by Steve Schefter
    on Sep 20 2012 09:41 AM
    Expert1270 points

    Hi Matt.

    That's correct.  But specifically, I want to use X11.  So that means omapdrm, etc and not just a raw omap framebuffer. 

    So the key to the question is: how do you specify the different devices/displays in xorg.conf since you can't use the traditional /dev/fb0 /dev/fb1?  With omapdrm, you get just one framebuffer.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Matthew Kiser
    Posted by Matthew Kiser
    on Sep 24 2012 15:00 PM
    Verified Answer
    Verified by Gina Glaser
    Intellectual1300 points

    Steve,

    The answer I am getting is that xrandr will work with two monitors and omapdrm on x11. So you would run xrandr to configure two displays as normal. This presumes you have two working displays, I don't know what hardware you are using, or how they are configured. But all displays are managed with a single device file and multiple displays are going to be configured with normal xrandr commands.

    Matt Kiser

     

    Please click the Verify Answerbutton on this post if it answers your question.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Steve Schefter
    Posted by Steve Schefter
    on Nov 26 2012 16:10 PM
    Expert1270 points
    xorg.conf.txt

    Hi Matt.

    While it is true that the devices are managed by xrandr, that doesn't really answer the question about how they are configured in xorg.conf.  The X11 server still needs to know about the devices and that means that they need to be configured in xorg.conf.  It needs to know, for example, that you have two displays and how they are placed in a virtual.

    I have attached the xorg.conf which does this in case anyone else seeing this question is attempting to do the same.

    Regards,

        Steve

    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