contour: empty window and "Precision qualifier" is not supported prior to GLSL version 1.30

Description

an empty window appears, the desktop background shines through can only be closed

Environment

ubuntu 20

Steps to Reproduce

> dpkg -i contour-terminfo_0.2.1~develop-2021-09-09-20-49-77cb600f-0ubuntu1~focal_amd64
> dpkg -i contour_0.2.1~develop-2021-09-09-20-49-77cb600f-0ubuntu1~focal_amd64

contour

[error] Superfluous config key found: profiles.main.font.regular
[error] Superfluous config key found: profiles.main.hyperlink_decoration.default
qt5ct: using qt5ct plugin
QOpenGLShader::compile(Vertex): Vertex shader failed to compile with the following errors:
ERROR: 1:1: error(#263) "Precision qualifier" is not supported prior to GLSL version 1.30
ERROR: 1:1: error(#263) "Precision qualifier" is not supported prior to GLSL version 1.30
ERROR: 1:1: error(#263) "Precision qualifier" is not supported prior to GLSL version 1.30
ERROR: 1:1: error(#263) "Precision qualifier" is not supported prior to GLSL version 1.30
ERROR: 1:1: error(#263) "Precision qualifier" is not supported prior to GLSL version 1.30
ERROR: error(#273) 5 compilation errors.  No code generated


*** Problematic Vertex shader source code ***
#line 1
attribute highp vec3 vertexCoord;attribute highp vec2 textureCoord;varying highp vec2 uv;uniform highp mat4 vertexTransform;uniform highp mat3 textureTransform;void main() {   uv = (textureTransform * vec3(textureCoord,1.0)).xy;   gl_Position = vertexTransform * vec4(vertexCoord,1.0);}
***
Could not link shader program:
 "Vertex shader failed to compile with the following errors:\nERROR: 1:1: error(#263) \"Precision qualifier\" is not supported prior to GLSL version 1.30\nERROR: 1:1: error(#263) \"Precision qualifier\" is not supported prior to GLSL version 1.30\nERROR: 1:1: error(#263) \"Precision qualifier\" is not supported prior to GLSL version 1.30\nERROR: 1:1: error(#263) \"Precision qualifier\" is not supported prior to GLSL version 1.30\nERROR: 1:1: error(#263) \"Precision qualifier\" is not supported prior to GLSL version 1.30\nERROR: error(#273) 5 compilation errors.  No code generated\n\n"
QOpenGLShader::compile(Vertex): Vertex shader failed to compile with the following errors:
ERROR: 1:1: error(#263) "Precision qualifier" is not supported prior to GLSL version 1.30
ERROR: 1:1: error(#263) "Precision qualifier" is not supported prior to GLSL version 1.30
ERROR: 1:1: error(#263) "Precision qualifier" is not supported prior to GLSL version 1.30
ERROR: 1:1: error(#263) "Precision qualifier" is not supported prior to GLSL version 1.30
ERROR: 1:1: error(#263) "Precision qualifier" is not supported prior to GLSL version 1.30
ERROR: error(#273) 5 compilation errors.  No code generated

the above error continues multiple times Sorry, no idea about any of this

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

contour-0.2.1.1541-prerelease-ubuntu_20_04_amd64.deb smooth movement, no flickering, no jumpiness. Also no measurable cpu load increase,

looks fine to me!

still much higher Xorg cpu load. I would say unchanged from before ~17%. Did I use a wrong build?

Build 1526 is just fine. But i was actually reducing CPU load of contour itself. I did not even look at Xorg process’s load, lol.

I try to investigate on that one, too. Can’t promise any immediate magic though. 😃

just tested alacritty. No measurable increase in top. Also no flickering. The window-over-pointer drawing was my guess from past experience what part of the issue could be. I have not done any debugging on that ( and wouldnt know what to do anyway)

inxi -F

System:
  Host: rlxc Kernel: 5.11.0-34-generic x86_64 bits: 64 
  Desktop: Cinnamon 4.8.6 Distro: Linux Mint 20.1 Ulyssa 
CPU:
  Topology: 6-Core model: AMD Ryzen 5 1600 bits: 64 type: MT MCP 
  L2 cache: 3072 KiB  
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] 
  driver: amdgpu v: kernel 
  Display: x11 server: X.Org 1.20.11 driver: amdgpu,ati 
  unloaded: fbdev,modesetting,vesa 
  resolution: 1920x1080~60Hz, 1920x1080~60Hz 
  OpenGL: renderer: AMD Radeon RX 470 Graphics 
  v: 4.6.14756 Core Profile Context