Skip to contentSkip to conversation

opening the framebuffer device

DISCUSSION subramanyam yenugonda 2 participants 2 messages Jul 11, 2005 – Jul 12, 2005

lore
Share & tools
lore
#0 lore raw

Hi All!

How to open the frame buffer device if user has
multiple monitors on single video card.

Thanks in advance.
~YSM

__________________________________________________________
Free antispam, antivirus and 1GB to save all your messages Only in Yahoo! Mail: http://in.mail.yahoo.com

#1 lore raw
Quoted 9 lines · subramanyam yenugonda

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