Author Topic: Tremulous kills X with latest Debian Sid  (Read 4561 times)

hvw59601

  • Posts: 5
  • Turrets: +0/-0
Tremulous kills X with latest Debian Sid
« on: January 09, 2008, 08:39:59 pm »
Hi,

Just wondering whether anyone can run the Debian tremulous packages with the latest (01/09/08) Sid xserver-xorg-core + xserver-xorg.

There are 3 cases:

1. Not upgrading Xserver-xorg tremulous works fine. Last August's version:
Code: [Select]
ii  xserver-xorg                     1:7.2-5                    the X.Org X server
ii  xserver-xorg-core                2:1.3.0.0.dfsg-12          X.Org X server -- core server
2. Upgrading recently. Mouse now inoperative in tremulous.
Is like http://tremulous.net/forum/index.php?topic=6480.msg97282#msg97282
Version:
Code: [Select]
ii  xserver-xorg               1:7.3+9                    the X.Org X server
ii  xserver-xorg-core          2:1.4.1~git20071212-2      Xorg X server - core server
3. Most recent upgrade. X dies when starting tremulous. Version:
Code: [Select]
ii  xserver-xorg               1:7.3+10                   the X.Org X server
ii  xserver-xorg-core          2:1.4.1~git20080105-1      Xorg X server - core server
In all 3 version the kernel and the nvidia driver are the same: 2.6.23-1-686 and 96.43.01. So the problem is X.

Unfortunately not upgrading X is not an option, neither is the solution to case 2.

The messages that tremulous produces in case 3:

Code: [Select]
tremulous 1.1.0 linux-x86 Feb 28 2006
----- FS_Startup -----
Current search path:
/home/hugo/.tremulous/base
/hda10/backup.files/fromhd/home/pablo/tremulous/base/vms-1.1.0.pk3 (4 files)
/hda10/backup.files/fromhd/home/pablo/tremulous/base/map-uncreation-1.1.0.pk3 (110 files)
/hda10/backup.files/fromhd/home/pablo/tremulous/base/map-tremor-1.1.0.pk3 (45 files)
/hda10/backup.files/fromhd/home/pablo/tremulous/base/map-transit-1.1.0.pk3 (135 files)
/hda10/backup.files/fromhd/home/pablo/tremulous/base/map-niveus-1.1.0.pk3 (134 files)
/hda10/backup.files/fromhd/home/pablo/tremulous/base/map-nexus6-1.1.0.pk3 (151 files)
/hda10/backup.files/fromhd/home/pablo/tremulous/base/map-karith-1.1.0.pk3 (118 files)
/hda10/backup.files/fromhd/home/pablo/tremulous/base/map-atcs-1.1.0.pk3 (87 files)
/hda10/backup.files/fromhd/home/pablo/tremulous/base/map-arachnid2-1.1.0.pk3 (67 files)
/hda10/backup.files/fromhd/home/pablo/tremulous/base/data-1.1.0.pk3 (1229 files)
/hda10/backup.files/fromhd/home/pablo/tremulous/base

----------------------
2080 files in pk3 files
execing default.cfg
execing autogen.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----

------- Input Initialization -------
Joystick is not active.
------------------------------------
...loading libGL.so.1:
Calling SDL_Init(SDL_INIT_VIDEO)...
SDL_Init(SDL_INIT_VIDEO) passed.
Initializing OpenGL display
...setting mode 3: 640 480
SDL_SetVideoMode failed: Couldn't find matching GLX visual
SDL_SetVideoMode failed: Couldn't find matching GLX visual
----- CL_Shutdown -----
RE_Shutdown( 1 )



Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Re: Tremulous kills X with latest Debian Sid
« Reply #1 on: January 09, 2008, 11:36:19 pm »
This is not an issue with Tremulous.

Caveman

  • Guest
Re: Tremulous kills X with latest Debian Sid
« Reply #2 on: January 10, 2008, 01:04:51 am »
Dude, if you upgrade X and don't upgrade your gfx-drivers, then please don't bash tremulous.
YOU are missing the GLX-extensions.

hvw59601

  • Posts: 5
  • Turrets: +0/-0
Re: Tremulous kills X with latest Debian Sid
« Reply #3 on: January 10, 2008, 12:44:35 pm »
Ah! I did not upgrade these:
Code: [Select]
ii  libgl1-mesa-dev                  7.0.1-1                    A free implementation of the OpenGL API -- GLX development files
ii  libgl1-mesa-glx                  7.0.1-1                    A free implementation of the OpenGL API -- GLX runtime

Let me try that. Thanks for your help!

Caveman

  • Guest
Re: Tremulous kills X with latest Debian Sid
« Reply #4 on: January 10, 2008, 01:14:34 pm »
Uhm.... those are irrelevant in this case :)
I am talking about the _driver_ of your gfx-card.
Today every driver brings it own modules for X. Usually only for cards w/o real 3D are the mesa-drivers needed, if you want to emulate 3D-hardware.

hvw59601

  • Posts: 5
  • Turrets: +0/-0
Re: Tremulous kills X with latest Debian Sid
« Reply #5 on: January 10, 2008, 01:56:57 pm »
Sorry, I misunderstood.
There are 2 cards:
00:0a.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a2)
01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 4000 AGP 8x] (rev c1)

I use 1 PC and 2 videocards/monitors/keyboards/mice

The driver is nvidia's legacy 96.43.01

But as I said in the OP above: I can run Trem just fine with that driver but the Debian libraries from last summer.
So I do think that the problem is mine that I upgraded only xserver-xorg-core + xserver-xorg. Except upgrading everything is a 2 day process because I am on a dialup modem.

PS I didn't mean to imply errors on the part of trem. in killing X, just the fact that "X gets killed for whatever reason when starting Trem."

Caveman

  • Guest
Re: Tremulous kills X with latest Debian Sid
« Reply #6 on: January 10, 2008, 02:56:25 pm »
if you upgrade X, make sure you upgrade the legacy-driver _afterwards_, it replaces several libraries in /usr/X11/libs

hvw59601

  • Posts: 5
  • Turrets: +0/-0
Re: Tremulous kills X with latest Debian Sid
« Reply #7 on: January 10, 2008, 07:20:17 pm »
Right. I thought I did that. But let me make sure. Thanks.

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Tremulous kills X with latest Debian Sid
« Reply #8 on: January 10, 2008, 09:26:01 pm »
Uhm.... those are irrelevant in this case :)
I am talking about the _driver_ of your gfx-card.
Today every driver brings it own modules for X. Usually only for cards w/o real 3D are the mesa-drivers needed, if you want to emulate 3D-hardware.
mesa is also used with all intel and some ati cards for real 3d (dri)
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

hvw59601

  • Posts: 5
  • Turrets: +0/-0
Re: Tremulous kills X with latest Debian Sid
« Reply #9 on: January 11, 2008, 12:03:28 pm »
My bad. I forgot to reset the symlink in /usr/lib/xorg/modules/extensions to 96.43.01's version of glx.so. Now we are back to the mouse problem described in http://tremulous.net/forum/index.php?topic=6480.msg97282#msg97282.

I was warned about changing that link in the Debian User List: http://lists.debian.org/debian-user/2008/01/msg00370.html

Thanks for all your help.