Re: glXCreatePbuffer fails on Ubuntu 12.04 VM
Maik Riechert <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <[email protected]> |
Am 25.03.2013 17:57, schrieb Maik Riechert: >> I just tried src/xdemos/pbdemo and src/xdemos/glxpbdemo and both worked >> for me. I'm using a Ubuntu 12.10 VM and Mesa 9.1. >> >> I take it there's no Mesa 9.x package available? Can you trying >> building a newer Mesa release? > > Accidently sent this part to Brian directly: > > "I just installed the packages from > https://launchpad.net/~oibaf/+archive/graphics-drivers/ i.e. Mesa 9.2 > (git), llvm-3.2 etc. but I still get the same error. > > I will also try it on a local desktop VM with 12.04. Maybe there's just > something wrong with the cloud VMs." > > > Ok, I have made some progress now. On my desktop VM with Mesa 8.0.4 and > regular X server (but also with llvm and LIBGL_ALWAYS_SOFTWARE=1) it > works! But when I start up xvfb on a different display (:99), change the > DISPLAY var, the tests are failing again. So it must be somehow related > to Xvfb. Right? I think I know what's wrong. I just tried running the test program using xvfb-run and it just worked. As this is just a wrapper script for starting and stopping Xvfb I was really confused. I was using this before: https://github.com/travis-ci/travis-cookbooks/blob/master/ci_environment/xserver/files/default/etc/init.d/xvfb.sh The difference between both scripts is 1024x768x16 vs 1024x768x32. glXGetFBConfigAttrib() in both cases chose 0x69 which is (glxinfo) 0x069 0 tc 0 24 0 r . . 8 8 8 0 . . 0 32 0 0 0 0 0 0 0 None Am I rightly assuming that an Xvfb server started with a depth of 16bit cannot use this fb config? That is, it's a bug because it listed it? Should I go to x.org with this?