Announcement

Collapse
No announcement yet.

Darkplaces / Debian help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Darkplaces / Debian help

    Hi all,

    Hopefully someone is able to help me with this issue I'm having. This setup used to work perfectly fine. I have not changed driver files or game files between the time the game worked and now since it doesn't.

    I'm running Debian Linux Squeeze 607, darkplaces 20130304

    This the output from the terminal:

    [email protected]:~/Quake/darkplacesengine20130304$ ./darkplaces-linux-x86_64-glx
    Console initialized.
    Trying to load library... "libz.so.1" - loaded.
    ./darkplaces-linux-x86_64-glx is not a PK3 file
    DarkPlaces-Quake Linux 18:43:06 Apr 8 2010 - release
    Playing shareware version.
    Trying to load library... "libcurl.so.4" - loaded.
    Initializing client
    Couldn't load gfx/palette.lmp, falling back on internal palette
    Trying to load library... "libvorbis.so.0" - loaded.
    Trying to load library... "libvorbisfile.so.3" - loaded.
    Trying to load library... "libmodplug.so.0" "libmodplug.so" "./libmodplug.so.0" "./libmodplug.so" - failed.
    Trying to load library... "libogg.so.0" - loaded.
    Trying to load library... "libtheora.so.0" - loaded.
    Trying to load library... "libvorbis.so.0" - loaded.
    Trying to load library... "libvorbisenc.so.2" - loaded.
    Trying to load library... "libOffscreenGecko.so" "./libOffscreenGecko.so" - failed.
    couldn't exec quake.rc
    couldn't exec default.cfg
    execing config.cfg
    couldn't exec autoexec.cfg
    Client using an automatically assigned port
    Client opened a socket on address 0.0.0.0:0
    Loading OpenGL driver libGL.so.1
    Using XFree86-VidModeExtension Version 2.2
    Using XVidMode fullscreen mode at 1440x900
    X Error of failed request: BadWindow (invalid Window parameter)
    Major opcode of failed request: 137 (NV-GLX)
    Minor opcode of failed request: 4 ()
    Resource id in failed request: 0x4000002
    Serial number of failed request: 168
    Current serial number in output stream: 168


    Any idea what the problem is?

    Thanks

    *edit*

    This appears to be a glx problem, not quake related.


    Console output, gives the same errors.

    [email protected]:~# glxinfo
    name of display: :0.0
    X Error of failed request: BadWindow (invalid Window parameter)
    Major opcode of failed request: 137 (NV-GLX)
    Minor opcode of failed request: 4 ()
    Resource id in failed request: 0x4000003
    Serial number of failed request: 33
    Current serial number in output stream: 33
    [email protected]:~# glx
    glxdemo glxgears glxheads glxinfo
    [email protected]:~# glx
    glxdemo glxgears glxheads glxinfo
    [email protected]:~# glxgears
    X Error of failed request: BadWindow (invalid Window parameter)
    Major opcode of failed request: 137 (NV-GLX)
    Minor opcode of failed request: 4 ()
    Resource id in failed request: 0x4000002
    Serial number of failed request: 38
    Current serial number in output stream: 38
    Last edited by CythoN; 11-23-2013, 12:20 PM.

  • #2
    Hi Damage_inc,

    Thanks for the speedy reply!

    I get the same result, console output:

    [email protected]:/home/glen/Quake/darkplacesengine20130304# ./darkplaces-linux-x86_64-sdl
    Console initialized.
    Trying to load library... "libz.so.1" - loaded.
    ./darkplaces-linux-x86_64-sdl is not a PK3 file
    DarkPlaces-Quake Linux 18:43:07 Apr 8 2010 - release
    Playing shareware version.
    Trying to load library... "libcurl.so.4" - loaded.
    Initializing client
    Couldn't load gfx/palette.lmp, falling back on internal palette
    Failed to init SDL joystick subsystem:
    Trying to load library... "libvorbis.so.0" - loaded.
    Trying to load library... "libvorbisfile.so.3" - loaded.
    Trying to load library... "libmodplug.so.0" "libmodplug.so" "./libmodplug.so.0" "./libmodplug.so" - failed.
    Trying to load library... "libogg.so.0" - loaded.
    Trying to load library... "libtheora.so.0" - loaded.
    Trying to load library... "libvorbis.so.0" - loaded.
    Trying to load library... "libvorbisenc.so.2" - loaded.
    Trying to load library... "libOffscreenGecko.so" "./libOffscreenGecko.so" - failed.
    couldn't exec quake.rc
    couldn't exec default.cfg
    execing config.cfg
    couldn't exec autoexec.cfg
    Client using an automatically assigned port
    Client opened a socket on address 0.0.0.0:0
    Linked against SDL version 1.2.13
    Using SDL library version 1.2.14
    X Error of failed request: BadWindow (invalid Window parameter)
    Major opcode of failed request: 137 (NV-GLX)
    Minor opcode of failed request: 4 ()
    Resource id in failed request: 0x4a00013
    Serial number of failed request: 35
    Current serial number in output stream: 35

    It has something to do with open GL. When inside the nvidia control panel application, the window closes unexpectedly when I select "OpenGL/GLX information"
    Running it from the console it gives the same " 'BadWindow (invalid Window parameter)" error again:

    [email protected]:/home/glen/Quake/darkplacesengine20130304# nvidia-settings --sync
    The program 'nvidia-settings' received an X Window System error.
    This probably reflects a bug in the program.
    The error was 'BadWindow (invalid Window parameter)'.
    (Details: serial 566 error_code 3 request_code 137 minor_code 4)
    (Note to programmers: normally, X errors are reported asynchronously;
    that is, you will receive the error a while after causing it.
    To debug your program, run it with the --sync command line
    option to change this behavior. You can then get a meaningful
    backtrace from your debugger if you break on the gdk_x_error() function.)

    Comment


    • #3
      Hello CythoN. I removed my simple suggestion as, I knew it was too simple to actually work

      I'll search around and see if I can find anything that is useful Good luck,
      - damage_
      Name's damage_inc, and killing is my business. Don't worry though, it's nothing personal! Oh wait... maybe it is

      Comment


      • #4
        Thanks, I will post here if I find anything else useful.

        Comment


        • #5
          Have you tried some of the things suggested here: Debian User Forums • View topic - Compiz stopped working
          Name's damage_inc, and killing is my business. Don't worry though, it's nothing personal! Oh wait... maybe it is

          Comment


          • #6
            Right, managed to fix it but with a bit of luck

            Firstly, I installed these 3 packages from within synaptic:

            libgl1-nvidia-glx - simplifies replacing MESA libGL with GPU vendor libraries
            libgl1-nvidia-alertnatives - nvidia binary openGL libraries
            nvidia-kernel-2.6.32-5.amd64 - binary kernel module

            Rebooted, and that broke X.
            Rebooted again into recovery mode, uninstalled nvidia-kernel-common

            apt-get purge nvidia-kernel-common

            rebooted again, X now worked. Then I thought I'd reinstall the nvidia driver. During that process I encountered many warnings and errors although it completed. I rebooted, and that broke X again. Went into recovery mode, then ran the driver installation again, this time I opted not to create a kernel module, then it completed successfully, and solved the problem entirely!
            It looked like the glx component of the driver had either become corrupt or was damaged in some way.

            These are the currently installed components, which work:
            As you can see there are tons of openGL and other Nvidia stuff which is not needed.

            Comment


            • #7
              Thanks for that link, reading that now. Will book mark it too. +repped
              Last edited by CythoN; 11-23-2013, 03:09 PM.

              Comment


              • #8
                COOL. As that fixes your whole system and not just Quake. Glad to hear it.
                - damage_
                Name's damage_inc, and killing is my business. Don't worry though, it's nothing personal! Oh wait... maybe it is

                Comment


                • #9
                  I would like to know what your fps is with that config.
                  Open a terminal and run glxgears,let me know what you see.
                  WARNING
                  May be too intense for some viewers.
                  Stress Relief Device
                  ....BANG HEAD HERE....
                  ---------------------------
                  .
                  .
                  .
                  .
                  .--------------------------

                  Comment


                  • #10
                    Also what GPU , do a,..
                    $ lspci -nn | grep VGA
                    I never had any good results from the nouveau driver myself as it incomplete.
                    If you do it the Debian way all you needed to do was,..
                    $ aptitude install nvidia-kernel-dkms nvidia-settings nvidia-xconfig
                    and reboot.
                    In my experience though only the proprietary driver will give you the full use of the GPU.
                    If you get any artifacts or video bugs you may well have to install the Nvidia way.
                    Meaning you must remove and purge all the Nvidia stuff you have installed and use their package to build a kernel and module,reconfigure the X server and write a new config.It's not that hard but you must stop the X server and run the package
                    from the shell.
                    Last edited by bluntz; 11-23-2013, 08:03 PM.
                    WARNING
                    May be too intense for some viewers.
                    Stress Relief Device
                    ....BANG HEAD HERE....
                    ---------------------------
                    .
                    .
                    .
                    .
                    .--------------------------

                    Comment


                    • #11
                      Sorry about the delay,

                      glx gears gives me 60fps.

                      lspci -nn | grep VGA
                      01:00.0 VGA compatible controller [0300]: NVIDIA Corporation G86 [GeForce 8400M GT] [10de:0426] (rev a1)

                      Comment


                      • #12
                        was Vsync is enabled? 60fps suggests it to me.
                        Want to get into playing Quake again? Click here for the Multiplayer-Startup kit! laissez bon temps rouler!

                        Comment

                        Working...
                        X