[Mesa-users] R: another serious issue with OpenGL on Linux

Gianluca Natale natale at europe.altair.com
Tue Sep 25 09:51:57 UTC 2018


Thanks Daniel,
that is really helpful, and it would explain other graphic issues I have.
So, the problem is not in Mesa, but in Qt5/xcb plugin.
I'll see what I can do. Maybe I'll have to switch from QGLWidget to QOpenGLWidget, as suggested in Qt5.

Greetings,
Gianluca

-----Messaggio originale-----
Da: mesa-users <mesa-users-bounces at lists.freedesktop.org> Per conto di Daniel Trstenjak
Inviato: martedì 25 settembre 2018 09:09
A: mesa-users at lists.freedesktop.org
Oggetto: Re: [Mesa-users] another serious issue with OpenGL on Linux

Hi Gianluca,

> My application creates a QGLWidget with a default rendering context 
> (so, double buffered).  It works fine, until I try to copy a part of 
> the front buffer into the back buffer. From that point on, it starts 
> flickering, as if it renders in the front buffer directly.

we had pretty much the same issue with Qt + Mesa on Linux.

Since Qt 5.7, the xcb plugin will switch from double buffer to single buffer when trying to get a valid context before reducing the multisampling.

So you've to make sure to never request a context with a multisampling that's not supported.

Greetings,
Daniel
_______________________________________________
mesa-users mailing list
mesa-users at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-users


More information about the mesa-users mailing list