Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
305 user(s) are online (110 user(s) are browsing Forums)

Members: 1
Guests: 304

MichaelMerkel, more...

Support us!

Headlines

 
  Register To Post  

(1) 2 »
Anonymous
WARNING: Error: Invalid window!
Where does this come from and why?

It's coming from the program itself and due to the rather limited information i can't tell what the poroblem is?

Is it OpenGL, SDL or the system?

Happens when i try to start one of my porting projects

Go to top
Re: WARNING: Error: Invalid window!
Just can't stay away
Just can't stay away


See User information
@Raziel

SDL2 library has this string. SDL1 and MiniGL don't seem to have.

Some SDL call probably failed, and log was printed using SDL_GetError().

Go to top
Anonymous
Re: WARNING: Error: Invalid window!
@Capehill

Great, can i do something about it?
Any more debug output possible?

The program doesn't start anymore

This is from the serial...what the heck does that mean "Invalid OpenGL version"???

[_OS4_INIT] IExec 0x02973054
[OS4_CreateDevice] *** SDL 2.0.7 video initialization starts ***
[
OS4_AllocSystemResources] Called
[OS4_OpenLibraries] Opening libraries
[OS4_OpenLibrary] Opening 'graphics.library' version 54 succeeded (address 0x6FFB8420)
[
OS4_OpenLibrary] Opening 'layers.library' version 53 succeeded (address 0x6FFFE4F0)
[
OS4_OpenLibrary] Opening 'intuition.library' version 51 succeeded (address 0x6FF464D0)
[
OS4_OpenLibrary] Opening 'icon.library' version 51 succeeded (address 0x62CC38CC)
[
OS4_OpenLibrary] Opening 'workbench.library' version 51 succeeded (address 0x6FEF9C4C)
[
OS4_OpenLibrary] Opening 'keymap.library' version 51 succeeded (address 0x6FF622C0)
[
OS4_OpenLibrary] Opening 'textclip.library' version 51 succeeded (address 0x6FC4866C)
[
OS4_GetInterface] Getting interface for libbase 0x6FFB8420 succeeded (address 0x6FF3C000)
[
OS4_GetInterface] Getting interface for libbase 0x6FFFE4F0 succeeded (address 0x6FF63140)
[
OS4_GetInterface] Getting interface for libbase 0x6FF464D0 succeeded (address 0x6FFFF800)
[
OS4_GetInterface] Getting interface for libbase 0x62CC38CC succeeded (address 0x630127A0)
[
OS4_GetInterface] Getting interface for libbase 0x6FEF9C4C succeeded (address 0x63012E30)
[
OS4_GetInterface] Getting interface for libbase 0x6FF622C0 succeeded (address 0x6FF8F500)
[
OS4_GetInterface] Getting interface for libbase 0x6FC4866C succeeded (address 0x6FEF1C70)
[
OS4_OpenLibraries] All library interfaces OK
[OS4_GetInterface] Getting interface for libbase 0x6FF6250C succeeded (address 0x6FEAD3D0)
[
OS4_VideoInit] Called
[OS4_InitModes] Called
[OS4_GetDisplayMode] RTG mode 1343296256: w=2560, h=1440, bits=24
[OS4_CreateDefaultCursor] Called
[OS4_CreateHiddenCursor] Called
[OS4_CreateCursor] Called 0x4A647060 0 0
[OS4_GetDoubleClickTimeInMillis] Doubleclick time 1500 ms
[OS4_ShowCursor] Hiding cursor
[OS4_OpenAhiDevice] ahi.device opened
[OS4_OpenAhiDevice] IO requests created
[OS4_OpenAhiDevice] deviceOpen = 1
[OS4_CloseAhiDevice] Closing device
[OS4_CloseAhiDevice] Freeing I/O requests
[OS4_CloseAhiDevice] Deleting message port
[OS4_CloseAhiDevice] Device closed
[OS4_AudioAvailable] AHI is available
[OS4_OpenDevice] handle 0x00000000, devname (null), iscapture 0
[OS4_OpenDevice] New format = 0x9010
[OS4_OpenDevice] Buffer size = 4096
[OS4_ThreadInit] Called
[OS4_OpenAhiDevice] ahi.device opened
[OS4_OpenAhiDevice] IO requests created
[OS4_OpenAhiDevice] deviceOpen = 1
[OS4_LoadGlLibrary] Profile_mask 2, major ver 2, minor ver 1
[OS4_LoadGlLibrary] Invalid OpenGL version
[OS4_GL_UnloadLibrary] Called 0
[OS4_LoadGlLibrary] Profile_mask 2, major ver 2, minor ver 1
[OS4_LoadGlLibrary] Invalid OpenGL version
[OS4_GL_UnloadLibrary] Called 0
[OS4_LoadGlLibrary] Profile_mask 2, major ver 2, minor ver 1
[OS4_LoadGlLibrary] Invalid OpenGL version
[OS4_GL_UnloadLibrary] Called 0
[OS4_LoadGlLibrary] Profile_mask 2, major ver 2, minor ver 1
[OS4_LoadGlLibrary] Invalid OpenGL version
[OS4_GL_UnloadLibrary] Called 0
[OS4_LoadGlLibrary] Profile_mask 2, major ver 2, minor ver 1
[OS4_LoadGlLibrary] Invalid OpenGL version
[OS4_GL_UnloadLibrary] Called 0
[OS4_LoadGlLibrary] Profile_mask 2, major ver 2, minor ver 1
[OS4_LoadGlLibrary] Invalid OpenGL version
[OS4_GL_UnloadLibrary] Called 0
[OS4_CloseDevice] Called
[OS4_CloseAhiDevice] Aborting I/O...
[
OS4_CloseAhiDevice] Closing device
[OS4_CloseAhiDevice] Freeing I/O requests
[OS4_CloseAhiDevice] Deleting message port
[OS4_CloseAhiDevice] Device closed
[OS4_FreeCursor] Called 0x4A647038
[OS4_VideoQuit] Called
[OS4_QuitModes] Called
[OS4_FreeCursor] Called 0x4A647140
[OS4_DeleteDevice] Called
[OS4_FreeSystemResources] Called
[OS4_DropInterface] Dropping interface 0x6FEAD3D0
[OS4_FreeSystemResources] Deleting input.device
[OS4_FreeSystemResources] Deleting IORequest
[OS4_FreeSystemResources] Deleting MsgPort
[OS4_CloseLibraries] Closing libraries
[OS4_DropInterface] Dropping interface 0x6FEF1C70
[OS4_DropInterface] Dropping interface 0x6FF8F500
[OS4_DropInterface] Dropping interface 0x63012E30
[OS4_DropInterface] Dropping interface 0x630127A0
[OS4_DropInterface] Dropping interface 0x6FFFF800
[OS4_DropInterface] Dropping interface 0x6FF63140
[OS4_DropInterface] Dropping interface 0x6FF3C000
[OS4_CloseLibrary] Closing library 0x6FC4866C
[OS4_CloseLibrary] Closing library 0x6FF622C0
[OS4_CloseLibrary] Closing library 0x6FEF9C4C
[OS4_CloseLibrary] Closing library 0x62CC38CC
[OS4_CloseLibrary] Closing library 0x6FF464D0
[OS4_CloseLibrary] Closing library 0x6FFFE4F0
[OS4_CloseLibrary] Closing library 0x6FFB8420


