364.19 - GTX 580 - weston-simple-egl fails to initialize EGL

Hello,

with the new release I wanted to see if the flickering is fixed, which happens when you resize the window. Before that it used to crash but that was fixed in a prior release.

I get this message in the terminal:

weston-simple-egl: clients/simple-egl.c:160: init_egl: Assertion `display->egl.dpy’ failed.

And this is the backtrace:

(gdb) bt full
#0  0x00007f27898372a8 in raise () from /usr/lib/libc.so.6
No symbol table info available.
#1  0x00007f278983872a in abort () from /usr/lib/libc.so.6
No symbol table info available.
#2  0x00007f27898301b7 in __assert_fail_base () from /usr/lib/libc.so.6
No symbol table info available.
#3  0x00007f2789830262 in __assert_fail () from /usr/lib/libc.so.6
No symbol table info available.
#4  0x0000000000402f97 in init_egl (window=0x7ffc3c3ea4f0, window=0x7ffc3c3ea4f0, display=0x7ffc3c3ea560) at clients/simple-egl.c:160
        major = 8
        minor = 32764
        size = 2
        config_attribs = {12339, 4, 12324, 1, 12323, 1, 12322, 1, 12321, 1, 12352, 4, 12344}
        n = 16
        count = 78
        configs = <optimized out>
        ret = <optimized out>
        extensions = <optimized out>
        i = <optimized out>
#5  main (argc=<optimized out>, argv=<optimized out>) at clients/simple-egl.c:866
        sigint = {__sigaction_handler = {sa_handler = 0x400003033, sa_sigaction = 0x400003033}, sa_mask = {__val = {4294979620, 4294979619, 4294979618, 4294979617, 17179881536, 140720308498488, 139807805040630, 
              2295328504, 139807802858160, 0, 140721319225096, 557791199, 8715487, 31, 140721319225312, 139807772589152}}, sa_flags = -1970421776, sa_restorer = 0x7ffc3c3ea704}
        display = {display = 0xc48e20, registry = 0xc481b0, compositor = 0xc4dee0, shell = 0xc59ec0, seat = 0xc59e70, pointer = 0x0, touch = 0x0, keyboard = 0x0, shm = 0xc4df30, cursor_theme = 0xc48200, 
          default_cursor = 0xc5cae0, cursor_surface = 0x0, egl = {dpy = 0x0, ctx = 0x0, conf = 0x0}, window = 0x7ffc3c3ea4f0, ivi_application = 0x0, swap_buffers_with_damage = 0x0}
        window = {display = 0x7ffc3c3ea560, geometry = {width = 250, height = 250}, window_size = {width = 250, height = 250}, gl = {rotation_uniform = 0, pos = 0, col = 0}, benchmark_time = 0, frames = 0, 
          native = 0x0, surface = 0x0, xdg_surface = 0x0, ivi_surface = 0x0, egl_surface = 0x0, callback = 0x0, fullscreen = 0, opaque = 0, buffer_size = 32, frame_sync = 1}
        i = <optimized out>
        __PRETTY_FUNCTION__ = "main"

I don’t know why some of the parameters are still optimized out. The calls all seem to be inside the weston-simple-egl client and I compiled the weston package with debug symbols and -OO,

Regards

This is fixed with 367.18. The flickering that was noticeable with the last working version of the driver is also almost completely gone. If you constantly resize the window there is a very brief flashing of the window every 5-6 seconds or so.

This appears to be rearing its ugly head again. I’m using the ‘weston-eglstream’ package from Arch Linux’s AUR (weston 1.11.0, kernel 4.6.4, nvidia drivers 367.35). I’m getting the same display failed message as here.