Jump to content
The Dark Mod Forums
Sign in to follow this  
Dracula

Version 2.08 blackscreen

Recommended Posts

Hello everyone,

I was very happy when i saw there's a new version of tdm so I installed it right away. But now I got a big problem with that version. It isn't working. All you can see when you start the game is blackscreen and you hear the titel music. The older versions were working fine. Does anyone of you have an idea what the problem could be and how I can solve it?

System: Win 10 Pro 64 bit , Processor:  Intel Core i7, Graphics: ATI Radon HD 4800 Series (and yeah I know my graphic card is old 😅 maybe that's the problem)

 

 

Share this post


Link to post
Share on other sites

Yes, try to update your video drivers.
And if there is a darkmod.log in your darkmod folder, we would like to see it.
Open the file with notepad and copy its content in this topic.

in the following topics, you can find some other pointers:
https://forums.thedarkmod.com/index.php?/search/&q=black screen&quick=1&type=forums_topic&nodes=58

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Share this post


Link to post
Share on other sites

In general, if you update your TDM version, delete everything but .pk4 files and fms folder. This way your download should be fairly small and you'll make sure there are no broken dependencies in your setup.

  • Thanks 1

Share this post


Link to post
Share on other sites

thx for your fast answers. I've tried them and also looked through the other blackscreen problems in the forum.

The drivers should have the latest update now, I also deleted the darkmod.cfg and the rest. But the result is still the same. Luckily I still have the backup of version 2.07 😅

And that's what's written in the Darkmod.log:

[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 374):INI (INIT) FR:    0] LogFile created at 2020.07.02 14:22:03
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 377):INI (INIT) FR:    0] Executable last cleaned and rebuilt on Jun 17 2020 12:14:45
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 380):INI (INIT) FR:    0] The Dark Mod 2.08/32, code revision 8771 (1435:8771)
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 426):FRC (FORCE) FR:    0] LogBegin: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 426):FRC (FORCE) FR:    0] LogEnd: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 426):FRC (FORCE) FR:    0] LogInfo: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 426):FRC (FORCE) FR:    0] LogDebug: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 426):FRC (FORCE) FR:    0] LogWarning: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 426):FRC (FORCE) FR:    0] LogError: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_FRAME: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_SYSTEM: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_MISC: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_FROBBING: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_AI: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_SOUND: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_FUNCTION: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_ENTITY: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_INVENTORY: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_LIGHT: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_WEAPON: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_MATH: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_MOVEMENT: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_STIM_RESPONSE: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_OBJECTIVES: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_DIFFICULTY: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_CONVERSATION: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_MAINMENU: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_LOCKPICK: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_AAS: 0
[g:\thedarkmod\darkmod_src\game\darkmodglobals.cpp ( 436):FRC (FORCE) FR:    0] LogClass_STATE: 0

 

 

Edited by Dracula
  • Like 1

Share this post


Link to post
Share on other sites

Thanks for the log, but it needs more content.
You can change also your game screenresolution to a lower resolution.
Outside tdm by changeing some values in the config-files, using notepad.

Change video-game screenresolution:

  1. make a copy of files darkmod.cfg and darkmod.ini (as backup)
  2. open darkmod.cfg with notepad.
  3. Search for lines "seta r_customHeight" and "seta r_customWidth"
  4. change the values in these lines, to a lower screenresolution, for example
    seta r_customHeight "600"
    seta r_customWidth "800"
  5. You can also change to the video-mode from fullscreen to windowed.
    seta r_fullscreen "1"
    change the 1 to 0
  6. Save the file.

To add more logcontent to logfiles.

  1. make a copy of files darkmod.cfg and darkmod.ini (as backup)
  2. remove the darkmod.log file.
  3. open thedarkmod.cfg with notepad
  4. go to line: seta logFile "0"
    change the value 0 to 1
  5. and save the file.
  6. open darkmod.ini with notepad
  7. go to lines:
    LogError=0
    LogBegin=0
  8. change the 0 to 1.
  9. and save the file.
  10. Start tdm. (And you switch screens with keycombo alt-tab.)
  11. close tdm.
  12. check the content in darkmod.log and your qconsole.log.
    They can be found in:
    yourdarkmodfolder\darkmod.log
    yourdarkmodfolder\fms\onofyourmissions\qconsole.log
  13. post the content of qconsole in this topic.

