Git Product home page Git Product logo

Comments (4)

jasdel avatar jasdel commented on July 21, 2024 1

It turns out my Graphics drivers were pretty out of date. When I updated my system the examples started working again. Thanks for your assistance!

from example.

dmitshur avatar dmitshur commented on July 21, 2024

What does go version print?

What does go env print?

Did you do go get -u -v github.com/go-gl/examples/gl21-cube? Do you see any output while doing that?

What's your resolution?

What's your video card?

Is this running inside a virtual machine or a physical machine?

from example.

jasdel avatar jasdel commented on July 21, 2024

Thanks for getting back to me. I should also note that I am able to run the gomobile examples without issue. They use openGL ES 2.0, i think. I get the same libEGL warning: failed to create a pipe screen for i965 for all these regular openGL code examples and the gomobile examples. But the gomobiles render the scene. The regular openGL code will display a window, and the screen that was behind the window when it was created. I can move then window around and the window doesn't update.

It seems I'm getting an issue where nothing is being drawn, but having a rough time trying to figure out what is causing that. I have the same issue with both 2.1 and 4.1 go-gl/examples.

I'm running this nativity on my laptop, not in a virtual machine.

$  go version
go version go1.7rc2 linux/amd64

I switched back to Go 1.6.3 and have the same issue.

$ go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/jasdel/Workspace/golang"
GORACE=""
GOROOT="/home/jasdel/Sources/go"
GOTOOLDIR="/home/jasdel/Sources/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build356810928=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"

The output of the go get:

$ go get -u -v github.com/go-gl/examples/gl21-cube
github.com/go-gl/examples (download)
github.com/go-gl/gl (download)
github.com/go-gl/glfw (download)
github.com/go-gl/gl/v2.1/gl
github.com/go-gl/examples/gl21-cube

$ cd $GOPATH/src/github.com/go-gl/examples/gl21-cube
$ go build
$ ./gl21-cube
libEGL warning: failed to create a pipe screen for i965

My resolution is 1920x1080, and video card is a Intel® Iris™ Pro Graphics 5200

$ sudo lshw -C video

  *-display               
       description: VGA compatible controller
       product: Crystal Well Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 08
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:46 memory:f7800000-f7bfffff memory:e0000000-efffffff ioport:f000(size=64)

from example.

dmitshur avatar dmitshur commented on July 21, 2024

Glad to hear that, thanks for following up! :)

from example.

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.