Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-01-2007, 10:59 AM   #1
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.


Last edited by Four; 04-01-2007 at 11:02 AM.
Old 04-01-2007, 03:00 PM   #2
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.


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

All times are GMT -5. The time now is 04:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration