Page 1 of 1

OS/X [1.0.5b] shader & coroutine bugs

Posted: Wed Oct 02, 2013 2:39 pm
by Doctornull
I tried the new 1.0.5 beta on OS/X and found an issue on the character creation screen, and found some talents to be unusable in the first area. Didn't keep playing after that.

Full log here: http://pastebin.com/7gVJiqXJ
... and here: http://pastebin.com/MyGrJ1Yj

Excerpts:

Code: Select all

Loading savefile 	/save//
[SHADER] Loading from /data/gfx/shaders/shield.lua
New GL Shader program 5
GLSL ERROR: Compile error in shader inline
ERROR: 0:13: 'uniform' :  cannot initialize this type of qualifier  
ERROR: 0:14: 'uniform' :  cannot initialize this type of qualifier  
ERROR: 0:15: 'uniform' :  cannot initialize this type of qualifier  
ERROR: 0:16: 'uniform' :  cannot initialize this type of qualifier  
ERROR: 0:18: 'uniform' :  cannot initialize this type of qualifier  
ERROR: 0:19: 'uniform' :  cannot initialize this type of qualifier  
ERROR: 0:21: 'uniform' :  cannot initialize this type of qualifier  
ERROR: 0:22: 'uniform' :  cannot initialize this type of qualifier  
ERROR: 0:32: '=' :  cannot convert from 'const int' to 'float'

[SHADER] created fragment shader from /data/gfx/shaders/shield.frag

Code: Select all

[LOG]	Warren spits acid!
stack traceback:
	[C]: in function 'error'
	/engine/interface/ActorTalents.lua:151: in function </engine/interface/ActorTalents.lua:134>
Lua Error: /engine/interface/ActorTalents.lua:173: /engine/interface/ActorTalents.lua:151: attempt to yield across metamethod/C-call boundary
stack traceback:
	[C]: in function 'yield'
	/engine/interface/GameTargeting.lua:275: in function </engine/interface/GameTargeting.lua:258>
	(tail call): ?
	/data/talents/gifts/venom-drake.lua:43: in function </data/talents/gifts/venom-drake.lua:41>
	(tail call): ?
	[C]: in function 'xpcall'
	/engine/interface/ActorTalents.lua:146: in function </engine/interface/ActorTalents.lua:134>
	At [C]:-1 
	At [C]:-1 error
	At /engine/interface/ActorTalents.lua:173 useTalent
	At /engine/interface/PlayerHotkeys.lua:169 ?
	At /engine/interface/PlayerHotkeys.lua:161 activateHotkey
	At /engine/HotkeysIconsDisplay.lua:334 onMouse
	At /mod/class/uiset/Minimalist.lua:1833 fct
	At /engine/Mouse.lua:52 
[USERCHAT] channel talk	Roh	tome	You take what you can get.
[USERCHAT] channel talk	Shibari	tome	buy it
[ONLINE PROFILE] sending error
[LOG]	#YELLOW#Error report sent, thank you.
stack traceback:
	[C]: in function 'error'
	/engine/interface/ActorTalents.lua:151: in function </engine/interface/ActorTalents.lua:134>
Lua Error: /engine/interface/GameTargeting.lua:114: cannot resume dead coroutine
	At [C]:-1 
	At [C]:-1 error
	At /engine/interface/GameTargeting.lua:114 fct
	At /engine/interface/GameTargeting.lua:120 targetMode
	At /engine/interface/GameTargeting.lua:185 ?
	At /engine/KeyBind.lua:229 

Re: OS/X [1.0.5b] shader & coroutine bugs

Posted: Thu Oct 03, 2013 4:09 pm
by Doctornull
Coroutine death during targeting remains a problem in 1.0.5c:

Code: Select all

[LOG]	Halflincoln rushes out!
stack traceback:
	[C]: in function 'error'
	/engine/interface/ActorTalents.lua:151: in function </engine/interface/ActorTalents.lua:134>
Lua Error: /engine/interface/ActorTalents.lua:173: /engine/interface/ActorTalents.lua:151: attempt to yield across metamethod/C-call boundary
stack traceback:
	[C]: in function 'yield'
	/engine/interface/GameTargeting.lua:275: in function </engine/interface/GameTargeting.lua:258>
	(tail call): ?
	/data/talents/techniques/combat-techniques.lua:41: in function </data/talents/techniques/combat-techniques.lua:39>
	(tail call): ?
	[C]: in function 'xpcall'
	/engine/interface/ActorTalents.lua:146: in function </engine/interface/ActorTalents.lua:134>
	At [C]:-1 
	At [C]:-1 error
	At /engine/interface/ActorTalents.lua:173 useTalent
	At /engine/interface/PlayerHotkeys.lua:169 ?
	At /engine/interface/PlayerHotkeys.lua:161 activateHotkey
	At /engine/HotkeysIconsDisplay.lua:334 onMouse
	At /mod/class/uiset/Minimalist.lua:1833 fct
	At /engine/Mouse.lua:52 
[ONLINE PROFILE] sending error
[LOG]	#YELLOW#Error report sent, thank you.
stack traceback:
	[C]: in function 'error'
	/engine/interface/ActorTalents.lua:151: in function </engine/interface/ActorTalents.lua:134>
Lua Error: /engine/interface/GameTargeting.lua:114: cannot resume dead coroutine
	At [C]:-1 
	At [C]:-1 error
	At /engine/interface/GameTargeting.lua:114 fct
	At /engine/interface/GameTargeting.lua:120 targetMode
	At /engine/interface/GameTargeting.lua:185 ?
	At /engine/KeyBind.lua:229 
[ONLINE PROFILE] sending error
[LOG]	#YELLOW#Error report sent, thank you.

Re: OS/X [1.0.5b] shader & coroutine bugs

Posted: Thu Oct 03, 2013 5:33 pm
by Doctornull
These are all from the 1.0.5c beta Character Creation screen.

Some screenshots of shaders which I suspect are working incorrectly.

Re: OS/X [1.0.5b] shader & coroutine bugs

Posted: Thu Oct 03, 2013 5:35 pm
by Doctornull
The Archmage ring thing looks great when it goes all the way around, but sometimes only half a ring is displayed.

Re: OS/X [1.0.5b] shader & coroutine bugs

Posted: Thu Oct 03, 2013 5:51 pm
by Suslik
Thanks null. All those errors can be easily fixed if I know which shaders have them and i have the log. Please post if you find any more.

btw no freaking idea about the ring. dg, any ideas why sometimes it does not render?

Re: OS/X [1.0.5b] shader & coroutine bugs

Posted: Fri Oct 04, 2013 1:48 am
by Doctornull
One more from the lightning sustains:

Code: Select all

[SHADER] Loading from /data/gfx/shaders/lightning.lua
New GL Shader program 15
GLSL ERROR: Compile error in shader inline
ERROR: 0:8: '-' :  wrong operand types no operation '-' exists that takes a left-hand operand of type 'const int' and a right operand of type 'float' (or there is no acceptable conversion)
ERROR: 0:8: 'mix' : no matching overloaded function found 
ERROR: 0:8: 'assign' :  cannot convert from 'const float' to '3-component vector of float'

Re: OS/X [1.0.5b] shader & coroutine bugs

Posted: Fri Oct 11, 2013 4:13 pm
by Suslik
both fixed as well as a couple of others