Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
45 user(s) are online (38 user(s) are browsing Forums)

Members: 1
Guests: 44

Raziel, more...
Support us!
Recent OS4 Files
OS4Depot.net



« 1 ... 33 34 35 (36)


Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5468
@Daniel
Some good and bad news on crash front about FBO in supertuxkart:

That broken look of cars when we use LIBGL_RECYCLEFBO env was indeed because of gl4es, but then, once ptitSeb fix it, and it start to show cars correcly, it start now crashes the same as without LIBGL_RECYCLEFBO ! Damn :( With the same:

[error] Irrlicht: FBO has one or serveral incomplete image attachements
[error] Irrlicht: FBO error

So the bad news that we didn't find roots of crash, and the good news, that it some general issue, which is NOT fixed by usage of LIBGL_RECYCLEFBO, and roots of crash somewhere else and more general just than regrouping/reusing fbos..


_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Not too shy to talk
Joined:
2015/6/11 8:51
From Cologne
Posts: 279
@kas1e
Then I'll have to inspect it in depth to find the cause and whether it's related to ogles2 or Nova or whatever. Please prepare a nice package for me and upload that to my FTP server, as usual Also, if you have fresh trace-logs with the latest glsnoop, hand'em over please!

_________________
[Facebook] [YouTube Channel]
   Report Go to top

Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5468
@Daniel
All done !

game:
reports_here/supertuxkart.lha

full trace/profile from start to crash:
reports_here/supertuxkart_tracelog.txt

Through to note : when you start it, it will take about 100 seconds to load till menu (loading screen will appears with some progress, but still).

I hope to reduce loading speed if possible somehow (in snoopy log i can see lots of GetFilePosition/ChangeFilePosition , which probabaly mean fseek() / ftell() / etc, which are that slow on our side by some reassons). Not so matter now anyway, just saying so you know how it should be for now.

So just unpack, run, wait 100 seconds, then choice "single player" , and try to move mouse cursor over cars. It can crash immediately, or after 2-3 cars (random luck).

Sometime, in very rare cases, you are able to choice car and start play, but it just 1:5 times.

After ptitSeb fix rendering with LIBGL_RECYCLEFBO and we start to have same crashes as without that environment, ptitSeb bring idea that maybe FBO needs some pause to be dealt with, and as test we do flush of all GL operation before attaching a texture to the FBO : but that sadly didn't help and crash still here (but that probabaly also reduce a bit route to search on our side ?)

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5468
@Daniel
Oh, found i way how to make for you faster loading , without needs to wait 100 seconds (by faster i mean 10-15 seconds instead of 100) : just remove directories "data/karts/konqi" and "data/karts/sara". First one use 19mb .b3d file, and second one 8mb .b3d file, and seems that our realisation of ftell() in newlib, suck some amiga1200, and very slow. At least in the snoopy log i can see a loooot of those GetFilePosition()/ChangeFilePosition() calls, which probabaly mean newlib's ftell().

In other words, remove those 2 directories, and loading will be 10-15 seconds, very good for tests.

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5468
@Daniel
Hate to bring your attention back to some old bug (probabaly), but i think we didn't fix fully issue with which we fight times back in Lugaru and which you fix in 2019-03-30 called "one of the 32bit-step-hashers had a problem with small data-packets".

So while Lugaru is correct now, i firstly found the same (i hope its the same) issue in one place of new SuperTuxKart. I didn't take an attention to that at first, as it happens vere rare, so i think at first that maybe something with STK's code.

But then, today i notice very clear that issue in the RTCW-Reboorn too, so seems that issue indeed there. I also very carefull check STK and yeah, it have the same issue too.

See screenshots (all taken from ogles 2.10 (09/19/2019) , press open in new tab for fullsize):

1. RTCW-Reboorn (see sky in the middle, remind issue in Lugaru skybox we had before):

Resized Image

Resized Image

2. SuperTuxKart (see vertical line in the middle of sky on all screenshots):

Resized Image

Resized Image

Resized Image


Should to note, that broken geometry not visibly very well as it was when we fight with Lugaru's sky-box issues when it was all the time right in the face. Now it happens very rare, but still happens as can be seen.


Edited by kas1e on 2019/10/7 13:37:14
_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Not too shy to talk
Joined:
2015/6/11 8:51
From Cologne
Posts: 279
@kas1e
Regarding the FBO issue: I found that the respective FBO becomes "incomplete". However, the parameters seem to be correct, I still didn't find out what's causing this.

Regarding the skybox issue you just brought up:
from the screenshots it looks as if there were two different issues. Two of the Tuxkart screenshots look like the hash problem reappearing indeed. However, to me the other skyboxes seem to be correct regarding the geometry (the clouds' edges seem to match) but only the coloring seems to be wrong. But this can be coincidence as well.
I've put a test-lib on my ftp for you, please check out if that makes the problems disappear.

_________________
[Facebook] [YouTube Channel]
   Report Go to top

Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5468
@Daniel
Oh i was too fast ! I tested that version of supertuxkart on win32, and that vertical line is here ! Check this out:

Resized Image

So at least with STK, its or problems in STK itself, or, what very unlucky, and in win32 and in our opengl driver, which is imho unpossible :) So imho that STK. But i anyway test it with no-hash version of library, and issue still here as expected. So imho that one we can no worry about, as if it on win32 too, then..


As with RTCW-Reboorn : tested no-hash version of library with that game as well, and bug still there too.

But now, after STK one was in the STK itself (i think it very unlucky that its win32 drivers too), i start to fear that maybe issue with RTCW-Reboorn also the game's code too..

Will try to setup win32 version of Reboorn, to see how it there.

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5468
@Daniel
Well, that was another unexpected (or expected :) ) thing, but RTCW Reboorn bug is also not on our side, but also on win32 ! I.e. that the game's code bug as with SuperTuxKart, see:

Resized Image

And that not all. Remember those issues with "Dots on the wall" sometimes ? There is win32 version of it:

Resized Image

Resized Image

And that not all ! Remember issue with "blink triangles overwrite each others in some place" ? There is win32 version of it too:

Resized Image

Damny crap it mean ALL those issues in RTCW-Reboorn are games code issues, and not our ones !

And that is good news : our drivers are fine in that terms :)

I also subscribe to those guys who make this Reboorn, they release privately some patches from time to time, will see if / when they fix all those issues , and probabaly after Huno can build new version of it.

But anyway, how relief is it : all bugs in RTCW Reboorn is not our faults

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: GL4ES: another OpenGL over OpenGLES2 emulation - some tech. info and porting progress
Not too shy to talk
Joined:
2015/6/11 8:51
From Cologne
Posts: 279
@kas1e
(leaning back, putting feet up) Wow, that's fantastic news - at least for us Once more: thanks for all that (re-)testing!

_________________
[Facebook] [YouTube Channel]
   Report Go to top


« 1 ... 33 34 35 (36)



[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project