GL11.glEnable(ARBPointSprite.GL_POINT_SPRITE_ARB); Crashes my friends computer.

Started by rik, August 13, 2008, 12:38:59

Previous topic - Next topic

rik

Hi!

Calling
GL11.glEnable(ARBPointSprite.GL_POINT_SPRITE_ARB);
Crashes my friends computer. The screen goes black and you can't do anything.

I have checked if
GL11.glGetString(GL11.GL_EXTENSIONS).contains("GL_ARB_point_sprite")
and it returns true.

I am new to OpenGL, is there something else I should check before calling that? OpenGL version?

His computer is a DELL laptop and the graphics card is a ATI Radeon Xpress.
Below is further information about the craphics card:

SiSoftware Sandra

Video Adapter
Display : \\.\DISPLAY1
Model : ATI Radeon Xpress Series
VGA Compatible : No

Chipset
Model : RS482M

Bus
Type : PCI

Video BIOS
Date of Manufacture : Sunday, July 02, 2006
Version : 23.931

Direct3D Capabilities
Interface Version : 9.00
Model : ATI Radeon Xpress Series
Video Driver : ati2dvag.dll
Library Version : 6.14.10.6727
Has 3D Hardware Acceleration : Yes
Hardware Transform & Light : Yes
Heads : 1
Pixel Shaders Version : 2.00
Vertex Shaders Version : 2.00

Video Driver
Expected Windows Version : 4.00
Screen Saver Active : 1 minute(s)
Low Power Saving Active : 15 minute(s)
Power Off Saving Active : 15 minute(s)

Mode
Mode : 1280x800 16M+ TrueColour (32-bit)
Refresh Rate : 60Hz
Virtual Desktop Size : 1280x800

