Have anyone tested out virtual machines inside of PS4 Linux?

Discussion in 'PS4 - Hacking & Homebrew' started by psvpwner, Jan 11, 2017.

  1. psvpwner
    OP

    psvpwner GBAtemp Regular

    Member
    119
    27
    Feb 9, 2015
    Would be interesting to see how well these perform in case the PS4 CPU supports the necessary virtualization extensions (I wouldn't be surprised if Sony made sure they're disabled). Maybe we can run Windows and in it: more games? Even without the extensions, perhaps we'll get somewhat decent performance anyway?
     
  2. darkredflame

    darkredflame Member

    Newcomer
    19
    32
    Aug 15, 2015
    United States
  3. Zero72463

    Zero72463 GBAtemp Maniac

    Member
    1,334
    659
    Jun 27, 2016
    United States
    Other than "No" let me explain. We don't need something like this since hackers made Linux Wine run on PS4 it supports Windows libraries so most of you're favorite Windows applications can be usable. While a VM may be possible it would be useless and under powered. Linux Wine is one of the fastest and most feature having OSs we could have running so we can be thankful for that. In theory Windows 95 could possibly run, maybe even on PS3... Windows 95 was runnable on Xbox 360, but that is a completely different story from a virtual machine. Well anyways hope I answered well.
     
    ManuelKoegler likes this.
  4. ManuelKoegler

    ManuelKoegler GBAtemp Fan

    Member
    339
    153
    Nov 5, 2015
    Netherlands
    I don't think it's a good idea to try out a Virtual machine inside essentially a virtual machine.


    Sent from my iPhone using Tapatalk
     
  5. psvpwner
    OP

    psvpwner GBAtemp Regular

    Member
    119
    27
    Feb 9, 2015
    Sure, I know all of that. I was just asking if anyone bothered to try it out, don't see why it shouldn't work and it shouldn't be too much effort to try if you have a working setup, right?
    Also, "essentially a virtual machine"? To my understanding the current way of running PS4 Linux is native?

    Regarding your comparison to PS3/360 I think the PS4 is much more interesting because it actually uses an x86 CPU whereas PS3/360 would also require x86 emulation on top of running a VM.
     
    Last edited by psvpwner, Jan 13, 2017
  6. Urbanshadow

    Urbanshadow GBAtemp Maniac

    Member
    1,304
    478
    Oct 16, 2015
    There's a reason because all of this couldn't work, and its actually really simple. Way way ahead of having native support of the components of the system.

    It's simply... the ps4 cpu may not have virtualization capabilities. Virtualization capabilities are costly to implement hardware-wise, and the original PS4 may not use them at all. Hence, it maybe lacks a good chunk of virtualization instructions needed for this.
     
    Last edited by Urbanshadow, Jan 13, 2017
  7. psvpwner
    OP

    psvpwner GBAtemp Regular

    Member
    119
    27
    Feb 9, 2015
    I also assume the PS4 CPU won't have virtulization extensions (like I mentioned in my first post) but even with an old CPU (like one from 2005, before virtulization got popular, that lacks those extensions) you can still run a VM and achieve somewhat decent perfomance (obviously not good enough for any serious gaming), I know this because I've done it myself in the past on Pentium 4 machines. In other words, those extensions are there to improve performance and enable specific features, but virtualization can still happen without them (which is literally the what the second paragraph says here: https://en.wikipedia.org/wiki/X86_virtualization).

    Even if I can just run Win98 and play some retro 2D or even 3D games on my PS4 through a VM that would be more than worth it. Sure, Wine can do this very well too (although it doesn't support everything of course) and that's great already, but I still think it can be a fun and simple experiment.

    Oh well, if noone else is interested in trying I may aswell do it myself when I have an exploitable PS4 and a working setup... (not sure when that will be).
     
    Last edited by psvpwner, Jan 13, 2017