游戏开发论坛

 找回密码
 立即注册
搜索
查看: 7442|回复: 3

【hge DX9版本】渲染闪烁、纹理丢失

[复制链接]

3

主题

19

帖子

19

积分

新手上路

Rank: 1

积分
19
发表于 2012-9-7 17:21:00 | 显示全部楼层 |阅读模式
dx9 显卡GT430 (N卡)全屏程序

1.没规律出现屏幕闪动(有烂图在上面乱贴的感觉)或者是像没clear 掉缓存时有烂图的感觉
2.没规律纹理丢失不显示

有时测一天一晚都没出现,有时就出现,出现了,基本上不会消失,会一直闪烁,切换回桌面,再回来,显示又没问题了

在低配置的机器上intel的集成显卡(A卡) 测试没出过这现象

有人说是显卡可能有问题

请问,程序可以怎么去查错,或者可以改进的不

3

主题

19

帖子

19

积分

新手上路

Rank: 1

积分
19
 楼主| 发表于 2012-9-8 10:49:00 | 显示全部楼层

Re:【hge DX9版本】渲染闪烁、纹理丢失

D3D9 Helper: Enhanced D3DDebugging disabled; Application was not compiled with D3D_DEBUG_INFO
Direct3D9: (INFO) :======================= Hal SWVP device selected

Direct3D9: (INFO) :Using P4 PSGP

Direct3D9: (ERROR) :EndScene, not in scene. EndScene failed.

...............同上一样

Direct3D9: (ERROR) :EndScene, not in scene. EndScene failed.

Direct3D9: (ERROR) :EndScene, not in scene. EndScene failed.

The thread 'Win32 Thread' (0xeec) has exited with code 0 (0x0).
Direct3D9: (INFO) :Using P4 PSGP

Direct3D9: (ERROR) :EndScene, not in scene. EndScene failed.

................同上一样

Direct3D9: (ERROR) :EndScene, not in scene. EndScene failed.

Direct3D9: (ERROR) :EndScene, not in scene. EndScene failed.

The thread 'Win32 Thread' (0x83c) has exited with code 0 (0x0).
Direct3D9: (INFO) :Using P4 PSGP

Direct3D9: (ERROR) :EndScene, not in scene. EndScene failed.

Direct3D9: (ERROR) :EndScene, not in scene. EndScene failed.

.............同上一样

Direct3D9: (ERROR) :EndScene, not in scene. EndScene failed.

Direct3D9: (ERROR) :EndScene, not in scene. EndScene failed.

The thread 'Win32 Thread' (0x5e4) has exited with code 0 (0x0).
Direct3D9: (INFO) :Using P4 PSGP

Direct3D9: (ERROR) :EndScene, not in scene. EndScene failed.

Direct3D9: (ERROR) :EndScene, not in scene. EndScene failed.

................同上一样

Direct3D9: (ERROR) :EndScene, not in scene. EndScene failed.

The thread 'Win32 Thread' (0xd0c) has exited with code 0 (0x0).
Direct3D9: (INFO) :Using P4 PSGP

Direct3D9: (ERROR) :EndScene, not in scene. EndScene failed.

Direct3D9: (ERROR) :EndScene, not in scene. EndScene failed.

.........................同上一样

Direct3D9: (ERROR) :EndScene, not in scene. EndScene failed.

The thread 'Win32 Thread' (0xfbc) has exited with code 0 (0x0).
Direct3D9: (INFO) :Using P4 PSGP

Direct3D9: (ERROR) :EndScene, not in scene. EndScene failed.

Direct3D9: (ERROR) :EndScene, not in scene. EndScene failed.

......................同上一样

Direct3D9: (ERROR) :EndScene, not in scene. EndScene failed.

The thread 'Win32 Thread' (0x4b4) has exited with code 0 (0x0).
Direct3D9: (INFO) :Using P4 PSGP

Direct3D9: (ERROR) :EndScene, not in scene. EndScene failed.

Direct3D9: (WARN) evice that was created without D3DCREATE_MULTITHREADED is being used by a thread other than the creation thread.

....................同上一样

Direct3D9: (WARN) :Device that was created without D3DCREATE_MULTITHREADED is being used by a thread other than the creation thread.

The thread 'Win32 Thread' (0xed4) has exited with code 0 (0x0).
Direct3D9: (WARN) :Device that was created without D3DCREATE_MULTITHREADED is being used by a thread other than the creation thread.

Direct3D9: (WARN) :Device that was created without D3DCREATE_MULTITHREADED is being used by a thread other than the creation thread.

.....................同上一样

Direct3D9: (WARN) :Device that was created without D3DCREATE_MULTITHREADED is being used by a thread other than the creation thread.

The thread 'Win32 Thread' (0xf1c) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xf28) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xf2c) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xf30) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xf34) has exited with code 0 (0x0).

Direct3D9: (WARN) :Device that was created without D3DCREATE_MULTITHREADED is being used by a thread other than the creation thread.

...................同上一样

Direct3D9: (WARN) :Device that was created without D3DCREATE_MULTITHREADED is being used by a thread other than the creation thread.

The thread 'Win32 Thread' (0xf08) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xed8) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xa0) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xa4) has exited with code 0 (0x0).
Direct3D9: (ERROR) :    [0] : Address 00F0E4CB
Direct3D9: (ERROR) :    [1] : Address 00F0E59B
Direct3D9: (ERROR) :    [2] : Address 00F0E440
Direct3D9: (ERROR) :    [3] : Address 00F02DB4
Direct3D9: (ERROR) :    [4] : Address 4B66AF2E
Direct3D9: (ERROR) :    [5] : Address 0043C6BA
Direct3D9: (ERROR) :    [6] : Address 0043FD2F
Direct3D9: (ERROR) :    [7] : Address 00422DFB
Direct3D9: (ERROR) :    [8] : Address 0040D336
Direct3D9: (ERROR) :    [9] : Address 7C80B729
Direct3D9: (ERROR) :    [10] : Address 00000000
Direct3D9: (ERROR) :    [11] : Address 00000000
Direct3D9: (ERROR) :    [12] : Address 00000000
Direct3D9: (ERROR) :    [13] : Address 00000000
Direct3D9: (ERROR) :    [14] : Address 00000000
Direct3D9: (ERROR) :    [15] : Address 00000000

dx9打开的debug模式 上面是调试信息

全屏模式下
我的操作是,按【微软LOGO键】回桌面,然后回去,有时就出现闪烁了,然后就一直闪烁了,然后再回桌面,再回游戏,有时还不能恢复正常,再弄几回,正常了。

请问这是什么情况,有什么办法可以解决

3

主题

19

帖子

19

积分

新手上路

Rank: 1

积分
19
 楼主| 发表于 2012-9-8 10:53:00 | 显示全部楼层

Re:【hge DX9版本】渲染闪烁、纹理丢失

另外

我上面的测试是在开发的机器上N卡 GT430上测试的

另外我用release版本,直接用XP系统的DX DLL,在集成显卡A卡的低配置机上测试,同上操作,没出问题

【附注】两台机,XP不一样 显卡不一样 运行模式也不一样

3

主题

19

帖子

19

积分

新手上路

Rank: 1

积分
19
 楼主| 发表于 2012-9-8 14:49:00 | 显示全部楼层

Re:【hge DX9版本】渲染闪烁、纹理丢失

虽然没有人回复,不过听了几个群的大哥的建议后,瞎折腾后,换了驱动,问题暂时未出现

从中也学到了不少

非常感谢帮助的大哥朋友
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-7-27 05:46

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表