Supported Video Modes
Mode 1 : 320x200 256 colours (8-bit) 60Hz 75Hz
Mode 3 : 320x200 64K HiColour (16-bit) 60Hz 75Hz
Mode 5 : 320x200 16M+ TrueColour (32-bit) 60Hz 75Hz
Mode 7 : 320x240 256 colours (8-bit) 60Hz 75Hz
Mode 9 : 320x240 64K HiColour (16-bit) 60Hz 75Hz
Mode 11 : 320x240 16M+ TrueColour (32-bit) 60Hz 75Hz
Mode 13 : 400x300 256 colours (8-bit) 60Hz 75Hz
Mode 15 : 400x300 64K HiColour (16-bit) 60Hz 75Hz
Mode 17 : 400x300 16M+ TrueColour (32-bit) 60Hz 75Hz
Mode 18 : 512x384 256 colours (8-bit) 60Hz
Mode 19 : 512x384 64K HiColour (16-bit) 60Hz
Mode 20 : 512x384 16M+ TrueColour (32-bit) 60Hz
Mode 22 : 640x400 256 colours (8-bit) 60Hz 75Hz
Mode 24 : 640x400 64K HiColour (16-bit) 60Hz 75Hz
Mode 26 : 640x400 16M+ TrueColour (32-bit) 60Hz 75Hz
Mode 35 : 640x480 256 colours (8-bit) 60Hz 72Hz 75Hz 85Hz 90Hz 100Hz 120Hz
160Hz 200Hz
Mode 44 : 640x480 64K HiColour (16-bit) 60Hz 72Hz 75Hz 85Hz 90Hz 100Hz 120Hz
160Hz 200Hz
Mode 53 : 640x480 16M+ TrueColour (32-bit) 60Hz 72Hz 75Hz 85Hz 90Hz 100Hz
120Hz 160Hz 200Hz
Mode 54 : 800x480 256 colours (8-bit) 60Hz
Mode 55 : 800x480 64K HiColour (16-bit) 60Hz
Mode 56 : 800x480 16M+ TrueColour (32-bit) 60Hz
Mode 66 : 800x600 256 colours (8-bit) 60Hz 70Hz 72Hz 75Hz 85Hz 90Hz 100Hz
120Hz 160Hz 200Hz
Mode 76 : 800x600 64K HiColour (16-bit) 60Hz 70Hz 72Hz 75Hz 85Hz 90Hz 100Hz
120Hz 160Hz 200Hz
Mode 86 : 800x600 16M+ TrueColour (32-bit) 60Hz 70Hz 72Hz 75Hz 85Hz 90Hz
100Hz 120Hz 160Hz 200Hz
Mode 87 : 1024x480 256 colours (8-bit) 60Hz
Mode 88 : 1024x480 64K HiColour (16-bit) 60Hz
Mode 89 : 1024x480 16M+ TrueColour (32-bit) 60Hz
Mode 90 : 1024x600 256 colours (8-bit) 60Hz
Mode 91 : 1024x600 64K HiColour (16-bit) 60Hz
Mode 92 : 1024x600 16M+ TrueColour (32-bit) 60Hz
Mode 103 : 1024x768 256 colours (8-bit) 60Hz 70Hz 72Hz 75Hz 85Hz 90Hz 100Hz
120Hz 150Hz 160Hz 200Hz
Mode 114 : 1024x768 64K HiColour (16-bit) 60Hz 70Hz 72Hz 75Hz 85Hz 90Hz
100Hz 120Hz 150Hz 160Hz 200Hz
Mode 125 : 1024x768 16M+ TrueColour (32-bit) 60Hz 70Hz 72Hz 75Hz 85Hz 90Hz
100Hz 120Hz 150Hz 160Hz 200Hz
Mode 130 : 1152x864 256 colours (8-bit) 60Hz 70Hz 75Hz 85Hz 100Hz
Mode 135 : 1152x864 64K HiColour (16-bit) 60Hz 70Hz 75Hz 85Hz 100Hz
Mode 140 : 1152x864 16M+ TrueColour (32-bit) 60Hz 70Hz 75Hz 85Hz 100Hz
Mode 141 : 1280x600 256 colours (8-bit) 60Hz
Mode 142 : 1280x600 64K HiColour (16-bit) 60Hz
Mode 143 : 1280x600 16M+ TrueColour (32-bit) 60Hz
Mode 144 : 1280x768 256 colours (8-bit) 60Hz
Mode 145 : 1280x768 64K HiColour (16-bit) 60Hz
Mode 146 : 1280x768 16M+ TrueColour (32-bit) 60Hz
Mode 147 : 1280x800 256 colours (8-bit) 60Hz
Mode 148 : 1280x800 64K HiColour (16-bit) 60Hz
Mode 149 : 1280x800 16M+ TrueColour (32-bit) 60Hz
Mode 158 : 1280x1024 256 colours (8-bit) 60Hz 70Hz 75Hz 85Hz 90Hz 100Hz
120Hz 160Hz 180Hz
Mode 167 : 1280x1024 64K HiColour (16-bit) 60Hz 70Hz 75Hz 85Hz 90Hz 100Hz
120Hz 160Hz 180Hz
Mode 176 : 1280x1024 16M+ TrueColour (32-bit) 60Hz 70Hz 75Hz 85Hz 90Hz 100Hz
120Hz 160Hz 180Hz
Mode 177 : 1400x1050 256 colours (8-bit) 60Hz
Mode 178 : 1400x1050 64K HiColour (16-bit) 60Hz
Mode 179 : 1400x1050 16M+ TrueColour (32-bit) 60Hz
Mode 184 : 1600x1200 256 colours (8-bit) 60Hz 75Hz 85Hz 100Hz 120Hz
Mode 189 : 1600x1200 64K HiColour (16-bit) 60Hz 75Hz 85Hz 100Hz 120Hz
Mode 194 : 1600x1200 16M+ TrueColour (32-bit) 60Hz 75Hz 85Hz 100Hz 120Hz
Mode 198 : 1792x1344 256 colours (8-bit) 60Hz 75Hz 90Hz 100Hz
Mode 202 : 1792x1344 64K HiColour (16-bit) 60Hz 75Hz 90Hz 100Hz
Mode 206 : 1792x1344 16M+ TrueColour (32-bit) 60Hz 75Hz 90Hz 100Hz
Mode 210 : 1800x1440 256 colours (8-bit) 60Hz 70Hz 90Hz 100Hz
Mode 214 : 1800x1440 64K HiColour (16-bit) 60Hz 70Hz 90Hz 100Hz
Mode 218 : 1800x1440 16M+ TrueColour (32-bit) 60Hz 70Hz 90Hz 100Hz
Mode 222 : 1920x1080 256 colours (8-bit) 60Hz 75Hz 100Hz 120Hz
Mode 226 : 1920x1080 64K HiColour (16-bit) 60Hz 75Hz 100Hz 120Hz
Mode 230 : 1920x1080 16M+ TrueColour (32-bit) 60Hz 75Hz 100Hz 120Hz
Mode 234 : 1920x1200 256 colours (8-bit) 60Hz 75Hz 85Hz 100Hz
Mode 238 : 1920x1200 64K HiColour (16-bit) 60Hz 75Hz 85Hz 100Hz
Mode 242 : 1920x1200 16M+ TrueColour (32-bit) 60Hz 75Hz 85Hz 100Hz
Mode 246 : 1920x1440 256 colours (8-bit) 60Hz 75Hz 85Hz 90Hz
Mode 250 : 1920x1440 64K HiColour (16-bit) 60Hz 75Hz 85Hz 90Hz
Mode 254 : 1920x1440 16M+ TrueColour (32-bit) 60Hz 75Hz 85Hz 90Hz
Mode 259 : 2048x1536 256 colours (8-bit) 60Hz 66Hz 70Hz 75Hz 85Hz
Mode 264 : 2048x1536 64K HiColour (16-bit) 60Hz 66Hz 70Hz 75Hz 85Hz
Mode 269 : 2048x1536 16M+ TrueColour (32-bit) 60Hz 66Hz 70Hz 75Hz 85Hz
Mode 270 : 640x480 16 colours (4-bit)
Mode 271 : 800x600 16 colours (4-bit)

