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

make it possible to completely disable all of GStreamer at runtime #4330

Closed
totaam opened this issue Aug 15, 2024 · 5 comments
Closed

make it possible to completely disable all of GStreamer at runtime #4330

totaam opened this issue Aug 15, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@totaam
Copy link
Collaborator

totaam commented Aug 15, 2024

Using #4307 to completely prevent gi.repository.Gst bindings from being loaded.

That's necessary because GStreamer can cause some serious problems.
Latest case in point: Linux Mint 22 in VirtualBox, loading GStreamer kills the X11 server!

@totaam totaam added the enhancement New feature or request label Aug 15, 2024
totaam added a commit that referenced this issue Aug 15, 2024
@totaam
Copy link
Collaborator Author

totaam commented Aug 15, 2024

Done in the commit above. ie:

xpra start --no-gstreamer

This is also activated with --minimal=yes (#3953)

@totaam
Copy link
Collaborator Author

totaam commented Aug 25, 2024

Very useful since there are some monsters lurking - I'm not blaming GStreamer, hardware access is hard, and crashy.

Running Linux Mint 22 in VirtualBox, simply probing the gstreamer elements from xpra causes the whole desktop session to crash and go back to the login screen!

@janLo
Copy link

janLo commented Oct 14, 2024

FYI: the death of the X-Server only happens if the gstreamer1.0-vaapi package is installed.

@totaam
Copy link
Collaborator Author

totaam commented Oct 14, 2024

@janLo this should probably be reported as security issue somewhere, though I doubt that anyone cares. Hardware access is hard.

Meanwhile, I can't think of anything xpra can do here - vaapi is what we need for hardware acceleration on non-nvidia GPUs, so we're caught in a bind.

@janLo
Copy link

janLo commented Oct 14, 2024

Oh, thank you, I, personally, don't really need a solution, I just wanted to note that it's not necessary to disable all of gstreamer if the Xorg crash happens.

We discovered this already a year ago. Our solution is to blacklist the package where we can and have it very prominently written in our internal documentation for everyone else coming across this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants