Jump to content

Graphic Invisible Objects Problem Issue


Lion.Kanzen
 Share

Recommended Posts

VnbMH.png

g636T.png

ERROR: Failed to compile shader 'shaders/glsl/terrain_common.vs': ERROR: 0:1: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/terrain_common.vs': ERROR: 0:1: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/terrain_common.vs': ERROR: 0:1: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2 ERROR: 0:111: 'clamp' : no matching overloaded function found ERROR: 0:111: 'assign' : cannot convert from 'const float' to '4-component vector of float' ERROR: 0:119: '/' : wrong operand types no operation '/' exists that takes a left-hand operand of type 'float' and a right operand of type 'const int' (or there is no acceptable conversion) ERROR: 0:120: '/' : wrong operand types no operation '/' exists that takes a left-hand operand of type 'float' and a right operand of type 'const int' (or there is no acceptable conversion) ERROR: 0:125: '/' : wrong operand types no operation '/' exists that takes a left-hand operand of type 'float' and a right operand of type 'const int' (or there is no acceptable conversion) ERROR: 0:125: 'clamp' : no matching overloaded function found ERROR: 0:128: '/' : wrong operand types no operation '/' exists that takes a left-hand operand of type 'float' a...

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2 ERROR: 0:111: 'clamp' : no matching overloaded function found ERROR: 0:111: 'assign' : cannot convert from 'const float' to '4-component vector of float' ERROR: 0:119: '/' : wrong operand types no operation '/' exists that takes a left-hand operand of type 'float' and a right operand of type 'const int' (or there is no acceptable conversion) ERROR: 0:120: '/' : wrong operand types no operation '/' exists that takes a left-hand operand of type 'float' and a right operand of type 'const int' (or there is no acceptable conversion) ERROR: 0:125: '/' : wrong operand types no operation '/' exists that takes a left-hand operand of type 'float' and a right operand of type 'const int' (or there is no acceptable conversion) ERROR: 0:125: 'clamp' : no matching overloaded function found ERROR: 0:128: '/' : wrong operand types no operation '/' exists that takes a left-hand operand of type 'float' a...

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2 ERROR: 0:111: 'clamp' : no matching overloaded function found ERROR: 0:111: 'assign' : cannot convert from 'const float' to '4-component vector of float' ERROR: 0:119: '/' : wrong operand types no operation '/' exists that takes a left-hand operand of type 'float' and a right operand of type 'const int' (or there is no acceptable conversion) ERROR: 0:120: '/' : wrong operand types no operation '/' exists that takes a left-hand operand of type 'float' and a right operand of type 'const int' (or there is no acceptable conversion) ERROR: 0:125: '/' : wrong operand types no operation '/' exists that takes a left-hand operand of type 'float' and a right operand of type 'const int' (or there is no acceptable conversion) ERROR: 0:125: 'clamp' : no matching overloaded function found ERROR: 0:128: '/' : wrong operand types no operation '/' exists that takes a left-hand operand of type 'float' a...

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

ERROR: Failed to compile shader 'shaders/glsl/model_common.vs': ERROR: 0:5: '' : Version number not supported by GL2

Edited by Lion.Kanzen
Link to comment
Share on other sites

I did it for you, apparently only moderators can edit titles. (I think that is silly.)

Apparently someone has changed it since you wrote that, now it's definitely set as allowed :) (One do need to use the "More Reply Options" though, which might not be apparent to everyone)
Link to comment
Share on other sites

  • 6 months later...

Hi guys!

The same problem here. The buildings, trees and units are invisible. Only blue selection circles...

One time I noticed a message 'failed to compile shader' and googled it and found this topic.

I looked at config file but these three options (preferglsl, gentangents, smoothlos) already set to 'false'.

Can anyone help to fix this problem?

0 A.D. Alpha 12 / Gentoo / NVidia GeForce GTX 550Ti / NVidia proprietary driver installed here.

Thanks in advance.

Link to comment
Share on other sites

Thanks for reply!

I've updated driver from v.295.75 to v.310.32 but it doesn't helped.

But I noticed warning in konsole output : "NVIDIA: could not open the device file /dev/nvidiactl (Permission denied)."

I've changed permissions to 777 for this file. After that I got new message: "NVIDIA: could not open the device file /dev/nvidia0 (Permission denied)."

So I did the same trick on this file also (chmod 777).

Now all the units and buildings are visible.

May be this info would helpfull for someone else.

Link to comment
Share on other sites

leper, I did checked it: user already in video group.

quantumstate

It looks like something wrong in game itself because of game requires access to these two devices for other users than the owner and group.

Initially permissions was 660 for both of these files. Currently I set it to 666 (read-write without execution for all)

Link to comment
Share on other sites

It looks like something wrong in game itself because of game requires access to these two devices for other users than the owner and group.

In order for programs that use the NVIDIA driver to work correctly (e.g.: X, OpenGL, and CUDA applications), the kernel module must be loaded, and the device files /dev/nvidiactl and /dev/nvidia[0-9]+ must exist with read and write permissions for any users of such applications.

The nvidia driver readme says different.

Are the /dev/nvidia* devices actually set to the video group?

Link to comment
Share on other sites

Yes, for these devices owner is set to "root" and group is set to "video"

User that starts the game also listed in video group.

It should be enough regardless other (non-video) users permissions (i.e. 660 should be enough). But I have not a units and buildings this case.

P.S.

I've changed permissions to 606 (group "video" blocked at all, no read-write-execute permissions for group) and game is works fine. So I guess that the problem not depends on listed the user in the group "video" or not.

Edited by creaker
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...