HomeHome    CalendarCalendar    SearchSearch    MemberlistMemberlist    RegisterRegister   ProfileProfile    Log in to check your private messagesLog in to check your private messages    Log inLog in 
 
 
“With cordite in the air, splintered steel, shell casings and powder burns, there’s only one explanation...., Smokin’ Guns.”
Calendar 
Advice for Linux users
Goto page Previous  1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    Smokin-guns.net Index -> Smokin' Guns Forum Index -> Doc's Office
View previous topic :: View next topic  
Author Message
/dev/random
SG Uber Amigo




Joined: 22 Jan 2009
Posts: 250

PostPosted: Thu Oct 29, 2009 4:49 pm    Post subject: Reply with quote

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
Quote:
13710 frames in 5.0 seconds = 2741.572 FPS
14046 frames in 5.0 seconds = 2808.962 FPS


Metacity instead yields
Quote:
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 Smile
Back to top
View user's profile Send private message
Redwing
End User




Joined: 22 Mar 2009
Posts: 99

PostPosted: Thu Oct 29, 2009 7:41 pm    Post subject: Reply with quote

/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
Quote:
13710 frames in 5.0 seconds = 2741.572 FPS
14046 frames in 5.0 seconds = 2808.962 FPS


Metacity instead yields
Quote:
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 Smile

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
Back to top
View user's profile Send private message
yap
End User




Joined: 03 Jan 2009
Posts: 35
Location: Germany

PostPosted: Fri Oct 30, 2009 5:10 am    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message
yap
End User




Joined: 03 Jan 2009
Posts: 35
Location: Germany

PostPosted: Fri Oct 30, 2009 5:27 am    Post subject: Reply with quote

/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...
Back to top
View user's profile Send private message
Redwing
End User




Joined: 22 Mar 2009
Posts: 99

PostPosted: Fri Oct 30, 2009 2:02 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
HomeSlice
End User




Joined: 17 Mar 2009
Posts: 12

PostPosted: Fri Oct 30, 2009 9:07 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
yap
End User




Joined: 03 Jan 2009
Posts: 35
Location: Germany

PostPosted: Mon Nov 02, 2009 5:15 am    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message
Redwing
End User




Joined: 22 Mar 2009
Posts: 99

PostPosted: Mon Nov 02, 2009 5:02 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
yap
End User




Joined: 03 Jan 2009
Posts: 35
Location: Germany

PostPosted: Tue Nov 03, 2009 4:45 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
gunsmoker
End User




Joined: 21 Nov 2009
Posts: 10

PostPosted: Sun Nov 22, 2009 11:49 am    Post subject: HI, cannot get sg to work in ubuntu linux Reply with quote

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
Back to top
View user's profile Send private message
yap
End User




Joined: 03 Jan 2009
Posts: 35
Location: Germany

PostPosted: Mon Nov 23, 2009 4:56 am    Post subject: Reply with quote

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:
sudo apt-get install libopenal1


2. Create a symlink

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


Come back if this doesn't work Wink
Back to top
View user's profile Send private message
gunsmoker
End User




Joined: 21 Nov 2009
Posts: 10

PostPosted: Mon Nov 23, 2009 12:34 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
dowoshek
Tester




Joined: 19 May 2009
Posts: 108
Location: Poland

PostPosted: Mon Nov 23, 2009 12:51 pm    Post subject: Reply with quote

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

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

_________________
HarmoniusZ
Back to top
View user's profile Send private message
yap
End User




Joined: 03 Jan 2009
Posts: 35
Location: Germany

PostPosted: Mon Nov 23, 2009 12:51 pm    Post subject: Reply with quote

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:
lspci -v


and

Code:
glxinfo | grep renderer
Back to top
View user's profile Send private message
yap
End User




Joined: 03 Jan 2009
Posts: 35
Location: Germany

PostPosted: Tue Nov 24, 2009 4:48 am    Post subject: Reply with quote

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

should be:
Code:
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:
man ln


Cool
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smokin-guns.net Index -> Smokin' Guns Forum Index -> Doc's Office All times are GMT - 4 Hours
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 4 of 6

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


© 2005 - 2009 by Smokin' Guns Productions. © 2000-2003 Iron Claw Interactive. All Rights Reserved. || Web-Design by L3th4l
Quake 3 Arena © 2000 - 2009 id software, inc. All trademarks used are properties of their respective owners.
Smokin' Guns® the name and logos are Registered Trademarks of L3th4l Design and may not be used with out permission.
Site is best viewed @ 1280x1024 resolution or higher on Mozilla FireFox 1.03+

Powered by phpBB © 2001 - 2009 phpBB Group