LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-01-2007, 11:59 AM   #1
Four
Member
 
Registered: Aug 2005
Posts: 298

Rep: Reputation: 30
Giving "Fulll power" to video game


I just managed to run a game on linux using wine (Starcraft) and was wondering the following:

How may I give it the highest priority?
Is it possible to close things like KDE and other things like this and just run starcraft?
Also what else may I do to make it more smooth?

I use Kubuntu, playing on a laptop.
edit: somethings when looking more information I don't know what to type to find it mostly of its name similarities with other things e.g. nice command. I don't get what Iam looking for on google.

Thanks

Last edited by Four; 04-01-2007 at 12:02 PM.
 
Old 04-01-2007, 04:00 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
In general, the Linux process scheduler does a good job of assigning CPU time to interactive and background tasks and you shouldn't overrule it unless you know you need to. That being said, the easiest way to increase a program's priority is to use the nice command (see man nice). The lower the nice value the less nice a program is and the more CPU it is allowed to hog. If you want a nice value below 0, you have to be root to set it so you might need to write a little wrapper script to bump up the priority and then start the game as your user.

In general, you're going to need to run X to run Starcraft. If you have a system that's limited on power you can try a lighter window manager like XFCE or Fluxbox as opposed to KDE. WINE itself also probably requires a fair bit of overhead, but I haven't run it in a couple years so that may have changed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Disabling hardware detection of "reboot" and "power" buttons Sabinou Linux - General 3 08-21-2006 08:03 PM
Video Card Nvidia Driver Xlib: extension "GLX" missing on display ":0.0". badgerbox76 Linux - Games 13 01-11-2006 05:47 PM
"mythtv-setup" giving "Session management error: Authentication Rejected" Mitchua Ubuntu 0 10-09-2005 05:32 PM
What "kernel opts" allow PC to power down with "turning energy off"? kornerr Linux - General 1 03-10-2005 01:07 PM


All times are GMT -5. The time now is 01:59 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration