Comments (4)
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.
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.
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.
Glad to hear that, thanks for following up! :)
from example.
Related Issues (20)
- Improve unfriendly requirement that examples must be run in their package directory. HOT 2
- Go 1.6 -msan option error (memory sanitizer) HOT 6
- build error on OSX, go1.6 HOT 2
- multiple contexts HOT 6
- Proposal: Rename repository to "example". HOT 6
- Specify permissive license. HOT 5
- Examples are broken HOT 1
- More information in examples HOT 2
- gl21-cube: Cube in demo appears squashed. HOT 6
- Odd choppiness to animation? HOT 8
- frame rate drops proportionally to number of process instances HOT 5
- Handle leak on Windows at SetSize? HOT 4
- fatal error: checkptr: unsafe pointer arithmetic on Go 1.14rc1 HOT 1
- Re: github.com/go-gl/example/gl41core-cube/cube.go HOT 1
- Can I render a webpage at the window HOT 1
- c:\go\pkg\tool\windows_amd64\link.exe: running gcc failed: exit status 1 HOT 1
- gl.GenTextures
- Error when binding in loop HOT 1
- Cel Shader Example HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from example.