We need the content of qconsole.log.
 

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Share this post


Link to post
Share on other sites

okay I've deleted the darkmod.log

is the thedarkmod.cfg the same as Darkmod.cfg 'cause I can't find thedarkmod.cfg?

If yes, in the Darkmod.cfg is a line whitch says: seta logFile "0"

Share this post


Link to post
Share on other sites

That's in the qconsole.log:

log file 'qconsole.log' opened on Thu Jul  2 17:45:58 2020

execing DarkmodKeybinds.cfg
Couldn't exec autoexec.cfg - file does not exist.
I18N: SetLanguage: 'english'.
I18N: Found no character remapping for english.
I18N: 1274 strings read from strings/english.lang
I18N: 'strings/fm/english.lang' not found.
----- Initializing OpenAL -----
Setup OpenAL device and context
OpenAL: found device 'OpenAL Soft on Lautsprecher (2- Realtek High Definition Audio)'
OpenAL: found device 'OpenAL Soft on Realtek HD Audio 2nd output (2- Realtek High Definition Audio)'
OpenAL: using 'OpenAL Soft'
OpenAL: HRTF is available
OpenAL vendor: OpenAL Community
OpenAL renderer: OpenAL Soft
OpenAL version: 1.1 ALSOFT 1.19.1
OpenAL: found EFX extension
OpenAL: HRTF is enabled (reason: 1 = ALC_HRTF_ENABLED_SOFT)
OpenAL: found 256 hardware voices
----- Initializing OpenGL -----
Initializing OpenGL subsystem
...getting default gamma ramp: success
...registered window class
...registered fake window class
...created window @ 0,0 (1920x1080)
Initializing OpenGL driver
...getting DC: succeeded
...PIXELFORMAT 2 selected
...creating GL context: core-fc
...making context current: succeeded
...initializing QGL

------- Input Initialization -------
Initializing DirectInput...
mouse: DirectInput initialized.
keyboard: DirectInput initialized.
------------------------------------
OpenGL vendor: ATI Technologies Inc.
OpenGL renderer: ATI Radeon HD 4800 Series
OpenGL version: 3.1.11672 Core Profile Forward-Compatible Context compatibility
Checking required OpenGL features...
v - using GL_VERSION_3_1
v - using GL_EXT_texture_compression_s3tc
v - using WGL_VERSION_1_0
v - using WGL_ARB_pixel_format
Checking optional OpenGL extensions...
Max texture units: 16
Max active textures: 32
Max geometry output vertices: 1024
Max geometry output components: 16384
Max vertex attribs: 29
v - using GL_EXT_texture_filter_anisotropic
    maxTextureAnisotropy: 16.000000
