Chaosforge Forum

  • June 17, 2025, 03:18
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1]

Author Topic: [0.9.9.1] (Linux) Display Bug?  (Read 3974 times)

Cheater

  • Private FC
  • *
  • Offline Offline
  • Posts: 6
  • Lost Soul
    • View Profile
[0.9.9.1] (Linux) Display Bug?
« on: September 14, 2010, 16:39 »

This started happening recently, DoomRL worked perfectly pretty well before.

Basically, I have no line wrap for the output (and it also isn't put in place by dvtm, but I think these issues are correlated). The game just outputs ASCII as far as the screen allows, so I get 2 lines of game text per terminal line. It doesn't work in a plain terminal either (without fbterm and dvtm).

However, it does work inside a terminal emulator in X. Any Idea of what the problem could be?



ETA: This also happens with Berserker!
« Last Edit: September 14, 2010, 16:41 by Cheater »
Logged

Simon-v

  • Composer
  • Elder Chaos Guard
  • Captain
  • *
  • *
  • Offline Offline
  • Posts: 272
  • Only Human
    • View Profile
    • The Life and Works of One Simon Volpert
Re: [0.9.9.1] (Linux) Display Bug?
« Reply #1 on: September 14, 2010, 18:18 »

If i understand correctly, DoomRL is specifically built for an 80x25 geometry terminal, and looks like there aren't any routines in it to validate its environment (and that would be too platform-specific anyway). Configuring the terminal to provide an 80x25 geometry before launching the game seems like a reasonable workaround (and all the shell scripts provided with the game do this too).
Logged

Cheater

  • Private FC
  • *
  • Offline Offline
  • Posts: 6
  • Lost Soul
    • View Profile
Re: [0.9.9.1] (Linux) Display Bug?
« Reply #2 on: September 14, 2010, 20:53 »

Checking log.txt (I can't believe I didn't see it before), gives me this revealing, yet still compellingly obtuse error:

Code: [Select]
<TTextModeOutput/0/0> Initialized.
<TTextModeOutput/0/0> Setting ASCII video to 80x25 color.
<TTextModeOutput/0/0> Failed to set ASCII 80x25 color textmode.

ETA: Also, after reboot, it no longer works in X.
« Last Edit: September 14, 2010, 20:56 by Cheater »
Logged

Cyber Killer

  • Elder
  • Sergeant
  • *
  • *
  • Offline Offline
  • Posts: 98
  • cyberpunk
    • View Profile
    • CK's site
Re: [0.9.9.1] (Linux) Display Bug?
« Reply #3 on: September 16, 2010, 04:46 »

1. how are you starting the game? what terminal emulator inside x, or what shell if without x/
2. I don'nt have such problems with a recent build of Berserk even if I maximize the Konsole (KDE terminal emulator) window - the game keeps just to 80x25.
3. the same goes for doomrl 0.9.9.1 (using the download from the website) + 32bit lua libs

I guess it's a problem on your end, so let's get back to point no 1 - how exactly are you trying to run the game?
Logged

Cheater

  • Private FC
  • *
  • Offline Offline
  • Posts: 6
  • Lost Soul
    • View Profile
Re: [0.9.9.1] (Linux) Display Bug?
« Reply #4 on: September 16, 2010, 07:19 »

1) Inside X, I tried with urxvt-unicode and xterm (Both ./doomrl, ./doomrl_xterm starts an xterm session that immediately closes). Without X, in bash.

2) When DoomRL works in X (which it does occasionally) it does keep to 80x25 in a maximized urxvt.

ETA: My word! Installing fpc from the AUR seems to have solved the problem. I probably shouldn't say anything out of fear of jinxing myself until I test it further. Thanks for the help!
« Last Edit: September 16, 2010, 12:15 by Cheater »
Logged

Cyber Killer

  • Elder
  • Sergeant
  • *
  • *
  • Offline Offline
  • Posts: 98
  • cyberpunk
    • View Profile
    • CK's site
Re: [0.9.9.1] (Linux) Display Bug?
« Reply #5 on: September 16, 2010, 23:25 »

that's strange... how installing the compiler could have fixed anything? ;-)

Anyway what you are sayin in point 1 and 2 doesn't seem to be comprehendable to me - first you say that it doesn't work in urxvt, and then you say that it works in urxvt... :-)
Logged
Pages: [1]