Homebrew-core: SDL MacOS Mojave 10.4 black screen.

Created on 16 Oct 2018  Â·  14Comments  Â·  Source: Homebrew/homebrew-core

  • [x] are reporting a bug others will be able to reproduce and not asking a question. If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh
  • [x] have a problem with brew install (or upgrade, reinstall) a single, official formula (not cask)? If it's a general brew problem please file this issue at Homebrew/brew: https://github.com/Homebrew/brew/issues/new/choose. If it's a brew cask problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.
  • [x] ran brew update and can still reproduce the problem?
  • [x] ran brew doctor, fixed all issues and can still reproduce the problem?
  • [x] ran brew gist-logs <formula> (where <formula> is the name of the formula that failed) and included the output link?
  • [x] if brew gist-logs didn't work: ran brew config and brew doctor and included their output with your issue?

To help us debug your issue please explain:

  • What you were trying to do (and why)
    Use SDL programs.
  • What happened (include command output)
    SDL programs show a black screen.
  • What you expected to happen
  • Step-by-step reproduction instructions (by running brew install commands)

Use an SDL program, and it will show a black screen.
See upstream bug reports and discussion.
https://bugzilla.libsdl.org/show_bug.cgi?id=4272
https://discourse.libsdl.org/t/macos-10-14-mojave-issues/25060

I'm not aware of a working patch at the time of writing.

outdated upstream issue

Most helpful comment

I guess we could make a PR which is 2.0.9 with that patch?

All 14 comments

Note, this effects SDL1 and SDL2.

This appears to be a problem with the SDL projects, and not within Homebrew's configuration. Once a fix has been issued by upstream, we can integrated it into Homebrew (pul request welcome). That looks possible for SDL2, but SDL1 is long dead, so I am not sure how this can go there…

Many thanks for reporting the issue.

Yes, I'm following the issue closely and will submit a PR when a fix is available.

ps. I have a question about process around here... I think perhaps I'm confused, as other "upstream issue" breakages are left open. I thought linking to the upstream bug would be useful for people tracking to see if this has been fixed yet, and that it would reduce other people having to submit the same issue again. I know this is useful for people tracking the breakage, but if it's not something that this project wants then I won't link things up anymore. Is the difference "This appears to be a problem with the SDL projects, and not within Homebrew's configuration"? So I only submit issues that are to do with breakages if the issue is not in upstream?

pps. Probably a better word for SDL 1 is undead ;) There's an SDL 1 branch that collects fixes, and 'one' new release planned. There's more than 50k apps using SDL1... with users in the hundreds of millions(way more than homebrew).

As you say, we have to walk a fine line: we can't handle bug reports for all packages we ship, but we want to make sure a. they do not come from Homebrew packaging, b. they are reported upstream.

Basically, once a bug is identified, analysed, and reported upstream, there is not much we can do until it's fixed. Keeping all issues open would be a nightmare for us in terms of prioritising support. People can still find the issue if they search for it!

Makes sense. Thanks.

SDL 1.2 is actually still maintained (see https://hg.libsdl.org/SDL/shortlog/12354) but doesn't receive official releases anymore.

@illume SDL 2.0.9 has been released and fixes the problem apparently, but the formula for SDL2 still uses SDL 2.0.8 unfortunately.

@Photosounder 2.0.9 has introduced another bug: see #33578

Oh, that's rather concerning, but what's the bug? All this says is "Created with brew bump-formula-pr."

Thank you, I just filed a bug for this on the SDL bug tracker: https://bugzilla.libsdl.org/show_bug.cgi?id=4385

Here is the commit which fixes that issue: http://hg.libsdl.org/SDL/rev/d274fa9731b1
https://bugzilla.libsdl.org/show_bug.cgi?id=4367

I'm not sure when a new release is planned.

Yes sadly it doesn't seem like they intend on making a new release to fix this, so we might have to wait a few months until SDL 2.0.10.

I guess we could make a PR which is 2.0.9 with that patch?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Steffen911 picture Steffen911  Â·  3Comments

jyutzler picture jyutzler  Â·  4Comments

yuna9 picture yuna9  Â·  4Comments

BluePawDev picture BluePawDev  Â·  3Comments

ghost picture ghost  Â·  3Comments