PDA

View Full Version : Game freeze


Kanopik
11-01-2011, 10:17 AM
Nice to see you all after 2 years ;)

I've got now some strage problem. When I try to "enter game world", I get this small rectangle window, where should be "connecting" or "checking firewall" but it is blank, and at this moment my game freeze, eat whole CPU, and the only way to turn it off is kill with SIGKILL :(

@localhost ~]$ lspci | grep VGA
01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon X2300

With Gallium controler...
DIstro: Fedora

Cuchulainn
11-01-2011, 11:15 AM
oh nice distro, I use also Fedora ;)

If your linux freezes for several minutes when you open Regnum, you probably have not enough RAM+swap. To check if you have a swap partition turned on you can enter:
su
swapon -s

Otherwise it is probably a graphic driver issue. I recommend that you play with AMD/ATI proprietary driver and fixed shader mode, otherwise the fps will be at only about 10 or so.

To install the proprietary driver under Fedora 15 (not F16!) you can follow this guide: Howto for fglrx / catalyst (Ati driver) (http://forums.fedoraforum.org/showpost.php?p=794199&postcount=1)
Or you can also use the driver from ati.amd.com, then you should install kernel-devel and kernel-headers first. If you use a PAE kernel, you should install kernel-devel-PAE then. Choose fixed shader mode, otherwise the fps will be very low with this card.

If you want to try it with the default Radeon drivers first under Fedora 15 or Fedora 16, you should install libtxc_dxtn. I use a Radeon HD 3200, with this card I could only play in Force safe mode, if I used the default graphic driver. And I would get about 14 fps at 1440x900 resolution, at lower resolutions considerable higher fps.

standistortion
11-01-2011, 07:20 PM
Sry, posted a reply here to another thread

Not sure but I would have a look at htop (maybe need to install) and pstree to see what processes are using the cpu (think RO only runs as 1 thread so might not tell you much). After that you might find out what call is hanging using gdb (gnu debugger), it looks complicated but is fairly straightforward to use if you check out a few examples on the net.

Think I had similar trouble at first, as Cuchulainn said the libtxc_dxtn was missing from my system and is essential. Also needs openAL for sound but this wont cause it to hang.

Kanopik
11-01-2011, 08:22 PM
It's not swap problem...
o install the proprietary driver under Fedora 15 (not F16!) you can follow this guide: Howto for fglrx / catalyst (Ati driver) (http://forums.fedoraforum.org/showpost.php?p=794199&postcount=1)

No, cause it cause bugs with gnome-shell :/
Test another gl app, glxgears from a terminal should be enough, also test without compositing if you use it.
It works.

Screenshot in attach.

Cuchulainn
11-01-2011, 08:42 PM
It's not swap problem...

No, cause it cause bugs with gnome-shell :/

The libtxc_dxtn package is in the rpmfusion repo. You will need this for s3tc textures. Then enable force safe mode. If you can play under force safe mode, you could also test fixed shader mode. But I doubt that the later will work with textures.

You probably know already that you can use foce safe mode (not related to regnum) in Gnome 3, so that gnome shell is turned off.

Kanopik
11-01-2011, 09:05 PM
libtxc_dxtn + safe mode = the same (game freeze and eat whole CPU) :crying1:

ss in attach

EDIT:
System still writes I'm using Gallium. How to turn it off?

Cuchulainn
11-01-2011, 10:58 PM
Are you sure that it is not a RAM+swap issue? When I use a setup like this: 2 GB RAM, without swap partition, 64bit Linux system it produces a very similar freeze. It's isn't enough that a swap exists on your disk. It has to be turned on.

Otherwise try the proprietary AMD/ATI driver. If you get a black screen after boot, you can still boot to console mode and deinstall the proprietary AMD/ATI driver. Just add 3 to the kernel boot line and then login and remove the catalyst driver via "yum remove *catalyst*" if you followed above guide, which I linked. I'm not so sure, if your card is even support by Catalyst.

Kanopik
11-01-2011, 11:09 PM
LOL
I've installed WoW(cause I was reinstalling my sys 'bout week ago), some webcam drivers, made many reboots, and now... Regnum works :O

Btw. about ram - i have 2GB with 4GB swap(and 32bit old intel ;p)

EDIT:
and it stopped working.. strage

EDIT:
It's working, but only with "fixed pipelines" :< and eating whole CPU... :( (ram is ok)