GNOME Bugzilla – Bug 688270
Try harder to create a working display setup
Last modified: 2021-06-14 18:21:23 UTC
From bug 646280 _is_max_texture_size_big_enough() will currently just fail if the system's display set up is too big to handle what the driver/card supports in terms of 3D textures. Instead of bailing, the code should try and poke at XRandR to go in clone mode (for example) to make display work somewhat.
I'm all in favor of that. Currently I have to revert 313def1d1d20b684367c59d4b1f5b1b5ff1ea1c5. Otherwise I end up with the following on my machine (OpenBSD): gnome-session-is-accelerated: GL_MAX_{TEXTURE,RENDERBUFFER}_SIZE is too small. gnome-session-check-accelerated: Helper exited with code 256 gnome-session-is-accelerated: No hardware 3D support. gnome-session-check-accelerated: Helper exited with code 256 ** (process:32259): WARNING **: software acceleration check failed: Child process exited with code 1
(In reply to comment #1) > I'm all in favor of that. > Currently I have to revert 313def1d1d20b684367c59d4b1f5b1b5ff1ea1c5. > > Otherwise I end up with the following on my machine (OpenBSD): > > gnome-session-is-accelerated: GL_MAX_{TEXTURE,RENDERBUFFER}_SIZE is too small. What's the texture/render buffer sizes, and your display sizes? It's pretty bizarre that reverting the patch would work, though I'm not certain whether gnome-shell would end up creating a single big texture, or smaller ones. Maybe changes in cogl to use multiple textures for a single Clutter actor fixed this.
Actually, it seems GL_EXT_framebuffer_object is not supported properly by my radeon driver. So while it gets past the gnome-session-is-accelerated, gnome-shell then crashes later on anyway...
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version of gnome-session, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/gnome-session/-/issues/ Thank you for your understanding and your help.