Tutorials Navigation
How to run STEAM on PS4 Linux
Tutorial Name: How to run STEAM on PS4 Linux
Category: PlayStation 4 Tutorials
Submitted By: Island-Time
Date Added:
Comments: 1
Views: 3,097
Related Forum: PlayStation Forum
Share:
You may have seen my video above running Steam on the PS4, and this tutorial will explain the procedure. Originally I intended to use Ubuntu for this guide since theres already a tutorial for that but I was having problems enabling graphics acceleration. Instead I chose Fedora which seems to work fine.
[ Register or Signin to view external links. ]
Required Hardware:
PS4 with FW 1.76
USB disk with at least 8 GB
Required Downloads:
Fedora Live iso
ps4-radeon-rpms.zip
bZimage & initramfs.cpio.gz
VirtualBox
(On your PC) Boot up Fedora using VirtualBox (with your usb disk attached) and wait until it reaches the welcome screen.
[ Register or Signin to view external links. ]
Before we actually install Fedora, we need to partition the usb disk. Open up a terminal and type the following the commands.
Find your usb disk location (Ex: /dev/sda) and use parted to partition it.
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.
[ Register or Signin to view external links. ]
Select your disk and click on I will configure partitioning under storage options. Then click Done.
[ Register or Signin to view external links. ]
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
[ Register or Signin to view external links. ]
Click on Done and then Accept Changes when the change summary page comes up.
Finally, click on Begin Installation when were back at the summary page. At this point, you should configure your root password and user.
[ Register or Signin to view external links. ]
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.
Enable ssh server.
Find the ip address of your VM.
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 VMs terminal and chroot into installed Fedora.
Now we can install the patched Radeon drivers.
If you get an error with drm-utils, do
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 havent tested.
Edit /home//.xinitrc and add
Disable gdm at startup:
We should also disable vsync to reduce graphical errors.
Edit /home//.drirc and add
Enable ssh server at startup if you like.
Finally install Steam.
Exit out of chroot, unmount your drive and power down VirtualBox.
Copy over bZimage & initramfs.cpio.gz to the fat32 partition of your drive if you havent 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:
Find your Fedora partition and mount it.
Start up Fedora
You should then get a login screen. Login and type
This will boot up your DM.
Open up a terminal and type:
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 its own shared objects, we need to add LD_PRELOAD path before calling steam otherwise it will load older libs.
this goes to fully credit to OsirisX which made this tutorial for everyone in the community. Hope you guys enjoy this, and use this in a good matter guys, peace!
[ Register or Signin to view external links. ]
Required Hardware:
PS4 with FW 1.76
USB disk with at least 8 GB
Required Downloads:
Fedora Live iso
ps4-radeon-rpms.zip
bZimage & initramfs.cpio.gz
VirtualBox
(On your PC) Boot up Fedora using VirtualBox (with your usb disk attached) and wait until it reaches the welcome screen.
[ Register or Signin to view external links. ]
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.
[ Register or Signin to view external links. ]
Select your disk and click on I will configure partitioning under storage options. Then click Done.
[ Register or Signin to view external links. ]
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
[ Register or Signin to view external links. ]
Click on Done and then Accept Changes when the change summary page comes up.
Finally, click on Begin Installation when were back at the summary page. At this point, you should configure your root password and user.
[ Register or Signin to view external links. ]
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 VMs 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 havent 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
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 havent 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 its 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 &
this goes to fully credit to OsirisX which made this tutorial for everyone in the community. Hope you guys enjoy this, and use this in a good matter guys, peace!
Ratings
Comments
KatsumiPosted:
Very detailed tutorial, great job!
It's amazing how you can unlock the capabilities of the PS4 through something like this
It's amazing how you can unlock the capabilities of the PS4 through something like this
Related Tutorials
- 01. COD: Modern Warfare Remastered - Best of the Best(6,525)
- 02. COD: Modern Warfare Remastered - Flyswatter(3,015)
- 03. COD: Modern Warfare Remastered - The Man in the High Tower(2,582)
- 04. COD: Modern Warfare Remastered - Desert Storm(2,180)
- 05. COD: Modern Warfare Remastered - All 30 Intel [Eyes & Ears](2,148)
- 06. COD: Modern Warfare Remastered - Time Paradox(1,567)
- 07. COD: Modern Warfare Remastered - Ghillies In The Mist(1,359)
- 08. COD: Modern Warfare Remastered - Man versus Machine(1,307)
- 09. COD: Modern Warfare Remastered - Your Show Sucks(1,356)
- 10. Call of Duty: Modern Warfare 2 - Campaign Remastered(2,155)
- 11. Dark Nights With Poe And Munro - Plat Walkthrough(1,926)
- 12. Endless Fables: Dark Moor - Plat & Achievement Walkthrough(2,921)
- 13. The Dreamlands: Aisling's Quest ~ 100% Trophy Walkthrough(2,612)
- 14. Yesterday Origins - 100% Walkthrough: Part 2 (Plat Trophy)(2,630)
- 15. Yesterday Origins - 100% Walkthrough: Part 1 (Plat Trophy)(2,853)
"How to run STEAM on PS4 Linux" :: Login/Create an Account :: 1 comment