With cordite in the air, splintered steel, shell casings and powder burns, there’s only one explanation...
If you have any trouble with SG, this is the place to ask.

Moderator: Pardner

Postby /dev/random » Thu Oct 29, 2009 10:49 pm

If your computer is quite slow, try adjusting the operating system as well.
You could set PulseAudio to use a lower quality mode, as it is quite CPU expensive.
Furthermore, you could use a Window Manager like Enlightment, which uses less hardware power, or even a different desktop environment like XFCE.

The graphic card (driver) seems to be quite slow, with my graphics card (NVIDIA GeForce 8600M GT, a whole different class) I get with Compiz enabled
13710 frames in 5.0 seconds = 2741.572 FPS
14046 frames in 5.0 seconds = 2808.962 FPS


Metacity instead yields
25991 frames in 5.0 seconds = 5198.191 FPS
25820 frames in 5.0 seconds = 5163.993 FPS


If possible, try to upgrade some of your hardware, that's more effective than to tamper with small software optimizations.
But if you like to go the difficult way, there's a whole bunch of tweaks for ioQuake3 based games :)
User avatar
/dev/random
Smokin' Amigo!
 
Posts: 410
Joined: Thu Jan 22, 2009 1:58 pm



Postby Redwing » Fri Oct 30, 2009 1:41 am

/dev/random wrote:If your computer is quite slow, try adjusting the operating system as well.
You could set PulseAudio to use a lower quality mode, as it is quite CPU expensive.
Furthermore, you could use a Window Manager like Enlightment, which uses less hardware power, or even a different desktop environment like XFCE.

The graphic card (driver) seems to be quite slow, with my graphics card (NVIDIA GeForce 8600M GT, a whole different class) I get with Compiz enabled
13710 frames in 5.0 seconds = 2741.572 FPS
14046 frames in 5.0 seconds = 2808.962 FPS


Metacity instead yields
25991 frames in 5.0 seconds = 5198.191 FPS
25820 frames in 5.0 seconds = 5163.993 FPS


If possible, try to upgrade some of your hardware, that's more effective than to tamper with small software optimizations.
But if you like to go the difficult way, there's a whole bunch of tweaks for ioQuake3 based games :)

I don't think I'll be buying a new graphics card for a 6-year old computer whose motherboard will probably die in a few months here anyway.

I'd like to try the other solutions, but most of that went way over my head...
DeviantArt|Music
Jesus wrote:Blessed are the Peacemakers, for they will be called the sons of God
User avatar
Redwing
Shootist
 
Posts: 99
Joined: Sun Mar 22, 2009 8:50 pm



Postby yap » Fri Oct 30, 2009 11:10 am

Redwing wrote:It's an option in-game, under System, you can say "Enable OpenGL Extensions" yes or no. When I click Yes, the sound all becomes one big hiss. It also hisses when I start the program.


Oh, I thought you were talking about the GNOME menu. In this case, you should report that as a bug here in the SG forum, but in a new thread...
User avatar
yap
Pistolero
 
Posts: 35
Joined: Sat Jan 03, 2009 10:21 am
Location: Germany



Postby yap » Fri Oct 30, 2009 11:27 am

/dev/random wrote:Furthermore, you could use a Window Manager like Enlightment, which uses less hardware power, or even a different desktop environment like XFCE.


Honestly, I don't think that changing the DE really helps, especially not if switching to XFCE in Ubuntu. I've recently found this article that shows that Xubuntu eats up even more resources than Ubuntu does. But LXDE or Fluxbox may be worth a try...

However, while it may be possible to get a few more FPS with a lot of tweaking, I think that without better drivers he will never get the same FPS he had with windows. Sadly, the win<->lin performance difference is huge with intel and ati drivers, and still noticable with nvidia. That's why I only buy nvidia, it's the best choice for linux gaming currently, but I really hope the situation will improve some day...
User avatar
yap
Pistolero
 
