Fedora 35 for PS4 with Mesa 21.3.8: PS4 Distro Release

Fedora 35 for PS4 with Mesa 21.3.5 and applications like Steam, Wine, Retroarch, PCSX2, Dolphin Emulator, DXVK, VKD3D, etc.

Fedora is easily one of the best Linux distros for the PS4. Here, I present to you the latest stable version of Fedora, i.e., Fedora 35 LXDE for PS4. The latest drivers on Fedora have been ported for the PS4 and have been installed by default along with some common gaming applications. So, just download the distro and get started with gaming.

Features

  • Display Manager – GDM
  • Mesa – 21.3.8
  • Libdrm – 2.4.110
  • Lightweight LXDE – Better RAM usage and slightly better gaming performance

Included gaming applications

The following applications have been installed in the distro by default:-

  • Wine
  • Steam
  • Dolphin Emulator
  • PCSX2
  • RetroArch
  • DXVK
  • VKD3D

Want to learn how you can install these applications and more on any distro? Check our detailed article on terminal commands to install major Linux applications.

Download

Download Fedora 35 for PS4

Login details

  • User: noob404
  • Password: ps4
  • Root password: ps4

Screenshots

Fedora 35 on PS4: Showcase Video

Installation: How to install Fedora 35 on PS4?

Follow the steps given below and you will have Fedora 35 running on your PS4 in no time. You may also refer to our detailed guide on installation.

Requirements

  • USB drive – A storage device with 12GB capacity is enough. But, if you plan on gaming, a USB device with >100GB capacity is recommended. This way, you can install heavy games and still have some space for setting up swap space.
  • Files
  • FAT32 Format
  • USB Hub, USB Keyboard and Mouse
  • Exploitable PS4 (Find if yours is exploitable)

Now, let us begin the installation.

Installation

You may also find a slightly more detailed guide here.

Step 1. Preparing USB Drive

  1. Format the USB drive using FAT32 Format. To do that, start the program, select your drive letter properly and click Start.
    Note: This will wipe the USB drive completely.
  2. Rename fedora_35_ps4linux.tar.xz to psxitarch.tar.xz.
  3. Copy bzImage, intramfs.cpio.gz and psxitarch.tar.xz to the root of the USB drive that you just formatted.

Step 2. Installing Fedora 35 on PS4 with Rescueshell

  1. Connect USB drive in a port and in the other connect the hub with keyboard and mouse.
  2. You will then have to jailbreak your PS4 and run the Linux Payload. Find the steps for loading Linux payload here. During the first run or while installing a distro, load 1GB VRAM payload.
  3. If the payload loads successfully, the PS4 will drop into a rescueshell. On it, type exec install-psxitarch.sh and press Enter. The program will install the distro on your USB device. This will take time.
  4. After the process has completed, you will be greeted with Fedora login screen. If it doesn’t load automatically, type exec start-psxitarch.sh and press Enter.
  5. Login with the password: ps4 and you can start using Fedora 35 right away!

Step 3. Set up swap space (Optional, but recommended)

Setting up a proper swap space is recommended as it reduces the instances of crashes during gaming and other heavy tasks. To do so, just follow the instructions below.

  1. Open a terminal and type su. It will ask for a password. Enter ps4. You should now have root access.
  2. Next, type cd / and press Enter.
  3. Then, type touch /swapfile.
  4. Next, you have to decide how much swap space you require. 4GB to 8GB of swap is recommended for gaming. Assuming, you want to have 8GB of swap, type fallocate -l 8GB /swapfile and press Enter.
  5. Then, type chmod 600 /swapfile and press Enter.
  6. Following that, type mkswap /swapfile and press Enter.
  7. Finally, type swapon /swapfile and press Enter.
  8. To make this permanent, type nano /etc/fstab. This will open the file, fstab in a text editor.
  9. Use the arrow keys to scroll to the last empty line and type /swapfile none swap sw 0 0. Press Ctrl+X followed by Enter.
  10. Press Y when prompted with “Save modified buffer” and Enter.
  11. Confirm that the file name to write is /etc/fstab and press Enter.

If this method doesn’t work, try this alternate swap creation method (second one in the section).

