Tutorial: installing Steam on PS4 Linux
A few days ago /Talk member OsirisX made the news (even up to mainstream sites) by announcing he was able to run Steam on the PS4. Yesterday he posted a tutorial on how to achieve this. We reproduce it below. You can find his original post here.
This guide is WIP and more pics will follow.
You may have seen my video running Steam on the PS4 and this tutorial will explain the procedure. Originally I intended to use Ubuntu for this guide since there’s already a tutorial for that but I was having problems enabling graphics acceleration. Instead I chose Fedora which seems to work fine.

Steam running on PS4
Required Hardware:
Required Downloads:
(On your PC) Boot up Fedora using VirtualBox (with your usb disk attached) and wait until it reaches the welcome screen.

Before we actually install Fedora, we need to partition the usb disk. Open up a terminal and type the following the commands.
su fdisk -l
Find your usb disk location (Ex: /dev/sda) and use parted to partition it.
parted /dev/sda mklabel msdos mkpart primary fat32 1MiB 513MiB mkpart primary ext4 513MiB 100% quit mkfs.fat -F32 /dev/sda1 mkfs.ext4 /dev/sda2
Keeping the terminal open, go back to the welcome screen and click “Install to Hard Drive”. Click on “Installation Destination” once the summary page comes up.

Select your disk and click on “I will configure partitioning” under storage options. Then click “Done”.

Once the next screen comes up, select /dev/sda2 partition on the left. Use the mount point root “/” and select “Reformat” next to File System. Then click on “Update Settings”

Click on “Done” and then “Accept Changes” when the change summary page comes up.
Finally, click on “Begin Installation” when we’re back at the summary page. At this point, you should configure your root password and user.

