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

Windows 10. CEPL (Not Responding) #10

Open
hww opened this issue Mar 1, 2018 · 4 comments
Open

Windows 10. CEPL (Not Responding) #10

hww opened this issue Mar 1, 2018 · 4 comments

Comments

@hww
Copy link

hww commented Mar 1, 2018

Windows 10
Nvidia GTS450 with latest driver
GNU Emacs 25.2.1 (x86_64-w64-mingw32) of 2017-04-24
SBCL 1.4.2,

After (cepl:repl)
In the terminal

-----------------
    CEPL-REPL
-----------------
#<DEFAULT-FBO COLOR-ATTRS (0 1) DEPTH-ATTR T>
*

the OpenGL window shows in header "CEPL (Not Responding)"

Is there anything like log file to check details of issue?

In case in just run examples. There will be next error

CEPL: When trying to compile the pipeline we found some stages which have
conflicting glsl version requirements:
   [Condition of type CEPL.ERRORS:GLSL-VERSION-CONFLICT]

Restarts:
 0: [CONTINUE] Livesupport: Continue
 1: [RETRY] Retry SLIME REPL evaluation request.
 2: [*ABORT] Return to SLIME's top level.
 3: [ABORT] abort thread (#<THREAD "repl-thread" RUNNING {1003378013}>)

Backtrace:
  0: (CEPL.PIPELINES::THROW-VERSION-ERROR ((:VERTEX . #<CEPL.PIPELINES::GPU-FUNC-SPEC {1004D8C343}>) (:FRAGMENT . #<CEPL.PIPELINES::GPU-FUNC-SPEC {1004D8C303}>)) (NIL NIL))
  1: (CEPL.PIPELINES::%COMPILE-LINK-AND-UPLOAD BLIT #<VARJO.INTERNALS:TRIANGLES {1004CF6A13}> ((:VERTEX . #<CEPL.PIPELINES::GPU-FUNC-SPEC {1004D8C343}>) (:FRAGMENT . #<CEPL.PIPELINES::GPU-FUNC-SPEC {1004D8..
  2: ((FLET SB-THREAD::WITH-MUTEX-THUNK :IN CEPL.HIDDEN::CEPL.EXAMPLES.BLIT.INIT))
  3: ((FLET "WITHOUT-INTERRUPTS-BODY-1" :IN SB-THREAD::CALL-WITH-MUTEX))
  4: (SB-THREAD::CALL-WITH-MUTEX #<CLOSURE (FLET SB-THREAD::WITH-MUTEX-THUNK :IN CEPL.HIDDEN::CEPL.EXAMPLES.BLIT.INIT) {862DBFB}> #<SB-THREAD:MUTEX "Anonymous lock" owner: #<SB-THREAD:THREAD "repl-thread" ..
  5: (CEPL.HIDDEN::CEPL.EXAMPLES.BLIT.INIT #S(CEPL.PIPELINES::PIPELINE-STATE :DIFF-TAG 0 :PROG-IDS #(4294967295 4294967295 4294967295 4294967295 4294967295 4294967295 ...) :IMPLICIT-UNIFORM-UPLOAD-FUNC #<F..
  6: (BLIT #<CEPL-CONTEXT #<THREAD "repl-thread" RUNNING {1003378013}>> #<CEPL:BUFFER-STREAM (1) :LENGTH 6> :TEX #<SAMPLER-2D #<TEXTURE-2D (2048x2048)>>)
  7: (BLOOM #<CEPL:BUFFER-STREAM (1) :LENGTH 6> #<SAMPLER-2D #<TEXTURE-2D (2048x2048)>>)
  8: (STEP-DEMO)
  9: (RUN-LOOP)
 10: ((FLET RUN-TEST :IN RUN-EM-ALL) :CEPL.EXAMPLES "bloom.lisp")
 11: (RUN-EM-ALL)
 12: (SB-INT:SIMPLE-EVAL-IN-LEXENV (RUN-EM-ALL) #<NULL-LEXENV>)
 13: (EVAL (RUN-EM-ALL))
 --more--



@cbaggers
Copy link
Owner

cbaggers commented Mar 2, 2018

Thanks for reporting.

The Not Responding is actually totally fine. What is happening is that you code is not calling step-host which, amongst other things, polls for input. Because of this the OS has to assume that the program has stopped, you can safely say 'ignore' or 'wait' or whatever the OS provides (other than close the program). In my streams I have been lazy and used nineveh's def-simple-main-loop macro which does a number of things for you, including calling the step-host function.

Which examples are you running and what do you get from running (cepl.context:version-float (cepl:cepl-context)) in the REPL after running (cepl:repl)?

@hww
Copy link
Author

hww commented Mar 2, 2018

CL-USER> (cepl.context:version-float (cepl:cepl-context))
4.6
The error message abowe from bloom.lisp
But same error will be with triangle.lisp

@cbaggers
Copy link
Owner

cbaggers commented Mar 5, 2018

That is really interesting. I bet I have some stupid mistake in cepl around version checking. back soon

@cbaggers
Copy link
Owner

cbaggers commented Mar 5, 2018

Hi again @hww , yup there were definitely some bugs in there. I'm not on a machine that supports 4.6 right now, however I have pushed some tweaks to Varjo & CEPL which should help. Please clone the master branches of Varjo & CEPL to your local-projects folder and try the examples again.

Sorry for the inconvenience but thankyou for reporting the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants