LibDRM Cloned Monitor Support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What exactly is the correct way to support cloned monitors using LibDRM. As I see it, there are two methods:

- Use the connector array in drmModeSetCrtc
- Use one crtc per connector, but share the same framebuffer. 

Right now I am using option #2 as it seems to be the most flexible, but my current issue is that on laptops, the connector for the laptop's main screen is only retuning 1 mode (tested on a Lenovo, and an HP folio), which means that your unlikely to find a common mode between the laptop monitor, and an external screen (monitor or projector). 

So with the above problem, right now the only thing that I know to do would be to set the resolution of the laptop monitor and external monitor to be their "preferred" resolution, and then copy and scale for "cloned mode" which seems like a terrible idea considering the laptop monitor should be able to set itself to some more basic resolutions (like 800x600).

- Rian
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux