-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[master, 18.04] Segfault in renderer #1332
Comments
Hmm. This seems to be a difference between master (problems) and 1.7.1 (works as expected). |
OK, seems to be #1148 (graphics/wayland: Handle wl_shm buffers through the WaylandAllocator r=wmww a=RAOF). Preparing a revert... |
1343: platform: Ensure each rendering thread has a separate gl::Program. r=AlanGriffiths a=RAOF The GL uniforms (such as, for example, screen position) are per Program state, *not* per context state, so when there were multiple rendering threads they would race. Fix this by generating a `Program` per `ProgramFactory`; we already had a `ProgramFactory` per thread. Fixes: #1332, #1317 Co-authored-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Despite the purported fix landing, this now seems to be happening on 18.04, but not on 20.04 |
Raised against mesa om LP: https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1866069 |
Found Mir uploading to a texture (again) after it was initialized. |
Note that i965 on 18.04 is a lot more sensitive to this than other drivers. |
1343: platform: Ensure each rendering thread has a separate gl::Program. r=AlanGriffiths a=RAOF The GL uniforms (such as, for example, screen position) are per Program state, *not* per context state, so when there were multiple rendering threads they would race. Fix this by generating a `Program` per `ProgramFactory`; we already had a `ProgramFactory` per thread. Fixes: #1332, #1317 Co-authored-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
miral-app -demo-server --x11-output 640x480:800x600
.Expect: everything works smoothly.
Actual: lots of flickering and odd display effects, followed by a core dump.
The text was updated successfully, but these errors were encountered: