Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Linux"

From PCGamingWiki, the wiki about fixing PC games
m (updated template usage, replaced: Infobox → infobox non-game, typos fixed: eg.: → e.g.:)
Line 33: Line 33:
 
=== Wine ===
 
=== Wine ===
 
[[Wine]] is a compatibility layer that allows one to run Windows applications and games on Linux. one of the easiest and most popular way for Linux users to run programs written for Microsoft Windows. It also provides a software library that can help developers port Windows games to Linux.
 
[[Wine]] is a compatibility layer that allows one to run Windows applications and games on Linux. one of the easiest and most popular way for Linux users to run programs written for Microsoft Windows. It also provides a software library that can help developers port Windows games to Linux.
 +
{{ii}} Tools like [http://www.playonlinux.com/en/ Play on linux] make wine much easier to work with.
  
 
=== The Shell ===
 
=== The Shell ===

Revision as of 21:01, 22 April 2013

Linux
300px

Key points

Native Linux version of Steam has been released.
The number of natively supported Linux games has dramatically increased with the introduction of the Humble Indie Bundle.
Getting Windows-only games up and running in Linux can be significantly more challenging than on Windows.[1]

Steam

Steam Linux store
Steam Linux community
GitHub bug reporting
Ubuntu Wiki - guide to Steam.

Resources

List of Steam games with Linux native ports

Communities

Gaming on Linux - a large community.
r/linux_gaming - subreddit.
Linux game database - resource of games and tools.
#steamlug - IRC chat room.
Linux Game Cast - pod/videocast.
Holarse - German language.

Distributions

Many different distributions of Linux exist.

Ubuntu

Ubuntu is the most popular Linux distribution for personal computers and is recommended for users who are making the switch from another OS to Linux. The Ubuntu Software Centre is a distribution centre exclusive to this specific family of Linux distributions.

Useful Programs

Wine

Wine is a compatibility layer that allows one to run Windows applications and games on Linux. one of the easiest and most popular way for Linux users to run programs written for Microsoft Windows. It also provides a software library that can help developers port Windows games to Linux.

Tools like Play on linux make wine much easier to work with.

The Shell

The Unix Shell "bash" available on Linux is a very useful tool for doing system tasks. If you use Linux as your main operating system, then it is heavily recommended that you learn how to use it. Google Code University provides a good starting guide.

Steam

The Steam client for Linux is currently in open beta but only officially supports Ubuntu 12.04 LTS or later. You can download it from the Steam about page.

Graphics

Laptop graphics

nVidia Optimus

The Bumblebee project provides support for discrete/integrated combos of graphic cards.

ATi/AMD

http://www.thinkwiki.org/wiki/Fglrx

Common Fixes

Graphics Drivers

On Ubuntu the drivers can be installed using a graphical utility. Ubuntu will automatically notify you if there are proprietary drivers available for your graphics card to install.

As Linux by default only provides open source drivers, proprietary graphics drivers are not provided. These drivers are generally much faster and can be installed via jockey-text:

1) Install jockey-text: sudo apt-get install jockey-text

2) List drivers: jockey-text --list

3) Enable the correct driver (whichever mentions being current) e.g.: jockey-text -e xorg:nvidia_current

Disable Desktop Compositing in Fullscreen

Instructions
Instructions

Running Games on a Separate x Server

Running games on a different X server from ones main desktop can dramatically improve performance and generally reduces the amount of problems within a game especially when using an advanced compositing window manager like Compiz. To launch a separate X server with a game create a new .sh file and paste in the fallowing code:

#! /bin/bash 
DISPLAY=:1.0
xinit $cd '/YOURGAMEPATH' $* -- :1

Save and allow the file to be executable. Running this script in the terminal will make it much easier end the server when you are finished with it. Alternatively you can set the path to a terminal emulator like Xterm /usr/bin/uxterm and launch the game from a terminal in the new server. You could even launch a file browser like nautilus /usr/bin/nautilus Press Alt+Ctrl+F7 to return to the main desktop and Alt+Ctrl+F8 to go back to the newly created one.

Instructions
Instructions
Instructions
Instructions

References