Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
85 user(s) are online (70 user(s) are browsing Forums)

Members: 0
Guests: 85

more...

Support us!

Headlines

 
  Register To Post  

OS41FE: The Crisot demo "Three" bug (=the stripe bug again)
Not too shy to talk
Not too shy to talk


See User information
Hello

The demo from Crisot "Three" has been reported to not work properly on OS41FE
http://forum.hyperion-entertainment.b ... 31646&hilit=crisot#p31646
So I give it try on my Sam4440/M9

test1:
mpega.library fail so no sound
All looks ok . The bump-mapping effect works too . the only problem is that ceilling and floor walls (=textures) are fully trashed

test2:
Ditto. But this time all the walls are ok but this time the blue "particles" are trashed. I mean this tex seems to be here (loaded) as we can see the blue "plots" but trashed with little vertical lines like something wrote in (trashed) the GPU memory

test3:
Using Wazp3D
All works even sound (I mean what is emulated so not the bumpmapping,zbuffer,etc...) so the problem dont come from a load file,load data, load datatype problems as all textures/walls/particles are ok

Conclusion: All looks like something is trashing randomly one texture in the GPU memory

Alain Thellier



Go to top
Re: OS41FE: The Crisot demo "Three" bug (=the stripe bug again)
Not too shy to talk
Not too shy to talk


See User information
After reflexion : I am not sure that the texture is only partially trashed
I mean as the demo use multi-texturing perhaps the diffuse-texture is ok and only the bump-texture is trashed or lost

I mean seeing some details on the walls dont mean that a texture is not fully lost or not readed : the details may come from the "other" texture

Also doing Amiga-M to swap screens change where the "stripes" bug occurs

Alain Thellier

Edit: I mean it may be a "lost texture pointer" bug too

Go to top
Re: OS41FE: The Crisot demo "Three" bug (=the stripe bug again)
Home away from home
Home away from home


See User information
@thellier

They changed byteperrow alignment, I head some trashing in Excalibur as well, because I got a few extra bytes at right side of my Bitmaps, this also effects BMA_Width, I head to switch to BMA_ACTUALWIDTH, in my code to work like it used to, I think this was is what's causing the problems.

BMA_Width returns a padded width with extra pixels, while BMA_ACTUALWIDTH returns the number of pixels you allocated when creating the bitmap.

P96BMA_BYTESPERROW is broken, do not use it, lock the bitmap and get BytesPerRow from RenderInfo struct.

Tring to calculate bytes per row your self is just wrong, always get bytes per row from a bitmap lock, if you need it.

If the demo/games/programs do not blank out padded bytes, you can get parasitic pixels, when using composition.


Edited by LiveForIt on 2015/2/6 14:10:15
(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: OS41FE: The Crisot demo "Three" bug (=the stripe bug again)
Home away from home
Home away from home


See User information
@LiveForIt

Quote:
They changed byteperrow alignment, I head some trashing in Excalibur as well, because I got a few extra bytes at right side of my Bitmaps, this also effects BMA_Width, I head to switch to BMA_ACTUALWIDTH, in my code to work like it used to, I think this was is what's causing the problems.

Only the bytesperrow alignment of bitmaps allocated in RAM changed to facilitate faster DMA transfers. The bytesperrow alignment of bitmaps in VRAM haven't changed at all, because the GPU sets that requirement. Likewise, BMA_Width returns what it always has (i.e., the padded width).

Hans

Join Kea Campus' Amiga Corner and support Amiga content creation
https://keasigmadelta.com/ - see more of my work
Go to top
Re: OS41FE: The Crisot demo "Three" bug (=the stripe bug again)
Home away from home
Home away from home


See User information
@Hans

Quote:
Likewise, BMA_Width returns what it always has (i.e., the padded width).


Yes, but I head to change my code, so I guess the same problems might show up in others code, maybe I was just lucky before with padding used then vs how it's now.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: OS41FE: The Crisot demo "Three" bug (=the stripe bug again)
Home away from home
Home away from home


See User information
@LiveForIt

It's more likely that the problems that thellier describes are Warp3D issues, especially a driver problem. He gets the trouble with real Warp3D, and not Wazp3D. Also, Warp3D textures aren't regular bitmaps at all.

@thellier
Perhaps you could try rolling back just the R200 Warp3D driver, to see if that's the culprit. Remember to reboot before testing, or it'll use the one already loaded in memory. If that doesn't work, then the "Picasso96" driver and Warp3D.library are also candidates worth looking into.

Hans


Join Kea Campus' Amiga Corner and support Amiga content creation
https://keasigmadelta.com/ - see more of my work
Go to top
Re: OS41FE: The Crisot demo "Three" bug (=the stripe bug again)
Not too shy to talk
Not too shy to talk


See User information
@all
Thanks for your help

I will investigate more this week

Alain Thellier

Go to top
Re: OS41FE: The Crisot demo "Three" bug (=the stripe bug again)
Not too shy to talk
Not too shy to talk


See User information
@Hans

Using the old libs:Warp3D/HWdrivers and it works again. No need to change other things in the OS41FE install

If Sam440 use the r200 driver then it is:
W3D_R200.library 253572 1/1/2013 = works
W3D_R200.library 230256 8/10/2014 = bug

Alain Thellier

Go to top
Re: OS41FE: The Crisot demo "Three" bug (=the stripe bug again)
Home away from home
Home away from home


See User information
@thellier

Thanks. So it's a driver bug. I've asked beta-testers to check it out, so that the bug gets logged.

Hans

Join Kea Campus' Amiga Corner and support Amiga content creation
https://keasigmadelta.com/ - see more of my work
Go to top
Re: OS41FE: The Crisot demo "Three" bug (=the stripe bug again)
Not too shy to talk
Not too shy to talk


See User information
>mpega.library fail so no sound
Oupps was just missing mpega.library in OS41FE's LIBS:

So the sound works
But the driver bug remain

Alain

Go to top
Re: OS41FE: The Crisot demo "Three" bug (=the stripe bug again)
Just can't stay away
Just can't stay away


See User information
@thellier and Hans
Reported.

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project