When I start Xvfb with Xvfb :1 -ac -screen 0 1024x768x16 & and change DISPLAY to :1.0 then glxinfo says: 144 GLXFBConfigs: visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat ---------------------------------------------------------------------------- 0x03f 0 tc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None 0x040 0 tc 0 32 0 r . . 8 8 8 8 . . 0 0 0 16 16 16 16 0 0 Slow 0x041 0 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None 0x042 0 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 16 16 16 16 0 0 Slow 0x043 0 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None 0x044 0 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 16 16 16 16 0 0 Slow 0x045 0 tc 0 32 0 r . . 8 8 8 8 . . 0 24 0 0 0 0 0 0 0 None 0x046 0 tc 0 32 0 r . . 8 8 8 8 . . 0 24 0 16 16 16 16 0 0 Slow 0x047 0 tc 0 32 0 r y . 8 8 8 8 . . 0 24 0 0 0 0 0 0 0 None 0x048 0 tc 0 32 0 r y . 8 8 8 8 . . 0 24 0 16 16 16 16 0 0 Slow 0x049 0 tc 0 32 0 r y . 8 8 8 8 . . 0 24 0 0 0 0 0 0 0 None 0x04a 0 tc 0 32 0 r y . 8 8 8 8 . . 0 24 0 16 16 16 16 0 0 Slow 0x04b 0 tc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None 0x04c 0 tc 0 32 0 r . . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow 0x04d 32 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None 0x04e 0 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow 0x04f 0 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None 0x050 0 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow 0x051 0 tc 0 32 0 r . . 8 8 8 8 . . 0 32 0 0 0 0 0 0 0 None 0x052 0 tc 0 32 0 r . . 8 8 8 8 . . 0 32 0 16 16 16 16 0 0 Slow 0x053 0 tc 0 32 0 r y . 8 8 8 8 . . 0 32 0 0 0 0 0 0 0 None 0x054 0 tc 0 32 0 r y . 8 8 8 8 . . 0 32 0 16 16 16 16 0 0 Slow 0x055 0 tc 0 32 0 r y . 8 8 8 8 . . 0 32 0 0 0 0 0 0 0 None 0x056 0 tc 0 32 0 r y . 8 8 8 8 . . 0 32 0 16 16 16 16 0 0 Slow 0x057 0 tc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None 0x058 0 tc 0 24 0 r . . 8 8 8 0 . . 0 0 0 16 16 16 0 0 0 Slow 0x059 0 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None 0x05a 0 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 16 16 16 0 0 0 Slow 0x05b 0 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None 0x05c 0 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 16 16 16 0 0 0 Slow 0x05d 0 tc 0 24 0 r . . 8 8 8 0 . . 0 24 0 0 0 0 0 0 0 None 0x05e 0 tc 0 24 0 r . . 8 8 8 0 . . 0 24 0 16 16 16 0 0 0 Slow 0x05f 0 tc 0 24 0 r y . 8 8 8 0 . . 0 24 0 0 0 0 0 0 0 None 0x060 0 tc 0 24 0 r y . 8 8 8 0 . . 0 24 0 16 16 16 0 0 0 Slow 0x061 0 tc 0 24 0 r y . 8 8 8 0 . . 0 24 0 0 0 0 0 0 0 None 0x062 0 tc 0 24 0 r y . 8 8 8 0 . . 0 24 0 16 16 16 0 0 0 Slow 0x063 0 tc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None 0x064 0 tc 0 24 0 r . . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow 0x065 0 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None 0x066 0 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow 0x067 0 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None 0x068 0 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow 0x069 0 tc 0 24 0 r . . 8 8 8 0 . . 0 32 0 0 0 0 0 0 0 None 0x06a 0 tc 0 24 0 r . . 8 8 8 0 . . 0 32 0 16 16 16 0 0 0 Slow 0x06b 0 tc 0 24 0 r y . 8 8 8 0 . . 0 32 0 0 0 0 0 0 0 None 0x06c 0 tc 0 24 0 r y . 8 8 8 0 . . 0 32 0 16 16 16 0 0 0 Slow 0x06d 0 tc 0 24 0 r y . 8 8 8 0 . . 0 32 0 0 0 0 0 0 0 None 0x06e 0 tc 0 24 0 r y . 8 8 8 0 . . 0 32 0 16 16 16 0 0 0 Slow 0x06f 16 tc 0 16 0 r . . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None 0x070 16 tc 0 16 0 r . . 5 6 5 0 . . 0 0 0 16 16 16 0 0 0 Slow 0x071 16 tc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None 0x072 16 tc 0 16 0 r y . 5 6 5 0 . . 0 0 0 16 16 16 0 0 0 Slow 0x073 16 tc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None 0x074 16 tc 0 16 0 r y . 5 6 5 0 . . 0 0 0 16 16 16 0 0 0 Slow 0x075 16 tc 0 16 0 r . . 5 6 5 0 . . 0 24 0 0 0 0 0 0 0 None 0x076 16 tc 0 16 0 r . . 5 6 5 0 . . 0 24 0 16 16 16 0 0 0 Slow 0x077 16 tc 0 16 0 r y . 5 6 5 0 . . 0 24 0 0 0 0 0 0 0 None 0x078 16 tc 0 16 0 r y . 5 6 5 0 . . 0 24 0 16 16 16 0 0 0 Slow 0x079 16 tc 0 16 0 r y . 5 6 5 0 . . 0 24 0 0 0 0 0 0 0 None 0x07a 16 tc 0 16 0 r y . 5 6 5 0 . . 0 24 0 16 16 16 0 0 0 Slow 0x07b 16 tc 0 16 0 r . . 5 6 5 0 . . 0 24 8 0 0 0 0 0 0 None 0x07c 16 tc 0 16 0 r . . 5 6 5 0 . . 0 24 8 16 16 16 0 0 0 Slow 0x07d 16 tc 0 16 0 r y . 5 6 5 0 . . 0 24 8 0 0 0 0 0 0 None 0x07e 16 tc 0 16 0 r y . 5 6 5 0 . . 0 24 8 16 16 16 0 0 0 Slow 0x07f 16 tc 0 16 0 r y . 5 6 5 0 . . 0 24 8 0 0 0 0 0 0 None 0x080 16 tc 0 16 0 r y . 5 6 5 0 . . 0 24 8 16 16 16 0 0 0 Slow 0x081 16 tc 0 16 0 r . . 5 6 5 0 . . 0 32 0 0 0 0 0 0 0 None 0x082 16 tc 0 16 0 r . . 5 6 5 0 . . 0 32 0 16 16 16 0 0 0 Slow 0x083 16 tc 0 16 0 r y . 5 6 5 0 . . 0 32 0 0 0 0 0 0 0 None 0x084 16 tc 0 16 0 r y . 5 6 5 0 . . 0 32 0 16 16 16 0 0 0 Slow 0x085 16 tc 0 16 0 r y . 5 6 5 0 . . 0 32 0 0 0 0 0 0 0 None 0x086 16 tc 0 16 0 r y . 5 6 5 0 . . 0 32 0 16 16 16 0 0 0 Slow 0x087 0 dc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None 0x088 0 dc 0 32 0 r . . 8 8 8 8 . . 0 0 0 16 16 16 16 0 0 Slow 0x089 0 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None 0x08a 0 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 16 16 16 16 0 0 Slow 0x08b 0 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None 0x08c 0 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 16 16 16 16 0 0 Slow 0x08d 0 dc 0 32 0 r . . 8 8 8 8 . . 0 24 0 0 0 0 0 0 0 None 0x08e 0 dc 0 32 0 r . . 8 8 8 8 . . 0 24 0 16 16 16 16 0 0 Slow 0x08f 0 dc 0 32 0 r y . 8 8 8 8 . . 0 24 0 0 0 0 0 0 0 None 0x090 0 dc 0 32 0 r y . 8 8 8 8 . . 0 24 0 16 16 16 16 0 0 Slow 0x091 0 dc 0 32 0 r y . 8 8 8 8 . . 0 24 0 0 0 0 0 0 0 None 0x092 0 dc 0 32 0 r y . 8 8 8 8 . . 0 24 0 16 16 16 16 0 0 Slow 0x093 0 dc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None 0x094 0 dc 0 32 0 r . . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow 0x095 0 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None 0x096 0 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow 0x097 0 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None 0x098 0 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow 0x099 0 dc 0 32 0 r . . 8 8 8 8 . . 0 32 0 0 0 0 0 0 0 None 0x09a 0 dc 0 32 0 r . . 8 8 8 8 . . 0 32 0 16 16 16 16 0 0 Slow 0x09b 0 dc 0 32 0 r y . 8 8 8 8 . . 0 32 0 0 0 0 0 0 0 None 0x09c 0 dc 0 32 0 r y . 8 8 8 8 . . 0 32 0 16 16 16 16 0 0 Slow 0x09d 0 dc 0 32 0 r y . 8 8 8 8 . . 0 32 0 0 0 0 0 0 0 None 0x09e 0 dc 0 32 0 r y . 8 8 8 8 . . 0 32 0 16 16 16 16 0 0 Slow 0x09f 0 dc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None 0x0a0 0 dc 0 24 0 r . . 8 8 8 0 . . 0 0 0 16 16 16 0 0 0 Slow 0x0a1 0 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None 0x0a2 0 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 16 16 16 0 0 0 Slow 0x0a3 0 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None 0x0a4 0 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 16 16 16 0 0 0 Slow 0x0a5 0 dc 0 24 0 r . . 8 8 8 0 . . 0 24 0 0 0 0 0 0 0 None 0x0a6 0 dc 0 24 0 r . . 8 8 8 0 . . 0 24 0 16 16 16 0 0 0 Slow 0x0a7 0 dc 0 24 0 r y . 8 8 8 0 . . 0 24 0 0 0 0 0 0 0 None 0x0a8 0 dc 0 24 0 r y . 8 8 8 0 . . 0 24 0 16 16 16 0 0 0 Slow 0x0a9 0 dc 0 24 0 r y . 8 8 8 0 . . 0 24 0 0 0 0 0 0 0 None 0x0aa 0 dc 0 24 0 r y . 8 8 8 0 . . 0 24 0 16 16 16 0 0 0 Slow 0x0ab 0 dc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None 0x0ac 0 dc 0 24 0 r . . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow 0x0ad 0 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None 0x0ae 0 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow 0x0af 0 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None 0x0b0 0 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow 0x0b1 0 dc 0 24 0 r . . 8 8 8 0 . . 0 32 0 0 0 0 0 0 0 None 0x0b2 0 dc 0 24 0 r . . 8 8 8 0 . . 0 32 0 16 16 16 0 0 0 Slow 0x0b3 0 dc 0 24 0 r y . 8 8 8 0 . . 0 32 0 0 0 0 0 0 0 None 0x0b4 0 dc 0 24 0 r y . 8 8 8 0 . . 0 32 0 16 16 16 0 0 0 Slow 0x0b5 0 dc 0 24 0 r y . 8 8 8 0 . . 0 32 0 0 0 0 0 0 0 None 0x0b6 0 dc 0 24 0 r y . 8 8 8 0 . . 0 32 0 16 16 16 0 0 0 Slow 0x0b7 16 dc 0 16 0 r . . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None 0x0b8 16 dc 0 16 0 r . . 5 6 5 0 . . 0 0 0 16 16 16 0 0 0 Slow 0x0b9 16 dc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None 0x0ba 16 dc 0 16 0 r y . 5 6 5 0 . . 0 0 0 16 16 16 0 0 0 Slow 0x0bb 16 dc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None 0x0bc 16 dc 0 16 0 r y . 5 6 5 0 . . 0 0 0 16 16 16 0 0 0 Slow 0x0bd 16 dc 0 16 0 r . . 5 6 5 0 . . 0 24 0 0 0 0 0 0 0 None 0x0be 16 dc 0 16 0 r . . 5 6 5 0 . . 0 24 0 16 16 16 0 0 0 Slow 0x0bf 16 dc 0 16 0 r y . 5 6 5 0 . . 0 24 0 0 0 0 0 0 0 None 0x0c0 16 dc 0 16 0 r y . 5 6 5 0 . . 0 24 0 16 16 16 0 0 0 Slow 0x0c1 16 dc 0 16 0 r y . 5 6 5 0 . . 0 24 0 0 0 0 0 0 0 None 0x0c2 16 dc 0 16 0 r y . 5 6 5 0 . . 0 24 0 16 16 16 0 0 0 Slow 0x0c3 16 dc 0 16 0 r . . 5 6 5 0 . . 0 24 8 0 0 0 0 0 0 None 0x0c4 16 dc 0 16 0 r . . 5 6 5 0 . . 0 24 8 16 16 16 0 0 0 Slow 0x0c5 16 dc 0 16 0 r y . 5 6 5 0 . . 0 24 8 0 0 0 0 0 0 None 0x0c6 16 dc 0 16 0 r y . 5 6 5 0 . . 0 24 8 16 16 16 0 0 0 Slow 0x0c7 16 dc 0 16 0 r y . 5 6 5 0 . . 0 24 8 0 0 0 0 0 0 None 0x0c8 16 dc 0 16 0 r y . 5 6 5 0 . . 0 24 8 16 16 16 0 0 0 Slow 0x0c9 16 dc 0 16 0 r . . 5 6 5 0 . . 0 32 0 0 0 0 0 0 0 None 0x0ca 16 dc 0 16 0 r . . 5 6 5 0 . . 0 32 0 16 16 16 0 0 0 Slow 0x0cb 16 dc 0 16 0 r y . 5 6 5 0 . . 0 32 0 0 0 0 0 0 0 None 0x0cc 16 dc 0 16 0 r y . 5 6 5 0 . . 0 32 0 16 16 16 0 0 0 Slow 0x0cd 16 dc 0 16 0 r y . 5 6 5 0 . . 0 32 0 0 0 0 0 0 0 None 0x0ce 16 dc 0 16 0 r y . 5 6 5 0 . . 0 32 0 16 16 16 0 0 0 Slow When I then run glxpbdemo from mesa-demos at http://cgit.freedesktop.org/mesa/demos/plain/src/xdemos/glxpbdemo.c it fails with: $ ./glxpbdemo 100 100 x.ppm Chose 0x69 as fbconfigid failed to create drawable Error: couldn't create pbuffer When I run the same demo with Xvfb started with "-screen 0 1024x768x32" it works! It chooses 0x69 as well then. What is wrong here? My guess is that fb config 0x69 is actually unsupported for 1024x768x16 but Xvfb advertises it anyway. My version of xvfb is 2:1.11.4-0ubuntu10.1 according to dpkg -l *xvfb*.
I'm sorry, the argument that works is "-screen 0 1024x768x24", NOT "-screen 0 1024x768x32". With x32, I only get "Fatal server error: Couldn't add screen 0", but that's probably another bug.
The problem is still present with My version of xvfb is 2:1.19.3-1ubuntu1 according to dpkg -l *xvfb*.
I think the solution to this problem would be if Xvfb stopped advertising fbconfig's that do not work.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/192.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.