Update Fedora 35 on PS4

First of all, please do not confuse yourselves with a distro upgrade and an update. An update will update all the applications and packages like Wine, Steam and even the drivers to the latest version available for that edition, like Fedora 35. Now, while updating the packages on Fedora 35 for PS4, we have to be careful. As already mentioned, the update process updates each and every package, meaning this will overwrite the PS4-specific drivers that we usually install while building the distro. So, updating the packages require a specific command. Keep reading to learn how you could update packages on Fedora 35 for PS4.

  1. Open a terminal.
  2. Type sudo dnf update -x kernel*,libdrm*,mesa*,xorg-x11-drv-a* and press Enter.

This will update the packages while excluding the PS4-specific graphics drivers.

Fix issues with Fedora 35 on PS4

The distro might have some bugs and issues on your PS4. Here, I will list some known issues and the solutions for them. Please let me know in the comments if you face any other issues with it. I will work on a solution.

Incorrect time

UPDATE: For a permanent solution, check this article.

This distro on PS4 doesn’t seem to update the time when connected to the internet. So, each time you restart, the time resets, that too wrong. For the time being, you will have to set time manually after a restart. Follow the steps below.

  1. Open Terminal
  2. Assuming the date is 20th March, 2022 and the time is 8:45PM, type sudo timedatectl set-time "2022-03-20 20:45:00" and press Enter.

Rest assured. I will find a way to automatically set this and update here. In the meantime, if you have a better solution, please comment below.

Conclusion

If you face any issues with Fedora 35, just leave a comment under this article. I will work on a fix and update accordingly.

 

