Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » AllegroGL and Intel chipsets.

This thread is locked; no one can reply to it. rss feed Print
 1   2   3 
AllegroGL and Intel chipsets.
Richard Phipps
Member #1,632
November 2001
avatar

great. thanks!

EDIT:

Here is the AllegroGL error log when trying to open a screen with a via/s3g deltachrome chipset:

Quote:

al-main INFO: Allegro initialised (instance 1)
al-gfx INFO: Called set_gfx_mode(1330072663, 640, 480, 0, 0).
al-gfx INFO: Firt call, remembering console state.

  • Note * win_init(): Requested color depth: 16 Desktop color depth: 32

  • Note * win_init(): Setting up window.

  • Note * win_init(): Driver selected fullscreen: No

  • Note * win_init(): Setting pixel format.

  • Note * select_pixel_format(): Trying to set up temporary RC

  • Note * select_pixel_format(): ChoosePixelFormat()

  • Note * select_pixel_format(): SetPixelFormat()

  • Note * select_pixel_format(): CreateContext()

  • Note * select_pixel_format(): MakeCurrent()

  • Note * select_pixel_format(): GetExtensionsStringARB()

  • Note * select_pixel_format(): GetProcAddress()

  • Note * get_num_pixel_formats(): Attempting to use WGL_pf.

  • Note * get_num_pixel_formats(): WGL_ARB/EXT_pixel_format use failed!

The pixel format is invalid.

(0xc00707d0)

  • Note * get_num_pixel_formats(): Using DescribePixelFormat.

  • Warning * select_pixel_format(): WGL_ARB_pf call failed - reverted to plain old WGL.

  • Note * select_pixel_format(): 84 formats.

  • Note * select_pixel_format(): Testing pixel formats:

Format 1:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 2:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 3:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 4:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 5:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 6:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 7:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 8:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 9:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 10:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 11:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 12:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 13:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 14:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 15:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 16:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 17:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 18:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 19:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 20:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 21:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 22:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 23:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 24:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 25:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 26:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 27:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 28:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 29:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 30:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 31:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 32:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 33:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 34:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 35:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 36:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 37:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 38:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 39:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 40:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 41:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 42:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 43:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 44:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 45:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 46:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 47:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 48:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 49:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 50:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 51:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 52:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 53:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 54:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 55:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 56:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 57:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 58:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 59:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 60:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 61:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 62:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 63:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 64:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 65:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 66:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 67:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 68:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 69:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 70:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 71:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 72:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 73:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 74:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 75:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 76:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 77:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 78:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 79:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 80:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 81:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 82:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 83:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

Format 84:
* Warning * describe_pixel_format_old(): DescribePixelFormat() failed!
The handle is invalid.

(0x00000006)
** Warning ** select_pixel_format(): Unable to rely onunextended WGL to descrive this pixelformat.

  • ERROR * select_pixel_format(): Didn't find any available pixel formats!

al-gfx ERROR: Failed setting graphic driver 1330072663.

So, any ideas..? :o

Milan Mimica
Member #3,877
September 2003
avatar

Use the SVN version.
http://allegrogl.sf.net/allegrogl-svn-20061002.zip

The is a known problem with some Intel chipsets, at least I know about it. We had a discussion but not a real fix.
http://sourceforge.net/mailarchive/forum.php?thread_id=29952110&forum_id=3293
http://www.allegro.cc/forums/thread/586780

Richard Phipps
Member #1,632
November 2001
avatar

I'll look into that, seems that log is from the old AllegroGL version.

