Skip to content
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

Mock server: send buffer release #48

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Mock server: send buffer release #48

merged 1 commit into from
Sep 10, 2024

Conversation

wmww
Copy link
Owner

@wmww wmww commented Sep 10, 2024

Fixes #47

Root cause of the issue was the mock Wayland server used in the tests not sending wl_buffer.release. This was causing GTK to create a new buffer for each frame, which was causing it to create a new SHM pool, which was causing it to use a new fd until it had churned through 1024 (the default limit). It's unclear why the problem suddenly appeared, might be an optimization in GTK allowed it to render more frames in the time span of the test.

@wmww wmww merged commit e77916e into main Sep 10, 2024
1 check passed
@wmww wmww deleted the mock-server-buffer-release branch September 10, 2024 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test-menu-popup intermittently fails with "invalid arguments for wl_shm#6.create_pool"
1 participant