Jump to content
The Dark Mod Forums

trouble with light gem in /dev/shm on Linux


lost_soul

Recommended Posts

I'm using Ubuntu 10.04, 64-bit. I have doom 3 installed in an unusual directory, but it is symlinked to /usr/local/games/doom3. When I play TDM, the light gem is totally black (except for during mantling). The guards cannot see me. The console is constantly flooded with "cannot open ../../../../dev/shm/tdm_lg.tga" or something like that. Any ideas?

I checked, and a file exists in /dev/shm, but it is blank. When I installed Doom 3, I just restored it from my external hard drive, rather than running the installer again. Could this be the problem? Doom 3 plays fine.

--- War does not decide who is right, war decides who is left.

Link to comment
Share on other sites

the guards cannot see me.

 

That's weird...

 

The console is constantly flooded with "cannot open ../../../.. /dev/shm/tdm_lg.tga" or something like that

 

You probably oughta dump it (console command "conDump") and find out what it is saying; I imagine that the problem, the big weird one, described above is due to more than a missing tga.The dump file will end up in the directory of the mission you are playing.

Edited by aidakeeley

"A Rhapsody Of Feigned And Ill-Invented Nonsense" - Thomas Aikenhead, On Theology, ca. 1696

Link to comment
Share on other sites

Yeah, this reminds me of the following entry in our wiki:

 

Game exits to menu after mission load, with renderpipe error in console

Symptoms: Missions are installed properly and will load, but after they reach 100% you are returned to the main menu or objectives screen. If you open the console (Ctrl-Alt-~ on US keyboards), you see one/both of these errors:

 

ERROR: Failed to open \\.\pipe\dm_renderpipe

or

 

ERROR: idRenderSystemLocal::uncrop currentcrop <1

Solution: Some firewalls, notably Sunbelt Firewall (aka Kerio Firewall) are known to interfere with TDM's lightgem, even when "disabled". To fix this problem, completely uninstall the firewall, and get a different one instead.

 

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 have doom 3 installed in an unusual directory, but it is symlinked to /usr/local/games/doom3.

 

Probably best not to do this. My guess would be that the symlink is causing Doom 3 (or perhaps the mod code) to get confused as to where /dev/shm can be found, although I'm not sure why a relative path would be used in this instance.

Link to comment
Share on other sites

Probably best not to do this. My guess would be that the symlink is causing Doom 3 (or perhaps the mod code) to get confused as to where /dev/shm can be found, although I'm not sure why a relative path would be used in this instance.

 

/dev/shm ist shared memory, are you sure that you don't have a limit on this? (maybe not enough shared memory, or your user cannot write there?)

 

What does

 

dir /dev/shm/

 

or

 

ulimit

 

say?

 

I have doom also installed locally in my home dir and symlinked it to /usr/games/local, so it should work that way.

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Nevermind. I fixed it! I just deleted Doom 3 and TDM and re-installed them. I've still got /usr/local/games/ (where doom 3 is) linked to another partition, because my slash is only 12 GB.

 

Ah that's good to know. I too have linked tons of directories away, beause I started with a 6Gb root some years back and every upgrade has left me struggling to find the needed space to start the update (tho the actual spaces like /tmp and /opt and whatnot used are in the giant /home partition but the stupid Kubuntu updater isn't able to figure this out... and everyyear the trick to convince it no longer works and you have to find a new one..*sigh*)

 

Anyway, glad you can play now!

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

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

    • Ansome

      Finally got my PC back from the shop after my SSD got corrupted a week ago and damaged my motherboard. Scary stuff, but thank goodness it happened right after two months of FM development instead of wiping all my work before I could release it. New SSD, repaired Motherboard and BIOS, and we're ready to start working on my second FM with some added version control in the cloud just to be safe!
      · 0 replies
    • 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
×
×
  • Create New...