Posts: 35
Joined: Sat Jan 03, 2009 10:21 am
Location: Germany



Postby Redwing » Fri Oct 30, 2009 8:02 pm

At this point, I think I'll just screw around in Windows some more. I just found a different driver (from Intel instead of Dell) for my graphics controller, and I installed it in XP Compatibility Mode, so I'll try that.
DeviantArt|Music
Jesus wrote:Blessed are the Peacemakers, for they will be called the sons of God
User avatar
Redwing
Shootist
 
Posts: 99
Joined: Sun Mar 22, 2009 8:50 pm



Postby HomeSlice » Sat Oct 31, 2009 3:07 am

Hey Redwing,

Sounds like you are using an intel integrated graphics card. Uncle Slice is also running on an intel integrated graphics card (although, mine is about 2 years newer than yours).

I had the same problem, and it actually came down to the intel drivers.

So for the linux kernels starting from 2.6.28, the GEM got moved to the kernel, and KSM got turned on...long story short, Ubuntu continues to ship the old intel drivers with newer version of the kernel, and the result is a graphically-dead machine.

Solution? Painstakingly upgrade the drivers! Follow the instructions on this link, and you will be running on fps equal, if not higher, than its Windows counterpart.

http://ubuntuforums.org/showthread.php?t=1130582
User avatar
HomeSlice
Drifter
 
Posts: 12
Joined: Tue Mar 17, 2009 8:06 am



Postby yap » Mon Nov 02, 2009 11:15 am

HomeSlice wrote:Solution? Painstakingly upgrade the drivers! Follow the instructions on this link, and you will be running on fps equal, if not higher, than its Windows counterpart.

http://ubuntuforums.org/showthread.php?t=1130582


That howto is for Jaunty, not for Karmic! Imho, the drivers in Karmic should be up-to-date, and they already perform a lot better than the ones in Jaunty. Of course you can try to install newer driverys (if they exist), but you'd have to adapt the instructions to your distribution otherwise you'd likely mess up your system...
User avatar
yap
Pistolero
 
Posts: 35
Joined: Sat Jan 03, 2009 10:21 am
Location: Germany



Postby Redwing » Mon Nov 02, 2009 11:02 pm

yap wrote:
HomeSlice wrote:Solution? Painstakingly upgrade the drivers! Follow the instructions on this link, and you will be running on fps equal, if not higher, than its Windows counterpart.

http://ubuntuforums.org/showthread.php?t=1130582


That howto is for Jaunty, not for Karmic! Imho, the drivers in Karmic should be up-to-date, and they already perform a lot better than the ones in Jaunty. Of course you can try to install newer driverys (if they exist), but you'd have to adapt the instructions to your distribution otherwise you'd likely mess up your system...

Well, I did it, and it worked out pretty well, I think. I'm now getting around 30-40 FPS as long as I'm not on top of a building. I'm not sure what else to do.
DeviantArt|Music
Jesus wrote:Blessed are the Peacemakers, for they will be called the sons of God
User avatar
Redwing
Shootist
 
Posts: 99
Joined: Sun Mar 22, 2009 8:50 pm



Postby yap » Tue Nov 03, 2009 10:45 am

Redwing wrote:Well, I did it, and it worked out pretty well, I think. I'm now getting around 30-40 FPS as long as I'm not on top of a building. I'm not sure what else to do.


Now I'm curious: which configuration did you choose? Did you replace "jaunty" with "karmic" when adding the repositories?
User avatar
yap
Pistolero
 
Posts: 35
Joined: Sat Jan 03, 2009 10:21 am
Location: Germany



HI, cannot get sg to work in ubuntu linux

Postby gunsmoker » Sun Nov 22, 2009 5:49 pm

Hi, I downloaded SG to my home folder, I then extracted it to my home folder, changed the folder name to SmokinGuns, then changed the smokinguns.x86 file to a executable one by clicking the box.

It would not work, and I read here that I should try to open it in a terminal and see what error message I get:

I did: cd SmokinGuns
./smokinguns.x86

it said: ./smokinguns.x86: error while loading shared libraries: libopenal.so.0: cannot open shared object file: No such file or directory

Any help in resolving this issue is greatly appreciated
Thank you
gunsmoker
Pistolero
 
Posts: 33
Joined: Sat Nov 21, 2009 7:44 pm



Postby yap » Mon Nov 23, 2009 10:56 am

Hi!

All of this has already been discussed within this thread, please read all posts before asking the same question again! I'll give you a summary though:

1. Install OpenAL (assuming you are using latest Ubuntu):

Code: Select all
sudo apt-get install libopenal1


2. Create a symlink

Code: Select all
sudo ln -s /usr/lib/libopenal.so.1 /usr/lib/libopenal.so.0


Come back if this doesn't work :wink:
User avatar
yap
Pistolero
 
Posts: 35
Joined: Sat Jan 03, 2009 10:21 am
Location: Germany



Postby gunsmoker » Mon Nov 23, 2009 6:34 pm

Hi yap, thank you for responding. I am unfamiliar with much of this and didnt even know what to look for.

I did your suggestions and this time it tried to open SG but this is what it said:

computer@computer:~$ sudo apt-get install libopenal1
[sudo] password for computer:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libopenal1 is already the newest version.
libopenal1 set to manually installed.
The following packages were automatically installed and are no longer required:
linux-headers-2.6.28-11 linux-headers-2.6.28-11-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
computer@computer:~$ sudo ln -s /usr/lib/libopenal.so.1 /usr/lib/libopenal.so.0
computer@computer:~$
computer@computer:~$ sudo ln -s /usr/lib/libopenal.so.1 /usr/lib/libopenal.so.0
ln: creating symbolic link `/usr/lib/libopenal.so.0': File exists
computer@computer:~$ cd SmokinGuns
computer@computer:~/SmokinGuns$ ./smokinguns.x86
UID 1000 EUID 1000
SG 1.0 linux-i386 Dec 31 2008
----- FS_Startup -----
pak0 has checksum 2206249363
alamo1 has checksum 3611996451
joekarimat1 has checksum 891991440
sg_maps0 has checksum 3111238755
sg_pak0 has checksum 2450671269
sg_sounds has checksum 1404357192
sg_textures0 has checksum 3110057026
Current search path:
/home/computer/.smokinguns/smokinguns
./smokinguns/sg_textures0.pk3 (1018 files)
./smokinguns/sg_sounds.pk3 (278 files)
./smokinguns/sg_pak0.pk3 (803 files)
./smokinguns/sg_maps0.pk3 (161 files)
./smokinguns/joekarimat1.pk3 (178 files)
./smokinguns/alamo1.pk3 (14 files)
./smokinguns
/home/computer/.q3a/smokinguns
/home/computer/.smokinguns/baseq3
./baseq3/pak0.pk3 (107 files)
./baseq3

----------------------
2559 files in pk3 files
execing default.cfg
execing q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok

------- Input Initialization -------
Joystick is not active.
------------------------------------
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
QKEY found.
----- Client Initialization Complete -----
----- R_Init -----
...loading opengl32: QGL_Init: Can't load opengl32 from /etc/ld.so.conf: opengl32: cannot open shared object file: No such file or directory
failed
...loading libGL.so: QGL_Init: Can't load libGL.so from /etc/ld.so.conf: libGL.so: cannot open shared object file: No such file or directory
failed
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystemcomputer@computer:~$ sudo apt-get install libopenal1
[sudo] password for computer:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libopenal1 is already the newest version.
libopenal1 set to manually installed.
The following packages were automatically installed and are no longer required:
linux-headers-2.6.28-11 linux-headers-2.6.28-11-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
computer@computer:~$ sudo ln -s /usr/lib/libopenal.so.1 /usr/lib/libopenal.so.0
computer@computer:~$
computer@computer:~$ sudo ln -s /usr/lib/libopenal.so.1 /usr/lib/libopenal.so.0
ln: creating symbolic link `/usr/lib/libopenal.so.0': File exists
computer@computer:~$ cd SmokinGuns
computer@computer:~/SmokinGuns$ ./smokinguns.x86
UID 1000 EUID 1000
SG 1.0 linux-i386 Dec 31 2008
----- FS_Startup -----
pak0 has checksum 2206249363
alamo1 has checksum 3611996451
joekarimat1 has checksum 891991440
sg_maps0 has checksum 3111238755
sg_pak0 has checksum 2450671269
sg_sounds has checksum 1404357192
sg_textures0 has checksum 3110057026
Current search path:
/home/computer/.smokinguns/smokinguns
./smokinguns/sg_textures0.pk3 (1018 files)
./smokinguns/sg_sounds.pk3 (278 files)
./smokinguns/sg_pak0.pk3 (803 files)
./smokinguns/sg_maps0.pk3 (161 files)
./smokinguns/joekarimat1.pk3 (178 files)
./smokinguns/alamo1.pk3 (14 files)
./smokinguns
/home/computer/.q3a/smokinguns
/home/computer/.smokinguns/baseq3
./baseq3/pak0.pk3 (107 files)
./baseq3

----------------------
2559 files in pk3 files
execing default.cfg
execing q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok

------- Input Initialization -------
Joystick is not active.
------------------------------------
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
QKEY found.
----- Client Initialization Complete -----
----- R_Init -----
...loading opengl32: QGL_Init: Can't load opengl32 from /etc/ld.so.conf: opengl32: cannot open shared object file: No such file or directory
failed
...loading libGL.so: QGL_Init: Can't load libGL.so from /etc/ld.so.conf: libGL.so: cannot open shared object file: No such file or directory
failed
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem


I know thats alot but I dont know what any of it means, does it make sense to you?
gunsmoker
Pistolero
 
Posts: 33
Joined: Sat Nov 21, 2009 7:44 pm



Postby dowoshek » Mon Nov 23, 2009 6:51 pm

This:
Code: Select all
sudo ln -s /usr/lib/libopenal.so.1 /usr/lib/libopenal.so.0

should be:
Code: Select all
sudo ln -s /usr/lib/libopenal.so.0 /usr/lib/libopenal.so.1
User avatar
dowoshek
Gunslinger
 
Posts: 134
Joined: Tue May 19, 2009 12:29 pm
Location: Poland



Postby yap » Mon Nov 23, 2009 6:51 pm

OK, the good news first : OpenAL is installed (as you can see from the output of the 'apt-get install' command). You also managed to create the symlink. But it seems that you are missing the correct drivers for your graphics card. This has also already been discussed here (look for the same error within Redwings posts)...

If you need more help, you should answer some questions first:
- what distro do you use (inclusing version number)?
- what graphics card do you own?
- did you install any drivers for your graphics card? If so, which version?

If you don't much about your graphics card, paste the output of

Code: Select all
lspci -v


and

Code: Select all
glxinfo | grep renderer
User avatar
yap
Pistolero
 
Posts: 35
Joined: Sat Jan 03, 2009 10:21 am
Location: Germany



Postby yap » Tue Nov 24, 2009 10:48 am

dowoshek wrote:This:
Code: Select all
sudo ln -s /usr/lib/libopenal.so.1 /usr/lib/libopenal.so.0

should be:
Code: Select all
sudo ln -s /usr/lib/libopenal.so.0 /usr/lib/libopenal.so.1


No, the command I gave is correct! And here's one for you:

Code: Select all
man ln


8)
User avatar
yap
Pistolero
 
Posts: 35
Joined: Sat Jan 03, 2009 10:21 am
Location: Germany



PreviousNext

Return to Doc's Office

Show Sidebar
Show Sidebar

User Control Panel

cron