[GEM-dev] Force Gem software rendering?
IOhannes m zmoelnig
zmoelnig at iem.at
Tue May 12 14:32:54 CEST 2009
Frank Barknecht wrote:
> Hallo,
> Claude Heiland-Allen hat gesagt: // Claude Heiland-Allen wrote:
>
>> Frank Barknecht wrote:
>>> is there a way to force Gem to use software rendering, like with some
>>> environment variable? SW is currently the only way I'm able to use Gem
>>> on Matrox gfx cards (of course slowing them down even more, but at
>>> least I can see squares.)
>>>
>>> Ciao
>> https://sourceforge.net/tracker/?func=detail&aid=1908191&group_id=64325&atid=507082
>>
>> """"
>> you might have a look at driinfo, which claims to be able to set the DRI
>> settings at runtime.
>> """"
>
> Thanks for this pointer. Where can this driinfo be found? I only have glxinfo, which
> just has this option:
>
> -i Force an indirect rendering context.
on some gfx-cards/drivers you might have luck by settings
LIBGL_ALWAYS_INDIRECT=1
if this doesn't help, you could try to apply the following patch:
Index: GemWinCreateXWin.cpp
===================================================================
--- GemWinCreateXWin.cpp (Revision 2761)
+++ GemWinCreateXWin.cpp (Arbeitskopie)
@@ -228,7 +228,7 @@
}
// create the rendering context
try {
- info.context = glXCreateContext(info.dpy, vi, hints.shared, GL_TRUE);
+ info.context = glXCreateContext(info.dpy, vi, hints.shared, GL_FALSE);
} catch(void*e){
info.context=NULL;
}
mfga.sdr
IOhannes
PS: i'll add this info to claude's feature-request
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20090512/af4dd6de/attachment.bin>
More information about the GEM-dev
mailing list