Edited by Raziel on 2018/5/6 15:45:54
Go to top
Re: WARNING: Error: Invalid window!
Just can't stay away
Just can't stay away


See User information
@Raziel

MiniGL OpenGL version is close to 1.3 so 2.1 doesn't work. Is application requesting explicitly for 2.1? It depends now which OpenGL features it's needing.

Can you link some code?

Go to top
Anonymous
Re: WARNING: Error: Invalid window!
@Capehill

residualvm from here

I didn't know they changed the dependencies :-/

Go to top
Re: WARNING: Error: Invalid window!
Just can't stay away
Just can't stay away


See User information
@Raziel

OK, I see: https://github.com/residualvm/residual ... englsdl-graphics.cpp#L281

Try replacing "2" and "1" with "1" and "3" and test what happens. If it works, you need to add #ifdef __amigaos4__ and work around it for now. Or try OGLES2..

Go to top
Anonymous
Re: WARNING: Error: Invalid window!
@Capehill

Will try, thanks for getting back to me and sorry for the delay...work is trying to kill me

I will try your fix, thank you

Where do i get OGLES2?

Go to top
Re: WARNING: Error: Invalid window!
Home away from home
Home away from home


See User information
@Raziel

Funny you should ask, I was wondering the same thing, trying to test Warp3DNova with Spencer Trail demo.

