A simple accelerated GL compositor
Tomasz Torcz
zdzichu at irc.pl
Sun Jul 9 03:51:59 PDT 2006
On Sat, Jul 08, 2006 at 11:14:58PM +0100, Felix Bellaby wrote:
> Tomasz Torcz wrote:
> > > > You might still find that my code will work without transparency on your
> > > > platform. Try setting GLX_ALPHA_SIZE to 0 where it appears.
> >
> > Tried that. Your composer runs, but screen goes black, only mouse
> > cursor is displayed and I can move it. By pressinc ^C I can return to
> > normal drawing.
>
> Setting DEBUG to 1 (line 65) should list every non-damage X event and
> error. Try running it like that and press alt-tab a few times before
> killing the program from a VT. If you get a list of Xevents with no
> errors then there is probably little that could be learned from any
> further debugging output. If you get some Xerrors then I would like to
> see the output. If you get nothing then things are badly wrong.
Ok, now:
1) GLX_ALPHA_SIZE set to 0
2) drawable type *with* GLX_WINDOW_BIT
3) DEBUG set to 1
I've run it, screen gone black, I pressed alt+tab few tabs and then
ctrl-c. Output on terminal:
% ./a.out
line 1164 (before glXChooserFBConfig
line 1167
BadLength (poly request too large or internal Xli request # 568 ( 31, 0)
Unrecognised X ID 360006b
GLXBadDrawable request # 570 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 580 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 598 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 616 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 626 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 636 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 646 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
Event 28, # 611
Win 0e0001d Dam 3600015 Pix 3600016 DRW 360006c (1280 x 1024) Map 1: XEvent
Event 28, # 611
Win 0e0001d Dam 3600015 Pix 3600016 DRW 360006c (1280 x 1024) Map 1: XEvent
Event 28, # 611
Win 0e0001d Dam 3600015 Pix 3600016 DRW 360006c (1280 x 1024) Map 1: XEvent
Event 28, # 612
Win 160002e Dam 3600017 Pix 3600018 DRW 360006c (75 x 300) Map 1: XEvent
Event 28, # 612
Win 160002e Dam 3600017 Pix 3600018 DRW 360006c (75 x 300) Map 1: XEvent
Event 28, # 612
Win 160002e Dam 3600017 Pix 3600018 DRW 360006c (75 x 300) Map 1: XEvent
Event 28, # 612
Win 1600042 Dam 3600019 Pix 360001a DRW 360006c (136 x 80) Map 1: XEvent
Event 28, # 612
Win 1600042 Dam 3600019 Pix 360001a DRW 360006c (136 x 80) Map 1: XEvent
Event 28, # 612
Win 1600042 Dam 3600019 Pix 360001a DRW 360006c (136 x 80) Map 1: XEvent
Event 28, # 612
Win 2e0013c Dam 360001b Pix 360001c DRW 360006c (1142 x 41) Map 1: XEvent
Event 28, # 612
Win 2e0013c Dam 360001b Pix 360001c DRW 360006c (1142 x 41) Map 1: XEvent
Event 28, # 612
Win 2e0013c Dam 360001b Pix 360001c DRW 360006c (1142 x 41) Map 1: XEvent
Event 18, # 612
Win 0a0000d Dam 360000e Pix 0000000 DRW 360006c (200 x 200) Map 0: XEvent
Event 18, # 612
Win 0a0000d Dam 360000e Pix 0000000 DRW 360006c (200 x 200) Map 0: XEvent
Event 18, # 612
Win 0a0000d Dam 360000e Pix 0000000 DRW 360006c (200 x 200) Map 0: XEvent
Event 18, # 612
Win 0a0000d Dam 360000e Pix 0000000 DRW 360006c (200 x 200) Map 0: XEvent
Event 22, # 612
Win 0a0022a Dam 3600020 Pix 3600021 DRW 360006c (590 x 959) Map 1: XEvent
Event 22, # 612
Win 0a00faf Dam 360001f Pix 0000000 DRW 360006c (1240 x 923) Map 0: XEvent
Event 22, # 612
Win 0a036f4 Dam 360001d Pix 360001e DRW 360006c (625 x 929) Map 1: XEvent
Event 28, # 612
Win 0c00003 Dam 3600022 Pix 3600023 DRW 360006c (1280 x 21) Map 1: XEvent
Event 28, # 612
Win 0c00003 Dam 3600022 Pix 3600023 DRW 360006c (1280 x 21) Map 1: XEvent
Event 28, # 612
Win 0c00003 Dam 3600022 Pix 3600023 DRW 360006c (1280 x 21) Map 1: XEvent
GLXBadDrawable request # 682 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 699 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 716 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 725 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 734 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 743 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 752 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 764 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 772 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 781 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 789 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 797 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 805 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 813 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 824 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 832 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 841 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 849 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 857 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 865 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 873 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
BadWindow (invalid Window parameter) request # 882 ( 3, 0)
Unrecognised X ID 0a13fe5
BadWindow (invalid Window parameter) request # 884 ( 3, 0)
Unrecognised X ID 0a13fe8
BadWindow (invalid Window parameter) request # 919 ( 3, 0)
Unrecognised X ID 0a13feb
Event 22, # 879
Win 0a036f4 Dam 360001d Pix 360001e DRW 360006c (625 x 929) Map 1: XEvent
GLXBadDrawable request # 935 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 956 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 979 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 989 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1005 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1013 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1021 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
BadWindow (invalid Window parameter) request # 1040 ( 3, 0)
Unrecognised X ID 0a14128
BadWindow (invalid Window parameter) request # 1042 ( 3, 0)
Unrecognised X ID 0a1412b
Event 22, # 979
Win 0a0022a Dam 3600020 Pix 3600021 DRW 360006c (590 x 959) Map 1: XEvent
BadWindow (invalid Window parameter) request # 1088 ( 3, 0)
Unrecognised X ID 0a14268
BadWindow (invalid Window parameter) request # 1090 ( 3, 0)
Unrecognised X ID 0a1426b
Event 22, # 1035
Win 0a036f4 Dam 360001d Pix 360001e DRW 360006c (625 x 929) Map 1: XEvent
GLXBadDrawable request # 1109 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1130 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1153 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1163 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1179 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1191 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1199 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1232 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1241 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1249 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1259 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1267 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1275 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1283 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1318 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1338 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1357 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1367 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1375 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1383 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1391 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1426 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1446 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1465 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1475 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1483 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1491 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1499 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1521 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1541 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1549 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1557 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1565 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1573 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1581 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1605 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1614 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1633 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1643 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1651 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1659 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
GLXBadDrawable request # 1667 (143, 5)
Win 32000ad Dam 3600069 Pix 0000000 DRW 360006c (427 x 17) Map 0: Xerror
Well, Quake3 still runs fine, so OpenGL works.
--
Tomasz Torcz To co nierealne -- tutaj jest normalne.
zdzichu at irc.-nie.spam-.pl Ziomale na życie mają tu patenty specjalne.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 229 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20060709/da05f433/attachment.pgp>
More information about the xorg
mailing list