Re: [AD] X Multimonitor support

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On December 14, 2008, Peter Wang wrote:
> On 2008-12-14, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> > On December 13, 2008, Thomas Fjellstrom wrote:
> > > Does anyone mind if the first version only implements Xinerama support?
> > > (Drivers that support other things like XRandR can also mirror the data
> > > to a fake Xinerama extension).
> > >
> > > If so, I can hack it up in the next couple hours. Otherwise its going
> > > to need a lot more code, and a lot more testing on plenty of
> > > configurations. I would like to hold off the full code till I can test
> > > it properly. (and nvidia doesn't support xrandr 1.2 or 1.3 yet, so I
> > > can't test it very easily).
> >
> > I didn't think anyone would mind. I've now added what seems to be working
> > xinerama support. No changes to xfullscreen yet, I want to implement that
> > with XRandR.
>
> ex_monitorinfo hangs for me.  Any ideas?
>
> % gdb ./ex_monitorinfo
> ...
> (gdb) bt
> #0  0x00002afaaec3b6b2 in select () from /lib64/libc.so.6
> #1  0x00002afaaf0d2b75 in ?? () from /usr/lib64/libxcb.so.1
> #2  0x00002afaaf0d4635 in xcb_wait_for_reply () from /usr/lib64/libxcb.so.1
> #3  0x00002afaad987678 in _XReply () from /usr/lib64/libX11.so.6
> #4  0x00002afaae260bec in XineramaQueryScreens () from
> /usr/lib64/libXinerama.so.1 #5  0x00002afaace09581 in
> xglx_get_num_video_adapters () at
> /home/pwa/allegro/ws_4.9_freebie/src/x/xsystem.c:336 #6  0x00002afaacde6518
> in al_get_num_video_adapters () at
> /home/pwa/allegro/ws_4.9_freebie/src/display_new.c:570 #7 
> 0x0000000000400992 in main () at
> /home/pwa/allegro/ws_4.9_freebie/examples/ex_monitorinfo.c:15

Broken driver or mixed up X install? No clue to be honest. I should try it out 
on my 64bit box and see what happens...

> Peter
>
>
> ---------------------------------------------------------------------------
>--- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada. The future of the web can't happen without you.  Join us at MIX09
> to help pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com
>/


-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/