Skip to content
This repository was archived by the owner on Jul 23, 2019. It is now read-only.
This repository was archived by the owner on Jul 23, 2019. It is now read-only.

OpenGL error #46

@Johnreidsilver

Description

@Johnreidsilver

I'm unable to execute any glvideo examples. Simple P3D examples work.
Using Processing 3.3.7
more specs:
lsb_release -a
Description: Ubuntu 17.10
Release: 17.10
Codename: artful

java -version
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-0ubuntu0.17.10.2-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)

inxi -F
Graphics: Card: Advanced Micro Devices [AMD/ATI] Richland [Radeon HD 8470D]
Display Server: x11 (X.Org 1.19.5 ) driver: radeon
Resolution: [email protected]
OpenGL: renderer: AMD ARUBA (DRM 2.50.0 / 4.13.0-37-generic, LLVM 5.0.0)

error trying to run singlevideo.pde for example:

The version of GStreamer on your system (1.12.3) does not match the version this library was compiled against (1.8). This is very likely to cause issues. Consider compiling this library yourself, using the sources from https://github.com/gohai/processing-glvideo.git

** (java:4215): CRITICAL **: gst_gl_handle_context_query: assertion 'display == NULL || DtsGetHWFeatures: Create File Failed
DtsGetHWFeatures: Create File Failed
Running DIL (3.22.0) Version
DtsDeviceOpen: Opening HW in mode 0
DtsDeviceOpen: Create File Failed
Final caps: video/x-raw(memory:GLMemory), width=(int)560, height=(int)406, framerate=(fraction)30000/1001, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, format=(string)RGBA, texture-target=(string)2D

GStreamer simple test is working:
gst-launch-1.0 videotestsrc ! autovideosink

How can I compile processing-glvideo against current GStreamer? I cloned the git cd into src/native and ran make and got fatal error: gst/gl/gl.h: No such file or directory

On another machine with Ubuntu 18.04 and AMDGPU driver I get:

 java.lang.RuntimeException: Profile GL3bc is not available on X11GraphicsDevice[type .x11, connection :1, unitID 0, handle 0x7fbb24018370, owner true, ResourceToolkitLock[obj 0x3cf9c4b4, isOwner true, <38c647f3, 7dc4ce8f>[count 1, qsz 0, owner <main-FPSAWTAnimator#00-Timer0>]]], but: [GLProfile[GLES1/GLES1.hw], GLProfile[GLES2/GLES3.hw], GLProfile[GL2ES1/GLES1.hw], GLProfile[GL4ES3/GL4.hw], GLProfile[GL2ES2/GL4.hw], GLProfile[GL4/GL4.hw], GLProfile[GLES3/GLES3.hw], GLProfile[GL4/GL4.hw], GLProfile[GL3/GL4.hw], GLProfile[GL2GL3/GL4.hw]]
        at processing.opengl.PSurfaceJOGL$2.run(PSurfaceJOGL.java:410)
        at java.lang.Thread.run(Thread.java:748)

uname -a
Linux r3 4.16.0-041600rc4-generic #201803041930 SMP Mon Mar 5 00:32:34 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Just for reference PixelFlow examples work, including shadertoy, video2 beta1 also working with all examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions