Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRITICAL error: Cannot open window #22

Closed
nichdu opened this issue Jan 5, 2015 · 12 comments

Comments

Projects
None yet
4 participants
@nichdu
Copy link

commented Jan 5, 2015

When I try to start info-beamer on my VirtualBox Debian 7.7-amd64 virtual machine info-beamer exits with just the above error message, see the screen shot:
image
I installed all dependencies and enabled OpenGL support for my virtual machine. I'm not really familiar with C, so I can't check the errors myself.

@dividuum

This comment has been minimized.

Copy link
Owner

commented Feb 27, 2015

Sorry for the delay. I guess you're running this inside some X terminal windows? Is the DISPLAY environment variable set? Can you run glxinfo or glxgears? Do they produce any output?

@nichdu

This comment has been minimized.

Copy link
Author

commented Mar 2, 2015

Yes, I'm running this in an uxterm.
The output of $DISPLAY, glxinfo and glxgears is in https://gist.github.com/nichdu/886013a6bfe385037086
Obviously glxgears produces an output.

@dividuum

This comment has been minimized.

Copy link
Owner

commented Mar 2, 2015

Is seems that glfw had some issues with Chromium (the GL implementation in VirtualBox): https://github.com/glfw/glfw/blob/master/src/glx_context.c#L65

Which version of glfw are you using? Can you install glfw3 and use the glfw3 branch of info-beamer? Maybe that solves the problem.

@dividuum

This comment has been minimized.

Copy link
Owner

commented Mar 2, 2015

Maybe, but that's pure guessing, you can try to use fullscreen mode?

INFOBEAMER_FULLSCREEN=1 ./info-beamer samples/shader
@snowborn

This comment has been minimized.

Copy link

commented Jan 11, 2016

Hi there!

Seems I am running into the same problem with Ubuntu 15.10 in Virtualbox.

When starting the "hello" example, it says:
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
[main.c] initial size is 1024x768
CRITICAL ERROR: need opengl 3.0 support

glxinfo returns this: (it uses the Chromium Engine as well)
test.txt

Running in fullscreen did not help. Where do I find the branch for glfw3 for infobeamer? Or any other suggestion to make it run now. :)

@dividuum

This comment has been minimized.

Copy link
Owner

commented Jan 12, 2016

The glfw3 branch is merged to master, so you're already using it. You could try to remove the line in main.c that raises the crititcal error and see how far you get. But I guess you might run in the problems described in #21 then. Worth a shot anyway, I guess.

@snowborn

This comment has been minimized.

Copy link

commented Jan 12, 2016

...
libGL error: failed to load driver: vboxvideo
[main.c] initial size is 1024x768
[hello] update +README.silkscreen.txt
[hello] update +silkscreen.ttf
[hello] update +README.txt
[hello] kernel: booting node
[main.c] initialization completed
Speicherzugriffsfehler (Speicherabzug geschrieben)

Does not really seem to help :(

Any other ideas?

@dividuum

This comment has been minimized.

Copy link
Owner

commented Jan 13, 2016

Sorry. Don't have any. Why are you running info-beamer in Virtualbox? Are you using OS X? I imagine porting info-beamer to OSX isn't too difficult. The one thing that needs replacing is the inotify part, but other than that I guess all dependencies should be available on OS X. I haven't looked into that, since I don't own a Mac, but maybe someone else will?

@snowborn

This comment has been minimized.

Copy link

commented Jan 13, 2016

Well, there is a Windows PC running at the place where I want to use the software so I tried running it on that.

@snowborn

This comment has been minimized.

Copy link

commented Jan 13, 2016

Ok, found the solution. There is the possibility to use 3D acceleration for the VM. That has to be turned off for it in order to run. :)
Thanks for the speedy support. =D

@dividuum

This comment has been minimized.

Copy link
Owner

commented Jan 14, 2016

I'm really confused now. After turning 3D acceleration off, what happens? Is it using a software renderer? Is that fast enough?

@PowerPan

This comment has been minimized.

Copy link

commented Jan 17, 2017

I had the same on my VM runnig Ubnutu 16.10
Now The UI is slower, after disabling 3D acceleration, but info-beamer is working now

@dividuum dividuum closed this Feb 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.