Author Topic: Planeshift and Redhat 9.0  (Read 826 times)

sugarshark

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
Planeshift and Redhat 9.0
« on: June 09, 2003, 11:16:51 pm »
Hello all,

while I had sucess compiling the planeshift 0.2.010 source & art distribution from sourceforge on my Redhat 9.0 Linux with Nvidia OpenGL, I experienced a lockup in the character generation screen. The lockup locks the keyboard for all programs, not just psclient and  occurs always after the console prints:

PreloadModels: Preloading complete

Logging in with a test account I found in the forum produced a lock-up as well.

I suspected threading issues, because RH 9.0 uses the Native Posix Threading Library (NPTL) instead of LinuxThreads. I set the Env.  variable LD_ASSUME_KERNEL=2.2.5 to disable the NPTL but then OpenGL wouldn\'t load anymore.  Ok, switched to software rendering, voila it runs... but clearly planeshift wasn\'t designed to run in software render mode, too slow.

It seems PS depends somehow on the points the LinuxThreads library differs from the posix thread standard, as the NPTL implements the standard more strict.

Is this a known problem, and is there a trivial fix?


acraig

  • Administrator
  • Veteran
  • *
  • Posts: 1562
    • View Profile
(No subject)
« Reply #1 on: June 10, 2003, 12:09:24 am »
As soon as my new Graphics Card arrives I will be installing RedHat 9 on my main machine and can start to test better with that.  Until then there is not much advice I can give at the moment.
----------
Andrew
"For all I know, she's lying, everyone's lying; welcome to the Internet"

Leander256

  • Guest
(No subject)
« Reply #2 on: April 06, 2004, 07:50:52 pm »
Since I recompiled my glibc under Gentoo with NPTL enabled, I also got problems with the game.

I can enter my login/pass and connect to the server, but as soon as the game begins (i.e. 3D world is displayed), it freezes. When I\'m lucky, after 30 seconds of waiting I can start playing, with short random freezes though. When I\'m not, I can just hit CTRL+C in the xterm.

I noticed that during the freezes, the processor usage falls down to 0%. However, the music goes on, and after a few moments, the console starts to print a lot of:
*** Input Buffer Full! Dropping packet of type 13!
So at least one thread still functions properly (IMHO).

If you (devs) want me to try debugging it, you know where I lurk ;)

Ril

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
(No subject)
« Reply #3 on: April 12, 2004, 05:42:26 pm »
Same for me :/

I just install MB on a Fedora Core 1 so the same as RH9 and got same problems ... with the \'buildplaneshift.sh --version=MB\' command

I can still use my keyboard in other shell or apps ...


This time i try to see a top in a shell window and when i focus back the window got some very funny messages.


here an extract of the logs i got :

CheckLinkDead: Sending heartbeat message 1 to server....
 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Currently using 0.00Kbps upstream, 0.04kbps downstream...
+ Packages out 14 , in 28...
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*** Input Buffer Full! Dropping packet of type 13!
*** Input Buffer Full! Dropping packet of type 13!
*** Input Buffer Full! Dropping packet of type 13!
*** Input Buffer Full! Dropping packet of type 13!
*** Input Buffer Full! Dropping packet of type 13!
*** Input Buffer Full! Dropping packet of type 13!
*** Input Buffer Full! Dropping packet of type 13!
*** Input Buffer Full! Dropping packet of type 13!
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Currently using 0.00Kbps upstream, 0.23kbps downstream...
+ Packages out 6 , in 161...
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*** Input Buffer Full! Dropping packet of type 13!
The time is now 13 o\'clock.
Light \'crystaljayose_inside\' was not found in lighting setup 13.
The time is now 14 o\'clock.
Light \'crystaljayose_inside\' was not found in lighting setup 14.
The time is now 15 o\'clock.
Light \'crystaljayose_inside\' was not found in lighting setup 15.

SetDRData: Player Wynona traversed 5.18m in 221.00 msec for an implied speed of 23.44m/sec. Cheat detected!
« Last Edit: April 12, 2004, 05:44:11 pm by Ril »

sugarshark

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #4 on: April 13, 2004, 11:55:48 am »
I made the move to gentoo lately. I really like it.
Now I could even try Planeshift :-)
But since yesterday I have a NPTL enabled glibc as well, and the problems are back.

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #5 on: July 03, 2004, 07:20:48 pm »
SUSE 9.1 seems to have a NPTL-compiled glibc too. Sugarshark was almost right,

export LD_ASSUME_KERNEL=2.4.1

resolved the input buffer issues and opengl worked too ;)


Back to Planeshift again \\o/

Asraniel

  • Hydlaa Resident
  • *
  • Posts: 94
    • View Profile
(No subject)
« Reply #6 on: July 06, 2004, 06:27:05 pm »
on mandrake 10 it doesent even compile...