lispgames / glop

Direct FFI bindings for OpenGL window and context management
MIT License
67 stars 14 forks source link

Problem in VMware virtual machine #10

Closed LinkFly closed 9 years ago

LinkFly commented 12 years ago

After evaluating this code:

(ql:quickload :glop) (ql:quickload :cl-opengl) (defclass plotwindow (glop:window) ()) (apply #'glop:create-window "Interactive 3d plot" 800 600 '(:win-class plotwindow))

this error:

X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 1 (X_CreateWindow) Serial number of failed request: 24 Current serial number in output stream: 26

Please tell me about this error - as minimum, as maximum - please fix it:)

patzy commented 12 years ago

I'm unable to get the same error here. I'll have a closer look later but until then do you have informations on the x11 version etc ?

LinkFly commented 12 years ago

$ aptitude show x11-common Package: x11-common
State: installed Automatically installed: no Version: 1:7.6+4ubuntu3.1 Priority: optional Section: x11 Maintainer: Ubuntu X-SWAT ubuntu-x@lists.ubuntu.com Uncompressed Size: 672 k Depends: debconf (>= 0.5) | debconf-2.0, upstart-job, lsb-base (>= 1.3-9ubuntu2) Description: ...

patzy commented 12 years ago

Do you get the same error with glop's basic tests (i.e. glop-test:test-gl-hello) ? The code you pasted doesn't error on my computers, maybe the requested gl context is not available. What does glxinfo says on your vmware? Default context attributes should be quite standard though (32 bit RGBA color buffer with 4 bits per component and 16bit depth buffer)

patzy commented 10 years ago

Any update on this ?