| Eric Anholt ( @ 2006-04-09 23:50:00 |
Adventures with XCB
After discovering that XCB had started trivially working for me with recent fixes, today at our impromptu xdpdx I decided to try it a little harder. I installed current xcb and libX11, and started using it on my laptop. It mostly worked, except that Xephyr would die with X IO errors. It turns out the two select()s weren't dealing with EINTR, which the smart scheduler's timer causes to happen somewhat regularly (Note: No FreeBSD-dependent issues at all, though keithp blames every issue I encounter on FreeBSD). After fixing that, it's beautiful. I tried xtest against Xephyr (where both of them were using Xlib-XCB), and the only diff in the report between my previous full xts5 run and the XCB xts5 run was the date the runs were done. That's pretty impressive. It seems like XCB is ready.
After discovering that XCB had started trivially working for me with recent fixes, today at our impromptu xdpdx I decided to try it a little harder. I installed current xcb and libX11, and started using it on my laptop. It mostly worked, except that Xephyr would die with X IO errors. It turns out the two select()s weren't dealing with EINTR, which the smart scheduler's timer causes to happen somewhat regularly (Note: No FreeBSD-dependent issues at all, though keithp blames every issue I encounter on FreeBSD). After fixing that, it's beautiful. I tried xtest against Xephyr (where both of them were using Xlib-XCB), and the only diff in the report between my previous full xts5 run and the XCB xts5 run was the date the runs were done. That's pretty impressive. It seems like XCB is ready.