xboxscene.org forums

Pages: [1] 2

Author Topic: Ps3 Hypervisor's Fifo/push Buffer Located And Altered!  (Read 155 times)

openxdkman

  • Archived User
  • Hero Member
  • *
  • Posts: 550
Ps3 Hypervisor's Fifo/push Buffer Located And Altered!
« on: October 07, 2007, 03:24:00 AM »

IronPeter, on ps2dev site, made interesting progress related to RSX usage!
http://forums.ps2dev.org/viewtopic.php?p=59170#59170

The only thing hypervisor does with RSX under any "Other OS", is to "bitblt" frame buffer from cpu side ram towards gpu side ram. The place where GPU commands are put is called FIFO or push buffer.
This area has finally been located and can be altered!

RSX fun is about to start!
(From now, becareful with firmware updates)
Logged

bucko

  • Recovered User
  • Hero Member
  • *
  • Posts: 4255
Ps3 Hypervisor's Fifo/push Buffer Located And Altered!
« Reply #1 on: October 07, 2007, 09:48:00 AM »

Very nice biggrin.gif
Logged

deilzfcjk

  • Archived User
  • Hero Member
  • *
  • Posts: 1213
Ps3 Hypervisor's Fifo/push Buffer Located And Altered!
« Reply #2 on: October 07, 2007, 06:55:00 PM »

QUOTE(bucko @ Oct 7 2007, 05:24 PM) View Post

Very nice biggrin.gif

What is RSX again? Is it for ram related stuff? N/m. It's their graphics subsystem. I read the ps2-dev article.
Logged

bucko

  • Recovered User
  • Hero Member
  • *
  • Posts: 4255
Ps3 Hypervisor's Fifo/push Buffer Located And Altered!
« Reply #3 on: October 08, 2007, 07:32:00 AM »

Yes but also XDR ram is unused by PS3Linux so hopefully this will allow access to XDR as well..

This post has been edited by bucko: Oct 8 2007, 02:32 PM
Logged

openxdkman

  • Archived User
  • Hero Member
  • *
  • Posts: 550
Ps3 Hypervisor's Fifo/push Buffer Located And Altered!
« Reply #4 on: October 08, 2007, 12:00:00 PM »

RSX is the name of the NVidia GPU chipset on PS3.
To be able to send command to it is extremely interesting...

EDIT:
It seems possible to do 3D with RSX thanks to a HUGE security hole.
For now, it seems hole exists in fw 1.80 and no longer exists in fw 1.93.

RE-EDIT:
Ignore previous edit. Actually hole still exists in 1.93. All is good so far...

NOTE:
Some think it's a hole, some others don't... (they think it will be used later by official incoming drivers). Personally, I doubt such driver comes...

This post has been edited by openxdkman: Oct 17 2007, 07:48 AM
Logged

openxdkman

  • Archived User
  • Hero Member
  • *
  • Posts: 550
Ps3 Hypervisor's Fifo/push Buffer Located And Altered!
« Reply #5 on: October 17, 2007, 12:47:00 AM »

Hypervisor is using RSX under "Other OS" mode, for bltbit (i.e rectangle pixel copy from cpu side ram towards gpu side ram). GPU has been initialized properly by Hypervisor for that purpose.
Being able to insert our own bitblt commands after the one issued by HV at each frame, means that we can expect 2D rectangle hardware accelerated copy (with stretching or not) into Linux software.

fast 2D emulators, Linux driver allowing fast window moving on desktop, etc...

for 3D, it's more complex because it's possible the GPU hasn't been prepared for that by HV...

Also another big gain is the ability to store data into the 252Mb of gpu side ram and reuse it for immediate bltbit drawing (fast, this time).

We really can't say now that PS3 homebrew has only 256Mb.
We now have 506 Mb (252Mb more likely reserved for 2D sprites storage).
Logged

openxdkman

  • Archived User
  • Hero Member
  • *
  • Posts: 550
Ps3 Hypervisor's Fifo/push Buffer Located And Altered!
« Reply #6 on: October 25, 2007, 07:45:00 AM »

Glaurung & Ironpeter explained the security hole in details on this page :
http://wiki.ps2dev.org/ps3:rsx