I think maybe its on "Daniel Müßener" Daytona webpage, but what is the URL?

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: WARNING: Error: Invalid window!
Home away from home
Home away from home


See User information
@Raziel

You need to run AmiSpahere "Updater" from Sys:system.
AmiUpdate is only for AmigaOS4.x. not A-EON stuff.


Edited by LiveForIt on 2018/5/17 13:39:26
(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Anonymous
Re: WARNING: Error: Invalid window!
@LiveForIt

There is no OGLES2 to be bought from them.

If it's part from Enhancer i have that, so OGLES2 doesn't fix the issue

Go to top
Re: WARNING: Error: Invalid window!
Home away from home
Home away from home


See User information
@Raziel

I guess you sign up as beta tester.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Anonymous
Re: WARNING: Error: Invalid window!
@Capehill

Is it possible to enhance the error message from SDL2?

Maybe something like "SDL2-WARNING: Error: Invalid Window"?

Go to top
Re: WARNING: Error: Invalid window!
Just can't stay away
Just can't stay away


See User information
@Raziel

Only the "Invalid window!" part comes from SDL2. In this case ResidualVM should be improved. I'm guessing it's logged here:

https://github.com/residualvm/residual ... englsdl-graphics.cpp#L176

Go to top
Anonymous
Re: WARNING: Error: Invalid window!
@Capehill

Thank you

Go to top
Re: WARNING: Error: Invalid window!
Just can't stay away
Just can't stay away


See User information
@Raziel

Regarding OGLES2 SDK, please try asking Daniel M. I don't know what is the distribution policy.

Go to top
Anonymous
Re: WARNING: Error: Invalid window!
@Capehill

If AmigaKit is involved, the policy would be "milk the suckers before they notice".

Also, there wouldn't be much gain for me if i had the SDK but couldn't test it due to missing drivers.

But thank you for the hint

Go to top
Re: WARNING: Error: Invalid window!
Just can't stay away
Just can't stay away


See User information
@Raziel

Well, we are in the same boat regarding OGLES2 testing. But in theory, SDL2 port supports it.

Go to top
Anonymous
Re: WARNING: Error: Invalid window!
@Capehill

Ah well, the project is moving away anyway, too much new dependencies like shaders and probably more.

I only hope ScummVM won't jumpt the train too soon or there won't be any updates anymore (at least from me)

Go to top
Anonymous
Re: WARNING: Error: Invalid window!
@Capehill

Changing the numbers where you pointed me to didn't help btw, seems to be more in there which breaks it

Go to top
Re: WARNING: Error: Invalid window!
Just can't stay away
Just can't stay away


See User information
@Raziel

Try setting profile mask to 0, too. Check this for reference:

https://github.com/AmigaPorts/SDL/blob ... gaos4/SDL_os4video.c#L334

Go to top

  Register To Post
(1) 2 »

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project