On Tue, Jul 31, 2007 at 05:24:13PM +0200, Helge Hafting wrote: > Martin Vermeer wrote:
... > > Is a workaround possible for LyX? > > > I assume you don't want "make install" to modify xorg.conf. :-) > A grep through qt4 documentation came up with: > > > void QGLFormat::setDirectRendering ( bool /enable/ ) > > If /enable/ is true enables direct rendering; otherwise disables direct > rendering. > > Direct rendering is enabled by default. > > Enabling this option will make OpenGL bypass the underlying window system > and render directly from hardware to the screen, if this is supported by the > system. > > > So, if we have a QGLFormat object somewhere, we can turn > direct rendering off for LyX. I also found this: > > All QGLWidget subclasses are paint devices that convert standard > QPainter calls to OpenGL calls, enabling two-dimensional graphics to > be accelerated on devices with appropriately supported hardware. > > I don't know if LyX uses such "paint devices" though. > > Helge Hafting Apparently not then... nothing explicitly uding GL in the LyX tree. We should put something in the release notes / install guide about configuring X for people running into this. Your suggestion of making lyx install modify xorg.conf got one thing right: this is a risk-free operation. It formally disables something that doesn't work properly anyway ;-) (or, in case of the Intel 810 class graphics chips at least on older Fedoras, gets it working properly by setting bpp = 16) - Martin - Martin