pylget config and flickering with a UHD Graphics 630

10 views
Skip to first unread message

Matan

unread,
Jul 7, 2023, 12:47:14 PM7/7/23
to pyglet-users
Hi,

I am using pyglet.gl.Config() for enabling anti-aliasing for circles and arcs:

config = pyglet.gl.Config()
config.sample_buffers = 1
config.samples = 4

And this introduces flicker even when the frame rate is experimentally set to way smaller (10 Hz) than the time spent in any on_draw event (which is less than 0.002 secs). I have found that adding the following setting to the config, resolves the flickering which these multi-sampling config values from above seem to introduce in my case:

nui_pyglet_window_config.double_buffer = True

― which I had thought is part of the default config anyway (Config is a CocoaConfig as I'm running on linux).

does any of this make sense?

The hardware I am using is Intel UHD Graphics 630.

Thanks in case you have any special related insights.

Regards,
Matan










Reply all
Reply to author
Forward
0 new messages