Jump to content


Photo

Ps3 Hypervisor's Fifo/push Buffer Located And Altered!


  • Please log in to reply
22 replies to this topic

#1 openxdkman

openxdkman

    X-S Genius

  • Moderator
  • PipPipPipPip
  • 823 posts
  • Xbox Version:unk
  • 360 version:unknown

Posted 07 October 2007 - 09:48 AM

IronPeter, on ps2dev site, made interesting progress related to RSX usage!
http://forums.ps2dev...p?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)


#2 bucko

bucko

    Super Moderator

  • Head Moderators
  • PipPipPipPipPipPipPipPipPipPipPip
  • 7,997 posts
  • Gender:Male
  • Location:England
  • Xbox Version:v1.6
  • 360 version:v5.0 (360S - trinity)

Posted 07 October 2007 - 04:48 PM

Very nice biggrin.gif

#3 deilzfcjk

deilzfcjk

    X-S Genius

  • Members
  • PipPipPipPip
  • 828 posts
  • Location:San Francisco
  • Interests:chicks, fixing my car and computers, working on websites, relaxing.
  • Xbox Version:v1.6
  • 360 version:v4.0 (jasper)

Posted 08 October 2007 - 01:55 AM

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.

Edited by deilzfcjk, 08 October 2007 - 01:57 AM.


#4 bucko

bucko

    Super Moderator

  • Head Moderators
  • PipPipPipPipPipPipPipPipPipPipPip
  • 7,997 posts
  • Gender:Male
  • Location:England
  • Xbox Version:v1.6
  • 360 version:v5.0 (360S - trinity)

Posted 08 October 2007 - 01:56 PM

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

Edited by bucko, 08 October 2007 - 01:56 PM.


#5 openxdkman

openxdkman

    X-S Genius

  • Moderator
  • PipPipPipPip
  • 823 posts
  • Xbox Version:unk
  • 360 version:unknown

Posted 08 October 2007 - 06:24 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...

Edited by openxdkman, 17 October 2007 - 07:12 AM.


#6 openxdkman

openxdkman

    X-S Genius

  • Moderator
  • PipPipPipPip
  • 823 posts
  • Xbox Version:unk
  • 360 version:unknown

Posted 17 October 2007 - 07:11 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).


#7 openxdkman

openxdkman

    X-S Genius

  • Moderator
  • PipPipPipPip
  • 823 posts
  • Xbox Version:unk
  • 360 version:unknown

Posted 25 October 2007 - 02:09 PM

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)...

Edited by openxdkman, 25 October 2007 - 02:12 PM.


#8 Bucks19x

Bucks19x

    X-S Enthusiast

  • XS-BANNED
  • 23 posts
  • Xbox Version:unk
  • 360 version:unknown

Posted 29 October 2007 - 04:48 PM

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?

#9 openxdkman

openxdkman

    X-S Genius

  • Moderator
  • PipPipPipPip
  • 823 posts
  • Xbox Version:unk
  • 360 version:unknown

Posted 31 October 2007 - 08:47 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.

Edited by openxdkman, 31 October 2007 - 08:50 AM.


#10 iam

iam

    X-S Freak

  • Members
  • PipPipPipPipPip
  • 1,054 posts

Posted 02 November 2007 - 02:59 PM

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!

#11 openxdkman

openxdkman

    X-S Genius

  • Moderator
  • PipPipPipPip
  • 823 posts
  • Xbox Version:unk
  • 360 version:unknown

Posted 02 November 2007 - 03:41 PM

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...)

Edited by openxdkman, 02 November 2007 - 03:44 PM.


#12 iam

iam

    X-S Freak

  • Members
  • PipPipPipPipPip
  • 1,054 posts

Posted 02 November 2007 - 07:18 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...



#13 openxdkman

openxdkman

    X-S Genius

  • Moderator
  • PipPipPipPip
  • 823 posts
  • Xbox Version:unk
  • 360 version:unknown

Posted 09 November 2007 - 08:01 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

Edited by openxdkman, 10 November 2007 - 01:29 PM.


#14 jackapacka

jackapacka

    X-S Enthusiast

  • Members
  • 10 posts

Posted 13 November 2007 - 06:43 AM

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...

#15 iam

iam

    X-S Freak

  • Members
  • PipPipPipPipPip
  • 1,054 posts

Posted 15 November 2007 - 12:32 AM

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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users