Device Mode Characteristics
Physical Medium Width : 384 mm, 15 in
Physical Medium Height : 240 mm, 9 in
Recommended CRT/Panel Size : 22 in
Horizontal/Vertical Resolution : 96x96 dpi
Colour Bits/Planes : 32-bit / 1-bit
Brushes : 4294967295
Pens : 4294967295
Colours/Shades : 4294967295
Pixel Width/Height/Diagonal : 36 / 36 / 51

Clipping Capabilities
Can Clip Output to Rectangle : Yes
Can Clip Output to Region : No

Raster Capabilities
Supports Banding : No
Supports Fonts Larger than 64Kb : Yes
Can Transfer Bitmaps : Yes
Supports Bitmaps Larger than 64Kb : Yes
Supports Device Bitmaps : No
Supports DIBs : Yes
DIBs on Device Surface : Yes
Flood Fills : Yes
Supports Windows 2.x : Yes
Stretch/Compress Bitmaps : Yes
Stretch/Compress DIBs : Yes
Supports Scaling : No
Palette-Based Device : No
Saves Bitmap Locally : No

Curve Capabilities
Can Draw Circles : Yes
Can Draw Ellipses : Yes
Can Draw Pie Wedges : Yes
Can Draw Chord Arcs : Yes
Can Draw Wide Borders : Yes
Can Draw Styled Borders : Yes
Can Draw Wide, Styled Borders : Yes
Can Draw Rounded Rectangles : Yes
Can Draw Interiors : Yes

Line Capabilities
Can Draw Polylines : Yes
Can Draw Styled Lines : Yes
Can Draw Wide Lines : Yes
Can Draw Wide, Styled Lines : Yes
Can Draw Markers : Yes
Can Draw Polymarkers : Yes
Can Draw Interiors : Yes

Polygonal Capabilities
Can Draw Alternate-fill Polygons : Yes
Can Draw Winding-fill Polygons : Yes
Can Draw Rectangles : Yes
Can Draw Scan Lines : Yes
Can Draw Wide Borders : Yes
Can Draw Styled Borders : Yes
Can Draw Wide, Styled Borders : Yes
Can Draw Interiors : Yes

Text Capabilities
Supports Stroke Clip Precision : Yes
Supports Stroke Output Precision : Yes
Supports Character Output Precision : Yes
Supports 90° Character Rotation : No
Supports Any Angle Character Rotation : No
Supports Independent X-Y Scaling : No
Supports Doubled Character for Scaling : No
Supports Integer Multiples for Scaling : No
Any Multiples for Exact Scaling : No
Can Draw Double-Weighted Characters : No
Can Italicise : No
Can Underline : Yes
Can Draw Strikeouts : Yes
Can Draw Raster Fonts : Yes
Can Draw Vector Fonts : Yes
Cannot Scroll Using BitBlt : No

Performance Tips
Tip 2221 : Driver is not certified.
Tip 319 : A refresh rate of at least 75Hz is recommended. Increase it if
possible.
Tip 2 : Double-click tip or press Enter while a tip is selected for more
information about the tip.


Matzon


rik

Thanks! That was the case. He thought that he had updated the drivers but apparently not. He was using a software called "Driver Magician" for updating his drivers.

I still think it's weird that his computer could crash so severely.

Matthias

Don't use
GL11.glGetString(GL11.GL_EXTENSIONS).contains("GL_ARB_point_sprite")


use
GLContext.getCapabilities().GL_ARB_point_sprite


Ciao Matthias

rik

Quote from: Matthias on August 13, 2008, 17:47:09
Don't use
GL11.glGetString(GL11.GL_EXTENSIONS).contains("GL_ARB_point_sprite")


use
GLContext.getCapabilities().GL_ARB_point_sprite


Ciao Matthias

Done, Thanks!