View Full Version : Random crash
wolfyking1
07-01-2009, 02:00 AM
Hey guys :guitar: my first post. But I'm having some problems here. Got the game up and running with an intel graphics card :beerchug: but there is a problem...The game kinda of closes randomly, and when it does, the desktop gets really small, like 1/8th of it's original size, or the gamma in the game stays on desktop, browser, etc. So I would appreciate some help! (first post :wiggle14: )
This is the first MMO that is actually playable on my machine! Besides runescape, which I do play, but regnum is funner :superpusso:
imefisto_foro
07-01-2009, 03:01 AM
please tell us which versions of this software has on your system:
xorg-server
xf86-video-intel
Mesa
Here some posts with info about RO Segfault:
LINK (http://regnumonlinegame.com/forum/showthread.php?t=36774)
LINK (http://regnumonlinegame.com/forum/showthread.php?t=41714)
LINK (http://regnumonline.com.ar/forum/showthread.php?t=41850)
onemyndseye
07-01-2009, 04:52 AM
For Intel and ATI video we are are left with a pretty crashy experience unfortunately.... In the posts above youll see that I've managed to bandage some of these issues but they mostly remain unfixed.
This script will help you abit.. it will start RO with some tweaks, wait for it to exit, then reset your Desktop and gamma to the values they were before RO ran. It may even reduce your crashes abit
Since your using Intel Video - are you using my Chroot method for running RO? If so there is an alternate version of this script at the end of the HOWTO thread (3rd link above). Use that instead... If you are not using the chroot method and you are getting into the game OK but just crashing at random times then the script below may reduce the frequency -- IN this case DONT use the chroot method
file: rolauncher.sh
#!/bin/bash
# Location that RO is installed. (Default location is ~/regnum)
GAME_DIR=~/regnum
## This stores the video mode of my current desktop so it may be recalled later
## since RO doesnt resize the screen for me on exit.
OLD_VIDMODE="$(xrandr |grep "Screen 0" | awk '{print $8 $9 $10}' |sed '{s|,||}')"
# Same for Gamma
OLD_GAMMA=$(xgamma 2>&1 | awk '{print $3}' |sed '{s|,||}')
## Function to wait until RO was exited
wait_game() {
RO_EXIT="0"
while [ $RO_EXIT = "0" ]
do
TMP1=$(ps -U $USER |grep game |grep -v grep |awk '{print $1}')
if [ -z "$TMP1" ]; then
RO_EXIT=1
fi
sleep 0.5
done
}
cd "$GAME_DIR"
export MALLOC_CHECK_=1
./rolauncher
sleep 1
# Wait till RO quits
wait_game
## Clean up and revert to old vidmode
##
export MALLOC_CHECK_=0
## Makes sure previous desktop mode is set
xrandr -s "$OLD_VIDMOD"
xgamma --gamma "$OLD_GAMMA"
exit 0
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.