lkml.org 
[lkml]   [2005]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: opening the framebuffer device
subramanyam yenugonda wrote:

>Hi All!
>
>How to open the frame buffer device if user has
>multiple monitors on single video card.
>
>Thanks in advance.
>~YSM
>
>
You open the _correct_ framebuffer device.
Linux support multiple framebuffer devices, e.g.
/dev/fb0 /dev/fb1 /dev/fb2 ...

The matrox G550 support this, set the correct kernel config options
and you get both /dev/fb0 and /dev/fb1 (for the second head.)

This is the way to go if you want _independent_ monitors.

Some other drivers create a large framebuffer that spans several
monitors - ideal for the common case of one big desktop spread
across several monitors. In those cases, you open /dev/fb0,
and find the different monitor bitmaps at different offsets inside that
file.

Helge Hafting
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-12 14:52    [W:0.069 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site