TinyGL: FBO, Shaders and futur improvements
  • MorphOS Developer
    bigfoot
    Posts: 427 from 2003/4/11
    I think your screenshots are a bit out of order :) The screenshot that's supposed to be OSPDM3 seems to be from Short Circuit. Nonetheless, having quickly tried it on R200 (which is what I have set up for testing right now), I see that it's very likely using texture coord generation, which is probably why it look wrong on R300. Texture coord generation is one of the things that'll get fixed when project 1 of this bounty is done :)
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »06.08.22 - 13:38
    Profile Visit Website
  • MorphOS Developer
    bigfoot
    Posts: 427 from 2003/4/11
    Quote:

    Papiosaur wrote:
    @bigfoot : i have no pictures with OpenBOR games with new TinyGL drivers, work with old drivers. Any ideas please ?


    What graphics card are you testing on?
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »06.08.22 - 14:03
    Profile Visit Website
  • MorphOS Developer
    bigfoot
    Posts: 427 from 2003/4/11
    Quote:

    bigfoot wrote:
    I think your screenshots are a bit out of order :) The screenshot that's supposed to be OSPDM3 seems to be from Short Circuit. Nonetheless, having quickly tried it on R200 (which is what I have set up for testing right now), I see that it's very likely using texture coord generation, which is probably why it look wrong on R300. Texture coord generation is one of the things that'll get fixed when project 1 of this bounty is done :)


    Actually, I tried this on R300 too now, and it works there as well. Can I get you to try Short Circuit with a clean Quake 3 installation, just to make sure it's not due to some other mod/texture pack/whatever you've got installed?
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »06.08.22 - 14:27
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Papiosaur
    Posts: 1666 from 2003/4/10
    From: France
    Quote:

    bigfoot a écrit :
    Quote:

    Papiosaur wrote:
    @bigfoot : i have no pictures with OpenBOR games with new TinyGL drivers, work with old drivers. Any ideas please ?


    What graphics card are you testing on?


    X1950
  • »06.08.22 - 15:13
    Profile Visit Website
  • MorphOS Developer
    bigfoot
    Posts: 427 from 2003/4/11
    Quote:

    Papiosaur wrote:
    Quote:

    bigfoot a écrit :
    Quote:

    Papiosaur wrote:
    @bigfoot : i have no pictures with OpenBOR games with new TinyGL drivers, work with old drivers. Any ideas please ?


    What graphics card are you testing on?


    X1950


    Thank you :) Found the problem, it'll be fixed for the next beta release.
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »06.08.22 - 15:29
    Profile Visit Website
  • IKE
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    IKE
    Posts: 140 from 2009/11/7
    From: Southern CA
    I did a quick test of CowCat's dhewm3 with Resurrection of Evil expansion and already seeing improvements! Awesome work!

    This first video is without the TinyGL 8/5 update (note the disappearing pathway):

    https://m.youtube.com/watch?v=mEc-5ynpAu4

    This second video is with the TinyGL 8/5 update installed (I just have to get my timing correct to pass through this area now that I can actually see it!):

    https://m.youtube.com/watch?v=e9qujQFCG7Y&t=28s

    I didn't edit these videos so the debug info can be seen and to get a sense of the load time.
    IKE

    MacMini G4 1.5Ghz/PowerBook G4 1.67Ghz/PowerMac G5 2.0Ghz DP 7,2 Radeon 9650/256MB

    Join the conversation @ r/morphos
  • »06.08.22 - 19:02
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Cool_amigaN
    Posts: 703 from 2011/11/30
    @bigfoot

    Hmm, could it be that my upscalled HD texture set is causing the issue on Q3? lemme check and revert.

    In the meantime, have the same issue with Papi on OpenBor. I've read that you 'll fix it, however in the meantime I tried to revert back to previous Radeon tinygl without luck. I copied back from mosrphos 3./17 iso morphos/devs.monitors/radeon to mossys:devs/monitors/radeon, reboot, GraphicBoards utility reports correct version (I cross checked MD5 as well) but latest OpenBOR still fails. I even re-installed latest SDL2 libs and OpenBOR from morphos storage. Could it be that Tinygl beta installer, copies anything else somewhere in the system too?
    Amiga gaming Tribute: Watch, rate, comment :)
  • »06.08.22 - 21:41
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 538 from 2010/2/10
    From: FRANCE
    @Cool_amigaN

    Copy from MOS 3.17 :
    - MorphOS/libs/tinygl.library
    - MorphOS/libs/tinygl/r200.library
    - MorphOS/libs/tinygl/r300.library
    - MorphOS/devs/Monitors/Radeon
    IMac G5 2.1,PowerMac 2.7,PowerBook 1.5
    My MOS ports
  • »07.08.22 - 05:15
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    tolkien
    Posts: 464 from 2013/5/29
    Anyone tried Quake I and II? I get flat graphics (without textures) in my g5 with 9600p.
    MorphOS: PowerMac G5 - PowerBook G4 - MacMini.
    Classic: Amiga 1200/060 - A500 PiStorm
  • »07.08.22 - 06:54
    Profile
  • MorphOS Developer
    bigfoot
    Posts: 427 from 2003/4/11
    Quote:

    tolkien wrote:
    Anyone tried Quake I and II? I get flat graphics (without textures) in my g5 with 9600p.



    Very likely due to the same issue as OpenBOR.

    I'll get a new proper beta release with bugfixes out next week, but until then, I've uploaded an updated tinygl.library to manually install in mossys:libs/ for those who want this particular fix right away.
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »07.08.22 - 11:41
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    tolkien
    Posts: 464 from 2013/5/29
    Effectively, with this new version all looks correctly! Thanks!
    MorphOS: PowerMac G5 - PowerBook G4 - MacMini.
    Classic: Amiga 1200/060 - A500 PiStorm
  • »07.08.22 - 12:13
    Profile
  • Jim
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Jim
    Posts: 4967 from 2009/1/28
    From: Delaware, USA
    Very cool, Mark. Nice to see this development.
    "Never attribute to malice what can more readily explained by incompetence"
  • »16.08.22 - 19:25
    Profile
  • MorphOS Developer
    bigfoot
    Posts: 427 from 2003/4/11
    Hi everyone!

    Next update is being released some time this week. It'll contain the first iteration of OpenGL shader support for R300 and R400 based Radeons, with R500 support to follow in a later update. I've also fixed a bunch of bugs in both TinyGL itself and the drivers, as well as added cube map support for R300, R400 and R500.
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »30.08.22 - 12:24
    Profile Visit Website
  • Butterfly
    Butterfly
    Posts: 72 from 2020/12/24
    Good !

    Now, for those waiting to kill possessed humans in Mars, be patient as most likely it would need new SDL2 library tailored for new tinygl, the bugs that would show up, etc.

    Also other programs most likely would need some changes, as I experienced recently with sm64. It all depends of the direction libraries take: Old tinygl vs new in combination with SDL2.
  • »30.08.22 - 13:42
    Profile
  • IKE
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    IKE
    Posts: 140 from 2009/11/7
    From: Southern CA
    Thanks for the update CowCat! Looking forward to it!
    IKE

    MacMini G4 1.5Ghz/PowerBook G4 1.67Ghz/PowerMac G5 2.0Ghz DP 7,2 Radeon 9650/256MB

    Join the conversation @ r/morphos
  • »31.08.22 - 00:10
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    tolkien
    Posts: 464 from 2013/5/29
    Great news! MorphOS team is onfire!
    MorphOS: PowerMac G5 - PowerBook G4 - MacMini.
    Classic: Amiga 1200/060 - A500 PiStorm
  • »01.09.22 - 17:09
    Profile
  • MorphOS Developer
    bigfoot
    Posts: 427 from 2003/4/11
    The second beta version of the TinyGL update is finally here! :)

    TinyGL update 2022-09-04 download link.
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »04.09.22 - 20:52
    Profile Visit Website
  • IKE
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    IKE
    Posts: 140 from 2009/11/7
    From: Southern CA
    Excellent! Here's to hoping it corrects the reversed images when using the the artifact at the green-blue light balls in RoE level 3! I'm stuck there! Thanks Bigfoot!
    IKE

    MacMini G4 1.5Ghz/PowerBook G4 1.67Ghz/PowerMac G5 2.0Ghz DP 7,2 Radeon 9650/256MB

    Join the conversation @ r/morphos
  • »04.09.22 - 21:34
    Profile Visit Website
  • Caterpillar
    Caterpillar
    Alexco
    Posts: 29 from 2015/5/16
    I just tried the latest release with my Radeon9800 Pro. In the sample folder, the "bump mapping" example does not work for me, the window stays grey.

    But I also noticed that you replace the Radeon driver. Since MorphOS 3.8 I have the problem, that dragging windows will start to produce more and more CPU load and after a while the "LayerInfo Task" stays at 50-70%, making the system unusable.
    Sometimes even, if windows start to overlap, the machine locks up. The only solution so far was/is to revert to the Radeon driver from 3.7.
    I already had a long email discussion with Frank about that, but so far no solution in sight.

    So I doubt if my testing result will bring you any good insights.
  • »05.09.22 - 08:01
    Profile
  • Butterfly
    Butterfly
    Posts: 72 from 2020/12/24
    Seems like now D3 works again for R200 but it shows that cubemap fails doing his stuff there: A weird texture in pink/white for skymaps. Same for soldier googles or ship window in first stage game.

    I recompiled UAC anyways against SDL2 2.24.0 and new TGL SDK: For those with R300+,"r_renderer ARB2" option is needed for testing new shader features.
  • »05.09.22 - 10:00
    Profile
  • IKE
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    IKE
    Posts: 140 from 2009/11/7
    From: Southern CA
    Thanks Cowcat!
    IKE

    MacMini G4 1.5Ghz/PowerBook G4 1.67Ghz/PowerMac G5 2.0Ghz DP 7,2 Radeon 9650/256MB

    Join the conversation @ r/morphos
  • »05.09.22 - 10:44
    Profile Visit Website