Search found 212 matches

by kas1e
Sat Sep 24, 2022 8:38 am
Forum: Off-topic
Topic: OGLES2 without EGL through SDL help need it and questions
Replies: 6
Views: 2233

Re: OGLES2 without EGL through SDL help need it and questions

Btw, i think in OGLES2Driver.cpp we do have missing some check on return result when call glCreateShader() and glCompileShader(). For example for now i found some shaders which fail to compiles on our drivers due to bug in drivers, but, instead of "can't compile shader" we do have error mu...
by kas1e
Sat Sep 24, 2022 8:06 am
Forum: Off-topic
Topic: OGLES2 without EGL through SDL help need it and questions
Replies: 6
Views: 2233

Re: OGLES2 without EGL through SDL help need it and questions

I just use GL4ES for Irrlicht 1.8.4 port and want to try to get rid of GL4ES in favor of pure OGLES2 port of Irrlicht (to see if there will be speed differences, maybe with Irrlicht version i can get more speed)
by kas1e
Sat Sep 24, 2022 8:05 am
Forum: Bug reports
Topic: Irrlicht speed decrease since 1.8.4
Replies: 11
Views: 2132

Re: Irrlicht speed decrease since 1.8.4

For me situation is different, it's pretty always reproducable and stable to see difference (especially 09.meshviewer example, very stable in that terms, i do have 420 vs 220 FPS). Does not matter how offten i run/exit it. That the same happens for me on RadeonHD and RadeonRX cards.
by kas1e
Fri Sep 23, 2022 8:36 pm
Forum: Off-topic
Topic: OGLES2 without EGL through SDL help need it and questions
Replies: 6
Views: 2233

Re: OGLES2 without EGL through SDL help need it and questions

Ok, so .. It mean that OGLES2 in irrlicht is not OGLES2 special code, but emulator of fixed pipeline, just like in GL4ES: https://github.com/ptitSeb/gl4es But what about speed of this emulation ? Is it slower in compare with pure OpenGL on the same hardware ? I.e. on your test machines, the same exa...
by kas1e
Fri Sep 23, 2022 4:05 pm
Forum: Bug reports
Topic: Irrlicht speed decrease since 1.8.4
Replies: 11
Views: 2132

Re: Irrlicht speed decrease since 1.8.4

Checked other examples and found that also those examples to be 2 times slower in compare with 1.8.4 on SDL device at least: 1. 11.PerPixelLighting also 2 times slower. With 1.8.4 i have there 750 FPS in general, with current trunk i have just 350. 2. 12.TerrainRendering, with 1.8.4 : 1100 FPS, with...
by kas1e
Fri Sep 23, 2022 3:25 pm
Forum: Off-topic
Topic: OGLES2 without EGL through SDL help need it and questions
Replies: 6
Views: 2233

Re: OGLES2 without EGL through SDL help need it and questions

After some tests find out that some shaders fail to compiles on my side due to bugs and unimplemented features in our drivers. So question now is: can i somehow disable some shaders for tests, and still draw things via ogles2, or, whole OGLES2 in Irrlicht can only works with all shaders from the med...
by kas1e
Fri Sep 23, 2022 5:30 am
Forum: Bug reports
Topic: [fixed]current repo : issues with SDL in some examples
Replies: 3
Views: 1847

Re: current repo : issues with SDL in some examples

Yeah, can confirm that issues with mouse gone ! Thanks a lot!
by kas1e
Fri Sep 23, 2022 5:12 am
Forum: Bug reports
Topic: Irrlicht speed decrease since 1.8.4
Replies: 11
Views: 2132

Re: Irrlicht speed decrease since 1.8.4

Yea, that SDL device i use of course , as i don't have any other for the moment :) Check plz SDL one as well to compare how it between 1.8.4 and current trunk
by kas1e
Thu Sep 22, 2022 2:24 pm
Forum: Off-topic
Topic: OGLES2 without EGL through SDL help need it and questions
Replies: 6
Views: 2233

OGLES2 without EGL through SDL help need it and questions

@All I do have OS which do not have EGL, but do have OGLES2 and SDL1/2 , so to use OGLES2 driver i had to remove EGL support and use SDL1 one instead. So far, that what i do : 1). in the CirrDeviceSDL.cpp and in COGLES2Driver.cpp all parts with "IContextManager* contextManager" on just &qu...
by kas1e
Thu Sep 22, 2022 11:17 am
Forum: Off-topic
Topic: Fixing: libEGL warning: DRI2: failed to authenticate
Replies: 15
Views: 9913

Re: Fixing: libEGL warning: DRI2: failed to authenticate

Yeah, SDL create stuff for sure correctly, i even test it with debug version of SDL, it show that all goes well and as expected, just black screen mean that context creation/attaching/etc fail. We do have in our OGLES2 implementation this function : void aglMakeCurrent(void* context); The context yo...
by kas1e
Thu Sep 22, 2022 7:17 am
Forum: Bug reports
Topic: Irrlicht speed decrease since 1.8.4
Replies: 11
Views: 2132

Re: Irrlicht speed decrease since 1.8.4

Ok interesting, i will try then to find out when things start to be different, and maybe that will bring us a clue about
by kas1e
Thu Sep 22, 2022 6:36 am
Forum: Off-topic
Topic: Fixing: libEGL warning: DRI2: failed to authenticate
Replies: 15
Views: 9913

Re: Fixing: libEGL warning: DRI2: failed to authenticate

@CuteAlien Maybe give it a shot first with software driver. If that works Do you mean just run example and choose software mode ? If so, that of course works, as it go through sdl+software driver. It just when i use OGLES2 i an see anything.. Will try to play with SIrrlichtCreationParameters::Loggin...
by kas1e
Wed Sep 21, 2022 8:22 pm
Forum: Bug reports
Topic: Irrlicht speed decrease since 1.8.4
Replies: 11
Views: 2132

Re: Irrlicht speed decrease since 1.8.4

Did you checked exactly 09.MeshViewer, right ?
by kas1e
Wed Sep 21, 2022 8:17 pm
Forum: Off-topic
Topic: Fixing: libEGL warning: DRI2: failed to authenticate
Replies: 15
Views: 9913

Re: Fixing: libEGL warning: DRI2: failed to authenticate

Well i currently tried to just replace in the CirrDeviceSDL.cpp and in COGLES2Driver.cpp all parts with "IContextManager* contextManager" on just "CIrrDeviceSDL* device", and in CirrDeviceSDL.cpp, in the "createwindow()" do open our ogles2.library. So far all compiles f...
by kas1e
Wed Sep 21, 2022 6:11 pm
Forum: Off-topic
Topic: Fixing: libEGL warning: DRI2: failed to authenticate
Replies: 15
Views: 9913

Re: Fixing: libEGL warning: DRI2: failed to authenticate

Ok, find out what wrong with build OGLES2 with SDL : CIrrDeviceSDL.cpp: case video::EDT_OGLES2: #if defined(_IRR_COMPILE_WITH_OGLES2_) && defined(_IRR_EMSCRIPTEN_PLATFORM_) { video::SExposedVideoData data; ContextManager = new video::CEGLManager(); ContextManager->initialize(CreationParams, ...