Giter Club home page Giter Club logo

Comments (6)

200sc avatar 200sc commented on May 28, 2024

I'm on 11.6 on a 2019 15 inch MBP and can't replicate this, running the examples off of the master branch. Is there anything else about your system that could be a factor? Is it an M1 Mac?

Additionally: could you include the output of go env? Could you name which examples are not working (or just one of them)?

from oak.

rasa-silva avatar rasa-silva commented on May 28, 2024

Intel MacBook
Go 1.17.2

from oak.

rasa-silva avatar rasa-silva commented on May 28, 2024
❯ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/ricardo.silva/Library/Caches/go-build"
GOENV="/Users/ricardo.silva/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/ricardo.silva/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/ricardo.silva/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.17.2/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.17.2/libexec/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.17.2"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/ricardo.silva/code/oak/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/h7/rp8ld5_n2ld57w78vzqvcrx40000gp/T/go-build3544231302=/tmp/go-build -gno-record-gcc-switches -fno-common"

image

from oak.

200sc avatar 200sc commented on May 28, 2024

I replicated all of those settings and flappy-bird still runs for me.

Other, reaching ideas:

  1. How many monitors are connected to your machine?
  2. Is there an unusual USB device connected to your machine?
  3. What does clang -v output?
  4. Can you run the examples here: https://github.com/go-gl/example?

from oak.

rasa-silva avatar rasa-silva commented on May 28, 2024

1/2) I do have an external monitor through a dongle but I just disconnected it and ran only on the macbook display. Same problem.
3)

❯ clang -v
Homebrew clang version 11.1.0
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /usr/local/opt/llvm@11/bin
  1. yes. both of them run fine.

from oak.

200sc avatar 200sc commented on May 28, 2024

Thank you for all the details.

I downgraded from clang 13 to 11.1 via brew, and while the behavior of the examples is a little different (there's some initial rendering artifacts), it doesn't display just a black screen and the examples play as normal. You could try using a newer clang but based on that it shouldn't be a factor.

I've also tried manipulating GOMAXPROCS to no effect.

So status: still unable to reproduce; next I'll try looking for historical issues in any dependencies.

from oak.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.