Hacking PS Vita needs Linux (Hear me out!)

TheOverseer

Well-Known Member
OP
Newcomer
Joined
Sep 23, 2016
Messages
59
Trophies
0
Age
30
XP
153
Country
United States
The PS Vita is a fantastic device. But one thing that I think would make it absolutely phenomenal, is if it had support for KEXEC into Linux (kinda like OtherOS from PS3). It has ample power to run it, both processor wise and has more than enough RAM to run smaller distros. But the real thing that would make it amazing is...

Imagine the PS Vita TV and it's tiny size. It has it's own USB port, which can be used for file transfers and/or storage. It's fanless, has bluetooth, but even more importantly...it has an Ethernet port.

This means, that with a little tinkering, the PlayStation Vita TV could be comparable to an extremely cheap single-board computer, and handle tons and tons of little tasks, like ARM compiled game servers, a basic web server, or even (if it could run similar stuff to the pi and kept the gpu hardware decoders), something like KODI.

The PS Vita/VitaTV being able to run Linux would be revolutionary in the world of small computing. I think this should be looked into.
 
  • Like
Reactions: Linkuei

Tom Bombadildo

Dick, With Balls
Member
Joined
Jul 11, 2009
Messages
14,575
Trophies
2
Age
29
Location
I forgot
Website
POCKET.LIKEITS
XP
19,225
Country
United States
There are a lot of reasons that the Vita doesn't have a Linux port.

The main problem here is that all the drivers would likely have to be written for Linux to even run at all, let alone run well. The Vita uses a lot of custom hardware, we can't just pop a Linux distro on it and call it good. This would take a considerable amount of time, knowledge, and testing before it'd be even remotely stable like a Raspberry Pi would be. Not to mention the Pi is more readily available, is cheaper, doesn't require a specific firmware to hack, has all the support in the world, etc etc.

Linux on the Vita would be nice, but unless you want to dedicate months, if not years, to writing drivers and porting it over, I don't think a full-scale Linux distro will ever show up.
 
  • Like
Reactions: MKKhanzo

TheOverseer

Well-Known Member
OP
Newcomer
Joined
Sep 23, 2016
Messages
59
Trophies
0
Age
30
XP
153
Country
United States
There are a lot of reasons that the Vita doesn't have a Linux port.

The main problem here is that all the drivers would likely have to be written for Linux to even run at all, let alone run well. The Vita uses a lot of custom hardware, we can't just pop a Linux distro on it and call it good. This would take a considerable amount of time, knowledge, and testing before it'd be even remotely stable like a Raspberry Pi would be. Not to mention the Pi is more readily available, is cheaper, doesn't require a specific firmware to hack, has all the support in the world, etc etc.

Linux on the Vita would be nice, but unless you want to dedicate months, if not years, to writing drivers and porting it over, I don't think a full-scale Linux distro will ever show up.

I've looked at the Vita's hardware spec. Does it really use that much more required custom hardware than other consoles and devices? I guess what I'm trying to say is, I get why the PSP didn't have it, for example.

But devices like the Wii, DS, the original Xbox, Xbox 360, use equally as obscure in many cases if not more obscure hardware than the PS Vita, and each of these received a Linux port. So I guess I'm asking what makes the PS Vita more custom than these other devices, considering it uses a modification of "off the shelf hardware" (sort of, ARM isn't off the shelf really) for many essential functions?
 

Tom Bombadildo

