LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-05-2006, 09:35 PM   #1
Reth
LQ Newbie
 
Registered: Mar 2005
Location: Australia
Distribution: Slackware, Debian, Gentoo, FreeBSD.
Posts: 8

Rep: Reputation: 0
Cedega 5.1/Guild Wars - Thread stack size is too small.


Greetings all,

I am using Gentoo (2.6.14-gentoo-r5).

When I try to play Guild Wars using Cedega with pthreads enabled, I get the following warning:

Code:
Your system requires the use of pthreads but the maximum system allowed stack size of 2052 kB may be too small for some games.
If you experience problems, try rerunning with "-use-pthreads no" which may help.
The game then continues to start as normal. I am able to login and create a character, and it downloads all the updates fine.

However, When I try to enter the game world, it does one of three things:

1. It will crash when loaded to 100%.

2. It will enter the game area, but then crash after it has loaded.

3. It will enter the game area, and I can play, but when I try to move to another area, the game will crash like above. (This has only happened twice)

When I try to start the game without pthreads, it will ask me if I want to start the game, then not doing anything (no crashes, no hangs, nothing).

I suspect that it is because of the small(?) thread stack size (Not the kernel stack size, I'm sure). I downloaded the source code to "LinuxThreads" (I don't use NPTL, but I am considering migrating, would this be best?) and had a little look through it. I found where STACK_SIZE is set in descr.h:

Code:
#ifndef STACK_SIZE
#define STACK_SIZE  (2 * 1024 * 1024)
#endif
Although I think that I can manage the change (Although I think I need to change it in glibc and recompile that (Could someone clear that up for me?)), I would like some more concreate information (i.e How much to increase it) and possibly a short guide on how best to go about this.

Any help is much appreciated.

Cheers,
Reth.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Guild Wars? dacpkbeast Linux - Games 5 04-08-2009 11:03 AM
Guild Wars under Linux Hammett Linux - Games 4 04-08-2009 10:35 AM
Guild Wars - Linux Guild Forming andrewd18 Linux - Games 23 04-06-2006 10:08 PM
Thread stack size failure jdhedden Programming 0 03-27-2006 08:53 AM
i cant get guild wars to freaking work in cedega BorgAssimilator Linux - Software 3 08-16-2005 02:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration