Jump to content
The Dark Mod Forums

Version 2.08 blackscreen


Dracula

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)

 

 

Link to comment
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!

Link to comment
Share on other sites

Also, for some reason it often helps to delete darkmod.cfg after an update, so that you get a new one when you next start TDM. Worth keeping a backup of it in case that doesn't fix the black screen.

  • Like 1
Link to comment
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
Link to comment
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!

Link to comment
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 ...

 

Link to comment
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...)

Link to comment
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
Link to comment
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.

Link to comment
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.

Link to comment
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.

Link to comment
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
Link to comment
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.

Link to comment
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.

  • Recent Status Updates

    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
×
×
  • Create New...