Menu

X error when starting llxdoom

Help
2003-08-18
2013-05-13
  • Tilman Sauerbeck

    Hi folks,
    when I start llxdoom (-iwad /path/to/doom2.wad) I get the following error:

    I_StartupTimer...
    I_StartupGraphics...
    Using XFree86-VidModeExtension Version 2.2
    Using MITSHM extension
    X Error of failed request:  BadColor (invalid Colormap parameter)
      Major opcode of failed request:  1 (X_CreateWindow)
      Resource id in failed request:  0x23
      Serial number of failed request:  17
      Current serial number in output stream:  20

    I tried running lsdldoom but that freezes my box completely! My monitor switches itself off (as if it wouldn't get a signal from the graphics card anymore). Switching to a console doesn't help either. I logged in via ssh, killed X etc, but the monitor still doesn't respond.

    Can someone help me with these 2 issues? I'm running Linux 2.4.21, XFree 4.3, glibc 2.3.1 and the latest SDL release with a Matrox G450 (using the standard "mga" driver for XFree).

    Thanks in advance,
    Tilman

     
    • Thierry Van Elsuwe

      Is it possible to copy/paste or send me your XF86Config file ? I think, but I'm not sure, the bug is with some mode not properly supported by Legacy.

      Also, is it working if you use the -window command line switch (or change that in your legacy config file which light be in ~/.legacy/config.cfg) ?

      Finally, did you try that in OpenGL mode (with -opengl command line switch), or in software mode (without -opengl command line switch)

       
    • Tilman Sauerbeck

      * I sent /etc/X11/XF86Config to you
      * The same error occurs when running llxdoom with "-window"
      * llxdoom freezes my box completely (like lsdldoom) when running with "-opengl"

       
    • Anonymous

      Anonymous - 2003-11-10

      I get the same kind of error:

      I_StartupTimer...
      I_StartupGraphics...
      Using XFree86-VidModeExtension Version 2.2
      Using MITSHM extension
      X Error of failed request:  BadColor (invalid Colormap parameter)
        Major opcode of failed request:  1 (X_CreateWindow)
        Resource id in failed request:  0x25
        Serial number of failed request:  17
        Current serial number in output stream:  20

      This is without any command line switches, but get the same with -window. Using -opengl will work, but only fullscreen and not above 400x300 (setting higher res. will segfault llxdoom)

       
    • Wesley Johnson

      Wesley Johnson - 2009-04-06

      Have investigated the same error and have not resolved it.

      The X-window calls return "no available modes".
      It must have something to do with running a game made for a color palette mode under a non-paletted mode, which the current screen is using.

      Trying this with a window is conceptually difficult as that would require
      a paletted display within a screen that is in a non-paletted mode.

      You would think that there would be some palette to non-paletted mode display conversion built-in to X11, but I have not found it.

      I tried to fix it, but only moved the crash point further down the code.

      I got SDL running, ( on Linux 2.4.31, using SDL compiled from source,
      on AMD Hammer, with motherboard sound that finally worked
      after a year of monkeying with ALSA drivers (mixer problems)).

      Looking in the SDL code for how it does this is probably the next step.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.