Dick, With Balls
Member
Joined
Jul 11, 2009
Messages
14,575
Trophies
2
Age
29
Location
I forgot
Website
POCKET.LIKEITS
XP
19,225
Country
United States
Those Linux ports on the consoles you listed were extremely bare bones (except for the original Xbox, but that's because it was basically a PC in a console shell anyways), they couldn't do any of the things you listed as wanting to do in the Linux distro itself. OtherOS on the PS3 is a different set of circumstances, because Sony did all the work already and wrote the software required.

Those things can be done with homebrew, because the original OS has all the necessarily software components (for the most part, anyways) to run those homebrew, but Linux requires some way to communicate with the various hardware...which has to be custom written.
 
  • Like
Reactions: Yepi69

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,946
Trophies
4
Location
Making a non-binary fuss
XP
39,321
Country
Antarctica
Now I personally think Linux should be installed on everything with a screen.
But I don't think the Vita is hacked nearly deep enough to allow Linux to really do that much with it. Plus it would most likely be more of POC like Linux on the 3DS and less of a practical usage.
I would still like to see it on the Vita, but I think the Vita scene still needs more work to get there.
 

TheOverseer

Well-Known Member
OP
Newcomer
Joined
Sep 23, 2016
Messages
59
Trophies
0
Age
30
XP
153
Country
United States
Those Linux ports on the consoles you listed were extremely bare bones (except for the original Xbox, but that's because it was basically a PC in a console shell anyways), they couldn't do any of the things you listed as wanting to do in the Linux distro itself. OtherOS on the PS3 is a different set of circumstances, because Sony did all the work already and wrote the software required.

Those things can be done with homebrew, because the original OS has all the necessarily software components (for the most part, anyways) to run those homebrew, but Linux requires some way to communicate with the various hardware...which has to be custom written.

To be fair, I didn't personally want to run Kodi. I thought it'd be an interesting usage, but I felt other users would enjoy that more than I. For me, being able to boot into a Linux that is semi functional and could run a few programs...Firefox or K-Meleon, Java, and could functionally use an Ethernet port would be more than enough in my opinion to explore the idea.

I do understand the difficulty in what you said though. I guess I just felt by looking at the several installations:

(Xbox 360)
(Wii)

That while they are missing obvious things... (The biggest being 3D Acceleration, the GPU driver is the most annoying one)

They are functional, but essentially just missing 3D acceleration to speed up usage, and missing the hardware decoders for video. And while those decoders would be useful, running something like Apache or ARM-Java, or a basic web browser doesn't require these types of functions, right?

Obviously Kodi would be out of the picture, but that was fine to begin with. I didn't even feel that was it's best usage, just the most publicly usable one.

Or am I still not understanding very well?

I will admit though, the DS one was a terrible example. It truly is minimal at best.
 
Last edited by TheOverseer,

Kotomine Kirei

Well-Known Member
Member
Joined
May 21, 2015
Messages
330
Trophies
0
XP
422
Country
United States
Those Linux ports on the consoles you listed were extremely bare bones (except for the original Xbox, but that's because it was basically a PC in a console shell anyways), they couldn't do any of the things you listed as wanting to do in the Linux distro itself. OtherOS on the PS3 is a different set of circumstances, because Sony did all the work already and wrote the software required.

Those things can be done with homebrew, because the original OS has all the necessarily software components (for the most part, anyways) to run those homebrew, but Linux requires some way to communicate with the various hardware...which has to be custom written.

Is the PS Vita's hardware structure close to that of the PS3 or PS4?
If so, would it not be possible to use the information from the Linux ports on those systems as a foundation for a PS Vita port?
 

Psionic Roshambo

Well-Known Member
Member
Joined
Aug 12, 2011
Messages
2,246
Trophies
2
Age
50
XP
3,345
Country
United States
The Vita would be a nightmare for Linux... Two of the biggest catches in running Linux even on PC hardware is network drivers and video drivers...

Those chips are probably custom, so it would have to be reverse engineered and that's not a trivial task.

Just suffice it to say you might see Linux on the Vita someday as a proof of concept as someone already mentioned but using it would be another story.

Just buy a cheap Android TV box and if you shop around you can find them that support installing Linux on them native with working drivers and all the goodies working.

Edit: Another thought, it would be cheaper to just go for an Android box... You can buy lots of storage on them via SD or MicroSD cheap these days, if you wanted to get the same storage on the Vita better dig out your wallet. :(
 

InsaneNutter

Well-Known Member
Member
Joined
Dec 26, 2007
Messages
1,081
Trophies
2
Age
37
Location
Yorkshire, UK
Website
digiex.net
XP
3,195
Country
Now I do agree a fully functional Linux port would be pretty nice and i'm all for stuff like this, however I can't honestly see someone putting the effort in to make it happen when we have cheap hardware like the Raspberry Pi 3 ($35) and Raspberry Pi Zero W ($10) that would outperform a PS TV.

In the early / mid 2000's Linux on consoles somewhat made sense, as cheap hardware with enough power to run Linux wasn't exactly readily available, even then I wouldn't say the experience has ever been amazing, usable would be a fair summery.

The Raspberry Pi 3 has double the ram (1gb) a quad-core ARM processor, 1080p x264 hardware accelerated video playback, WiFi, Bluetooth, Ethernet, USB 2 all for $35.

It has also has official ports of
  • Ubuntu
  • Debian
  • Fedora
  • Arch
  • FreeBSD
  • Windows 10 IoT
  • And a lot more.

I have Linux on my 1.76 PS4 and to be honest my Raspberry Pi is currently more usable, the PS4 wins at x264 video encoding and stuff that needs raw CPU power however.

You could get a Raspberry Pi Zero W for $10 and likely have a better experience than what would be possible on the PS TV, i'd love to be proved wrong though.
 

Tom Bombadildo

Dick, With Balls
Member
Joined
Jul 11, 2009
Messages
14,575
Trophies
2
Age
29
Location
I forgot
Website
POCKET.LIKEITS
XP
19,225
Country
United States
Isn't there Linux for the PSP? You could try running that in adrenaline
Yes, but you're still stuck in the PSP mode sandbox, which is something I assume the OP doesn't want.

But irregardless, my original statement still stands, porting Linux to the Vita would simply require months/years of dedicated coding and porting, and isn't something relatively feasible at this current point in time.
 

V0idst4r

Active Member
Newcomer
Joined
Apr 2, 2017
Messages
36
Trophies
0
XP
107
Country
United States
Yes, but you're still stuck in the PSP mode sandbox, which is something I assume the OP doesn't want.

But irregardless, my original statement still stands, porting Linux to the Vita would simply require months/years of dedicated coding and porting, and isn't something relatively feasible at this current point in time.
Also homebrew still isn't widely available on the vita like it is on the Wii and 3DS
 

DinohScene

Gay twink catboy
Global Moderator
Joined
Oct 11, 2011
Messages
22,530
Trophies
4
Location
Восторг
XP
22,737
Country
Antarctica
In this day and age, why would you want Linux on a handheld?
When a Raspi, which is, not only cheaper but also more powerful, can achieve the same thing?
 
Joined
Nov 24, 2017
Messages
641
Trophies
0
Age
82
XP
832
Country
United States
The PS Vita is a fantastic device. But one thing that I think would make it absolutely phenomenal, is if it had support for KEXEC into Linux (kinda like OtherOS from PS3). It has ample power to run it, both processor wise and has more than enough RAM to run smaller distros. But the real thing that would make it amazing is...

Imagine the PS Vita TV and it's tiny size. It has it's own USB port, which can be used for file transfers and/or storage. It's fanless, has bluetooth, but even more importantly...it has an Ethernet port.

This means, that with a little tinkering, the PlayStation Vita TV could be comparable to an extremely cheap single-board computer, and handle tons and tons of little tasks, like ARM compiled game servers, a basic web server, or even (if it could run similar stuff to the pi and kept the gpu hardware decoders), something like KODI.

The PS Vita/VitaTV being able to run Linux would be revolutionary in the world of small computing. I think this should be looked into.
I am firm in my belief that the PS Vita/Vita TV -- without hacks, mind you -- can do more on it's current OS than it ever could on Linux. Having the freedom to try other programs that you currently can't doesn't mean you have the freedom to use the other programs you once could, if that makes sense. There comes a time that the freedom of linux is heavily limited by the lack of power in the hardware.
 

DinohScene

Gay twink catboy
Global Moderator
Joined
Oct 11, 2011
Messages
22,530
Trophies
4
Location
Восторг
XP
22,737
Country
Antarctica
What's with everyone suggesting other devices? This isn't the correct forum

Cause writing drivers is a time consuming process.
And when you're dealing with underpowered hardware, the will to port a working Linux kernel to it diminishes.

I'd say go ahead and port Linux if you'd want to.
But be advised, you won't get the same praise you'd get 10-15 years ago.
 

V0idst4r

Active Member
Newcomer
Joined
Apr 2, 2017
Messages
36
Trophies
0
XP
107
Country
United States
Cause writing drivers is a time consuming process.
And when you're dealing with underpowered hardware, the will to port a working Linux kernel to it diminishes.

I'd say go ahead and port Linux if you'd want to.
But be advised, you won't get the same praise you'd get 10-15 years ago.
You could say the same about the 3DS, PSP, Wii and all the other consoles that people ported linux to though. Consoles are typically underpowered.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    HiradeGirl @ HiradeGirl: :discuss: