pceric's picture

Many RC1 example problems

Project:The Open Toolkit library
Version:1.0-2010-10-06
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

I saw RC1 was out and decided to give it a try. I launched the Examples app from the menu but many of the examples crash on launch.

Running on Win7 64 and a NVIDIA 9600GT with the latest drivers.

All of the OpenAL examples crash. I tried putting OpenAL32.dll from the latest OpenAL Soft release into the folder but it didn't seem to make any difference. A debug.log file gets created but it is empty.

OpenGLES crashes but not too surprising since I doubt the 9600 has OpenGLES support.

The Fullscreen Antialiasing example isn't in fullscreen but rather a window.
Blittable Value Types crashes.
In the GameWindow states example it reports the mouse status incorrectly as inside window when the mouse cursor is not inside the window. Seems to work if you move the mouse really slowly but not when moved quickly.


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

#1

Status:open» need info

Thanks for testing the release candidate.

Quote:

All of the OpenAL examples crash. I tried putting OpenAL32.dll from the latest OpenAL Soft release into the folder but it didn't seem to make any difference

You need a 64bit OpenAL driver: either download the OpenAL installer from Creative or build a 64bit version of OpenAL Soft from source. The precompiled version of OpenAL Soft is 32bit only.

That said, maybe we should install OpenAL drivers automatically. Added as issue #1673: Add oalinst to windows installer.

Quote:

The Fullscreen Antialiasing example isn't in fullscreen but rather a window.

It's a bit counter-intuitive, but that's correct: "fullscreen" here refers to the antialiasing method, not windowed/fullscreen mode. The difference should become clearer once the missing sample documentation is added.

Quote:

Blittable Value Types crashes.

Can you please attach the stack trace?

I'm investigating the GameWindow issue.

pceric's picture

#2

After using the OpenAL installer from Creative, the Capture and Diagnostics work but the playback and Reverb examples still crash.

Edit: I've found they only crash when using Microsoft's .NET (3.5). They work fine under Mono 2.4.

Quote:

Can you please attach the stack trace?

I appear to be stack trace challenged. If there is a way to get better output without recompiling OpenTK let me know.

Launching sample: "Blittable Value Types"

struct Simple { Int32 } is blittable (4 bytes)
struct Generic`1 { Simple } is blittable (4 bytes)
struct Generic`1 { Enum } is blittable (4 bytes)
struct Complex { Simple } is blittable (4 bytes)
struct Complex`1 { Enum] } is blittable (4 bytes)
struct Complex2 { Enum } is blittable (4 bytes)
struct Complex3 { Class } is not blittable (ArgumentException)
struct Complex4 { Class } is not blittable (ArgumentException)
class Class { Int32 } is not blittable (ArgumentException)
class Class`1 { Simple } is not blittable (ArgumentException)

the Fiddler's picture

#3

Status:need info» confirmed

Alright, I can reproduce the crash in "Blittable Value Types", investigating.

the Fiddler's picture

#4

Version:1.0.0-rc1» 1.0-2010-10-06
Status:confirmed» closed

Fixed in 1.0-2010-10-06.