Who's Online |
31 user(s) are online ( 13 user(s) are browsing Forums)
Members: 0
Guests: 31
more...
|
|
Headlines |
-
arabic_console_devicepro2.lha - driver/input
Aug 9, 2022
-
kittymusicraft.library.lha - development/library
Aug 8, 2022
-
amiarcadia.lha - emulation/gamesystem
Aug 8, 2022
-
amosextension.library.lha - library/misc
Aug 8, 2022
-
luettjebookholler.lha - office/misc
Aug 6, 2022
-
mce.lha - game/utility
Aug 5, 2022
-
ign-addon-ods.lha - office/spreadsheet
Aug 5, 2022
-
avalanche_deu.lha - utility/archive
Aug 4, 2022
-
mednafen.lha - emulation/gamesystem
Aug 3, 2022
-
avalanche.lha - utility/archive
Aug 3, 2022
|
|
|
|
Re: Shaderjoy 1.0
|
Posted on: 2020/5/4 6:28
#42
|
Home away from home 
Joined: 2007/1/26 21:48 Last Login
: 8/5 6:43
From New Zealand
Group:
Registered Users
|
@kas1e Quote: If takes 100% of all shaders, we can say that 60% of all shadertoy shaders want iChannel (so additional textures and stuff), then compilation failed are about 20%, then "need more SGRPS" about 10%, and other 10% works :) Sounds like ShaderToy/Joy shaders are a good way to test the limits of our shader compiler. Please submit bug tickets for the Warp3D Nova compilation failures. I wish we had a compiler expert who could help out with the shader compiler. The Linux drivers use LLVM, which is out of reach for us. And, writing compilers is an entire specialized field of its own. Hans
|
|
|
|
Re: Shaderjoy 1.0
|
Posted on: 2020/5/4 8:07
#43
|
Just popping in 
Joined: 2006/12/27 21:09 Last Login
: 5/22 20:37
Group:
Registered Users
|
@Hans Maybe this can shed some light to improve usage of SGPR registers: https://www.phoronix.com/scan.php?page ... rek-Even-Lower-SGPR-Usagei was thinking that it was due to some hardware limitations of my own graphics card,so i ignored it on my own tests.
|
|
|
|
Re: Shaderjoy 1.0
|
Posted on: 2020/5/4 12:21
#44
|
Quite a regular 
Joined: 2007/2/6 13:57 Last Login
: Yesterday 22:14
From Donostia (SPAIN)
Group:
Registered Users
|
@Capehill
Ok raising icon stack to 100 000 and changing "Start from" to WORKBENCH (was set SHELL) works without problem.
So maybe is the SHELL<->WORKBENCH tag in icon that gives the crash/GR.
Setting in icon SEHLL I get the crash/GR.
EDIT: is the mix of changing in icon stack 100 000 and Start from:WORKBENCH that makes Shaderjoy work on my system.
GREAT!!!!
|
|
|
|
Re: Shaderjoy 1.0
|
Posted on: 2020/5/4 12:26
#45
|
Just can't stay away 
Joined: 2007/7/14 21:30 Last Login
: 5/20 6:58
From Lothric
Group:
Registered Users
|
@jabirulo
Good. How much you have stack for Shell? I will add a stack cookie for the next version.
|
|
|
|
Re: Shaderjoy 1.0
|
Posted on: 2020/5/4 12:30
#46
|
Just can't stay away 
Joined: 2007/7/14 21:30 Last Login
: 5/20 6:58
From Lothric
Group:
Registered Users
|
@kas1e
Nice video, as usual!
iChannel support is absolutely on the TODO list.
|
|
|
|
Re: Shaderjoy 1.0
|
Posted on: 2020/5/4 12:37
#47
|
Quite a regular 
Joined: 2007/2/6 13:57 Last Login
: Yesterday 22:14
From Donostia (SPAIN)
Group:
Registered Users
|
@Capehill
100 000 bytes
Using RANGER tool I can see Shadertoy uses ~42KB, so maybe setting to 100 000 is enough AND setting "Start from:" WORKBENCH.
BTW I'm not using RAWBInfo commoditiy.
|
|
|
|
Re: Shaderjoy 1.0
|
Posted on: 2020/5/4 20:02
#48
|
Home away from home 
Joined: 2007/9/11 12:31 Last Login
: Yesterday 11:43
From Russia
Group:
Registered Users
|
@Hans Quote: Please submit bug tickets for the Warp3D Nova compilation failures.
Yep, i will do some more sorting so to make proper bug reports. But this ones happens pretty offten in the shaders which works: http://www.amiga.org/developer/bugreports/view.php?id=481@Capehill Quote: iChannel support is absolutely on the TODO list.
Btw, i see that sometime it not only textures, but also sound. Do you think it possible to add it as well (over AHI maybe, etc?), why i ask , its because some shaders are pure "demos" , with nice music/sounds and stuff :)
|
|
|
|
Re: Shaderjoy 1.0
|
Posted on: 2020/5/4 20:52
#49
|
Not too shy to talk 
Joined: 2007/1/10 21:56 Last Login
: Today 4:44
From Stockholm Sweden
Group:
Registered Users
|
@Capehill Thank you! Great app for start coding shaders and fast testing.
Edit: @Capehill @Ami603 @Daytona675x
Like Ami603 said - A live text editor would be killer! Smash your smart brains together for this one please!
Edited by khayoz on 2020/5/5 2:22:04
|
1989-> A500, A600, A3000, A4000, A1200, CD32, µA1, PegII, A1XE, CDTV, Amy/416D79, A1X5000, Vampire 500 V2+, Vampire 600 V2, Amy-ITX, Denise ITX <-2022
|
|
|
Re: Shaderjoy 1.0
|
Posted on: 2020/5/5 7:01
#50
|
Just can't stay away 
Joined: 2007/7/14 21:30 Last Login
: 5/20 6:58
From Lothric
Group:
Registered Users
|
@kas1e
Sound shaders are probably possible, by letting sound shader render to a texture which then becomes a sample buffer.
Then there are also mic input and network features...
|
|
|
|
Re: Shaderjoy 1.0
|
Posted on: 2020/5/5 7:25
#51
|
Home away from home 
Joined: 2007/9/11 12:31 Last Login
: Yesterday 11:43
From Russia
Group:
Registered Users
|
@Capehill Through probabaly mic and network almost none will use, but after testing for more than 700 shaders now, textures and sound surely pretty common. Btw, i do find a lot more shaders which produce noise we talk about on mantis, and it looks like that root cause will be surely the same. I also found interting shader which produce "half working + half noise" effects, which can help to strip things down, check that one: https://www.shadertoy.com/view/ltXSDBAlso after another few hours of shadertoy database testing, i can say that i didn't find any shader which crash (only one you report in mantis), also not that many fail to compile. Mostly non-working ones are limitations of our 102 SGRPs and 256 of VGRPs.
|
|
|
|
Re: Shaderjoy 1.0
|
Posted on: 2020/5/5 8:36
#52
|
Just can't stay away 
Joined: 2007/7/14 21:30 Last Login
: 5/20 6:58
From Lothric
Group:
Registered Users
|
@kas1e Quote: after testing for more than 700 shaders
Impressive! On my desktop PC, browsing Shadertoy is quite painful due to slowness and occasional WebGL crashes. Quote: didn't find any shader which crash (only one you report in mantis)
That's good news. Quote: Mostly non-working ones are limitations of our 102 SGRPs and 256 of VGRPs.
Yes, those seem pretty common. Have to admit that many Shadertoy shaders seem fairly complex.
|
|
|
|
Re: Shaderjoy 1.0
|
Posted on: 2020/5/6 7:29
#53
|
Home away from home 
Joined: 2009/7/7 4:34 Last Login
: Yesterday 4:47
From Man Cave, Canada
Group:
Registered Users
|
X1000, Radon HD 7950, 4GB, ogles2 2.11, Nova 1.70:
default (blue window): 1005
capehill/amigaa: 1006 capehill/bars: 1018 capehill/gear: 1000 capehill/helloh: 1021 capehill/helloh2: 1020 capehill/mandelbrot: 80 capehill/nuts: 1019 capehill/ripple: 1000
shadertoy/dueling_mandelbulbs: 615 shadertoy/foot_torus: 22 shadertoy/kissing_donuts: 24 shadertoy/sunset: 1014 shadertoy/yetanother_torus: 39
|
_______________________________ c64-dual sids, A1000, A1200-060@50, A4000-CSMKIII Indivision AGA & Catweasel MK4+= Amazing ! My Master Miggies-Amiga1000 & AmigaONE X1000 ! mancave-ramblings
|
|
|
Re: Shaderjoy 1.0
|
Posted on: 2020/5/6 9:47
#54
|
Just can't stay away 
Joined: 2008/4/10 14:57 Last Login
: Yesterday 21:24
From Northern Ireland
Group:
Registered Users
|
The range of user reported FPS with foot torus shader is larger than expected. Lower on X1000 and higher on RRX X5000 - 17 through to 54. What is contributing to this? RX drivers?
|
|
|
|
Re: Shaderjoy 1.0
|
Posted on: 2020/5/6 9:55
#55
|
Home away from home 
Joined: 2007/9/11 12:31 Last Login
: Yesterday 11:43
From Russia
Group:
Registered Users
|
@ddni Its just shader done like this. It is slow even on my modern PC , check it on your setup: https://www.shadertoy.com/view/4dKfDVI have from 45 to 52 fps with that one on 2 years old PC notebook with more or less modern graphics card. You can speed it up to changing in the shader itself at top "#define AA 4 " , to " #define AA 3". But on my RadeonRX it surely faster than on my RadeonHD (through i use latest beta of RadeonRX driver)
Edited by kas1e on 2020/5/6 10:17:20
|
|
|
|
Re: Shaderjoy 1.0
|
Posted on: 2020/5/6 10:49
#56
|
Just can't stay away 
Joined: 2008/4/10 14:57 Last Login
: Yesterday 21:24
From Northern Ireland
Group:
Registered Users
|
@kas1e
Thanks, on PC the browser makes a huge difference My Ryzen2600 Vega56 PC gets 3-4 fps using Chrome and 140 fps with firefox.
edit. Chrome wasn't using HW acceleration. It gives 140fps with that turned on.
Edited by ddni on 2020/5/6 11:54:10
|
|
|
|
Re: Shaderjoy 1.0
|
Posted on: 2020/5/6 11:02
#57
|
Home away from home 
Joined: 2007/9/11 12:31 Last Login
: Yesterday 11:43
From Russia
Group:
Registered Users
|
@Capehill Is "iResolution" are void in shaderjoy? Or it works already? Just interesting to know, maybe we had some issues because of that? Btw, how you think to detect when iChannel is texture, and when are sound? Are there some tags/describe bytes at the beginning of iChannel's code? Just in case you want to have something basic visually + working sound, there are 2 tasty shaders: https://www.shadertoy.com/view/XsX3zShttps://www.shadertoy.com/view/XdfGRHAlso sometimes I can see that sound coming in iChannel (like in those 2 examples above), but sometimes sound come as another piece of code (sound shader?:) ), like there: https://www.shadertoy.com/view/4sSSWzAlso, what I find a bit strange (but that not related to the ShaderJoy, it's related to all amigaos4 animation in the windows), that in the window we never have really fluid animation movement even if it shows 60 fps, while in fullscreen we have an exactly good look. While for example on the Win box, I can see in window modes the same fluid movement. On our side it always a bit jerky, even if it 60 fps and only real way to have it all looks as needed, to switch to full screen. Maybe that issue with all those Waitofs and co? @ddni Yep, even if on risen with all the stuff it give only 140 fps, it means that shader itself quite very heavy. But as no CPU should be involved, but only GPU, it means that we still have some issues with speed. And if there no DMA will help, then dunno what else.
Edited by kas1e on 2020/5/6 11:21:04
|
|
|
|
Re: Shaderjoy 1.0
|
Posted on: 2020/5/6 15:34
#58
|
Just can't stay away 
Joined: 2007/7/14 21:30 Last Login
: 5/20 6:58
From Lothric
Group:
Registered Users
|
@kas1e
iResolution should be working. Only open issue is that I don't know what the .z coordinate is supposed to be. IIRC I wrote 32 (bits) there. I haven't seen any shader to use iResolution.z though.
iChannel is always a texture when it's looked from a fragment shader perspective. It's sampler2D (could be samplerCube, too).
At first, I try to make texture channels working using image files. Then the procedural textures (multiple shaders).
|
|
|
|
Re: Shaderjoy 1.0
|
Posted on: 2020/5/6 19:22
#59
|
Home away from home 
Joined: 2007/9/11 12:31 Last Login
: Yesterday 11:43
From Russia
Group:
Registered Users
|
@Capehill Quote: iChannel is always a texture when it's looked from a fragment shader perspective. It's sampler2D (could be samplerCube, too).
But how code will known when iChannels "texture" are real texture, or a sound ? I mean, there should be some header-check or something on the header of data files ?
|
|
|
|
Re: Shaderjoy 1.0
|
Posted on: 2020/5/7 7:33
#60
|
Just can't stay away 
Joined: 2007/7/14 21:30 Last Login
: 5/20 6:58
From Lothric
Group:
Registered Users
|
@kas1e
Not sure how to implement it yet. One of the possibilities might be a project file (text, xml, json) which describes the channel usage and sources.
Or some file suffix, or a certain directory structure.
|
|
|
Currently Active Users Viewing This Thread:
2
(
0 members
and 2 Anonymous Users
)
|
|
|