intel q965/963 directx bluescreen

Windows specific forum
rotacak
User
User
Posts: 77
Joined: Tue Feb 14, 2006 2:00 pm

Post by rotacak »

Fred wrote:For now, we don't force hardware vertex processing, the default is software (if the capability D3DDEVCAPS_HWTRANSFORMANDLIGHT isn't found).
In this case D3DDEVCAPS_HWTRANSFORMANDLIGHT returns wrong result "found", PB use HW and bsod appear?
Fred
Administrator
Administrator
Posts: 18360
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

according to intel's code, if the D3DDEVCAPS_HWTRANSFORMANDLIGHT returns found, it is supported. It's only for the software mode than an exception is needed.
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6172
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

Perhaps a parameter that allows the user to force software mode?
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
rotacak
User
User
Posts: 77
Joined: Tue Feb 14, 2006 2:00 pm

Post by rotacak »

So, it will be somewhat fixed? Anything than bluescreen would be better. I still don't get where is the problem, why 3D sprite not work on specific GFX cards, when others games work ok. (my bad english)
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8452
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

@rotacek: InitSprite() is always required first, whether or not you will be later using InitSprite3D().
BERESHEIT
rotacak
User
User
Posts: 77
Joined: Tue Feb 14, 2006 2:00 pm

Post by rotacak »

I using:

Code: Select all

If InitSound() = 0 : MessageRequester("Error", "InitSound failed", 0) : End : EndIf
If InitKeyboard() = 0 : MessageRequester("Error", "InitKeyboard failed", 0) : End : EndIf
If InitSprite() = 0 : MessageRequester("Error", "InitSprite failed", 0) : End : EndIf 
If InitSprite3D() = 0 : MessageRequester("Error", "InitSprite3D failed", 0) : End : EndIf
And then I want load sprite with #PB_Sprite_Texture, and PC will crash in bluescreen.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8452
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

This code is working fine here, winx86 DX9:

Code: Select all

If InitSound() = 0 : MessageRequester("Error", "InitSound failed", 0) : End : EndIf 
If InitKeyboard() = 0 : MessageRequester("Error", "InitKeyboard failed", 0) : End : EndIf 
If InitSprite() = 0 : MessageRequester("Error", "InitSprite failed", 0) : End : EndIf 
If InitSprite3D() = 0 : MessageRequester("Error", "InitSprite3D failed", 0) : End : EndIf 
OpenScreen(640,480,32,"")
LoadSprite(1, #PB_Compiler_Home+"examples\sources\data\purebasic.bmp",#PB_Sprite_Texture)
CreateSprite3D(1,1)
Repeat
  ClearScreen(0)
  Start3D()
    DisplaySprite3D(1,100,100)
  Stop3D()
  FlipBuffers()
  ExamineKeyboard()
Until KeyboardPushed(#PB_Key_Escape)
BERESHEIT
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6172
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

Intel 945 on HP / Compaq NC4400 laptop works fine here.

I just looked around, but haven't got a 965 here in the office or back at home. Sorry.
Last edited by blueznl on Thu Jan 08, 2009 12:34 pm, edited 1 time in total.
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
rotacak
User
User
Posts: 77
Joined: Tue Feb 14, 2006 2:00 pm

Post by rotacak »

netmaestro: With intel q965/963 graphic card?
Last edited by rotacak on Thu Jan 08, 2009 12:40 pm, edited 1 time in total.
rotacak
User
User
Posts: 77
Joined: Tue Feb 14, 2006 2:00 pm

Post by rotacak »

For example this notebook with intel 943GML Express chipset cause problems: Notebook Acer Aspire 5315-051G08Mi

I don't know if I tryed BMP instead of PNG, but it will be probably same. I can't test it now.
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Post by djes »

No problem with the netmaestro example. No more hang with the Sprite3d.pb example with directx9, but nothing is drawed, just a blue background, nothing else.

However, bluescreen hang with directx7. Hang on igxpdx32.dll.
rotacak
User
User
Posts: 77
Joined: Tue Feb 14, 2006 2:00 pm

Post by rotacak »

I tested it with PB4.20. In 4.30 it's fixed? Or I need to instal something in PB? I don't know much about dx9 in PB.
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Post by djes »

It seems not "fixed", but it's not hanging, at least with directx9 subsystem.
White Eagle
Enthusiast
Enthusiast
Posts: 215
Joined: Sun Jan 04, 2004 3:38 am
Location: Maryland

Post by White Eagle »

djes wrote:It seems not "fixed", but it's not hanging, at least with directx9 subsystem.
You should try using DX7 and not DX9.

Many of Intel's GFX chips are not DX9 compliant. I have one of the first Eees released and it will not run anything DX9 based. However, it handles DX7 and OpenGL fine.
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Post by djes »

White Eagle wrote:
djes wrote:It seems not "fixed", but it's not hanging, at least with directx9 subsystem.
You should try using DX7 and not DX9.

Many of Intel's GFX chips are not DX9 compliant. I have one of the first Eees released and it will not run anything DX9 based. However, it handles DX7 and OpenGL fine.
Could you read the entire thread, please? :evil:
Post Reply