R: another serious issue with OpenGL on Linux

Gianluca Natale <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <DM6PR03MB3674CAAB6B00402DCFFC5E8A93160@DM6PR03MB3674.namprd03.prod.outlook.com>
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 <[email protected]> Per conto di Daniel Trstenjak
Inviato: martedì 25 settembre 2018 09:09
A: [email protected]
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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-users
_______________________________________________
mesa-users mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.