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
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.
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
Hi Magdalena.
I wish to use DVI and LCD2.
Thanks,
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.
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.
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.
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.
Hi Matt.
No, the question was never answered.
So, if understand correctly, you want to run GLP 1.6 with two monitors on a panda board?
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.
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.
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.