Before shutting down Fedora, we need to install the ps4 Radeon drivers.
Go back to the open terminal and mount the partition that you just installed Fedora to.
mount /dev/sda2 /mnt
Enable ssh server.
systemctl restart sshd
Find the ip address of your VM.
ifconfig
Use WinSCP or Filezilla from your host to transfer over ps4-radeon-rpm.zip to /mnt/tmp. (Note: If you get connection errors, you may need to set your network adapter to bridged in VirtualBox network settings)
Go back to the VM’s terminal and chroot into installed Fedora.
cd /mnt mount -t proc proc proc/ mount -t sysfs sys sys/ mount -o bind /dev dev/ chroot /mnt
Now we can install the patched Radeon drivers.
cd /tmp unzip ps4-radeon-rpms.zip cd ps4-radeon-rpms dnf install --nogpgcheck *.rpm
If you get an error with drm-utils, do
rm -rf drm-utils-2.4.65-1.fc23.i686.rpm dnf install --nogpgcheck *.rpm
Gnome desktop can be too heavy for the ps4 to handle. I recommend installing something lighter such as “awesome”. Others may work as well but haven’t tested.
dnf install awesome
Edit /home//.xinitrc and add
exec awesome
Disable gdm at startup:
ln -sf /usr/lib/systemd/system/multi-user.target /etc/systemd/system/default.target
We should also disable vsync to reduce graphical errors.
Edit /home//.drirc and add
Enable ssh server at startup if you like.
systemctl enable sshd
Finally install Steam.
dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm dnf install --nogpgcheck steam
Exit out of chroot, unmount your drive and power down VirtualBox.
exit cd / umount -R /mnt poweroff
Copy over bZimage & initramfs.cpio.gz to the fat32 partition of your drive if you haven’t done so already.
Startup your PS4 with your usb drive in and boot up Linux with PS4 Playground. Once you get to the init screen, type:
fdisk -l
Find your Fedora partition and mount it.
mount /dev/sda2 /newroot
Start up Fedora
exec switch_root /newroot /newroot/sbin/init
You should then get a login screen. Login and type
startx
This will boot up your DM.
Open up a terminal and type:
glxinfo | grep vendor
You should have a line saying “AMD LIVERPOOL”. This means graphics acceleration is working.
Finally open up a terminal and start Steam. Because Steam comes shipped with it’s own shared objects, we need to add LD_PRELOAD path before calling steam otherwise it will load older libs.
LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1' steam &
Tips:
To launch apps from remote computer through ssh, we can just add DISPLAY=:0
DISPLAY=:0 LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1' steam -bigpicture &
To restart UI based login, you can do:
systemctl restart gdm
And make it permanent by
systemctl enable gdm
Recommended Software:
Kodi
dnf install kodi kodi-standalone
What’s not working?
Sound over hdmi, wifi, bluetooth, ethernet(only gigabyte works)
Workarounds?
Usb sound card, usb wifi, usb bluetooth, etc.
Notes:
Whenever updating packages with dnf, remember to exclude Radeon lib updates as they are unpatched for the PS4.
dnf upgrade --exclude=libdrm*,mesa*,xorg-x11-drv-ati
Please report success/failure or questions in the comments below, or in OsirisX’s original thread here. And we appreciate if you take the time to thank him for the tuto!
More details on PS4 Hacks on our PS4 Jailbreak page
thanks for the tutorial, maybe I will try it tomorrow.
Wololo you bought a 1.76 ps4?
Not yet :'(
Good luck with that!
Wow,thanks,but i’m in 3:50 firmware.
how well does it play steam games ive been thinking about doing this to save money on a gaming pc.?
how well does it play games like Mortal Kombat X on steam?
thanks
It won’t play MKX at all. This will only play games that have Linux ports and MKX isn’t one of them as far as I know. As far as how well it will play games it’ll probably struggle with anything super demanding unless you drop the settings down
You won’t save money buying ps4 over gaming pc. Linux has horrible optimization and ps4 has horrible specs. Just get a pc, new gpus are coming so current ones will be dirt cheap pretty soon
acutally you migth not even have to wait for current gpus to get dirt cheap. the new VR-ready Radeon RX480 is only $200.
but if you preferred Nvidia then you’ll have to wait, i guess.
lol 480x is gonna me my next upgrade still using a 750ti but 750ti still kicks ps4 ***.. so imagine polaris will be like 2x powerful
thanks for the info. i would have made a mistake going with a ps4 i think ill wait for back to school sail or black friday and get a gaming pc.
Anyone fancy trying to install BOINC on the ps4? Would be very cool!
Sweet!!! Laggy and slow STEAM here I come!! With the new Blu Ray Live code that wololo themselves have personally found , I can enter up down left right a b b a (but only if a paramount Blu ray movie is inserted) ((its also being ported to the vita just trust me)) and BAM my ps4 is unlocked and overclocked for its true potential!! Laggy STEAM and GBA games!! Do not worry about loading ps4 games because that is just bad just be happy with your 10 frames per second steam and GBA emulator!!
does anyone have a solution for the critical error message or access denied message for the ssh connection. I’m kinda stuck at that step. I already have the bridged setting in VM
You need to set a password for root user. I updated the guide on how to do this.
yeah I got through, But the new issue i’m having is the .xinitrc file, I can’t find it in the /home/user directory. should I just create one?
PLEASE SOMEONE TRY PCSX2!!!!
@OsirisX I don’t have checked it but if we have access via ftp to the usb stick which contains the installed fedora files, is it possible to copy the radeon drivers manual to the image ?
It’s possible but will take more work. You have to manually extract all radeon rpms and its dependencies before ftp transfer. This is what dnf pkg manager is supposed to take care of for you
ok but I have meant the zip file only. I have installed fedora on my usb stick but I can’t chroot the mnt folder (there is no tmp folder in the mnt folder and I can’t create a new folder via fedora). it find no proc after I type “mount -t proc proc proc/”. later I will connect via ps4 to the usb stick and try to create that tmp folder or is an easier way possible to install the drivers and steam ?
If you can boot into your usb , you can skip chroot part. Can just extract zip file to any folder and run the commands from there.
thanks for the info but I have to solve another problem now, the usb keyboard won’t connect after I have loaded the linux kernel. seems the bridge is defect idk.
after i disabled gdm i can’t start x anymore; gives me an error. there is also no .xinitrc file to add ‘exec awesome’. shouldn’t be a problem if i create it, shoud it? i don’t know what i’m doing wrong any ideas? i can boot into console with my ps4, but can’t start x 🙁
Creating .xinitrc file is fine. Can you upload your Xorg.0.log file? It’s located at /home//.local/share/xorg/Xorg.0.log
Sorry, i was very busy yesterday, but here’s my xorg.log-file: http://uploaded.net/file/jlzh9nwv .. seems like the patched drivers aren’t installed correctly. would be great if you could confirm that and help me 😉 have a nice day!
D.v.O
Based on your log file I can see that your GPU is being detected which is good.
[ 180.017] (–) RADEON(0): Chipset: “LIVERPOOL” (ChipID = 0x9920)
But I also see that it fails to load some graphic libs.
[ 180.054] (II) glamor: OpenGL accelerated X.org driver based.
[ 180.410] (II) glamor: EGL version 1.4 (DRI2):
[ 180.410] EGL_MESA_drm_image required.
[ 180.411] (EE) RADEON(0): glamor detected, failed to initialize EGL.
It seems you have partially installed the drivers. I suggest you reinstall patched drivers and trying startx again.
a tried it again, after i followed every step in the tutorial detailed. I still can’t start x. Fedora & driver installation was successful without any errors. when i type the ‘startx’ command in terminal, i get an error. I also checked the logfile. There are 3 suspect lines:
[ 257.351] (EE) RADEON(0): failed to initialise surface manager
[ 257.351] (EE) RADEON(0): radeon_setup_kernel_mem failed
[ 257.351] (EE) AddScreen/ScreenInit failed for driver 0
Do you have any idea(s), what’s exactly the problem? I would really like to solve that -.-
greets, d.v.o
Run “rpm -ivp –replacefiles –replacepkgs *.rpm” on patched packages. Fedora dnf manager skips installing patched libdrm do to being same version already installed.
thank you very much! worked for me! greets, dvo 🙂
Hi just a quick one. Is it possible to use multi boot linux on usb yet. So I could select witch linux I wish to boot from
Can anyone help me to do Ps4 4.06 version jailbreak?
I’ll pay the cost.