LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-26-2003, 07:00 PM   #1
ixion
Member
 
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166

Rep: Reputation: 30
tweaking/optimizing slackware


Slackware works as an awesome server here at home, and runs superbly on my laptop for work. The only role that I'm having a little trouble with is having it as my gaming OS. I had it running with Descent3 and Unreal Tournament 2003, but was amazed when I rebooted into Windows XP to have much smoother and faster gameplay. I don't want to sound like a super-zealot, but I really want to boycott Microsoft from at least my home use...

what I'm getting at is, Slackware seems to be an efficient and fast distro. How can I take advantage of this for gaming? Is there a specific web site you guys recommend?
 
Old 01-26-2003, 07:26 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
If you run it in a minimal window manager like twm or no window manager at all it should be a lot faster
 
Old 01-27-2003, 06:24 AM   #3
ixion
Member
 
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166

Original Poster
Rep: Reputation: 30
how would I run the games without a window manager? I thought Descent 3 and ut2003 required X11? Am I just confused??
 
Old 01-27-2003, 06:45 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You can run no window manager by just using xinit. TWM is just slightly more than that, but xinit is as basic as it gets.

I believe this is what David meant in his reply

Cool
 
Old 01-27-2003, 07:04 AM   #5
ixion
Member
 
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166

Original Poster
Rep: Reputation: 30
cool, I'll check it out tonight when I get home... thanks!!
 
Old 01-27-2003, 09:45 AM   #6
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 47
It also depends on your graphic card setup. I assume you have a Nvidia since you mentioned playing ut2k3 on slack. Well, first off make sure you have the newest drivers. Then there are a couple of options to tweak in your XF86Config, i suggest you thoroghly read the NVIDIA readme, especially the appendices at the end. I have some extra options added for AGP port controlling and all my games are quite much faster in Linux than in windows.
I used to use a dualhead in Linux, and UT (normal UT 2000) was faster on a dualscreen in Linux then on one screen in windows on the same computer!!
(But it was very difficult to play over two screens, quite pointless but fun nonetheless...)
-NSKL
 
Old 01-27-2003, 06:12 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
One thing, if you run xinit and you get your regular window manager or some other window manager then mv the .xinitrc in you home folder to some other name. When you are ready to restore things move it back.

I also realized that setiathome was slowing mine down, so I exit it first.

Last edited by DavidPhillips; 01-27-2003 at 06:14 PM.
 
Old 01-27-2003, 11:53 PM   #8
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
I use ksetisaver to controll my seti client, it works in the same way as the windows client, it's a kde saver, but that dosn't mean it can't be ported.
 
Old 01-28-2003, 06:51 AM   #9
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
cool, I have a script that stops seti and starts ut, then starts seti again

It really doesn't bother me doing anything except playing games.
 
Old 01-31-2003, 03:43 PM   #10
jymbo
Member
 
Registered: Jan 2003
Posts: 217

Rep: Reputation: 30
1.) Make sure the agpart module is loaded at boot time. You can verify this quickly by doing:

$ lsmod

If you don't see agpgart in the output, edit your /etc/rc.d/rc.modules file and make sure "/sbin/modprobe agpgart" is not commented-out.

2.) Make sure your AGP is being recognized by the 2.4.18 kernel. After a reboot, do:

$ dmesg |grep agp

You should see some kind of reference to the name of your AGP chipset in the output (you didn't mention what kind of motherboard you have.) If you see any errors, then you might need a kernel upgrade.
 
Old 02-01-2003, 12:52 PM   #11
ixion
Member
 
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166

Original Poster
Rep: Reputation: 30
agpgart is loading on boot time, and I did read alot of the README that came with the NVIDIA drivers, but ended up a little lost. If I want FSAA disabled, I need to set the __GL_FSAA_??? (sorry don't remember the rest of it) to 0 (export __GL_FSAA=0)?? When I had done that, the framerate plummeted into an unplayable state.

I added the NvAgp option in the kernel to use Nvidia's agp driver if possible, but I also read that agpgart cannot be compiled into the kernel in order NvAgp to work, so I'm assuming I'm still using AgpGart. Also, I have downloaded and installed the IA32 NVIDIA drivers. Should I have gotten the Athlon64's? I'm running at Athlon XP 1700, which is a 32-bit chip. Is there something in the XF86Config file I need to set in order to enable 4X AGP? I'm not unfamiliar with Nvidia cards, I'm just unfamiliar on tweaking them in Linux.

By the way, what is seti? I don't understand.

NSKL, would you mind posting some shots of your XF86Config and environment variables?

edit:
After reading some more, I'm thinking that my games are not using the correct libraries. I tried (as the NVIDIA README suggested) and 'ldd' on the 'ut2003' file, but it reports it not being a 'dynamic executable'.

Last edited by ixion; 02-01-2003 at 01:32 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
optimizing Desktop with KDE and slackware masand Linux - Software 2 05-23-2005 07:13 AM
optimizing slack saurabhp_75 Slackware - Installation 3 03-01-2005 07:26 AM
Optimizing Mandrake rokka Mandriva 9 12-14-2004 07:21 PM
optimizing apache alaios Linux - Networking 0 10-16-2004 12:08 PM
optimizing to Athlon XP sethgeekx86 Slackware 8 05-20-2004 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:21 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