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

Mesa segfault on Ubuntu 24.04 when enabled multisampling #11517

Closed
1vanK opened this issue Jan 31, 2025 · 6 comments
Closed

Mesa segfault on Ubuntu 24.04 when enabled multisampling #11517

1vanK opened this issue Jan 31, 2025 · 6 comments

Comments

@1vanK
Copy link

1vanK commented Jan 31, 2025

Description

App code:

SDL_GL_SetAttribute(SDL_GL_MULTISAMPLEBUFFERS, 1);
SDL_GL_SetAttribute(SDL_GL_MULTISAMPLESAMPLES, 4);

GH action code:

    - name: CTest
      run: |
        export LIBGL_ALWAYS_SOFTWARE=true
        xvfb-run ctest --verbose --test-dir build --timeout 60

With multisamples == 8 my program segfaulted even on version 20250120.5.0, but worked with multisamples == 4: https://github.com/dviglo2d/dviglo2d/actions/runs/12973723294/job/36322364098

Now on version 20250126.1.0 my program will segfault with any value of multisampling: https://github.com/dviglo2d/dviglo2d/actions/runs/13070569995/job/36471112891

@1vanK
Copy link
Author

1vanK commented Jan 31, 2025

Way to repoduce:

Fork https://github.com/dviglo2d/dviglo2d and change

//engine_params::msaa_samples = 8;

in https://github.com/dviglo2d/dviglo2d/blob/main/minimal_app/src/app.cpp

@kishorekumar-anchala
Copy link
Contributor

Hi @1vanK - Thanks for reporting the issue, we will look into this ASAP and get back to you ! . Thank you !

@kishorekumar-anchala
Copy link
Contributor

Hi @1vanK - does it work with ubuntu 22 image ? could you please check and confirm?

@1vanK
Copy link
Author

1vanK commented Feb 4, 2025

Ubuntu 22.04 have no g++-13 complier. It is necessary because the engine uses std::format().

@kishorekumar-anchala
Copy link
Contributor

Duplicate of #11471

please find the comment ,may it will useful.

@1vanK - #11471 (comment)

@1vanK
Copy link
Author

1vanK commented Feb 4, 2025

I don't understand how this relates to my case and how it can help me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants