Giter VIP home page Giter VIP logo

steamos-ubuntu's Introduction

SteamOS Ubuntu

SteamOS Ubuntu

SteamOS Ubuntu is a set of scripts to create an Ubuntu-based Steam machine.

It will do the following:

  • Create the steam user account if it does not exist.
  • Install steam, if it is not installed.
  • Install the Steam Compositor, Steam Mode Switch, and boot splash themes.
  • Configure autologin for the steam user account.
  • Configure the default session to the Steam Compositor.
  • Create reboot-to-[steamos,desktop]-mode scripts to switch between sessions.
  • Create steamos-fg script for games that won't run in the foreground on the SteamOS Compositor.
  • Optionally install the latest graphics drivers for AMD, Nvidia, and Intel GPUs.
  • Optionally install proton fixes.

For best results, this should be run on a fresh installation of Ubuntu 18.04 desktop.

Requirements

In order to install SteamOS Ubuntu, you should have a fresh installation of Ubuntu 18.04 Desktop installed. Other versions may work, but have not been tested.

Installation

Installation is very simple. Follow these steps to install SteamOS Ubuntu:

  1. Install git:
    sudo apt install git -y

  2. Clone or download this repository:
    git clone https://github.com/ShadowApex/steamos-ubuntu.git

  3. Run the installation script:
    cd steamos-ubuntu
    sudo ./install.sh

Advanced Options

The installation script has several options that you can specify upon installation in the form of environment variables. You can specify these options by prefixing running the install script with the options you want.

For example, if you want to disable installing OpenSSH and run the script non- interactively, you can run this command:

INCLUDE_OPENSSH=false NON_INTERACTIVE=true sudo ./install.sh

Here is the list of all the available installation options:

Option Name Default Description
INCLUDE_OPENSSH true Whether or not OpenSSH server should be installed
INCLUDE_SAKURA true Whether or not to install a terminal emulator
INCLUDE_PROTONFIX true Whether or not to install Protonfix
INCLUDE_GPU_DRIVERS true Whether or not to install the latest GPU drivers
GPU_TYPE auto GPU drivers to install. Can be: auto, nvidia, amd, intel
NON_INTERACTIVE false Whether or not to prompt the user during install
STEAM_USER steam The username of the account to autologin as

FAQ

How can I switch between desktop mode and SteamOS mode?

After installation, there will not be an easy way to switch between a regular Gnome desktop session and Steam. In order to make it easier to switch between the two, there are two commands that are installed that will let you switch between the two:

  • reboot-to-desktop-mode - sets gnome as the default session and reboots
  • reboot-to-steamos-mode - sets steam as the default session and reboots

You can access the terminal from Steam by adding a local shortcut for Sakura.

Some games aren't launching correctly in SteamOS mode

When using the SteamOS compositor, some games start behind the big picture UI and no graphics are displayed. The steamos-fg script forces such games to be shown in the foreground.

Affected games this script fixes include:

Dead Cells
Dirt Rally
Civilization VI
The Count Lucanor
Mad Max

To fix this, add steamos-fg %command% to the launch options for each game you wish to use this script with.

Attributions

Legal

The Steam logo and Ubuntu logo are registered trademarks of Valve Corporation and Canonical respectively. This project is in no way officially affiliated with Valve or Canonical.

steamos-ubuntu's People

Contributors

captsilver avatar shadowapex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

steamos-ubuntu's Issues

steamos-ubuntu user log in

hi i already had steam installed so skipped straight to install which all went fine tho on log in my usual login details are'nt accepted and niether is my steam login...
is there a work around or did i fail to do something expected of me that i missed with being new to linux?

thanks for the help!.
BB

Cannot boot into Ubuntu or Steam

My PC crashed during the stage of the installation where I was asked to reboot after everything had installed, and now I'm unable to boot into my PC unless I use recovery mode. I ran the installer in Ubuntu 19.10, and I'm not sure what I did wrong

SteamOS package source depreciated?

When attempting to install (as of 4/3/2020) the download fails to connect to "repo.steamstatic.com/...". Changing the links in the install.sh file to "repo.steampowered.com/..." seemed to solve the issue.

Install on Dual GPU gaming laptop

Trying to install, but it keeps detecting my Intel GPU even when my Nvidia enabled.
Device info, if it's matter:
MSI GL62m 7RDX
Intel i7 7700 with Intel HD
GeForce GTX1050

Steam controller just needs a package

On my new install installing the steam-devices package handled all the steam controller stuff, there's no need to mess with the udev rules or anything now. I think you'd be safe just installing the package.

steamos-ubuntu cannot download

I try two times download and steamos-compositor cannot download try 9 times, maybe broken
early I download succesfully

Black screen on boot

I had just installed Ubuntu and Steam. Then I ran your script. When I boot the PC now, it gets stuck on a black screen. I don't know how to access the desktop or if I even can. Since there's just a black screen, I can't say where the problem is. My Ubuntu was up to date.

new update

sorry for second issue, have ask when new update? I use Steamos-ubuntu on Ubuntu 20.04 and it's very stable than SteamOs.
Great work

Vulkan problems

so far mostly none of the games i tried so far are working.
when i put vulkaninfo into the sakura terminal emulator i get lots of errors.
my gpu is a AMD HD7750 1GB. the installation with the script went smooth.

ERROR: ld.so: object '/usr/lib32/i386-linux-gnu/libmodeswitch_inhibitor.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/home/steam/.steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: [Loader Message]: Code 0 : /usr/lib/i386-linux-gnu/libvulkan_radeon.so wrong ELF class: ELFCLASS32
ERROR: [Loader Message]: Code 0 : /usr/lib/i386-linux-gnu/libvulkan_intel.so wrong ELF class: ELFCLASS32
ERROR: [Loader Message]: Code 0 : /home/steam/.steam/ubuntu12_32/steamoverlayvulkanlayer.so wrong ELF class: ELFCLASS32
ERROR: [Loader Message]: Code 0 : /home/steam/.steam/ubuntu12_32/libVkLayer_steam_fossilize.so wrong ELF class: ELFCLASS32
/build/vulkan-UL09PJ/vulkan-1.1.70+dfsg1/demos/vulkaninfo.c:2700: failed with VK_ERROR_INITIALIZATION_FAILED

Switch to desktop

It's not an issue it's just a remark (might have posted at the wrong place?).

You might already know it, but I discovered that the "Switch to Desktop" (BPM feature) works with lightdm instead of GDM3, on Ubuntu 18.04. I'm not a programmer so I don't have the skills to tell you why, but that's the workaround I personally use. You must add the desktop user (required) to the nopasswdlogin group though.

Have you found a way to make it work with GDM3?

Thanks for this project; I'm doing all of that on my own and with my limited skills. I was looking to create a minimal "Steambuntu.iso" with distroshare when I stumbled upon this. :)

FEATURE REQUEST

Would it please be possible to add a button to launch parsec and have your machine immediately running steam os frontend to any machine for free cloud gaming setup please now that would be cool. A button instead of having to do some kind of enter desktop mode launch parsec program by hand rigmoral, thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.