Closed GUY-BBS closed 3 years ago
Please use an issue template. Edited.
IIRC, then #version
is only optional for GLSL (ES) shaders in version 1.0 (e.g. OpenGL ES 2.0), but apparently mandatory in later versions.
With OpenGL/GLSL ES 3.0 as target, the spec demands #version 300 es
(page 8 and 11)
Can you provide what GPU you have?
Unfortunately I've seen this before, none of these shaders are ours, they're all Qt's. It appears if you set the version to 3.0 (#1309), Qt will use shaders for 2.0 even though they're incompatible.
Hi,
My GPU is Nvidia GTX 660M. Today's download 857e4b04 fails to open as well. Hope this is of use.
Guy
Also tried download 857e4b04 on my HP laptop with standard Intel GFX with the same result.
Was having same issue with same console error log with latest version (80dffed4) on a Surface Pro 3 running Windows 10. (No graphics card.)
Managed to resolve the issue and get Olive working running* by doing a bit of research into OpenGL and running an installer that symlinked several OpenGL related .dlls into the Olive executable folder. Sharing my steps so others can replicate and attempt to resolve for themselves, (and maybe help someone figure out and patch the issue!)
Searching for OpenGL led to
https://www.khronos.org/opengl/wiki/Platform_specifics:_Windows#Installing_Mesa3D_on_Windows
and the following caught my attention:
If your system does not contain a GPU, or the GPU vendor delivers graphics drivers providing OpenGL support that's so old as to be useless to you, you might want to consider installing the Mesa3D OpenGL library on your system to provide OpenGL support.
I followed this link: https://github.com/pal1000/mesa-dist-win/releases and downloaded and extracted mesa3d-20.3.0-rc1-release-mingw.7z
from release 20.3.0-rc1
.
Opened the mesa3d-20.3.0-rc1-release-mingw
folder and ran perappdeploy.cmd
to specifically target the Olive application folder (in my case: C:\Program Files\Olive
), followed the instructions in the command prompt it opened, and said y
(yes) to all optional OpenGL drivers, as was not sure what all was needed. Note: tried running systemwidedeploy.cmd first and that did not work, running perappdeploy.cmd
and referencing the Olive application folder resolved everything though.
With 11 .dll
files related to OpenGL now symlinked in the Olive application folder, launching Olive now fully shows the editor instead of just a black screen. Have not fully tested whether everything is working yet, but at least can actually see the interface/GUI!
Hope this helps others!!
*Update: Attempting to work in a project with video resulted in no video footage being shown, and eventually Olive crashed. :(
Olive console log now shows the following with the 11 OpenGL .dll files instead of still being similar to what OP posted:
[WARNING] Trying to use locale "en_US" but couldn't find a translation for it ((null):0)
[DEBUG] Extracting default OCIO config to "C:/Users/K9/AppData/Local/olivevideoeditor.org/Olive/cache/ocioconf" ((null):0)
[WARNING] QOpenGLShader::compile(Vertex): 0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, and 3.00 ES
((null):0)
[WARNING] *** Problematic Vertex shader source code ***
#version 150
#define lowp
#define mediump
#define highp
#line 1
uniform mat4 ove_mvpmat;
in vec4 a_position;
in vec2 a_texcoord;
out vec2 ove_texcoord;
void main() {
gl_Position = ove_mvpmat * a_position;
ove_texcoord = a_texcoord;
}
*** ((null):0)
[ERROR] Failed to add vertex code to shader ((null):0)
[INFO] Using Qt version: 5.15.1 ((null):0)
[INFO] Setting output audio device to "Default Output Device" ((null):0)
ade4369199e95fa5177b7ac7e982762f2dee806a should fix this
Commit Hash 6eade26b (1605768642)
Platform Win 10 i7 16GB Nvidia GTX 660M
Summary
Shader compile error on startup:
Additional Information / Output
Console log
Hi Matt,
I have been running recent versions of Olive 0.2 and downloaded 6eade26b today but it fails to load.