Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
54 user(s) are online (41 user(s) are browsing Forums)

Members: 0
Guests: 54

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



(1) 2 »


WARNING: Error: Invalid window!
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 3054
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

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: WARNING: Error: Invalid window!
Not too shy to talk
Joined:
2007/7/14 20:30
From Lothric
Posts: 446
@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().

   Report Go to top

Re: WARNING: Error: Invalid window!
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 3054
@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 15:45:54
_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: WARNING: Error: Invalid window!
Not too shy to talk
Joined:
2007/7/14 20:30
From Lothric
Posts: 446
@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?

   Report Go to top

Re: WARNING: Error: Invalid window!
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 3054
@Capehill

residualvm from here

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

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: WARNING: Error: Invalid window!
Not too shy to talk
Joined:
2007/7/14 20:30
From Lothric
Posts: 446
@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..

   Report Go to top

Re: WARNING: Error: Invalid window!
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 3054
@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?

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: WARNING: Error: Invalid window!
Home away from home
Joined:
2006/11/20 16:26
From Norway
Posts: 2703
@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.
   Report Go to top

Re: WARNING: Error: Invalid window!
Home away from home
Joined:
2006/11/20 16:26
From Norway
Posts: 2703
@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.
   Report Go to top

Re: WARNING: Error: Invalid window!
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 3054
@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

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: WARNING: Error: Invalid window!
Home away from home
Joined:
2006/11/20 16:26
From Norway
Posts: 2703
@Raziel

I guess you sign up as beta tester.

_________________
(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
   Report Go to top

Re: WARNING: Error: Invalid window!
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 3054
@Capehill

Is it possible to enhance the error message from SDL2?

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

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: WARNING: Error: Invalid window!
Not too shy to talk
Joined:
2007/7/14 20:30
From Lothric
Posts: 446
@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

   Report Go to top

Re: WARNING: Error: Invalid window!
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 3054
@Capehill

Thank you

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: WARNING: Error: Invalid window!
Not too shy to talk
Joined:
2007/7/14 20:30
From Lothric
Posts: 446
@Raziel

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

   Report Go to top

Re: WARNING: Error: Invalid window!
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 3054
@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

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: WARNING: Error: Invalid window!
Not too shy to talk
Joined:
2007/7/14 20:30
From Lothric
Posts: 446
@Raziel

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

   Report Go to top

Re: WARNING: Error: Invalid window!
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 3054
@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)

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: WARNING: Error: Invalid window!
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 3054
@Capehill

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

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: WARNING: Error: Invalid window!
Not too shy to talk
Joined:
2007/7/14 20:30
From Lothric
Posts: 446
@Raziel

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

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

   Report Go to top


(1) 2 »



[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project