sharplispers / clx

a fork of crhodes' fork of danb's fork of the CLX library, an X11 client for Common Lisp
Other
114 stars 46 forks source link

glx extension. gl-test #3

Open filonenko-mikhail opened 12 years ago

filonenko-mikhail commented 12 years ago

system Xorg 1.11.3/protocol 11, amd x86_64, nvidia 290.10-2 When I load demo/gl-test.lisp and call (gl-test:test #'gl-test::gears :host "" :display 0), I have following error.

Asynchronous MATCH-ERROR in request 16 (last request was 18) Code 1.0 [CreateWindow] [Condition of type XLIB:MATCH-ERROR]

Restarts: ...

Backtrace: 0: (XLIB::READ-ERROR-INPUT ..) 1: (XLIB::READ-INPUT ..) 2: (XLIB::READ-REPLY # #) 3: (XLIB::QUERY-FONT #<XLIB:FONT fixed :0 35651587>) 4: (XLIB:OPEN-FONT #<XLIB:DISPLAY :0 (The X.Org Foundation R11103000)> "fixed") 5: (GL-TEST:TEST # :HOST "" :DISPLAY 0 :WIDTH 200 :HEIGHT 200) .....

filonenko-mikhail commented 12 years ago

I found problem. It is in choose-visual/visual-mathces-p. choose-visual returns wrong visual. I change (visual-id visual) to #x27 (I found this value, when I sniffed valid glxgears.c programm and X11 communication) and all works fine.

ghost commented 11 years ago

Can someone please fix this ?

filonenko-mikhail commented 1 year ago

Closing to decrease info noise. Seems that duplucated issu is closed.

dkochmanski commented 1 year ago

the duplicate issue is closed, because it is a duplicate - if we close this one too, then the issue won't be marked on a tracker :)