Who's Online
122 user(s) are online (
116 user(s) are browsing
Forums )
Members: 0
Guests: 122
more...
Topic options
View mode
Newest First
Re: Shaderjoy 1.2
Posted on:
2020/5/10 19:39
#81
Just popping in
Joined: 2009/6/11 2:19Last Login
: 8/3 10:48
From Germany
Group:
Registered Users
@kas1e
almost the same way i forwarded them to my OS4 machine.
Quote:
i choice only those ones which looks _really_ good, not just anything which workswhat about 2 folders? "Top Notch" and "Working". Maybe another person has different personal preferences and likes a specific shader more. Also good to have a whole bunch of all working shaders on OS4 (educational purposes or smt.).
Re: Shaderjoy 1.2
Posted on:
2020/5/10 20:05
#82
Just can't stay away
Joined: 2007/7/14 21:30Last Login
: 11/3 18:55
From Lothric
Group:
Registered Users
@kas1e
Quote:
And another moment : seems with 1.2 something start to be wrong (or, i just lucky only now), as i find some issues cause crash/freeze. First time i noticed when just unpack 1.2 , and tried to run some shader : freeze. Ok, can be anything, Hmm... I think I will wait for some days if there are more reports, before uploading to OS4Depot.
Between 1.1 and 1.2 there were some new bugs but also some fixes for them. By the way, please enable verbose logging and check prints at exit. For me, there is typically 40 kilobytes of stack used. You have different driver set so there could be some impact but probably not much.
Re: Shaderjoy 1.2
Posted on:
2020/5/10 20:53
#83
Home away from home
Joined: 2007/9/11 12:31Last Login
: 11/19 7:43
From Russia
Group:
Registered Users
@IamSonic In end of all all shadertoy's should works :) And they mostly are, except that 1 bug causing noise which seems share quite a few shaders, another issue limited number of SGRPS and VGRPS , and just a bit of non-compiling ones. All of this should be fixed on our side, and in end all of them will works. There also surely some bugs with colors in some shaders, and sometime with geometry, but in compare with amount of shaders checked (more than 1000 for now), amount of them not very big. @Capehill Are you use some stack cookie ? If so, maybe just set it to something like 0.5 mb , and so no problems ever will be , and no one will ever notice it :) Or at least 200kb or so.
Edited by kas1e on 2020/5/10 21:18:47 Edited by kas1e on 2020/5/10 21:20:02
Re: Shaderjoy 1.2
Posted on:
2020/5/10 21:01
#84
Just can't stay away
Joined: 2007/2/6 13:57Last Login
: 11/16 10:39
From Donostia (SPAIN)
Group:
Registered Users
@kas1e
about stack cookie: I will notice!!!!!
too much cockie memory wasted!!!
Nice update Capehill!!! Keep the good work mate!!!
Re: Shaderjoy 1.2
Posted on:
2020/5/10 21:16
#85
Home away from home
Joined: 2007/9/11 12:31Last Login
: 11/19 7:43
From Russia
Group:
Registered Users
@jabirulo Seeing verbose log, its already 1mb :) So issues i meet with surely not stack related.
Re: Shaderjoy 1.2
Posted on:
2020/5/10 21:23
#86
Home away from home
Joined: 2007/9/11 12:31Last Login
: 11/19 7:43
From Russia
Group:
Registered Users
@Capehill
Again crashed on exit. This time enable verbose only after shader works, so all i had in the console its "~Context", and then crash. There crashlog:
Crash log for task "Shaderjoy"
Generated by GrimReaper 53.19
Crash occured in module kernel at address 0x01803630
Type of crash : unknown exception
Alert number : 0x01000009
Register dump :
GPR ( General Purpose Registers ):
0 : 0181 C94C 627818C0 00000002 01803648 67E3E090 023B4E24 023B4E14 023B4E84
8 : 65B0D5A0 00000001 00000000 00000001 35553339 681E77B0 4AC656E8 00000001
16 : 62B0B6D0 EFDEFE50 688FB010 00000000 62781DA8 7F0E84F4 0000000A 4AC656D8
24 : 00000000 4AC656C8 00000001 627818C0 023B7CB2 67E3E090 67E3E090 022528 D4
FPR ( Floating Point Registers , NaN = Not a Number ):
0 : 0 0.237741 0 0
4 : 0 0.5 4.5036e+15 4.5036e+15
8 : 220 4.5036e+15 4.5036e+15 4.5036e+15
12 : 0 347136 4.2301e+160 - 4.6941e+49
16 : - 2.0223e-211 3.72228e+73 5.8721e-258 - 5.4897e-63
20 : 1.06077e+194 - 3.53449e+10 9.79766e-66 2.48115e-265
24 : 255 2.14748e+09 1.52588e-05 4.5036e+15
28 : 65536 4.5036e+15 65536 2.14748e+09
FPSCR ( Floating Point Status and Control Register ): 0xA6368000
SPRs ( Special Purpose Registers ):
Machine State ( msr ) : 0x0002B030
Condition ( cr ) : 0x5A46EDA0
Instruction Pointer ( ip ) : 0x01803630
Xtended Exception ( xer ) : 0x00000010
Count ( ctr ) : 0x645AA630
Link ( lr ) : 0x023B7CB2
DSI Status ( dsisr ) : 0x5A46EDA0
Data Address ( dar ) : 0x35553993
680x0 emulated registers :
DATA : 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ADDR : 6FFA4000 8345A300 00000000 00000000 00000000 00000000 00000000 627810B0
FPU0 : 0 0 0 0
FPU4 : 0 0 0 0
Symbol info :
Instruction pointer 0x01803630 belongs to module "kernel" ( HUNK / Kickstart )
Stack trace :
native kernel module kernel + 0x00003630
native kernel module kernel + 0x0001c954
native kernel module kernel + 0x00018fbc
module LIBS : Warp3DNova / W3DN_GCN . library at 0x7EDEC46C ( section 0 @ 0x2448 )
module LIBS : ogles2 . library at 0x7EA9711C ( section 0 @ 0xB0F8 )
module LIBS : ogles2 . library at 0x7EAB4464 ( section 0 @ 0x28440 )
module LIBS : ogles2 . library at 0x7EAB4528 ( section 0 @ 0x28504 )
module LIBS : ogles2 . library at 0x7EA9CA38 ( section 0 @ 0x10A14 )
module Shaderjoy at 0x7F0EF6B0 ( section 0 @ 0x768C )
module Shaderjoy at 0x7F0ED9F0 ( section 0 @ 0x59CC )
module Shaderjoy at 0x7F0EDB48 ( section 0 @ 0x5B24 )
module Shaderjoy at 0x7F0E8938 ( section 0 @ 0x914 )
native kernel module newlib . library . kmod + 0x000025fc
native kernel module newlib . library . kmod + 0x00003328
native kernel module newlib . library . kmod + 0x0000384c
Shaderjoy : _start ()+ 0x1e0 ( section 1 @ 0x284 )
native kernel module dos . library . kmod + 0x0002a41c
native kernel module kernel + 0x0003f660
native kernel module kernel + 0x0003f6a8
PPC disassembly :
01803628: 60633648 ori r3 , r3 , 13896
0180362 c : 44000002 sc
*01803630: 4e800020 blr
01803634: 7c641b78 mr r4 , r3
01803638: 3c600180 lis r3 , 384
It's surely something new. v1.1 didn't have those crashes for sure, as i test it for hours with all sort of stuff.
EDIT: can reproduce it second time. Both time was with shader used textures (ichannel 0 and ichannel 1 at the same time), and then few resizing of window with VSYNC disabled, and pressing on close-gadget.
EDIT2: same shader with same steps didn't on v1.1 didn't crashes when press close gadget.
EDIT3: Now, i have a crash in v1.2 just when i load shader , then load 2 ichannels, and bah. Crashlog:
Crash log for task "Shaderjoy"
Generated by GrimReaper 53.19
Crash occured in module kernel at address 0x0182542C
Type of crash : DSI ( Data Storage Interrupt ) exception
Alert number : 0x80000003
Register dump :
GPR ( General Purpose Registers ):
0 : 7F7A6324 63138930 00000002 6320B000 62801178 00000010 000000B8 0000000C
8 : 6320AFFC 00000000 62801178 7F5C570C 33553393 63234370 620816F0 00000001
16 : 64C01100 EFDEFE50 68BAB4F0 00000000 63138DA8 7F3AF4F4 00000010 00000000
24 : 628010D0 62F98E88 631D4290 000000B8 000000B8 628010D0 6320AF58 6320AF58
FPR ( Floating Point Registers , NaN = Not a Number ):
0 : nan 3146 0 0
4 : 0 0.5 4.5036e+15 4.5036e+15
8 : 215 4.5036e+15 4.5036e+15 4.5036e+15
12 : 4.29497e+09 65536 4.2301e+160 - 4.6941e+49
16 : - 2.0223e-211 3.72228e+73 5.8721e-258 - 5.4897e-63
20 : 1.06077e+194 - 3.53449e+10 9.79766e-66 2.48115e-265
24 : 255 2.14748e+09 1.52588e-05 4.5036e+15
28 : 65536 4.5036e+15 65536 24.8527
FPSCR ( Floating Point Status and Control Register ): 0x82004000
SPRs ( Special Purpose Registers ):
Machine State ( msr ) : 0x0002F030
Condition ( cr ) : 0x63224EFC
Instruction Pointer ( ip ) : 0x0182542C
Xtended Exception ( xer ) : 0x631AA038
Count ( ctr ) : 0x6FF704D0
Link ( lr ) : 0x7FE11698
DSI Status ( dsisr ) : 0x631A9DF0
Data Address ( dar ) : 0x39553353
680x0 emulated registers :
DATA : 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ADDR : 6FFA4000 82882600 00000000 00000000 00000000 00000000 00000000 631380B0
FPU0 : 0 0 0 0
FPU4 : 0 0 0 0
Symbol info :
Instruction pointer 0x0182542C belongs to module "kernel" ( HUNK / Kickstart )
Stack trace :
native kernel module kernel + 0x0002542c
native kernel module kernel + 0x000255a4
module LIBS : ogles2 . library at 0x7F795650 ( section 0 @ 0xB62C )
module LIBS : ogles2 . library at 0x7F7AC348 ( section 0 @ 0x22324 )
module LIBS : ogles2 . library at 0x7F79312C ( section 0 @ 0x9108 )
module LIBS : ogles2 . library at 0x7F78D4C4 ( section 0 @ 0x34A0 )
module Shaderjoy at 0x7F3B41D0 ( section 0 @ 0x51AC )
module Shaderjoy at 0x7F3AF820 ( section 0 @ 0x7FC )
native kernel module newlib . library . kmod + 0x000025fc
native kernel module newlib . library . kmod + 0x00003328
native kernel module newlib . library . kmod + 0x0000384c
Shaderjoy : _start ()+ 0x1e0 ( section 1 @ 0x284 )
native kernel module dos . library . kmod + 0x0002a41c
native kernel module kernel + 0x0003f660
native kernel module kernel + 0x0003f6a8
PPC disassembly :
01825424: 7d2903a6 mtctr r9
01825428: 852a0004 lwzu r9 , 4 ( r10 )
*0182542 c : 95280004 stwu r9 , 4 ( r8 )
01825430: 4200fff8 bdnz + 0x1825428
01825434: 39270004 addi r9 , r7 , 4
Ignore DSI helps this time (but weren't another time when i early have crash while do nothing and shader working)
Re: Shaderjoy 1.2
Posted on:
2020/5/11 7:23
#87
Just can't stay away
Joined: 2007/7/14 21:30Last Login
: 11/3 18:55
From Lothric
Group:
Registered Users
@kas1e
Quote:
Both time was with shader used textures (ichannel 0 and ichannel 1 at the same time), and then few resizing of window with VSYNC disabled, and pressing on close-gadgetCould you send a link to this shader?
Stack cookie is set to 100000 bytes, so if your system has less then it is used, but if your system has more stack, then stack cookie is ignored.
Re: Shaderjoy 1.2
Posted on:
2020/5/11 8:24
#88
Home away from home
Joined: 2007/9/11 12:31Last Login
: 11/19 7:43
From Russia
Group:
Registered Users
@Capehill
It happens with different shaders, but easy to reproduse is "noise fire" with gray_noise_small texure (last link in yesterdays working ones, i am on phone so cant fast copy+paste)
edit: that one : Noise Fire :
https://www.shadertoy.com/view/XlKyzW (iChannel0: Gray Noise Small)
Retested to be sure , and with 1.1 all fine 100%.
Edited by kas1e on 2020/5/11 9:46:44 Edited by kas1e on 2020/5/11 10:43:00
Re: Shaderjoy 1.2
Posted on:
2020/5/11 10:43
#89
Just can't stay away
Joined: 2007/7/14 21:30Last Login
: 11/3 18:55
From Lothric
Group:
Registered Users
@kas1e There is a bug related to close gadget handling: because window pointer is not cleared, application will try to do "one last render" before exit on a dangling window pointer. For some reason I haven't been able to reproduce the issue on my side. I will provide a debug build with -O0, maybe that aligns the stack trace better, for the remaining problems.
Re: Shaderjoy 1.2
Posted on:
2020/5/11 10:48
#90
Home away from home
Joined: 2007/9/11 12:31Last Login
: 11/19 7:43
From Russia
Group:
Registered Users
@Capehill Should to say that i got now bug with close gadget in v1.1 as well. I just tried to play with some small noise-test case, so all i do is change code via multiedit, and press "reload shader". At some point, shader fail to compile (so ok), then i press "reload" shader and nothing happens. Then i tried to close shaderjoy - nope, shaderjoy window didn't reacts
Re: Shaderjoy 1.2
Posted on:
2020/5/11 10:59
#91
Just can't stay away
Joined: 2007/7/14 21:30Last Login
: 11/3 18:55
From Lothric
Group:
Registered Users
Re: Shaderjoy 1.2
Posted on:
2020/5/11 11:09
#92
Home away from home
Joined: 2007/9/11 12:31Last Login
: 11/19 7:43
From Russia
Group:
Registered Users
@Capehill With 1.1 false alarm : i just didn't scroll buffer down, so window with "shader failed compile" didn't arise, and so close gadget didn't work because of that. Once move scrollbuffer back, window shoup and all closes. Tested for now 1.2 debug, at moment can't reproduce, trying harder now
Re: Shaderjoy 1.2
Posted on:
2020/5/11 11:13
#93
Home away from home
Joined: 2007/9/11 12:31Last Login
: 11/19 7:43
From Russia
Group:
Registered Users
@Capehill
Reproduced!
Crashed process : Work : ogles2 / Shaderjoy - 1.2_debug / Shaderjoy ( 0x6328A6A0 )
DSI verbose error description : Page not found in hash table ( page fault )
Access not allowed by page protection ( protection violation )
Access was a load operation
0 : 01839 FCC 63072910 00000002 628F6AD0 62E23088 628F6B50 0000001B 023B4E84
8 : FFFFFFFF 62E23088 00000000 00000000 37553999 639AA7B0 6304D748 00000001
16 : 64F561F0 EFCB5010 6508B9D0 00000000 63072DA8 7F44A740 0000002A 6304D718
24 : 00000000 6304D708 6FFAB180 00000000 6328A6A0 63072948 62E23088 62E23000
CR : 37553995 XER : A000007E CTR : 01817808 LR : 01839 FB4
DSISR : 00800000 DAR : 00000004
FP0 : FFF8000082024000 3FA0A23BA40B6123 0000000000000000 0000000000000000
FP4 : 0000000000000000 3FE0000000000000 43300000000002D7 433000000000001B
FP8 : 4068E00000000000 4330000000000000 4330000080000000 43300000000C5CB3
FP12 : 3FA0A23BA40B6123 40F0000000000000 694C29029892888A CA3607E49E5608F0
FP16 : 9C3104271903C93C 4F3531BE9D2CF8B1 0AC6B24B5014C930 BB02110F84004811
FP20 : 783640041C2008F2 EE24756EB412D1C4 1674824E7540C832 0904000 A5336C825
FP24 : 8B07B02F1D3AC874 9C323E02217AD873 6844A98B1849002E 19049E36D0B654B3
FP28 : 89AF3697DD96A473 89BC2604D942E88E 0B15FE0B1002D915 D234D81692A22B5F
FPSCR : 82024000
Disassembly of crash site :
0181781 C : 7D234B78 mr r3 , r9
01817820: 91440000 stw r10 , 0 ( r4 )
01817824: 81490000 lwz r10 , 0 ( r9 )
01817828: 81290004 lwz r9 , 4 ( r9 )
>0181782 C : 912A0004 stw r9 , 4 ( r10 )
01817830: 4E800020 blr
01817834: 38600000 li r3 , 0
01817838: 4E800020 blr
0181783 C : 81230000 lwz r9 , 0 ( r3 )
01817840: 81430004 lwz r10 , 4 ( r3 )
Kernel command line : serial munge debuglevel = 3
Registers pointing to code :
r0 : native kernel module kernel + 0x00039fcc
r7 : native kernel module kernel + 0x00bb4e84
r15 : module CLASSES : datatypes / jpeg . datatype at 0x00000001 ( section 0 @ 0xFFFFFFDC )
r21 : Work : ogles2 / Shaderjoy - 1.2_debug / Shaderjoy : main ()+ 0x0 ( section 1 @ 0x73C )
ip : native kernel module kernel + 0x0001782c
lr : native kernel module kernel + 0x00039fb4
ctr : native kernel module kernel + 0x00017808
Stack trace :
( 0x63072910 ) native kernel module kernel + 0x0001782c
( 0x63072920 ) native kernel module kernel + 0x00039fb4
( 0x63072940 ) native kernel module kernel + 0x00024734
( 0x63072980 ) module LIBS : Warp3DNova / W3DN_GCN . library at 0x7F0ED118 ( section 0 @ 0x10F4 )
( 0x630729A0 ) module LIBS : ogles2 . library at 0x7F2D3124 ( section 0 @ 0x20100 )
( 0x630729C0 ) module LIBS : ogles2 . library at 0x7F2D1368 ( section 0 @ 0x1E344 )
( 0x630729E0 ) [ Context . cpp : 89 ] Work : ogles2 / Shaderjoy - 1.2_debug / Shaderjoy : _ZN7ContextD2Ev ()+ 0xa4 ( section 1 @ 0x5A98 )
( 0x63072A30 ) [ main . cpp : 75 ] Work : ogles2 / Shaderjoy - 1.2_debug / Shaderjoy : main ()+ 0x568 ( section 1 @ 0xCA4 )
( 0x63072D10 ) native kernel module newlib . library . kmod + 0x000025fc
( 0x63072D60 ) native kernel module newlib . library . kmod + 0x00003328
( 0x63072F10 ) native kernel module newlib . library . kmod + 0x0000384c
( 0x63072F40 ) Work : ogles2 / Shaderjoy - 1.2_debug / Shaderjoy : _start ()+ 0x1e0 ( section 1 @ 0x284 )
( 0x63072F90 ) native kernel module dos . library . kmod + 0x0002a41c
( 0x63072FC0 ) native kernel module kernel + 0x0003f660
( 0x63072FD0 ) native kernel module kernel + 0x0003f6a8
Disassembly of crash site :
0181781 C : 7D234B78 mr r3 , r9
01817820: 91440000 stw r10 , 0 ( r4 )
01817824: 81490000 lwz r10 , 0 ( r9 )
01817828: 81290004 lwz r9 , 4 ( r9 )
>0181782 C : 912A0004 stw r9 , 4 ( r10 )
01817830: 4E800020 blr
01817834: 38600000 li r3 , 0
01817838: 4E800020 blr
0181783 C : 81230000 lwz r9 , 0 ( r3 )
01817840: 81430004 lwz r10 , 4 ( r3 )
Stack pointer ( 0x63072910 ) is inside bounds
Redzone is OK ( 4 )
68k register dump
DATA : 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
----> 00000001 - "CLASSES:datatypes/jpeg.datatype" Hunk 0000 Offset 00000000 ( SegList : 0x193E8321 )
ADDR : 6FFA4000 8086C800 00000000 00000000 00000000 00000000 00000000 63072720
Page information :
Page not found
Re: Shaderjoy 1.2
Posted on:
2020/5/11 11:54
#94
Just can't stay away
Joined: 2007/7/14 21:30Last Login
: 11/3 18:55
From Lothric
Group:
Registered Users
@kas1e Hmmmmm. According to code inside aglDestroyContext (and so forth). So I guess you are quitting the program or? I cannot see why it crashes though, other than the obvious nullptr access.
Re: Shaderjoy 1.2
Posted on:
2020/5/11 12:16
#95
Home away from home
Joined: 2007/9/11 12:31Last Login
: 11/19 7:43
From Russia
Group:
Registered Users
@Capehill Yes that one was when hit close button.
Re: Shaderjoy 1.2
Posted on:
2020/5/11 16:00
#96
Home away from home
Joined: 2007/9/11 12:31Last Login
: 11/19 7:43
From Russia
Group:
Registered Users
@Capehill
Another time crashes with 1.2 when just loading some shader which i load fine via 1.1 with textures and iresolutionchannel. This time crashes just in process when i just "load texture":
Dump of context at 0xEFD5A7C0
Trap type : DSI exception
Exception Syndrome Register ( ESR ): 0x00000000
Machine State ( raw ): 0x0002F030
Machine State ( verbose ): [ Critical Ints on ] [ ExtInt on ] [ User ] [ FPU on ] [ IAT on ] [ DAT on ]
DSISR : 00000000 DAR : 00000715
No matching page found
Temporary stack trace :
#0: 0x7F037558
#1: 0x7EFB6990
#2: 0x7EFB7780
#3: 0x7EFE4EF4
#4: 0x7F079D54
#5: 0x7F054088
#6: 0x7F07110C
#7: 0x7F080494
#8: 0x7F0CDBB8
#9: 0x7EF9D708
#10: 0x7EF9DA24
#11: 0x7F18456C
#12: 0x7F184864
#13: 0x7F2FB060
#14: 0x7F2FA6BC
#15: 0x7F2F47B0
#16: in module newlib.library.kmod+0x000025FC (0x01A56B1C)
#17: in module newlib.library.kmod+0x00003328 (0x01A57848)
#18: in module newlib.library.kmod+0x0000384C (0x01A57D6C)
#19: 0x7F2F4288
#20: in module dos.library.kmod+0x0002A41C (0x0194EA7C)
#21: in module kernel+0x0003F660 (0x0183F660)
#22: in module kernel+0x0003F6A8 (0x0183F6A8)
#23: 0x00000000
Crashed process : Shaderjoy ( 0x67CE14A0 )
DSI verbose error description : Page not found in hash table ( page fault )
Access not allowed by page protection ( protection violation )
Access was a load operation
0 : 7F03756C 61890CD0 00000002 00000715 0000003F 00000001 619DAC04 60F40924
8 : 60D7109C 61BB7E20 00000005 00000000 000007A8 681EAF30 628CD6E8 00000001
16 : 67224440 EFDEFE50 688FB760 00000000 61891DA8 7F2F44F4 0000000A 61891840
24 : 60ADB018 00000000 00006C38 622C0000 61891844 6175F720 622C0000 00000000
CR : 53553599 XER : 8000007E CTR : 7F01473C LR : 7F03756C
DSISR : 00000000 DAR : 00000715
FP0 : FFF8000082004000 3FE0000000000000 0000000000000000 0000000000000000
FP4 : 3FF0000000000000 3F8226E3E96E8493 433000000000000D 433000000000023C
FP8 : 4073E00000000000 40982C0000000000 4330000080000000 0000000000000000
FP12 : C010000000000000 4111E00000000000 694C29029892888A CA3607E49E5608F0
FP16 : 9C3104271903C93C 4F3531BE9D2CF8B1 0AC6B24B5014C930 BB02110F84004811
FP20 : 783640041C2008F2 EE24756EB412D1C4 1674824E7540C832 0904000 A5336C825
FP24 : 8B07B02F1D3AC874 9C323E02217AD873 6844A98B1849002E 19049E36D0B654B3
FP28 : 89AF3697DD96A473 89BC2604D942E88E 0B15FE0B1002D915 D234D81692A22B5F
FPSCR : 82004000
Disassembly of crash site :
7F037548 : 7F8A4840 cmplw cr7 , r10 , r9
7F03754C : 419E018C beq - cr7 , 0x7F0376D8
7F037550 : 80690008 lwz r3 , 8 ( r9 )
7F037554 : 39400005 li r10 , 5
> 7F037558 : 81230000 lwz r9 , 0 ( r3 )
7F03755C : 81290020 lwz r9 , 32 ( r9 )
7F037560 : 91410060 stw r10 , 96 ( r1 )
7F037564 : 7D2903A6 mtctr r9
7F037568 : 4E800421 bctrl
7F03756C : 81030010 lwz r8 , 16 ( r3 )
Kernel command line : serial munge debuglevel = 3
Registers pointing to code :
r0 : module LIBS : Warp3DNova / W3DN_GCN . library at 0x7F03756C ( section 0 @ 0xA1548 )
r5 : module Shaderjoy at 0x00000001 ( section 0 @ 0xFFFFFFDC )
r15 : module Shaderjoy at 0x00000001 ( section 0 @ 0xFFFFFFDC )
r21 : module Shaderjoy at 0x7F2F44F4 ( section 0 @ 0x4D0 )
r27 : module LIBS : Warp3DNova / W3DN_GCN . library at 0x622C0000 ( section 7 @ 0x1A90 )
r30 : module LIBS : Warp3DNova / W3DN_GCN . library at 0x622C0000 ( section 7 @ 0x1A90 )
ip : module LIBS : Warp3DNova / W3DN_GCN . library at 0x7F037558 ( section 0 @ 0xA1534 )
lr : module LIBS : Warp3DNova / W3DN_GCN . library at 0x7F03756C ( section 0 @ 0xA1548 )
ctr : module LIBS : Warp3DNova / W3DN_GCN . library at 0x7F01473C ( section 0 @ 0x7E718 )
Stack trace :
( 0x61890CD0 ) module LIBS : Warp3DNova / W3DN_GCN . library at 0x7F037558 ( section 0 @ 0xA1534 )
( 0x61890DD0 ) module LIBS : Warp3DNova / W3DN_GCN . library at 0x7F03756C ( section 0 @ 0xA1548 )
( 0x61890E80 ) module LIBS : Warp3DNova / W3DN_GCN . library at 0x7EFB7780 ( section 0 @ 0x2175C )
( 0x61890F50 ) module LIBS : Warp3DNova / W3DN_GCN . library at 0x7EFE4EF4 ( section 0 @ 0x4EED0 )
( 0x61891030 ) module LIBS : Warp3DNova / W3DN_GCN . library at 0x7F079D54 ( section 0 @ 0xE3D30 )
( 0x618910E0 ) module LIBS : Warp3DNova / W3DN_GCN . library at 0x7F054088 ( section 0 @ 0xBE064 )
( 0x61891230 ) module LIBS : Warp3DNova / W3DN_GCN . library at 0x7F07110C ( section 0 @ 0xDB0E8 )
( 0x61891390 ) module LIBS : Warp3DNova / W3DN_GCN . library at 0x7F080494 ( section 0 @ 0xEA470 )
( 0x61891440 ) module LIBS : Warp3DNova / W3DN_GCN . library at 0x7F0CDBB8 ( section 0 @ 0x137B94 )
( 0x61891750 ) module LIBS : Warp3DNova / W3DN_GCN . library at 0x7EF9D708 ( section 0 @ 0x76E4 )
( 0x618917A0 ) module LIBS : Warp3DNova / W3DN_GCN . library at 0x7EF9DA24 ( section 0 @ 0x7A00 )
( 0x61891810 ) module LIBS : ogles2 . library at 0x7F18456C ( section 0 @ 0x27548 )
( 0x61891870 ) module LIBS : ogles2 . library at 0x7F184864 ( section 0 @ 0x27840 )
( 0x618918A0 ) module Shaderjoy at 0x7F2FB060 ( section 0 @ 0x703C )
( 0x61891930 ) module Shaderjoy at 0x7F2FA6BC ( section 0 @ 0x6698 )
( 0x61891A80 ) module Shaderjoy at 0x7F2F47B0 ( section 0 @ 0x78C )
( 0x61891D10 ) native kernel module newlib . library . kmod + 0x000025fc
( 0x61891D60 ) native kernel module newlib . library . kmod + 0x00003328
( 0x61891F10 ) native kernel module newlib . library . kmod + 0x0000384c
( 0x61891F40 ) Shaderjoy : _start ()+ 0x1e0 ( section 1 @ 0x284 )
( 0x61891F90 ) native kernel module dos . library . kmod + 0x0002a41c
( 0x61891FC0 ) native kernel module kernel + 0x0003f660
( 0x61891FD0 ) native kernel module kernel + 0x0003f6a8
Disassembly of crash site :
7F037548 : 7F8A4840 cmplw cr7 , r10 , r9
7F03754C : 419E018C beq - cr7 , 0x7F0376D8
7F037550 : 80690008 lwz r3 , 8 ( r9 )
7F037554 : 39400005 li r10 , 5
> 7F037558 : 81230000 lwz r9 , 0 ( r3 )
7F03755C : 81290020 lwz r9 , 32 ( r9 )
7F037560 : 91410060 stw r10 , 96 ( r1 )
7F037564 : 7D2903A6 mtctr r9
7F037568 : 4E800421 bctrl
7F03756C : 81030010 lwz r8 , 16 ( r3 )
Stack pointer ( 0x61890CD0 ) is inside bounds
Redzone is OK ( 4 )
68k register dump
DATA : 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
----> 00000001 - "Shaderjoy" Hunk 0000 Offset 00000000 ( SegList : 0x19317055 )
ADDR : 6FFA4000 82C1CC00 00000000 00000000 00000000 00000000 00000000 618904A0
Page information :
Page not found
Dump of context at 0xEFC317C0
Trap type : DSI exception
Exception Syndrome Register ( ESR ): 0x00000000
Machine State ( raw ): 0x0002F030
Machine State ( verbose ): [ Critical Ints on ] [ ExtInt on ] [ User ] [ FPU on ] [ IAT on ] [ DAT on ]
DSISR : 00000000 DAR : 00000001
No matching page found
Temporary stack trace :
#0: in module kernel+0x00017818 (0x01817818)
#1: in module kernel+0x0003679C (0x0183679C)
#2: in module kernel+0x0001A2D0 (0x0181A2D0)
#3: in module kernel+0x0001A340 (0x0181A340)
#4: in module dos.library.kmod+0x00001FB8 (0x01926618)
#5: in module dos.library.kmod+0x0000260C (0x01926C6C)
#6: in module dos.library.kmod+0x0000334C (0x019279AC)
#7: in module NGFileSystem+0x00009E1C (0x018A4BDC)
#8: in module NGFileSystem+0x00020960 (0x018BB720)
#9: in module dos.library.kmod+0x00011C3C (0x0193629C)
#10: in module dos.library.kmod+0x000115C8 (0x01935C28)
#11: in module dos.library.kmod+0x0000DD84 (0x019323E4)
#12: in module dos.library.kmod+0x00035C5C (0x0195A2BC)
#13: 0x7FAF4450
#14: 0x7FAF9094
#15: 0x7FAE87A8
#16: 0x7EF40410
#17: 0x7EF3B120
#18: 0x7EF3B684
#19: 0x7EF3B99C
#20: 0x7EF386BC
#21: in module newlib.library.kmod+0x000025FC (0x01A56B1C)
#22: in module newlib.library.kmod+0x00003328 (0x01A57848)
#23: in module newlib.library.kmod+0x0000384C (0x01A57D6C)
#24: 0x7EF38288
#25: in module dos.library.kmod+0x0002A41C (0x0194EA7C)
#26: in module kernel+0x0003F660 (0x0183F660)
#27: in module kernel+0x0003F6A8 (0x0183F6A8)
#28: 0x00000000
Crashed process : Shaderjoy ( 0x62FFEB40 )
DSI verbose error description : Page not found in hash table ( page fault )
Access not allowed by page protection ( protection violation )
Access was a load operation
0 : 0182E384 6056FE70 00000002 022528 D4 6229DFDC 00000000 00000080 00000004
8 : FFFFFFFF 00000001 648EEFD0 00000000 39555939 5F4F3370 00000000 0181 A30C
16 : 00001000 80000006 00000000 00000080 00001000 02230000 02230000 02006674
24 : 00000001 EFFF94D4 02230000 6229DFDC 00000000 6229DFD0 022528 D4 EFFF9490
CR : 99553555 XER : 8000007E CTR : 01817808 LR : 0182E3B4
DSISR : 00000000 DAR : 00000001
FP0 : FFF8000082004000 3F9195F5BA8A1071 0000000000000000 0000000000000000
FP4 : 0000000000000000 3FD2492494229359 4330000000000059 4330000000000008
FP8 : 4020000000000000 4089000000000000 4330000080000000 4070000000000000
FP12 : 4330000080000383 40F0000000000000 694C29029892888A CA3607E49E5608F0
FP16 : 9C3104271903C93C 4F3531BE9D2CF8B1 0AC6B24B5014C930 BB02110F84004811
FP20 : 783640041C2008F2 EE24756EB412D1C4 1674824E7540C832 0904000 A5336C825
FP24 : 8B07B02F1D3AC874 9C323E02217AD873 6844A98B1849002E 19049E36D0B654B3
FP28 : 89AF3697DD96A473 89BC2604D942E88E 0B15FE0B1002D915 D234D81692A22B5F
FPSCR : 82004000
Disassembly of crash site :
01817808: 81240008 lwz r9 , 8 ( r4 )
0181780 C : 7F844800 cmpw cr7 , r4 , r9
01817810: 419E0024 beq - cr7 , 0x1817834
01817814: 81240000 lwz r9 , 0 ( r4 )
>01817818: 81490000 lwz r10 , 0 ( r9 )
0181781 C : 7D234B78 mr r3 , r9
01817820: 91440000 stw r10 , 0 ( r4 )
01817824: 81490000 lwz r10 , 0 ( r9 )
01817828: 81290004 lwz r9 , 4 ( r9 )
0181782 C : 912A0004 stw r9 , 4 ( r10 )
Kernel command line : serial munge debuglevel = 3
Registers pointing to code :
Re: Shaderjoy 1.3
Posted on:
2020/5/11 20:10
#97
Just can't stay away
Joined: 2007/7/14 21:30Last Login
: 11/3 18:55
From Lothric
Group:
Registered Users
@kas1e
Addr2line gave me confusing results for the last stack trace. It looked like an exception was thrown and then suddenly code was in ogles2.library.
Anyway, 1.3 is up and it contains debug symbols, hence the large binary size. Changes:
- Add iDate support.
- Add verbose logging.
- Fix: window pointer is now cleared when close gadget is used.
- Keep textures (iChannels) active when switching shaders.
Ps. tested iDate with this clock shader:
https://www.shadertoy.com/view/XddSRN
Re: Shaderjoy 1.3
Posted on:
2020/5/11 20:59
#98
Home away from home
Joined: 2007/9/11 12:31Last Login
: 11/19 7:43
From Russia
Group:
Registered Users
@Capehill
Seems that crash on exit gone. At least i can't reproduce it the same easy at moment as was with 1.2.
Also now can load firstly iChannel's textures and then shader and it works too as if i load firsly shader and then textures, cool !
And also iDate works indeed , i tested with that one and it works too (and looks good btw):
https://www.shadertoy.com/view/4lfSRM (ichannel0: lichen)
I sure you have enough to do already, but if you even will be at fullscreen implementation, can be nice to just "dbl-click" by mouse to swith to/from as well as alt+enter. Also for play/pause "space" button will be handy.
Will continue tests
Re: Shaderjoy 1.3
Posted on:
2020/5/12 7:21
#99
Home away from home
Joined: 2007/9/11 12:31Last Login
: 11/19 7:43
From Russia
Group:
Registered Users
@Capehill Is shadertoy's textureLod() translated to OpImageSampleExplicitLod() when passing to ogles2/nova ? Why i ask that i have quite a few compile errors for shadertoy's shaders saying "OpImageSampleExplicitLod instruction isn't implemented yet" , but code of shader have textureLod() call.
Currently Active Users Viewing This Thread:
4
(
0 members
and 4 Anonymous Users
)