Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
141 user(s) are online (125 user(s) are browsing Forums)

Members: 0
Guests: 141

more...

Support us!

Headlines

 
  Register To Post  

(1) 2 »
WARNING: Error: Invalid window!
Home away from home
Home away from home


See User information
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
Re: WARNING: Error: Invalid window!
Home away from home
Home away from home


See User information
@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_INITIExec 0x02973054
[OS4_CreateDevice] *** SDL 2.0.7 video initialization starts ***
[
OS4_AllocSystemResourcesCalled
[OS4_OpenLibrariesOpening libraries
[OS4_OpenLibraryOpening 'graphics.library' version 54 succeeded (address 0x6FFB8420)
[
OS4_OpenLibraryOpening 'layers.library' version 53 succeeded (address 0x6FFFE4F0)
[
OS4_OpenLibraryOpening 'intuition.library' version 51 succeeded (address 0x6FF464D0)
[
OS4_OpenLibraryOpening 'icon.library' version 51 succeeded (address 0x62CC38CC)
[
OS4_OpenLibraryOpening 'workbench.library' version 51 succeeded (address 0x6FEF9C4C)
[
OS4_OpenLibraryOpening 'keymap.library' version 51 succeeded (address 0x6FF622C0)
[
OS4_OpenLibraryOpening 'textclip.library' version 51 succeeded (address 0x6FC4866C)
[
OS4_GetInterfaceGetting interface for libbase 0x6FFB8420 succeeded (address 0x6FF3C000)
[
OS4_GetInterfaceGetting interface for libbase 0x6FFFE4F0 succeeded (address 0x6FF63140)
[
OS4_GetInterfaceGetting interface for libbase 0x6FF464D0 succeeded (address 0x6FFFF800)
[
OS4_GetInterfaceGetting interface for libbase 0x62CC38CC succeeded (address 0x630127A0)
[
OS4_GetInterfaceGetting interface for libbase 0x6FEF9C4C succeeded (address 0x63012E30)
[
OS4_GetInterfaceGetting interface for libbase 0x6FF622C0 succeeded (address 0x6FF8F500)
[
OS4_GetInterfaceGetting interface for libbase 0x6FC4866C succeeded (address 0x6FEF1C70)
[
OS4_OpenLibrariesAll library interfaces OK
[OS4_GetInterfaceGetting interface for libbase 0x6FF6250C succeeded (address 0x6FEAD3D0)
[
OS4_VideoInitCalled
[OS4_InitModesCalled
[OS4_GetDisplayModeRTG mode 1343296256w=2560h=1440bits=24
[OS4_CreateDefaultCursorCalled
[OS4_CreateHiddenCursorCalled
[OS4_CreateCursorCalled 0x4A647060 0 0
[OS4_GetDoubleClickTimeInMillisDoubleclick time 1500 ms
[OS4_ShowCursorHiding cursor
[OS4_OpenAhiDeviceahi.device opened
[OS4_OpenAhiDeviceIO requests created
[OS4_OpenAhiDevicedeviceOpen 1
[OS4_CloseAhiDeviceClosing device
[OS4_CloseAhiDeviceFreeing I/O requests
[OS4_CloseAhiDeviceDeleting message port
[OS4_CloseAhiDeviceDevice closed
[OS4_AudioAvailableAHI is available
[OS4_OpenDevicehandle 0x00000000devname (null), iscapture 0
[OS4_OpenDevice] New format 0x9010
[OS4_OpenDeviceBuffer size 4096
[OS4_ThreadInitCalled
[OS4_OpenAhiDeviceahi.device opened
[OS4_OpenAhiDeviceIO requests created
[OS4_OpenAhiDevicedeviceOpen 1
[OS4_LoadGlLibraryProfile_mask 2major ver 2minor ver 1
[OS4_LoadGlLibraryInvalid OpenGL version
[OS4_GL_UnloadLibraryCalled 0
[OS4_LoadGlLibraryProfile_mask 2major ver 2minor ver 1
[OS4_LoadGlLibraryInvalid OpenGL version
[OS4_GL_UnloadLibraryCalled 0
[OS4_LoadGlLibraryProfile_mask 2major ver 2minor ver 1
[OS4_LoadGlLibraryInvalid OpenGL version
[OS4_GL_UnloadLibraryCalled 0
[OS4_LoadGlLibraryProfile_mask 2major ver 2minor ver 1
[OS4_LoadGlLibraryInvalid OpenGL version
[OS4_GL_UnloadLibraryCalled 0
[OS4_LoadGlLibraryProfile_mask 2major ver 2minor ver 1
[OS4_LoadGlLibraryInvalid OpenGL version
[OS4_GL_UnloadLibraryCalled 0
[OS4_LoadGlLibraryProfile_mask 2major ver 2minor ver 1
[OS4_LoadGlLibraryInvalid OpenGL version
[OS4_GL_UnloadLibraryCalled 0
[OS4_CloseDeviceCalled
[OS4_CloseAhiDeviceAborting I/O...
[
OS4_CloseAhiDeviceClosing device
[OS4_CloseAhiDeviceFreeing I/O requests
[OS4_CloseAhiDeviceDeleting message port
[OS4_CloseAhiDeviceDevice closed
[OS4_FreeCursorCalled 0x4A647038
[OS4_VideoQuitCalled
[OS4_QuitModesCalled
[OS4_FreeCursorCalled 0x4A647140
[OS4_DeleteDeviceCalled
[OS4_FreeSystemResourcesCalled
[OS4_DropInterfaceDropping interface 0x6FEAD3D0
[OS4_FreeSystemResourcesDeleting input.device
[OS4_FreeSystemResourcesDeleting IORequest
[OS4_FreeSystemResourcesDeleting MsgPort
[OS4_CloseLibrariesClosing libraries
[OS4_DropInterfaceDropping interface 0x6FEF1C70
[OS4_DropInterfaceDropping interface 0x6FF8F500
[OS4_DropInterfaceDropping interface 0x63012E30
[OS4_DropInterfaceDropping interface 0x630127A0
[OS4_DropInterfaceDropping interface 0x6FFFF800
[OS4_DropInterfaceDropping interface 0x6FF63140
[OS4_DropInterfaceDropping interface 0x6FF3C000
[OS4_CloseLibraryClosing library 0x6FC4866C
[OS4_CloseLibraryClosing library 0x6FF622C0
[OS4_CloseLibraryClosing library 0x6FEF9C4C
[OS4_CloseLibraryClosing library 0x62CC38CC
[OS4_CloseLibraryClosing library 0x6FF464D0
[OS4_CloseLibraryClosing library 0x6FFFE4F0
[OS4_CloseLibraryClosing library 0x6FFB8420


Edited by Raziel on 2018/5/6 16: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
Re: WARNING: Error: Invalid window!
Home away from home
Home away from home


See User information
@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
Re: WARNING: Error: Invalid window!
Home away from home
Home away from home


See User information
@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 14:39:26
(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
@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
Re: WARNING: Error: Invalid window!
Home away from home
Home away from home


See User information
@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
Re: WARNING: Error: Invalid window!
Home away from home
Home away from home


See User information
@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
Re: WARNING: Error: Invalid window!
Home away from home
Home away from home


See User information
@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
Re: WARNING: Error: Invalid window!
Home away from home
Home away from home


See User information
@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
Re: WARNING: Error: Invalid window!
Home away from home
Home away from home


See User information
@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: 3 ( 0 members and 3 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project