[PD] Can't create Gem window

Ed Kelly morph_2016 at yahoo.co.uk
Mon Oct 1 13:02:46 CEST 2012


After adding
export LIBGL_ALWAYS_INDIRECT=1

to $home/.bashrc
glxgears works fine, but not Gem. Still the same. ?!

glxinfo gives me a lot of output, and the table seems to indicate better-than the values you gave below, e.g.

Vis  Vis   Visual Trans  buff lev render DB ste  r   g   b   a  aux dep ste  accum buffers  MS   MS
 ID Depth   Type  parent size el   type     reo sz  sz  sz  sz  buf th  ncl  r   g   b   a  num bufs
----------------------------------------------------------------------------------------------------
0x23  0 TrueColor    0     32  0  rgba   1   0   8   8   8   8   0   24  8  16  16  16  16   0   0

I can't find GLX_DOUBLEBUFFER
Could it be that I need to add some lines to xorg.conf (wherever it is in Lucid Ubuntu)

>On 2012-10-01 11:08, Ed Kelly wrote:


>> ...when I try to create a Gem window. Looking at a previous post in
>> the archive, setting the environment variable GEM_SINGLE_CONTEXT to
>> 1 does not change this. I'm stuck! GL screensavers are working
>> correctly...
>> 

>do glxgears work?


Hmmm...
glxgears gives me this:

Error: couldn't get an RGB, Double-buffered visual


I tried to find a way of adjusting this in the graphics card application, but no luck...
e

>>>>>if so, what is your pixel-depth?
Gem wants to create a 24bit buffer, so if you are running your X in
8bit/palette mode it will bail out.

this is what Gem requests:
{
GLX_RED_SIZE>=4,
GLX_GREEN_SIZE>=4,
GLX_BLUE_SIZE>=4,

GLX_DEPTH_SIZE>=16,

GLX_STENCIL_SIZE>=8,

GLX_ACCUM_RED_SIZE>=8,
GLX_ACCUM_GREEN_SIZE>=8,
GLX_ACCUM_BLUE_SIZE>=8,

GLX_DOUBLEBUFFER
}

check the output of glxinfo, whether your config supports such a setting.

fgmasdr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlBpZRkACgkQkX2Xpv6ydvR5VgCgng37YHFrRQoZJk+CMDFz1OGZ
fp4AoNrTWuQGqvAg8OgJ2XimzEa9KamQ
=gGaA
-----END PGP SIGNATURE-----


_______________________________________________
Pd-list at iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

_______________________________________________
Pd-list at iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list