It appears that closing the hole would turn off the existing official graphic driver of Linux distro on PS3 (even if it doesn't use any RSX feature beside the global screen bitblt -i.e copy-).
So, there is a chance this hole never gets closed.
If this hole never allows piracy but allows homebrew with accelerated graphics, everyone should be a winner : homebrewers AND Sony.

About progress made by Glaurung & Ironpeter, they are fantastic.
Accelerated 3D is not far (accelerated 2D is, somehow, already acquired)...

This post has been edited by openxdkman: Oct 25 2007, 02:48 PM
Logged

Bucks19x

  • Archived User
  • Newbie
  • *
  • Posts: 23
Ps3 Hypervisor's Fifo/push Buffer Located And Altered!
« Reply #7 on: October 29, 2007, 10:24:00 AM »

hey I was just reading that thread it looks like IronPeter has made a lot more progress. Will this lead to the loading of backups of any sort?
Logged

openxdkman

  • Archived User
  • Hero Member
  • *
  • Posts: 550
Ps3 Hypervisor's Fifo/push Buffer Located And Altered!
« Reply #8 on: October 31, 2007, 02:23:00 AM »

No.
This hack gives better/faster graphics and an additional 252Mb of RAM to free homebrew programs (linux based or "raw other os" based).

Won't help people interested in piracy or legal backups at all.

This post has been edited by openxdkman: Oct 31 2007, 09:26 AM
Logged

iam

  • Archived User
  • Full Member
  • *
  • Posts: 196
Ps3 Hypervisor's Fifo/push Buffer Located And Altered!
« Reply #9 on: November 02, 2007, 07:59:00 AM »

QUOTE(openxdkman @ Oct 31 2007, 08:23 AM) View Post

No.
This hack gives better/faster graphics and an additional 252Mb of RAM to free homebrew programs (linux based or "raw other os" based).

Won't help people interested in piracy or legal backups at all.


That would make HD Streaming through mplayer Linux a reality !!!

Can't wait!
Logged

openxdkman

  • Archived User
  • Hero Member
  • *
  • Posts: 550
Ps3 Hypervisor's Fifo/push Buffer Located And Altered!
« Reply #10 on: November 02, 2007, 09:17:00 AM »

It's done guys... IronPeter found the way to run shaders!
(Textured triangle on screen under Linux! Under raw other os, soon, I hope)

RSX is officially owned! (member of nv40 family, xb1 was member of nv20)
(At least for firmware 1.93 or below, we don't know if Sony will like that...)

This post has been edited by openxdkman: Nov 2 2007, 04:20 PM
Logged

iam

  • Archived User
  • Full Member
  • *
  • Posts: 196
Ps3 Hypervisor's Fifo/push Buffer Located And Altered!
« Reply #11 on: November 02, 2007, 12:18:00 PM »

QUOTE(openxdkman @ Nov 2 2007, 03:17 PM) View Post

(... we don't know if Sony will like that...)


Actually yes we do, they won't!  rolleyes.gif

I guess we only have to hope they will take some time before fixing it...

Logged

openxdkman

  • Archived User
  • Hero Member
  • *
  • Posts: 550
Ps3 Hypervisor's Fifo/push Buffer Located And Altered!
« Reply #12 on: November 09, 2007, 12:37:00 AM »

'tgnard' and 'dom' reported that the current version of libps3rsx sample (rendering 3D triangles using RSX access trick under Linux) still runs fine with fw 2.0

all is good so far

This post has been edited by openxdkman: Nov 10 2007, 02:05 PM
Logged

jackapacka

  • Archived User
  • Newbie
  • *
  • Posts: 1
Ps3 Hypervisor's Fifo/push Buffer Located And Altered!
« Reply #13 on: November 12, 2007, 11:19:00 PM »

i dont know if this question is appropriate but can this development lead to the creation of a new rsx driver for xorg? all this talk about 3d in linux is making me dream of compiz fusion...
Logged

iam

  • Archived User
  • Full Member
  • *
  • Posts: 196
Ps3 Hypervisor's Fifo/push Buffer Located And Altered!
« Reply #14 on: November 14, 2007, 04:32:00 PM »

QUOTE(jackapacka @ Nov 13 2007, 06:19 AM) View Post

i dont know if this question is appropriate but can this development lead to the creation of a new rsx driver for xorg? all this talk about 3d in linux is making me dream of compiz fusion...


They did talk about a Xorg driver, you might want to check ps2dev for more details on that.
Logged
Pages: [1] 2