69 Comments

  1. Hello,
    Thank you for yout work.
    I have the same problem of SteamOS, i’ve installed the distro, when i boot i have only a black screen.
    I tried to press Ctrl+Alt+F4 and then Ctrl+Alt+F7 but nothing change.

    I’m using psxita initramfs.cpio.gz and Baikan kernel By ps4boot & mircoho.

    Can you help me?

  2. Thank you for effort
    I just deleted my fedora 32 tron edition and updated my linux to your fedora 35 edition
    unfortunately the same problem that i had with fedora 32 now im facing it with fedora 35

    vulkan render is not working whenever i play games or emulators using vulkan as backrender
    however open gl is working without issue

    I believe the problem is within vulkan drivers the updated ones
    using the old vulkan drivers from itmania githup 20.3.4-2. my emulators working without issue
    by the way my console is ps4pro i believe the chip is belize

    any suggestion to work around this problem?
    thank you

    • It is for such occasions that I have made a custom downgraded Mesa package available. Download it from here for your distro. Try running the emulator with this version and then, let me know if it works. This script makes it possible for the user to stay on the latest Mesa for all other purposes while using an older version according to his wish.

  3. Thank you for your reply
    i was waiting for it.

    So I did exactly as stated in the article and the video
    I managed to run the script and my drivers become from 21.3.8 to 21.1.8 (ACO)
    but unfortunately no dice i tried dolphin emulator with vulkan as backrender and my system froze, same as before.

    before when i was in fedora 32 tron edition
    i was able to update the drivers to latest version but i rollback only the vulkan drivers to version 20.3.4-2
    I tried this method with fedora 35 but no dice as i can not install vulkan drivers 20.3.4-2 cause i lack llvm-libs-10.0.0-1.fc32.i686
    i tried to install llvm-libs-10.0.0-1.fc32.i686 but fedora did not allow me as this is a lower version.

    Really appreciate any help regarding this as i dont want to rollback to fedora 32 all libraries are expired there -_-.

    • Will help as best as I can. But, I need some time. Let me know which game is the troublemaker so that I can check it when or if I do find a fix. Also, if you can please remind me in a week. Currently, have a lot on my plate. Hope you understand.

      • sure I understand your life is more important

        I did not try any games with vulkan as render with fedora 35
        im using my ps4linux for emulators mainly
        now any emulators with vulkan support not working >> dolphin, duckstation,pcsx2
        changing the backrender to open gl solve the problem
        but i want to use vulkan as it is faster than open gl

        i will reminder you here after 1 week or so
        till then take care

        • Hey, I just tried running Dolphin on Fedora 35 with Vulkan and it runs well. As I am not able to reproduce the issue, can you explain your problem a little better, so that I can look into it?

        • so maybe bcz i have ps4pro
          so i will give you more details about my console

          ps4pro model CUH 7016B, 1Tera HDD, fedora 35 installed over SSD flashdrive 128gb. I am using USB backport to insert my flashdrive.

          usually im using gentoo kernel 5.3.18 as this is the most stable one for me
          as it does not give me the black screen bug
          I tired using 5.15.15 for belize by codedwrench
          although it gives me black screen bug i worked around it
          but still it gives me the same error whenever using dolphin emulator with vulkan as backrender my system just
          freeze. only i can move the mouse but not he keyboard as it wont respond, so I had to do hard reset
          I tried rpcs3 with vulkan as backrender and it is the same, my system just freeze.

          by the way which kernel u used for your test

          p.s. I tried to reply your comment but i could not so i replyed my comment

        • That’s odd! I am also using 5.3.18 (gentoo). But, I am unable to reproduce this issue. Is it possible for you to share a short video of the problem on YouTube (make it unlisted)? In the meantime, I will compile Mesa 20.3.4 for Fedora by tomorrow. You could check if that works and get back to me.

        • Really appreciate your effort

          For the video really I am lazy and don’t have YouTube channel
          But really nothing to see
          I start gentoo 5.3.18 2gb payload from my browser after 2 min my Linux will start
          Then I open any emulator change the render to vulkan
          Everything up to this point is good, then I run gamecube rom the next thing is my ps4 freeze
          I can only move the mouse around, keyboard not responding even with Alt+Ctrl+F4
          Thats it. The only way now is hard reset.
          As I mentioned before changing the render to open gl in graphic tab within dolphin emulator solve this problem

          By the way is there a way to open virtual keyboard in the log in screen so I won’t need to use keyboard to log in or auto log in?

          I already deleted the user password, but though I need to press enter in my keyboard to log in
          I am already using KDE plasma as my desktop environment with Florence as my virtual keyboard but I can not open this keyboard in log in screen

          Thank you

        • It works
          after loading mesa custom V2
          thanxs you are a genius man
          though I hope some1 find a fix to this issue in latest mesa drivers so we can benefit from boost in performance

          Note:
          better to add in your tutorial that you need to load emulators as well with the same terminal window or mesa will revert back to its original version.

          ok now I need your help in few things if you have time
          1) how to auto login bypassing login screen?
          im using kde-plasma so I tried to edit “/etc/sddm.conf” file by adding user name (noob404) and session name (plasma.desktop) and removing # to activate these changes but no avail.
          Is there a way to auto login to plasma bypassing the login screen?
          or is there a way to use virtual keyboard in login screen like steamOS?
          so that i dont need to use the keyboard to login.
          Believe me man I searched the net to solve this issue but no dice.

          2) What do you think of overclocking?
          before I used ITmania overclock kernel and I overclocked my ps4pro to 3Ghz but really no change in performance actually I believe the kernel only make you believe you overclocked but in reality it is still the same
          stock clock. I want to play PCSX2 emulator with good performance XD.

          p.s. Sorry I did not report before as I just tried your V2 mesa drivers today.

        • Thanks a lot for the update, man! As for your questions:-
          1. Check the steps given in this tutorial. Start from Step 5.
          2. Never tried overclocking. I believe it’s not very safe to be overclocking without the proper cooling solution, especially long time.

        • 1) yeah I saw it and tried it before but fedora lacked gdm service
          I think your way worked with PopOS environment and not fedora.

          2) I dont care about long term life of my console I want to squeeze its power and enjoy some boost in performance. I believe there is a space to overclock PS4 and squeeze some power from it.

          Yeah quick question
          I disabled zram0, as it takes long time to boot fedora.
          -_- is it safe to disable this service?

      • bootargs.txt = drm.edid_firmware=edid/1920×1080.bin amdgpu.gpu_recovery=1 amdgpu.lockup_timeout=3000
        kernell = 5.15.15-02406-g22d0b9caef26 (psxita@psxitarch) (gcc (GCC) 8.2.1 20181127
        Ps4pro 7016b

        Trying to resize vkcube, Xorg freezes but mouse can move.. i can log in ssh and see many kthreads stuked and journalctl bring me the kernel bug by drm.

        Problem star here.

        abr 07 20:15:11 ITmania-PS4 kernel: [drm:0xffffffff816dd59f] *ERROR* ring gfx timeout, signaled seq=2725, emitted seq=2725
        abr 07 20:15:11 ITmania-PS4 kernel: [drm:0xffffffff816dd5c1] *ERROR* Process information: process vkcube pid 1204 thread vkcube pid 1204
        abr 07 20:15:11 ITmania-PS4 kernel: amdgpu 0000:00:01.0: amdgpu: GPU reset begin!

        Kernel start trace

        abr 07 20:15:39 ITmania-PS4 kernel: ————[ cut here ]————
        abr 07 20:15:39 ITmania-PS4 kernel: WARNING: CPU: 3 PID: 497 at include/drm/ttm/ttm_bo_api.h:580 0xffffffff815d5c24
        abr 07 20:15:39 ITmania-PS4 kernel: Modules linked in:
        abr 07 20:15:39 ITmania-PS4 kernel: CPU: 3 PID: 497 Comm: Xorg Not tainted 5.15.15-02406-g22d0b9caef26 #1
        abr 07 20:15:39 ITmania-PS4 kernel: Hardware name: , BIOS unde Wed 09/01/2021 5:2
        abr 07 20:15:39 ITmania-PS4 kernel: RIP: 0010:0xffffffff815d5c24
        abr 07 20:15:39 ITmania-PS4 kernel: Code: 85 c0 0f 84 95 00 00 00 8b 87 04 02 00 00 85 c0 74 18 ff c8 89 87 04 02 00 00 74 10 48 8b 1c 24 48 8b 6c 24 08 48 83 c4 10 c3 0b 48 89 fb 48 8b bf 48 01 00 00 48 8>
        abr 07 20:15:39 ITmania-PS4 kernel: RSP: 0018:ffff8881ce60bcc8 EFLAGS: 00010246
        abr 07 20:15:39 ITmania-PS4 kernel: RAX: 0000000000000000 RBX: ffff8881c1a72800 RCX: 0000000000000000
        abr 07 20:15:39 ITmania-PS4 kernel: RDX: ffff8881c7dfee00 RSI: 0000000000000000 RDI: ffff8881c10be000
        abr 07 20:15:39 ITmania-PS4 kernel: RBP: ffff8881c1ae5240 R08: 0000000000000040 R09: 0000000000000000
        abr 07 20:15:39 ITmania-PS4 kernel: R10: 0000000000000000 R11: ffff8881c1ae0200 R12: ffff8881c10be000
        abr 07 20:15:39 ITmania-PS4 kernel: R13: ffff8881c1ae5240 R14: ffff8881c1a72800 R15: 0000000000000000
        abr 07 20:15:39 ITmania-PS4 kernel: FS: 00007f435e51b080(0000) GS:ffff888279cc0000(0000) knlGS:0000000000000000
        abr 07 20:15:39 ITmania-PS4 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
        abr 07 20:15:39 ITmania-PS4 kernel: CR2: 00007ffdd4d6bb50 CR3: 00000001c977d000 CR4: 00000000000406e0
        abr 07 20:15:39 ITmania-PS4 kernel: Call Trace:
        abr 07 20:15:39 ITmania-PS4 kernel:
        abr 07 20:15:39 ITmania-PS4 kernel: 0xffffffff816070c9
        abr 07 20:15:39 ITmania-PS4 kernel: ? 0xffffffff81bd9520
        abr 07 20:15:39 ITmania-PS4 kernel: 0xffffffff815a760d
        abr 07 20:15:39 ITmania-PS4 kernel: ? 0xffffffff815a79b0
        abr 07 20:15:39 ITmania-PS4 kernel: 0xffffffff815a79e8
        abr 07 20:15:39 ITmania-PS4 kernel: 0xffffffff8158ebf3
        abr 07 20:15:39 ITmania-PS4 kernel: 0xffffffff8158efa0
        abr 07 20:15:39 ITmania-PS4 kernel: ? 0xffffffff815a79b0
        abr 07 20:15:39 ITmania-PS4 kernel: 0xffffffff81271022
        abr 07 20:15:39 ITmania-PS4 kernel: 0xffffffff81bd3954
        abr 07 20:15:39 ITmania-PS4 kernel: 0xffffffff81c00068
        abr 07 20:15:39 ITmania-PS4 kernel: RIP: 0033:0x00007f435ee8ee6f
        abr 07 20:15:39 ITmania-PS4 kernel: Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 89 c0 3d 00 f0 ff ff 77 1f 48 8b 44 2>
        abr 07 20:15:39 ITmania-PS4 kernel: RSP: 002b:00007ffc08b6d3f0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
        abr 07 20:15:39 ITmania-PS4 kernel: RAX: ffffffffffffffda RBX: 00007ffc08b6d480 RCX: 00007f435ee8ee6f
        abr 07 20:15:39 ITmania-PS4 kernel: RDX: 00007ffc08b6d480 RSI: 00000000c01c64a3 RDI: 000000000000000f
        abr 07 20:15:39 ITmania-PS4 kernel: RBP: 00000000c01c64a3 R08: 0000000000000040 R09: 0000000000000000
        abr 07 20:15:39 ITmania-PS4 kernel: R10: 00000000000001f4 R11: 0000000000000246 R12: 00005567ed546e20
        abr 07 20:15:39 ITmania-PS4 kernel: R13: 000000000000000f R14: 0000000000000001 R15: 00005567edc7ac20
        abr 07 20:15:39 ITmania-PS4 kernel:
        abr 07 20:15:39 ITmania-PS4 kernel: —[ end trace 8045bb8108804bf5 ]—

        I have tried with more kernels for belize. all with the same result

        • ~ >>> inxi -bZ
          System:
          Host: ITmania-PS4 Kernel: 5.15.15-02406-g22d0b9caef26 arch: x86_64 bits: 64
          Desktop: GNOME v: 41.4 Distro: Manjaro Linux
          Machine:
          Type: N/A Mobo: N/A model: N/A serial: N/A
          BIOS: Sony Interactive Entertainment v: unde date: Wed 09/01/2021 5:2
          CPU:
          Info: 8-core DG1301SML87HY [MCP] speed (MHz): avg: 1647
          Graphics:
          Device-1: AMD Gladius driver: amdgpu v: kernel
          Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: amdgpu
          unloaded: modesetting gpu: amdgpu resolution: 1920×1080~60Hz
          OpenGL: renderer: AMD Gladius (PS_4) (gladius LLVM 15.0.0 DRM 3.42
          5.15.15-02406-g22d0b9caef26)
          v: 4.5 Mesa 22.1.0-devel (git-f2dee2ea55)
          Network:
          Message: No device data found.
          Drives:
          Local Storage: total: 1.38 TiB used: 21.24 GiB (1.5%)
          Info:
          Processes: 214 Uptime: 46m Memory: 4.8 GiB used: 1.46 GiB (30.4%)
          Shell: Zsh inxi: 3.3.14
          ~ >>>

  4. hey i am trying to run state of decay 2 on fedora 32 ,it starts but with flashing graphics then after running prolouge when i start the open world screen freezes and nothing happens.please help!
    It happens with other games too after running for a while screen freezes.

        • Okay btw that crashing problem solved.(just change the wine version to 4.1)
          Can you help me with that flashing graphics problem. I followed your distorted image fix but I am unable to run the wine command to run the game “shellextectueex: file not found error ” it says this..

        • Can you tell a way to make PS4 controller as an audio output as I don’t have a tv but a monitor with no built-in speakers .
          When I am installing some games it gives an error isdone.dll not enough memory

        • its already installed and i cant install pop os since i have only one ssd and no spare hdd ? please do something about bluetooth and flashing graphics and missing textures in games .. thanks in advance

        • The command that I shared has to be done on a terminal on Fedora 35. As for flashing graphics, try this and next time, specify the games in which you are facing issues.

        • I tried my Bluetooth speakers with a distro that I am working on, not Fedora though. It seems to work fine. But, remember that some models and their kernels do not support Bluetooth on Linux yet. For now, given you have installed Bluez using the command I provided earlier, open a terminal, type bluez and press Enter. See if a Bluetooth manager pops up and try to connect your earphones.

    • The way to fix this is by going into the terminal.
      -Type in “bluetoothctl”
      -then proceed with “devices”
      turn on your bluetooth headphones, wait for it to show up in console.
      Something like this will show up “9C:12:C5:2A:79:9F”
      -Type in a command that goes “connect “your headphone code” ”
      Wait for it to connect, if it doesn’t connect you can try to type in “help” and look at other options

  5. Ok so I just want to report a workaround way to log in desktop environment without using keyboard only using mouse
    no need for keyboard.

    I tried this fix
    https://ps4linux.com/popos-ps4-release-21-10/#Black_screen_after_login
    but it did not work for Fedora 35

    The idea is simple we need to change the display manager for fedora
    the display manager that comes with ps4linux fedora 35 distro (and also most itmania distro) is LXDM
    so simply we need to change LXDM to another display manager that it can log in without using keyboard
    and it has on screen keyboard support.

    Steps:
    1) Open terminal and Install LightDM. Code “sudo dnf install lightdm”
    2) Disable the current display manager. Code “sudo systemctl disable LXDM”
    (this command disable the current display manager so if you have other manager for example gnome display manger then change LXDM to gdm)
    3) Enable LightDM. Code “sudo systemctl enable lightdm”
    4) reboot.

    congratz you change your display manager to lightdm
    you can log in immediately by clicking login button beside user name if you do not have password
    if you have password then use on screen keyboard option in lightdm

    note:
    For on screen keyboard to work you need to install virtual keyboard before hand.

    • Thanks a lot for the steps. Appreciate it. But, the steps on the page you linked are specific for Pop OS. I would love to add these steps to the tutorial with your permission. BTW, can you try restarting lxdm when you have blackscreen instead of installing lightdm? You can do that by padding sudo systemctl restart LXDM.

      • it seems there is some explanation I need to do
        The way I explains earlier is for log in without need to use keyboard
        in fedora 35 (catjaro and fedora 32 tron edition also) you need a keyboard to write the password and even if there is no password you need the keyboard to press enter to log in
        this way is not a fix for black screen though it might I did not try since I dont have black screen issue.

        Also yeah if you want to post this way in your website then of course i dont mind
        but again this way is not for black screen.

  6. Wifi not work. Can we install ps4 Ubuntu? Can you make a Ubuntu distro with last driver and full function. I can use Gentoo full function, it work wery well. But it hasnt last driver,it has wine 4.3, and I dont know how is install app like Wps Office ıt’s difficult for me and everyone.I can’t update apps. Could you help for this? Thank you all off yours work.

  7. when i try and update it gives me this error
    [noob404@2603-7080-f73e-2800-2c6c-7e0d-8ce6-2f4c ~]$ sudo dnf update –exclude kernal*,libdrm*,mesa*,xorg-xll-drv-a*
    Fedora 35 – x86_64 5.8 kB/s | 2.8 kB 00:00
    created by dnf config-manager from https://mirr 63 B/s | 31 B 00:00
    Errors during downloading metadata for repository ‘mirrors.fedoraproject.org_metalink_repofedora-35’:
    – Status code: 404 for https://mirrors.fedoraproject.org/metalink/repodata/repomd.xml?repo=fedora-35 (IP: 38.145.60.20)
    Error: Failed to download metadata for repo ‘mirrors.fedoraproject.org_metalink_repofedora-35’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    Ignoring repositories: mirrors.fedoraproject.org_metalink_repofedora-35
    Dependencies resolved.
    idk why and i cant find any sort of solution

    • Most probably because Fedora 35 repositories are obsolete today. You can either upgrade to newer Fedora. Check Downloads section. Or, try to find archive mirrors for Fedora 35, maybe.

1 Trackback / Pingback

  1. Fix incorrect time and set time automatically on Fedora for PS4 | PS4Linux

Leave a Reply

Your email address will not be published.


*