v - using GL_ARB_vertex_program
v - using GL_ARB_fragment_program
X - GL_ARB_stencil_texturing not found
X - GL_EXT_depth_bounds_test not found
v - using GL_ARB_geometry_shader4
v - using GL_ARB_timer_query
X - GL_KHR_debug not found
v - using GL_ARB_sync
v - using GL_ARB_draw_elements_base_vertex
X - GL_ARB_texture_swizzle not found
X - GL_ARB_buffer_storage not found
v - using WGL_EXT_swap_control
----- R_ReloadARBPrograms -----
glprogs/bumpyEnvironment.vfp 3
glprogs/bumpyEnvironment.vfp 4
glprogs/environment.vfp 1
glprogs/environment.vfp 2
glprogs/soft_particle.vfp 5
glprogs/soft_particle.vfp 6
-------------------------------
---------- R_ReloadGLSLPrograms_f -----------
Linking GLSL program cubeMap ...
Linking GLSL program bumpyEnvironment ...
Linking GLSL program depthAlpha ...
Linking GLSL program fog ...
Linking GLSL program oldStage ...
Linking GLSL program blend ...
Linking GLSL program stencilshadow ...
Linking GLSL program shadowMapA ...
Linking GLSL program shadowMapN ...
Linking GLSL program ambientInteraction ...
Linking GLSL program interactionStencil ...
Linking GLSL program interactionShadowMaps ...
WARNING:Compiling shader file interactionMultiLight.fs failed:
Fragment shader failed to compile with the following errors:
ERROR: 0:1: error(#106) Version number not supported by GL2
ERROR: error(#273) 1 compilation errors.  No code generated


File indexes:
  0 - interactionMultiLight.fs

WARNING:Failed to attach shader interactionMultiLight.fs to program interactionMultiLight.

Linking GLSL program interactionMultiLight ...
Linking GLSL program frob ...
Linking GLSL program soft_particle ...
Linking GLSL program tonemap ...
---------------------------------
New buffer size: 12288 kb
New buffer size: 12288 kb
Font fonts/english/stone in size 12 not found, using size 24 instead.
--------- Initializing Game ----------
The Dark Mod 2.08/32, win-x86, code revision 8771
Build date: Jun 17 2020
WARNING:file def/tdm_ai_undead_zombie.def, line 1084: entityDef 'atdm:ai_undead_zombie_alt_animations' previously defined at def/tdm_ai_undead_zombie.def:292
WARNING:file materials/tdm_epi_shader_2.mtr, line 485: material 'wizard_cloth_001' previously defined at materials/tdm_epi_shader_2.mtr:389
WARNING:file materials/tdm_water.mtr, line 1189: material 'textures/particles/ripple_1' previously defined at materials/tdm_particles_ripple.mtr:1
Initializing event system
...841 event definitions
Initializing class hierarchy
...172 classes, 417136 bytes for event callbacks
Initializing scripts
Compiled 'û': 87.2 ms
---------- Compile stats ----------

Memory usage:
     Strings: 45, 5552 bytes
  Statements: 20325, 406500 bytes
   Functions: 1268, 129304 bytes
   Variables: 92036 bytes
    Mem used: 1344984 bytes
 Static data: 2277600 bytes
   Allocated: 3047340 bytes
 Thread size: 7068 bytes

...6 aas types
game initialized.
--------------------------------------
Parsing material files
Found 0 new mission packages.
Found 3 mods in the FM folder.
Parsed 0 mission declarations.
-------- Initializing Session --------
Font fonts/english/mason_glow in size 12 not found, using size 48 instead.
Font fonts/english/mason_glow in size 24 not found, using size 48 instead.
Font fonts/english/mason in size 12 not found, using size 48 instead.
Font fonts/english/mason in size 24 not found, using size 48 instead.
WARNING:Couldn't load sound 'sound' using default
session initialized
--------------------------------------
--- Common Initialization Complete ---
------------- Warnings ---------------
during The Dark Mod initialization...
WARNING:Compiling shader file interactionMultiLight.fs failed:
Fragment shader failed to compile with the following errors:
ERROR: 0:1: error(#106) Version number not supported by GL2
ERROR: error(#273) 1 compilation errors.  No code generated


File indexes:
  0 - interactionMultiLight.fs

WARNING:Couldn't load sound 'sound' using default
WARNING:Failed to attach shader interactionMultiLight.fs to program interactionMultiLight.

WARNING:file def/tdm_ai_undead_zombie.def, line 1084: entityDef 'atdm:ai_undead_zombie_alt_animations' previously defined at def/tdm_ai_undead_zombie.def:292
WARNING:file materials/tdm_epi_shader_2.mtr, line 485: material 'wizard_cloth_001' previously defined at materials/tdm_epi_shader_2.mtr:389
WARNING:file materials/tdm_water.mtr, line 1189: material 'textures/particles/ripple_1' previously defined at materials/tdm_particles_ripple.mtr:1
WARNING:file skins/tdm_epi_skins.skin, line 86: skin 'steam_engine_003_off' previously defined at skins/steam_engine_003.skin:1
WARNING:file skins/tdm_epi_skins.skin, line 97: skin 'steam_engine_003_on' previously defined at skins/steam_engine_003.skin:18
WARNING:file sound/tdm_ai_maiden.sndshd, line 1709: sound 'tdm_ai_maiden_request_help' previously defined at sound/tdm_ai_maiden.sndshd:1561
9 warnings
Couldn't exec autocommands.cfg - file does not exist.
Linking GLSL program cubeMap ...
Linking GLSL program bumpyEnvironment ...
Linking GLSL program depthAlpha ...
Linking GLSL program fog ...
Linking GLSL program oldStage ...
Linking GLSL program blend ...
Linking GLSL program stencilshadow ...
Linking GLSL program shadowMapA ...
Linking GLSL program shadowMapN ...
Linking GLSL program ambientInteraction ...
Linking GLSL program interactionStencil ...
Linking GLSL program interactionShadowMaps ...
WARNING:Compiling shader file interactionMultiLight.fs failed:
Fragment shader failed to compile with the following errors:
ERROR: 0:1: error(#106) Version number not supported by GL2
ERROR: error(#273) 1 compilation errors.  No code generated


File indexes:
  0 - interactionMultiLight.fs

WARNING:Failed to attach shader interactionMultiLight.fs to program interactionMultiLight.

Linking GLSL program interactionMultiLight ...
Linking GLSL program frob ...
Linking GLSL program soft_particle ...
Linking GLSL program tonemap ...

 

Share this post


Link to post
Share on other sites

Thanks!

First, try setting these to 0

seta r_useFenceSync "0"
r_useBaseVertex "0"
r_usePersistentMapping "0"

Next try different values for:


r_glCoreProfile "2"

 

  • Like 1

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Share this post


Link to post
Share on other sites

I've deleted tdm_base01.pk4 and run the update again. the problem still appers, only difference is, that the blackscreen is coming a later. for the first 2 or 3 seconds you can see a grey screen now.

the driver version is 8.970.100.9001 (see screenshot) I tried to update it but it always says it's the newest one. I really think the only way to solve that problem is to buy a better grapic card.

Radeon driver.JPG

Edited by Dracula

Share this post


Link to post
Share on other sites

According to the gpuinfo database, the HD4800 should support OpenGL 3.3, so it should be able to run TDM 2.08 and the upcoming 2.09, at least. Chances are this is either a driver bug, or we're doing something wrong on the coding side. It would be great to find out the cause, and then perhaps we can fix or work around it.

Unfortunately, I don't have any immediate ideas right now, will have to think about it.

Share this post


Link to post
Share on other sites
2 hours ago, Dracula said:

I've deleted tdm_base01.pk4 and run the update again. the problem still appers, only difference is, that the blackscreen is coming a later. for the first 2 or 3 seconds you can see a grey screen now.

the driver version is 8.970.100.9001 (see screenshot) I tried to update it but it always says it's the newest one. I really think the only way to solve that problem is to buy a better grapic card.

Radeon driver.JPG

Sure looks like the latest version

Used 4000 generation cards cost starting at $15 in my area but I'm not sure anyone would be willing to sponsor buying one for testing.

I remember owning a 4850 around 2010 (ol' good days). It cost around $80 back then and it was a solid, respectable mid-range GPU. What can you buy for $80 now?

Still, it was the only GPU I ever owned that had serious driver issues (short of Intel 3000 of course, but I never used it for gaming). Remember Rage? Every now and then AMD likes to drop the ball with OpenGL support.

Share this post


Link to post
Share on other sites

anyway thanks to all of you for your help. it was just a try to let the new version somehow work, but sadly it's not. hope it'll work with an other card.

Share this post


Link to post
Share on other sites
On 7/2/2020 at 4:49 PM, Dracula said:

WARNING:Compiling shader file interactionMultiLight.fs failed:
Fragment shader failed to compile with the following errors:
ERROR: 0:1: error(#106) Version number not supported by GL2
ERROR: error(#273) 1 compilation errors.  No code generated

Presumably this part is the problem? If the lighting interaction shader cannot be compiled, a black screen is likely to result.

Share this post


Link to post
Share on other sites
7 minutes ago, OrbWeaver said:

Presumably this part is the problem? If the lighting interaction shader cannot be compiled, a black screen is likely to result.

No, this shader is only needed by an experimental feature, and even if it were enabled (which it is not if the Darkmod.cfg file was deleted), it would only affect actual ingame rendering, not the menu.

  • Thanks 1

Share this post


Link to post
Share on other sites

We can try some more complicated ways to debug the problem, but they would need more patience from @Dracula.

For simple checks, could you please set in your darkmod.cfg:

  • r_glDebugContext 1
  • r_glDebugOutput 2
  • logFile 1 (in case you have not already)

Then post contents of qconsole.log here.

Please put large text files into spoiler environment (including your earlier post). That's the icon looking like eye in post editor.

Share this post


Link to post
Share on other sites

Another try is:

  • r_glCoreProfile 0
  • r_uniformTransforms 0
  • r_useFenceSync 0

But please make sure to revert these settings after you try (deleting the whole darkmod.cfg is the most reliable way to reset it to defaults).

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...