I downloaded the SVN version yesterday and we found that it crashed on Intel 915 and 940 chipsets as before. Disabling the ARB_multitexturing extension worked though. (I don't use multitexturing in the game)

I thought the latest SVN was supposed to fix that Intel bug?

Bob
Free Market Evangelist
September 2000
avatar

Quote:

Format 1:

  • Warning * describe_pixel_format_old(): DescribePixelFormat() failed!

The handle is invalid.

This looks like a real AGL bug.

Quote:

Disabling the ARB_multitexturing extension worked though.

Don't you mean ARB_multisampling? They're not quite the same...

--
- Bob
[ -- All my signature links are 404 -- ]

Richard Phipps
Member #1,632
November 2001
avatar

Sorry, multisampling. It's the same issue as before:

Quote:

if (allegro_gl_extensions_GL.ARB_multisample) {
glSampleCoverageARB(1.0, GL_FALSE);
}

Apparently, the variable allegro_gl_extensions_GL suggests that the Intel 915series chipset is capable of handling this Open GL extension, but it is not. I suspect that the extensions are being parsed improperly, but I ran out of time to verify this today.

I tried the SVN version (yesterday) and the crashing was still there. So I disabled the relevant multisample parts.

We've also just confirmed that the same issue affects the via/s3g deltachrome chipset. Commenting out multisampling makes it work, with it, it crashes and burns when trying to open a screen.

tobing
Member #5,213
November 2004
avatar

I could offer some testing: I have Intel ***910GL in the office, and an Intel 82852/82855 GM/GME in my laptop. On both even the OpenLayer demo doesn't work.

Well, I thought I might build and debug the demo - but I see that there's no MSVC project file, and quite a few prerequisites. As of now, I don't have SVN or CVS on my PCs (mainly because I'm using Perforce for my own work), so I can only use official releases or snapshots or something.

Does any of you have all sources necessary to build OpenLayer 2.0 (or later) and could pack this into a file for me to download? Would make life much easier for me, because I would really like to use OpenLayer in the first place, and help by debugging it, when I can. I guess I would also be able to create a MSVC project file, if that doesn't exist yet.

Richard Phipps
Member #1,632
November 2001
avatar

Well, I've pointed out the problem with the SVN version with reagrd to the intel chipsets. I had to hack it to get it to work as I don't know enough about the library or OpenGL. It's upto the AllegroGL devs to try to make a proper fix (and not a patch) now in my mind.

We've not seen any movement from them yet though (hint!)..

EDIT: Tobing, for these problems you only need to use AllegroGL and the examples. (You don't need OpenLayer to see the crash).

tobing
Member #5,213
November 2004
avatar

I see... even managed to retrieve some projects from SVN and CVS today. Maybe I'll debug into some of the AllegroGL examples to learn some details.

A complete source package would be nice nevertheless: I do intend to make use of OpenLayer once it works on my Laptop, and it would be easier if someone could provide a package containing all the sources needed to build it. Of course I can collect all the packages in all the correct version myself, but it takes time to do so, and at least the makers of OpenLayer should have all sources at hand, shouldn't they? It would be nice, really...

Edit: I'm trying to build from SVN (using MSVC 7.1 on WinXP), but that does not work: It's missing the generated file 'gl_ext_alias.h' which is created by mkalias.sh, so I cannot do this.

Maybe someone could attach this missing file here? Also glx_ext_alias.h and wgl_ext_alias.h, they're also missing. Or someone might confirm that the files contained in the 0.4.0rc4 distribution can be used?

Edit: I've built the SVN version successfully, using the generated headers from 0.4.0rc4, and not compiling x.c and djgpp.c - test.c has run fine. Debug. More to come...

Richard Phipps
Member #1,632
November 2001
avatar

tobing
Member #5,213
November 2004
avatar

Now I've run all the AllegroGL examples, and had two of them crash, all others run well. Both crashes seems to be totally unrelated and somewhat obscure, and also not related to the Intel graphics chip problem. The bad tests are dumbtest and fonttest...

Well, now I'm on my way to build OpenLayer. For this I need to build GlyphKeeper, which took me some moments to get the project configuration right - I couldn't built for target GLYPH_TARGET_ALLEGGL because it didn't compile, only for target GLYPH_TARGET_ALLEGRO. Hopefully that's OK for use with OpenLayer?

Epsi
Member #5,731
April 2005
avatar

you can build the latest SVN OL with Freetype and get rid of Glyphkeeper already.

___________________________________

piccolo: "soon all new 2d alegro games will be better. after i finsh my MMRPG. my game will serve as a code reference. so you can understand and grab code from."
piccolo: "just wait until my invetion comes out its going to take the wii to the next leave of game play. it will run sony and microsoft out of busness if i dont let them use it aswell."

tobing
Member #5,213
November 2004
avatar

Thanks, goods hint. So I built the last Freetype library (2.2.1) and tried to use it with alfont 1.9.2 and GlyphKeeper 0.29 as an exercise: alfont compiles and links fine, but GlyphKeeper does not, because at some place they try to include an internal header file which seems to have changed. So GlyphKeeper remains on Freetype 2.1.10 this way. Now I'll try the latest SVN of OpenLayer.

Evert
Member #794
November 2000
avatar

Quote:

It's upto the AllegroGL devs to try to make a proper fix (and not a patch)

What is the distinction between 'a proper fix' and 'a patch' in your mind?
Usually when I see the term patch used in relation to open source products, it refers to a diff file that one can apply with the patch utility.

tobing
Member #5,213
November 2004
avatar

OK, I'll give it up for today. I just can't get OL to compile, not the 2.0 distribution, nor the latest SVN version. Oh, I'm using MSVC 7.1 and I'll not use this cbuild that's supplied with OL: I want to use a project file to be able to use all my tools within the IDE. It would be nice if somebody could give me any further information on how to build OL, compiler flags etc. There are many compilation errors, which might be due to a missing #define or some compiler options which have to be set, but so far I haven't found any clue. Thanks in advance!

Richard Phipps
Member #1,632
November 2001
avatar

I could never get OpenLayer to compile either.

Evert: To me, a fix solves the problem, a patch is more of a hack to get it to work.

When the Intel chipset problem came up before the first solution was to detect that chipset and not try Multisampling in that case. But now I've seen this problem occur with multiple intel chipset types and so I think a better way is needed than a lot of specialised cases.

Fladimir da Gorf
Member #1,565
October 2001
avatar

I've been reported about a compilation problem with the latest SVN version when compiling with GCC, maybe one of the files in the SVN repository hasn't been updated or something. I'll check it out in the evening...

Most likely if you're compiling OL for MSVC, I'd blame Microsoft's non-standard compiler for the issues then...

OpenLayer has reached a random SVN version number ;) | Online manual | Installation video!| MSVC projects now possible with cmake | Now alvailable as a Dev-C++ Devpack! (Thanks to Kotori)

Evert
Member #794
November 2000
avatar

Quote:

To me, a fix solves the problem, a patch is more of a hack to get it to work.

Ok, just understand that when someone says `there's a patch that fixes the issue,' they are likely to mean it in the sense I described.

Richard Phipps
Member #1,632
November 2001
avatar

tobing
Member #5,213
November 2004
avatar

Thanks for checking. I hope I can continue looking into this tomorrow!

Fladimir, I have some years of experience using MSVC and writing portable code, including various Unixes and linux. Usually, the MSVC compiler is quite close to the standard, whereas gcc does compile a lot of things which are not ANSI C++. I can give you examples of this tomorrow (hopefully).

Just to ask this: I have access to SVN now, to get files from the depot. Would it also be possible to submit changes? I assume not, so how would that be done?

Bob
Free Market Evangelist
September 2000
avatar

Quote:

To me, a fix solves the problem, a patch is more of a hack to get it to work.

Aren't you thinking of a "hack" or a "band-aid"?

However, since the bug in question is inside the Intel OpenGL drivers, there is no proper fix AllegroGL can do other than to try not to hit it. This will require keying off the GPU name (which isn't very reliable).

--
- Bob
[ -- All my signature links are 404 -- ]

Richard Phipps
Member #1,632
November 2001
avatar

So, how do other libraries such as SDL or Torque2D solve this issue?

Bob
Free Market Evangelist
September 2000
avatar

They just don't let you use multisampling out of the box :)

--
- Bob
[ -- All my signature links are 404 -- ]

Richard Phipps
Member #1,632
November 2001
avatar

What exactly is multisampling, and should AllegroGL do something similar? :)

Milan Mimica
Member #3,877
September 2003
avatar

Richard Phipps said:

I thought the latest SVN was supposed to fix that Intel bug?

It fixes some of the bugs related to Intel chipsets. More precisely, it fixes bugs in select_pixel_format() reported in logfile.

The bug with multisampling is the only one left unfixed AFAIK. I'm not sure what is the proper way to fix it. I'm not even sure it is a Intel bug. The thing is that Intel915 does support multisampling. They are OGL-1.4 compliant. glSampleCoverageARB() does not have to work and "ARB_multisample" does not have to be listed in GL_EXTENSIONS if the extension was promoted to core. Everything is legal on Intel side. glSampleCoverage() works!

However, AGL assumes that the ARB version will be available even if extensions was promoted to core. That is true in most cases, but not true enough.

The best fix I see is to modify AGL code that manages extensions to use the non-ARB version if the extension was promoted to core. That's not a trivial thing to do.

Bob
Free Market Evangelist
September 2000
avatar

There are a couple of options available:
1- Disable AGL's aliasing of promoted extensions. Thus, glVertexAttrib4f() will not be the same as glVertexAttrib4fARB(). Caveat Emptor.
2- Do that only for Intel and ARB_multisampling.
3- Figure out why we added the code to set the multisample mode in AGL, and apply the workaround only on the problematic chip (this still doesn't solve the issue for Intel chipsets if apps call glSampleCoverageARB themselves).
4- Add some mechanism to tell if an extension is available because of promotion or because it was natively reported. This shouldn't be too hard: the code to do the promotion is in glext.c around line 557.

--
- Bob
[ -- All my signature links are 404 -- ]

 1   2   3 


Go to: