Skip to content

[Feature Request]: Prefer the SDL renderer over llvmpipe #3876

Description

@diffieTheFox

Feature Details

On the first launch, SuperTux should check if the OpenGL renderer looks to be a software-based renderer (which tend to have poor performance), fox example Mesa's llvmpipe. In this case, it will default to using the SDL renderer, instead of using OpenGL.

I think it's safe to assume that plain SDL rendering will have at least slightly better performance, compared to llvmpipe, which performs the rendering in a much more complex way.

Feature Purpose

I installed SuperTux on my Haiku system (IDK if Haiku is officially supported, but the same applies to Linux machines running llvmpipe or possibly other software renderers), where I miss proper hardware-accelerated OpenGL support for my GPU and the performance was exceptionally poor, to the level when the game is unplayable. I didn't use a recent SuperTux version (I jumped to 0.7.0 in this case, with experience only with relatively ancient versions) before and I was used to that it's quite low-HW-requirements piece of software, even not touching the OpenGL. I didn't expect that this game will use any OpenGL rendering. When I found out that SuperTux uses OpenGL now, I switched to the SDL renderer (which is also a CPU-based renderer, of course) and now it's perfectly playable.

Concept Screenshots

No response

Guidelines For Reporting Issues

  • I have read https://github.com/SuperTux/supertux/blob/master/CONTRIBUTING.md#bug-reports.
  • I have verified this isn't a request that's already been submitted as an issue.
  • I have verified this isn't a discussion, or an issue with the game, but rather an actual feature request - a currently non-existent, but desired feature.
  • In this request, I have only included details about one (1) desired feature.
  • If I make a mistake while submitting this request, I agree to use the "Edit" feature to correct it, instead of closing this issue and opening a new one.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions