LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 10: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 11:02 AM.
 
Old 04-01-2007, 03:00 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:52 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
Open Source Consulting | Domain Registration